Skip to content

Instantly share code, notes, and snippets.

@nesquena
Last active February 10, 2019 17:58
Show Gist options
  • Save nesquena/491481 to your computer and use it in GitHub Desktop.
Save nesquena/491481 to your computer and use it in GitHub Desktop.
Setup Local Mac
- Run software update
- Install Purchased Apps from App Store
- Disable caps lock key (Sys Pref => Keyboard => Modifier Keys)
- System Pref -> Expose -> Setup corners for spaces and expose
+ System Pref -> Security -> Sleep Password
- Setup Dropbox to Get Files
- Install 1Password
- Use dropbox synced file for keychain
- Install browser extension for chrome
- Install Prey
+ http://preyproject.com/
- Install Browsers
+ Chrome (sync)
+ Firefox (sync, color picker, firebug)
- Install Viscosity
- Install AppCleaner
- Install Adium Messaging
- Install Skype
- Install Quicksilver (http://www.blacktree.com/)
- Install Stay (http://cordlessdog.com/stay/)
- Install Sparrow
- Install Photoshop, Fireworks CS5
- Install Colloquy
- Install Pow (http://pow.cx/) and Anvil (http://anvilformac.com/)
- Install DiffMerge
- Install BlueHarvest
- Install Pixelmator
- Install Shovebox
- Install TextMate
- Install Transmission
- Install Transmit
- Install Parallels Desktop
- Install Media
- MPlayer ( http://mplayerosx.sttz.ch/#downloads )
- Perian ( http://perian.org/ )
- Install Growl ( http://growl.info )
+ Extras -> GrowlNotify
- Setup Dock
* Autohide, Smaller Icons
+ Terminal
+ Chrome
+ Sparrow
+ iTunes
+ AppCleaner
+ Activity Monitor
+ Adium
+ Time Machine
- Change terminal settings
Switch to Pro theme default
Antialias text
Use Monaco 12pt
Keyboard Tab
send string to shell
home ( \033[H )
end ( \033[F )
page down ( \033[6~ )
page up ( \033[5~ )
- Install cdto (http://code.google.com/p/cdto/)
- Symlink DropBox
- Follow DropBox README to symlink files to correct locations
- Copy dotfiles (Use dotfiles from dropbox)
cd ~/Dropbox/DotFiles/
cat README
# Follow steps in readme
- Install homebrew
ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
brew doctor
- Install xcode
# XCode 4 from Mac App Store or XCode 3 from
http://developer.apple.com/technologies/xcode.html
- Install essential brew packages:
brew install git bash-completion mysql sqlite imagemagick redis memcached postgresql sphinx
mkdir /Users/nesquena/Library/LaunchAgents
    unset TMPDIR
mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
cp /usr/local/Cellar/mysql/5.5.14/com.mysql.mysqld.plist ~/Library/LaunchAgents/
    launchctl load -w ~/Library/LaunchAgents/com.mysql.mysqld.plist
    initdb /usr/local/var/postgres
    cp /usr/local/Cellar/postgresql/9.0.4/org.postgresql.postgres.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/org.postgresql.postgres.plist
- Setup rvm installation
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
Copy line in output to ~/.bash_profile
Type `rvm requirements` to and install associated brews
- Upgrade rubygems
gem rc: http://gist.github.com/491236
sudo gem update --system
sudo gem install bundler rb-appscript git-up open_gem
- Use rvm default:
rvm install 2.1.0
rvm use 2.1.0
rvm use 2.1.0@global
gem install git-up open_gem bundler rb-appscript
rvm install 1.9.3
rvm use 1.9.3 --default
rvm use 1.9.3@global
rvm use 1.9.3
gem install git-up open_gem bundler rb-appscript
- Setup Github keys
+ Generate ssh key: ssh-keygen -t rsa -C [email protected]
+ Add to GH account: cat ~/.ssh/id_rsa.pub | pbcopy
+ Fix SSH Permissions
- chmod -R u+rwX,go-rwx ~/.ssh
- chown -R nesquena ~/.ssh
- Setup git
+ Install git ps1 for prompt
+ Install gitx
+ Install GitBox
+ Setup gitconfig: http://gist.github.com/460579
- Install Querious
- Install autotest: http://gist.github.com/459301
- Setup textmate editor for coding
+ Install textmate railscast theme ( http://railscasts.com/about )
+ Install Tomorrow Night ( https://github.com/ChrisKempson/Tomorrow-Theme )
+ Install Inconsolata font
+ Install bit vera fonts: http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/
+ Install project-plus window
+ Use bitstream-vera-sans-mono at 13pt (or Menlo at 13pt)
+ Install and setup PeepOpen
+ Install and setup AckMate (https://github.com/downloads/protocool/AckMate/AckMate.1.1.1.zip)
+ Install Bundles from Dropbox
- See ~/DropBox/SyncedData/TextMate
- Setup apache + passenger preference pane
+ http://eddorre.com/posts/using-ruby-enterprise-edition-and-passenger-on-os-x-with-rvm
+ gem install passenger
+ rvmsudo passenger-install-apache2-module passenger-install-apache2-module
+ sudo mate /etc/apache2/other/passenger.conf
LoadModule passenger_module /Users/nesquena/.rvm/gems/ree-1.8.7-2011.03/gems/passenger-3.0.5/ext/apache2/mod_passenger.so
PassengerRoot /Users/nesquena/.rvm/gems/ree-1.8.7-2011.03/gems/passenger-3.0.5
PassengerRuby /Users/nesquena/.rvm/wrappers/ree-1.8.7-2011.03/ruby
RailsEnv development
PassengerMaxInstancesPerApp 2
User nesquena
+ System Pref -> Sharing -> Web Enabled
+ sudo apachectl restart
+ http://www.fngtps.com/2009/09/new-os-more-pane-passenger-preference-pane-v1-3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment