Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a103b0a0c2
Fetching contributors…

Cannot retrieve contributors at this time

executable file 65 lines (53 sloc) 1.854 kb
platform=`uname`
if [[ "$platform" == "Linux" || "$platform" == "Darwin" ]]; then
chsh -s `which zsh`
if [[ "$platform" == "Linux" ]]; then
echo "Setting up Linux"
sudo apt-get install gfortran
elif [[ "$platform" == "Darwin" ]]; then
echo "Setting up Mac"
curl -fsS https://raw.github.com/mxcl/homebrew/go | bash --ruby
fi
# Download fonts I like
mkdir -p fonts
./gfont.py "http://googlefontdirectory.googlecode.com/hg/ofl/dosis/METADATA.json"
./gfont.py "http://googlefontdirectory.googlecode.com/hg/ofl/anonymouspro/METADATA.json"
./gfont.py "http://googlefontdirectory.googlecode.com/hg/ofl/inconsolata/METADATA.json"
# Install rvm
curl -L https://get.rvm.io | bash -s stable --ruby
# Install pythonbrew
curl -kL http://xrl.us/pythonbrewinstall | bash
source $HOME/.rvm/scripts/rvm
source $HOME/.pythonbrew/etc/bashrc
# copy and install these dotfiles
rake install
if [[ "$platform" == "Linux" ]]; then
pythonbrew install 2.7.3
elif [[ "$platform" == "Darwin" ]]; then
sudo pythonbrew install --framework --force --configure="--with-universal-archs=intel --enable-universalsdk" 2.7.3
sudo chown -R dougfritz $HOME/.pythonbrew
fi
pythonbrew switch 2.7.3
easy_install readline
pip install ipython
pip install pil
pip install requests
pip install numpy
pip install scipy
if [[ "$platform" == "Linux" ]]; then
sudo apt-get install ffmpeg
sudo apt-get install exuberant-ctags
sudo apt-get install libclang-dev
elif [[ "$platform" == "Darwin" ]]; then
brew install wget
brew install node
brew install go
brew install ffmpeg
brew install gfortran
brew install macvim
brew install tmux
brew install ctags
# tmux pasteboard fixes issue of using macvim from tmux
brew install reattach-to-user-namespace
fi
fi
Jump to Line
Something went wrong with that request. Please try again.