Skip to content

Instantly share code, notes, and snippets.

@zilin
Last active August 29, 2015 14:03
Show Gist options
  • Save zilin/42c7d257106b60c678ff to your computer and use it in GitHub Desktop.
Save zilin/42c7d257106b60c678ff to your computer and use it in GitHub Desktop.
Install Go
----
sudo apt-get install golang
go version
VIM Syntax Highlight
----
sudo apt-get install vim-syntax-go
mkdir -p ~/.vim/syntax
cp /usr/share/vim/addons/syntax/go.vim ~/.vim/syntax/
mkdir -p ~/.vim/ftdetect
echo "au BufRead,BufNewFile *.go set filetype=go" > ~/.vim/ftdetect/go.vim
Install Docker
----
$ curl -s https://get.docker.io/ubuntu/ | sudo sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment