From fresh install to usable machine.
Disable natural scrolling.
defaults write NSGlobalDomain com.apple.swipescrolldirection -bool false
Install Homebrew.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# setup homebrew github auth token
Setup initial .bash_profile.
mkdir -p ~/bin
curl -o ~/bin/fancy_prompt.sh https://gist.githubusercontent.com/amcclosky/c6469db426e27a131745/raw/434638fad290f2269be4bea7c8d4df2515be6e7b/fancy_prompt.sh
curl -o .bash_profile https://gist.githubusercontent.com/amcclosky/0b8b60ab0c3aa80e3e87/raw/1de60ee57eaccda03a66ab8eaa332c77023916f7/.bash_profile
Set hostname.
NEW_NAME="newname"
sudo scutil --set ComputerName "$NEW_NAME"
sudo scutil --set LocalHostName "$NEW_NAME"
sudo scutil --set HostName "$NEW_NAME"
Install development environment software.
brew cask install java
brew cask install intellij-idea
# Install intellij-idea python plugin
brew cask install virutalbox
brew cask install vagrant
brew cask install vagrant-manager
brew cask install sublime-text
Install other utilities
brew cask install spectacle
brew cask install caffeine