Skip to content

Instantly share code, notes, and snippets.

@bmarkons
Last active January 31, 2018 21:11
Show Gist options
  • Save bmarkons/80426f56fee8f4aa751a04d787d06864 to your computer and use it in GitHub Desktop.
Save bmarkons/80426f56fee8f4aa751a04d787d06864 to your computer and use it in GitHub Desktop.
# Coding folder
mkdir ~/dev
# vim
sudo apt-get install vim
# git
sudo apt-get install git
# zsh
sudo apt-get install zsh
chsh -s `which zsh`
# Docker
curl -sSL https://get.docker.com | sh
curl -L https://github.com/docker/compose/releases/download/1.15.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
# Google Chrome
sudo apt-get install libxss1 libappindicator1 libindicator7
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome*.deb
rm google-chrome*.deb
# Set up launcher
gsettings set com.canonical.Unity.Launcher launcher-position Bottom
gsettings set org.compiz.unityshell:/org/compiz/profiles/unity/plugins/unityshell/ launcher-hide-mode 1
dconf write /org/compiz/profiles/unity/plugins/unityshell/icon-size 32
# Set up workspaces
gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ hsize 2
gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ vsize 2
# Ruby
sudo apt-get update
sudo apt-get install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc
echo 'eval "$(rbenv init -)"' >> ~/.zshrc
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
sudo apt-get install -y libssl-dev libreadline-dev zlib1g-dev # required for 2.5
rbenv install 2.5.0
rbenv global 2.5.0
echo "gem: --no-document" > ~/.gemrc
gem install bundler
rbenv rehash
# dotfiles
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
git clone https://github.com/shiroyasha/dotfiles ~/dotfiles
cd ~/dotfiles && ./install
rm ~/dotfiles
#shutdown -r 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment