Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 3.03 KB

README.md

File metadata and controls

61 lines (42 loc) · 3.03 KB

Config

Config is a basic checklist I follow to set up a new Mac's development environment. It gets me up to speed with Git, Ruby, GitHub, Jekyll, and more so I can more quickly get back to coding.

Contents

File Description
.bash-profile Customizes the Terminal.app prompt and echos the currently checked out Git branch.
.gitconfig Global Git configuration to specify my name and email, shortcuts, colors, and more.
.gitignore The ignore file from twbs/bootstrap that I use everywhere.
Preferences.sublime-settings My Sublime Text 2 user preferences.

Checklist

1. Prep OS X

  • Download and install latest version of Xcode from the Mac App Store
  • Download and install Xcode command line tools

2. Download dependencies

3. Secure Git(Hub) access

4. Prep Terminal.app

5. Tweak Sublime Text 2 just right

  • Install Package Control:
    • Open Sublime Text 2 and hit `Ctrl-``, then enter the following:
import urllib2,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler()) ); by = urllib2.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); open( os.path.join( ipp, pf), 'wb' ).write(by) if dh == h else None; print('Error validating download (got %s instead of %s), please try manual install' % (dh, h) if dh != h else 'Please restart Sublime Text to finish installation')

Use it yourself

Fork this repo, or just copy-paste things you need, and make it your own. Please be sure to change your .gitconfig name and email address though!

Works on my machine

Yup, it does. Hopefully it does on yours as well, but please don't hate me if it doesn't.

<3