Skip to content

Instantly share code, notes, and snippets.

@ph4un00b
Last active December 20, 2015 03:29
Show Gist options
  • Save ph4un00b/6063949 to your computer and use it in GitHub Desktop.
Save ph4un00b/6063949 to your computer and use it in GitHub Desktop.
init
-sublime
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')
-zsh
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
-git
git config --global color.ui auto
-brew(mac)
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
-nvm(node)
wget -qO- https://raw.github.com/creationix/nvm/master/install.sh | sh
curl https://raw.github.com/creationix/nvm/master/install.sh | sh
#append to .profile || zshrc
[[ -s /Users/soporte/.nvm/nvm.sh ]] && . /Users/soporte/.nvm/nvm.sh # This loads NVM
-less
npm install less
#Once it’s installed, you can compile bootstrap.less like so:
lessc bootstrap.less > bootstrap.css
#And for the minified version, use this instead:
lessc --compress bootstrap.less > bootstrap.min.css
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment