Skip to content

Instantly share code, notes, and snippets.

@squarism
Last active December 17, 2015 02:39
Show Gist options
  • Save squarism/5537703 to your computer and use it in GitHub Desktop.
Save squarism/5537703 to your computer and use it in GitHub Desktop.
Debian 7 dev box yak shaving instructions. Obviate productivity by messing with themes.
# omfg ocd dev box instructions incoming
# start with vanilla debian 7
# the cd installer doesn't give you a local mirror
# add these lines to the end of sources.list
# deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
# deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free
sudo vi /etc/apt/sources.list
sudo apt-get update
# some handy tools, sorry I don't explain each one
sudo apt-get install htop vim git chromium-browser weechat curl zsh
# tweak the gnome-terminal.
# first, download the source code pro font
# http://slant.co/topics/67/~what-are-the-best-programming-fonts
# double click and install the regular otf one
# i like the solarized theme
git clone git://github.com/sigurdga/gnome-terminal-colors-solarized.git
cd gnome-terminal-colors-solarized/
./solarize
# if you like the light version, run set_light.sh and run ./solarize again
# ok the default themes are terrible, let's get the unity theme
sudo aptitude install gnome-themes gnome-themes-extras
sudo aptitude install gtk3-engines-unico gtk2-engines-murrine gtk3-engines-oxygen
# more shell pimping
sudo aptitude install autojump
# I also like the tomorrow gnome-terminal theme
wget https://raw.github.com/chriskempson/tomorrow-theme/master/Gnome-Terminal/setup-theme.sh
bash ./setup-theme.sh
# install squarism/dotfiles, follow instructions at that repo
# https://github.com/squarism/dotfiles
# replace brew autojump path in .zshrc with /usr/share/autojump/autojump.sh
# because the dotfiles were made for mac, not linux
# download and configure the tomorrow theme for vim
# (optional) install xmonad
sudo aptitude install xmonad
# ok can we build cool stuff now?
# instead of just messing with colors and desktop crap?
# install RVM (ruby), you'll want this line for just a basic install
\curl -L https://get.rvm.io | bash -s stable --ruby=2.0.0 --autolibs=enabled
source /home/chris/.rvm/scripts/rvm
# change to zsh
chsh -s /bin/zsh
# ok, basic dev tools
sudo aptitude install build-essential
# not so basic dev tools, for rethinkdb and others
sudo apt-get install g++ protobuf-compiler protobuf-c-compiler libprotobuf-dev libv8-dev libgoogle-perftools-dev make libprotoc-dev openjdk-7-jdk libboost-dev
# the rest is very ruby dev box specific ... perhaps will add later
# install node for js engine
# sudo apt-get install mysql-server mysql-client libmysqld-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment