Skip to content

Instantly share code, notes, and snippets.

@ajace
Last active December 25, 2015 19:39
Show Gist options
  • Save ajace/7029446 to your computer and use it in GitHub Desktop.
Save ajace/7029446 to your computer and use it in GitHub Desktop.
Setup for a new mac osx. Web Development
#!/bin/bash
# zsh
# uninstall_oh_my_zsh
curl -L github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
# http://bahoom.com/hyperswitch
defaults write com.apple.Finder AppleShowAllFiles TRUE
killall Finder
echo export PATH="/usr/local/bin:$PATH" >> ~/.bash_profile
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
http://bahoom.com/hyperswitch
# Composer install
curl -s http://getcomposer.org/composer.phar -o /usr/local/bin/composer
chmod +x /usr/local/bin/composer
sudo ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /usr/bin/subl
# Window snapping for free
# http://spectacleapp.com/
# BetterSnapTool because you can't snap with mouse otherwise
# http://www.boastr.net/
# Sublime Text 2
# ST2 Package Control
# ctrl+`
# import urllib2,os; 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( ))); open( os.path.join( ipp, pf), 'wb' ).write( urllib2.urlopen( 'http://sublime.wbond.net/' +pf.replace( ' ','%20' )).read()); print( 'Please restart Sublime Text to finish installation')
# KeyRemap4MacBook
# https://pqrs.org/macosx/keyremap4macbook/index.html.en
# Install
# AdvancedNewFile
# BracketHighlighter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment