First things first... swap Control and Caps Lock in System Preferences -> Keyboard -> Modifier Keys
- XCode (from the mac app store)
- XCode command line tools (run XCode, go to preferences, add the package)
- Homebrew https://github.com/mxcl/homebrew/wiki/installation
edit /etc/paths to put /usr/local/bin on top, so that lion's psql doesnt win
brew install postgres
brew install gdal --with-postgres
brew install postgis
(creating geo databases got easier, no need to install the templates, see http://postgis.refractions.net/documentation/manual-2.0/postgis_installation.html#create_new_db_extensions)
brew install mapnik
don't forget to update your pythonpath so you can import mapnik. add to your .bash_profile: export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
- QGIS http://www.kyngchaos.com/software/qgis
- TileMill http://mapbox.com/tilemill/
- iTerm2 http://www.iterm2.com/
- Oh my zsh https://github.com/robbyrussell/oh-my-zsh/
- macvim (Trying vim. We'll see how this goes.) http://code.google.com/p/macvim/
- Google Chrome http://www.google.com/chrome/
- iStat Menus http://bjango.com/mac/istatmenus/
- The Unarchiver http://wakaba.c3.cx/s/apps/unarchiver
- CrashPlan http://www.crashplan.com/
- Divvy http://mizage.com/
Doing ruby? Get rbenv (https://github.com/sstephenson/rbenv). Note, I'm modifying my .zshrc cuz I do zsh. You'd do your .bash_profile if you're normal.
brew install rbenv
brew install ruby-build
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc
echo 'eval "$(rbenv init -)"' >> ~/.zshrc
You'll want to open a new shell to get that stuff we just put on your path. Here's how you see what fancy new ruby versions you can install, and how to get one w/ rbenv:
rbenv install
rbenv install 1.9.3-p194
Vim is pretty rad once you get used to it. I've been building a cheat sheet, lemme know if you want it.
You'll wanna add these things to your ~./vimrc file, trust me.
" big E goes to end of line, big B goes to beginning
map E $
map B 0
" jk as a shorcut for Escape in Insert and Command modes
noremap! jk
noremap! kj
" ... in Visual and Select modes
vnoremap jk
vnoremap kj
This way you can mash j and k keys to get out of insert mode, and it's much easier to go to beginning and end of line. Also apparently you can intergrate vim an ipython so you get ipython-esque autocompletion, though I haven't futzed with that yet.
I like to use vim inside iterm because you can split screen cli and vim. You can enable most of the macvim mouse functionality for vim by adding this to .vimrc
set mouse=a