Skip to content

Instantly share code, notes, and snippets.

@liamcurry
Last active October 10, 2015 22:28
Show Gist options
  • Save liamcurry/3761133 to your computer and use it in GitHub Desktop.
Save liamcurry/3761133 to your computer and use it in GitHub Desktop.
Bootstrap
# Packages
sudo apt-get install curl vim git zsh autojump tmux python-gpgme g++ libssl-dev apache2-utils
# Dotfiles
git init
git remote add -f origin git://github.com/liamcurry/dotfiles.git
git submodule update --init --force
git config status.showuntrackedfiles no
chsh -s /bin/zsh
cd ~/Downloads && cd $_
# Dropbox
wget https://linux.dropbox.com/packages/ubuntu/dropbox_1.4.0_amd64.deb
sudo dpkg -i dropbox_1.4.0_amd64.deb
echo "fs.inotify.max_user_watches = 99999999999" | sudo tee /etc/sysctl.d/20-dropbox-inotify.conf
sudo sysctl -p /etc/sysctl.d/20-dropbox-inotify.conf
# Synergy
wget http://synergy.googlecode.com/files/synergy-1.4.10-Linux-x86_64.deb
sudo dpkg -i synergy-1.4.10-Linux-x86_64.deb
# Chrome
wget https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb
sudo dpkg -i google-chrome-beta_current_amd64.deb
# Spotify
# http://www.spotify.com/us/download/previews/
sudo echo "\ndeb http://repository.spotify.com stable non-free" >> /etc/apt/sources.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59
sudo apt-get update
sudo apt-get install spotify-client
# Node
# https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
wget http://nodejs.org/dist/v0.8.9/node-v0.8.9-linux-x64.tar.gz
tar -xvf node-v0.8.9-linux-x64.tar.gz
cd node-v0.8.9-linux-x64
./configure
make
sudo make install
# Bind switch ctrl and capslock temporarily. Remember to add this to startup scripts.
# http://askubuntu.com/a/149972/91891
/usr/bin/setxkbmap -option "ctrl:swapcaps"
/usr/bin/setxkbmap -option "ctrl:nocaps"
# autocutsel will share X11 and GTK's clipboards
# http://www.nongnu.org/autocutsel/ http://superuser.com/a/177541/147375
sudo apt-get install autocutsel
autocutsel &
autocutsel -s PRIMARY &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment