Skip to content

Instantly share code, notes, and snippets.

View davecarter's full-sized avatar
:octocat:
coding like there is no tomorrow

David Garcia davecarter

:octocat:
coding like there is no tomorrow
View GitHub Profile
sudo curl -o /usr/local/bin/imgcat -O https://raw.githubusercontent.com/gnachman/iTerm2/master/tests/imgcat && sudo chmod +x /usr/local/bin/imgcat
# If you have a better way to fix the permissions, comment below!
@davecarter
davecarter / Node-to-NVM.md
Created February 10, 2016 15:35 — forked from nucliweb/Node-to-NVM.md
Node.js to Node Version Manager

Change Node.js to Node Version Manager

  • List all global packages installed in your system
ls /usr/local/lib/node_modules > ~/node-packages.txt
  • Remove all packages

Sublime Text 3 on OS X Terminal

By creating link

Linking into /usr/bin with sudo:

$ sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/bin/sbl