Skip to content

Instantly share code, notes, and snippets.

@Lasha
Forked from buzzedword/Bash crap.sh
Created October 17, 2012 00:53
Show Gist options
  • Save Lasha/3903125 to your computer and use it in GitHub Desktop.
Save Lasha/3903125 to your computer and use it in GitHub Desktop.
Initial setups
# Xcode
open http://itunes.apple.com/us/app/xcode/id497799835?mt=12
# Homebrew
/usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
# Git
brew install git
# Git Flow
brew install git-flow
# Node
brew install node
# NPM
curl http://npmjs.org/install.sh | sh
#Set NPM security
sudo npm config set unsafe-perm false
# LessCSS
sudo npm install -g less
# Sublime Text 2
open http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202%20Build%202181.dmg
# Sublime Terminal Shortcut
mkdir ~/bin && ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl
# Package Control control+`
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'
# Sublime Modules
ApacheConf, Less, Git, Git-Sidebar, Sidebar Enhancements, jQuery, YAML, INI, Unofficial Docs, Filemanager, JSHint
# Oh My Zsh
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
## Paths...
# Github SSH key
open https://help.github.com/articles/generating-ssh-keys
# Git tower
open http://www.git-tower.com/download
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment