Skip to content

Instantly share code, notes, and snippets.

@mikedijkstra
Created September 20, 2011 20:17
Show Gist options
  • Save mikedijkstra/1230195 to your computer and use it in GitHub Desktop.
Save mikedijkstra/1230195 to your computer and use it in GitHub Desktop.
New Laptop Setup
  1. Install the following applications: Alfred App Chrome Dropbox Sublime Text 2 Xcode

  2. Add the following to ~/.bash_profile

    Add git to the command line

    function parse_git_dirty { [[ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "*" }

    function parse_git_branch { git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e "s/* (.*)/[\1$(parse_git_dirty)]/" }

    PS1="\w $(parse_git_branch)$ "

    Add an alias for Sublimt Text 2

    alias slt='open -a "Sublime Text 2"'

  3. Install Homebrew: https://github.com/mxcl/homebrew/wiki/installation

  4. Install GCC Installer: https://github.com/kennethreitz/osx-gcc-installer/downloads

  5. Install rbenv: https://github.com/sstephenson/rbenv

  6. Install ruby-build: https://github.com/sstephenson/ruby-build

  7. Install mongodb: brew install mongodb

  8. Add Solarized colours to Terminal: https://github.com/tomislav/osx-lion-terminal.app-colors-solarized

  9. Setup Sublime Text 2: Change colour scheme to Solarized: Preferences > Colour Scheme Change default tab size to 2: Save this as Packages/User/Base File.sublime-settings { "tab_size": 4, "translate_tabs_to_spaces": false } Install Cucumber Language: https://gist.github.com/864839 Install CoffeeScript Language: https://github.com/jashkenas/coffee-script-tmbundle/blob/master/Syntaxes/CoffeeScript.tmLanguage Install SCSS Language: https://github.com/kuroir/SCSS.tmbundle

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