這禮拜就是2012 SimpleLife 簡單生活節
整個華山同時有四個舞台的音樂演出
前兩屆 每次去總覺得要一直翻紙本的節目表
有點麻煩
在公司用mobile web做了簡易的手機版演出節目表
使用了AppCache 只要開啟過,離線也可正常使用
| start |
| home |
| 可以查詢兩日各舞台的演出節目 |
| 可即時查詢各舞台正在進行的演出 |
| 簡易的歌手介紹 |
![]() |
| http://simplelife.streetvoice.com/m/ |
| start |
| home |
| 可以查詢兩日各舞台的演出節目 |
| 可即時查詢各舞台正在進行的演出 |
| 簡易的歌手介紹 |
![]() |
| http://simplelife.streetvoice.com/m/ |
ssh-keygen -C "youremail@xxx"
預設會儲存為id_rsa 的key,不同的email產生key請設定使用不同檔名儲存Host PeterBitbucket
HostName bitbucket.org
User git
IdentityFile ~/.ssh/peter_id_rsa
IdentitiesOnly yes
Host OzzyBitbucket
HostName bitbucket.org
User git
IdentityFile ~/.ssh/ozzy_id_rsa
IdentitiesOnly yes
git remote add git@bitbucket.org:ozzy/myrepos.git
改用以下方式設定git remote add OzzyBitbucket:ozzy/myrepos.git
另一個帳號git remote add PeterBitbucket:peter/myrepos.git
讓不同的帳號使用不同的ssh key連線
sudo apt-get install git
git init
git status
git log
git add filename
全部有異動的都加入git add .
git rm filename
刪除目錄git rm -rf dirname
git reset HEAD filename
git commit -m "xxx"
git reset -hard HEAD~1
數字代表回復到前幾個版本git clone 遠端目錄
git remote add aliasName remote路徑
git remote -v
git pull origin master
git push origin maste
git stash
git pull origin master
git stash apply
把自己放在暫存區已改過的檔案與最新拉回來的檔案merge在一起,git add .
git commit -m xxxx
git push origin master
git init --bare
該目錄即可成為一個git remote
file:myclass.coffee
class MyClass
constructor:(@name)->
module.exports=MyClass
2.使用Rocker=require('./myclass')
rocker=new Rocker()
file:myclass.coffee
class MyClass
constructor:(@name)->
class MyClass2
exports.Rocker=MyClass
exports.Tester=MyClass2
2.使用MyRocker= require('./myclass').Rocker
MyTester= require('./myclass').Tester
rocker=new MyRocker('oz')