Skip to content

Instantly share code, notes, and snippets.

@dclucas
Last active August 29, 2015 14:07
Show Gist options
  • Save dclucas/a5c77f8a200149ba8b2a to your computer and use it in GitHub Desktop.
Save dclucas/a5c77f8a200149ba8b2a to your computer and use it in GitHub Desktop.
Ubuntu host setup
sudo add-apt-repository -y ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get -y install git
sudo apt-get -y install git-flow
sudo apt-get -y install virtualbox
wget https://dl.bintray.com/mitchellh/vagrant/vagrant_1.6.5_x86_64.deb
sudo gdebi vagrant_1.6.5_x86_64.deb
#sudo apt-get -y install vagrant
vagrant plugin install vagrant-cachier
sudo apt-get install sublime-text-installer
sudo apt-get install gdebi
wget http://www.scootersoftware.com/bcompare-4.0.0.18847_i386.deb
sudo gdebi -n bcompare-4.0.0.18847_i386.deb
sudo apt-get -y install xclip
sudo apt-get -y install httpie
sudo apt-get -y install zsh
# install docker - latest version
curl -sSL https://get.docker.io/ubuntu/ | sudo sh
git config --global user.name "Diogo Lucas"
git config --global user.email [email protected]
git config --global core.editor subl
mkdir scripts
echo 'bcompare "$2" "$5" | cat' > ./scripts/git-diff-wrapper.sh
git config --global diff.external ./scripts/git-diff-wrapper.sh
git config --global merge.tool bc3
git config --global mergetool.bc3.cmd "/usr/bin/bcompare \$LOCAL \$REMOTE \$BASE \$MERGED"
git config --global mergetool.bc3.trustExitCode true
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
sudo apt-get install -y google-chrome-stable
ssh-keygen -t rsa -C "[email protected]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment