Skip to content

Instantly share code, notes, and snippets.

@bantic
Created August 24, 2012 20:50
Show Gist options
  • Save bantic/3455474 to your computer and use it in GitHub Desktop.
Save bantic/3455474 to your computer and use it in GitHub Desktop.
steps to set up a new computer

I recently got a new computer. These are my notes on what I had to do to get it up and running.

get my passwords available

  • download chrome (set as default browser)
  • reset dropbox password into my email
  • download and install dropbox
  • pause dropbox syncing (to allow faster downloads of other stuff)
  • download 1password app
  • download 1password agilekeychain and replace the un-synced one in my dropbox with it
  • start 1password and choose the correct keychain

ok, now I can log into websites!

settings and app setup

  • install kissphrase
  • remap caps lock to control in system settings
  • install divvy and set up global hotkey (cmd-shift-d) and shortcuts (F fullscreen, L left, R right, C center)
  • download iterm2
  • install cloudapp
  • disable the "are you sure you want to open this application" warning (see this os x cheat sheet): defaults write com.apple.LaunchServices LSQuarantine -bool false doesn't seem to work
  • install the solarized color scheme
  • fast key repeat rate, short delay (in system preferences)
  • enable drag lock
  • allow applications downloaded from anywhere (in system settings security -- otherwise rescuetime won't start on login)

misc

  • install firefox
  • install alfred.app -- remove spotlight hotkeys so I can use cmd-space for alfred
  • install rescuetime
  • install vitamin-r (pomodoro timer)
  • install growl
  • install growlnotify
  • install mplayerx
  • install caffeine
  • Looking at the 'purchased' tab of the app store app makes this a pretty easy process for most of these
  • install taskpaper
  • omnifocus
  • skype
  • spotify
  • transmit
  • adium
  • transmission
  • istat menus
  • prey
  • timedoctor

set up development environment

general

  • I used some of this mountain lion cheatsheet
  • install xcode developer tools from apple's developer site (I used 4.5-DP4)
  • install xcode command line tools from Xcode -> preferences
  • run apple software update (I did not realize this is handled through the app store now)
  • install homebrew
  • brew doctor -- I had /usr/bin before /usr/local/bin in my path so I added this line to .bash_profile: PATH=/usr/local/bin:$PATH
  • brew install autoconf automake (as an aside it makes me sad that Mountain Lion ships w/ ruby 1.8.7)
  • brew tap homebrew/dupes
  • brew install apple-gcc42
  • brew install ack
  • brew install wget
  • install heroku toolbelt

ruby/rails

  • install rvm: curl -L https://get.rvm.io | bash -s stable

  • rvm get head

  • brew install openssl -- this is to prevent OpenSSL Errors and Rails

  • install ruby 1.9.3:

     rvm install 1.9.3 --with-openssl-dir=`brew --prefix openssl`
    
  • rvm --default use 1.9.3

  • install ruby 1.8.7 (again, following along at Daniel Fischer's blog post)

    • have to install X11
    • export CPPFLAGS=-I/opt/X11/include
    • CC=/usr/local/bin/gcc-4.2 rvm reinstall 1.8.7
  • install pow: curl get.pow.cx | sh

heroku

  • install the heroku gem: gem install heroku
  • log in to heroku: heroku login
  • generate an ssh key: ssh-keygen -t rsa -C "myemail"
  • add key to heroku: heroku keys:add ~/.ssh/id_rsa.pub

libs and miscellany

  • brew install imagemagick
  • brew install postgresql -- and follow the additional commands that brew gives to add it to launchctl etc
    • createdb <myusername>
    • install pgadmin
  • brew install mongo
  • brew install redis
  • install inconsolata

git

  • brew install git

  • github signin ability

  • set up git username and email:

    • git config --global user.name myname
    • git config --global user.email myemail
  • install git extras: brew install git-extras

  • after installing git extras: add git-completion and git-aware prompt. Add the following to my .bash_profile

     source /usr/local/etc/bash_completion.d/git-completion.bash
     source /usr/local/etc/bash_completion.d/git-prompt.sh
     export PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
    
  • btw I learned something about the differences between .bash_profile, .bashrc, .bash_login etc here and here

node

  • brew install node
  • install npm curl https://npmjs.org/install.sh | sh
  • update NODE_PATH in my .bash_profile: export NODE_PATH=/usr/local/lib/node_modules:$NODE_PATH

vim

  • brew install macvim
  • ln -s /usr/local/Cellar/macvim/7.3-64/MacVim.app /Applications
  • for aesthetics, update the macvim icon using one of the ones here
  • install janus: curl -Lo- https://bit.ly/janus-bootstrap | bash
  • link .vimrc.after and .vimrc.before:
    • cd ~; ln -s /Users/coryforsyth/Dropbox/dotfiles/vim/.vimrc.after
    • cd ~; ln -s /Users/coryforsyth/Dropbox/dotfiles/vim/.vimrc.before
@bantic
Copy link
Author

bantic commented Sep 20, 2012

@itsmeduncan hell yes

@lauren
Copy link

lauren commented Sep 25, 2012

Someone is really addicted to productivity apps.

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