Skip to content

Instantly share code, notes, and snippets.

@dclucas
Last active August 29, 2015 14:08
Show Gist options
  • Save dclucas/c548ff03201edbd2064e to your computer and use it in GitHub Desktop.
Save dclucas/c548ff03201edbd2064e to your computer and use it in GitHub Desktop.
Ubuntu dev setup
sudo add-apt-repository -y ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get -y install git git-flow sublime-text-installer gdebi xclip httpie zsh
wget http://www.scootersoftware.com/bcompare-4.0.0.18847_i386.deb
# install docker - latest version
curl -sSL https://get.docker.io/ubuntu/ | sudo sh
#dev tools
## node (nvm)
sudo apt-get -y install build-essential libssl-dev
curl https://raw.githubusercontent.com/creationix/nvm/v0.17.2/install.sh | bash
source ~/.bash_profile
nvm install 0.10
nvm use 0.10
##ruby
command curl -sSL https://rvm.io/mpapis.asc | gpg --import -
\curl -sSL https://get.rvm.io | bash -s stable --rails
source ~/.rvm/scripts/rvm
gem install sass
gem install compass
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 -y install google-chrome-stable
#git config --global user.name "Diogo Lucas"
#git config --global user.email [email protected]
#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