Skip to content

Instantly share code, notes, and snippets.

@fooforge
Created August 16, 2012 20:13
Show Gist options
  • Save fooforge/3373243 to your computer and use it in GitHub Desktop.
Save fooforge/3373243 to your computer and use it in GitHub Desktop.
Mac OS X Setup

This document exists purely to keep track of customizations and software soon to be taken care of by chef.

Software

Cmd-Line

Packages

Configuration

Brew

ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)
brew doctor

RVM

brew update
brew tap homebrew/dupes
brew install autoconf automake apple-gcc42
rvm pkg install openssl

Customization

Hosted-chef setup

sudo mkdir /etc/chef
sudo chown -R $user:$staff /etc/chef
mkdir ~/.chef
rvm gemset use global
gem install chef
# copy client.rb|validation.pem to /etc/chef
chef-client -c /etc/chef/client.rb

# client.rb
base_dir = "/Users/USERNAME/.chef"
chef_server_url         'https://api.opscode.com/organizations/ORGNAME'
validation_client_name  'ORGNAME-validator'
checksum_path           "#{base_dir}/checksum"
file_cache_path         "#{base_dir}/cache"
file_backup_path        "#{base_dir}/backup"
cache_options({:path => "#{base_dir}/cache/checksums", :skip_expires => true})

Animations

No animation for Mission Control

defaults write com.apple.dock expose-animation-duration -int 0; killall Dock

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment