Skip to content

Instantly share code, notes, and snippets.

@mauroartizzu
Created January 27, 2013 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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 "richard.kall@me.com"

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

#Test connection
ssh -T git@github.com

#Set Git config values
git config --global user.name "Richard Käll"
git config --global user.email "richard.kall@me.com"

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