This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HOSTNAME="$(hostname)" | |
HOSTNAME_SHORT="${HOSTNAME%%.*}" | |
HISTFILE="${HOME}/.history/$(date -u +%Y/%m/%d.%H.%M.%S)_${HOSTNAME_SHORT}_$$" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
** 僅在全新的Ubuntu 14.04下測試過 ** | |
1. apt-get update && apt-get install golang git mercurial | |
2. cd && mkdir go | |
3. 編輯~/.bashrc檔, 把下列兩行加到底端: vim ~/.bashrc | |
export GOPATH=$HOME/go | |
export PATH=$PATH:$HOME/go/bin:/usr/local/go/bin | |
4. source ~/.bashrc | |
5. go get github.com/google/skicka | |
6. skicka init |
NewerOlder