Skip to content

Instantly share code, notes, and snippets.

@mauroartizzu
Created January 27, 2013 14:22
Show Gist options
  • Save mauroartizzu/4648542 to your computer and use it in GitHub Desktop.
Save mauroartizzu/4648542 to your computer and use it in GitHub Desktop.

#Mac OS X

Preferences

#Disable window animations
sudo defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false

#Enable repeat on keydown
sudo defaults write -g ApplePressAndHoldEnabled -bool false

#Show path bar in Finder
sudo defaults write com.apple.finder ShowPathbar -bool true

#Disable disk image verification
sudo defaults write com.apple.frameworks.diskimages skip-verify -bool true &&
sudo defaults write com.apple.frameworks.diskimages skip-verify-locked -bool true &&
sudo defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true

#Disable Safari’s thumbnail cache for History and Top Sites
sudo defaults write com.apple.Safari DebugSnapshotsUpdatePolicy -int 2

Apps

Safari Extensions

Xcode Command Line Tools

Xcode > Preferences > Downloads > Command Line Tools

RVM/Ruby

curl -L https://get.rvm.io | bash -s stable
rvm install ruby 1.9.3
rvm use --default 1.9.3

Z-shell

curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
rm -r ~/.zshrc
ln -s ~/Dropbox/Sync/Dotfiles/.zshrc ~/.zshrc
ln -s ~/Dropbox/Sync/Dotfiles/.oh-my-zsh/themes/richard.zsh-theme ~/.oh-my-zsh/themes/richard.zsh-theme
# Get rid of "Last login" message
touch .hushlogin

Download Solarized Dark Terminal theme from http://ethanschoonover.com/solarized

Run Sublime Text 2 from CLI

sudo ln -s /Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl /bin/subl

Setup Git and GitHub

#Generate SSH key if it doesn't exist
ssh-keygen -t rsa -C "[email protected]"

#Copy SSH key to https://github.com/settings/ssh
subl ~/.ssh/id_rsa.pub

#Test connection
ssh -T [email protected]

#Set Git config values
git config --global user.name "Richard Käll"
git config --global user.email "[email protected]"

git config --global core.editor "subl"
git config --global color.ui true

Rails & Pow

gem install rails
curl get.pow.cx | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment