Skip to content

Instantly share code, notes, and snippets.

View sabify's full-sized avatar
🗯️
Rust Thoughts...

Saber Haj Rabiee sabify

🗯️
Rust Thoughts...
View GitHub Profile
@sabify
sabify / rAF.js
Last active August 29, 2015 14:12 — forked from paulirish/rAF.js
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel
// MIT license
(function() {
var lastTime = 0;
var vendors = ['ms', 'moz', 'webkit', 'o'];

Sublime Text 2 - Useful Shortcuts

Tested in Mac OS X: super == command

Open/Goto


  • super+t: go to file
  • super+ctrl+p: go to project
  • super+r: go to methods
@sabify
sabify / gist:af7ed6a3ef8b53d00ae82a8e0186ae67
Created November 8, 2016 17:17 — forked from tonymtz/gist:d75101d9bdf764c890ef
Uninstall nodejs from OSX Yosemite
# first:
lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom | while read f; do sudo rm /usr/local/${f}; done
sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.*
# To recap, the best way (I've found) to completely uninstall node + npm is to do the following:
# go to /usr/local/lib and delete any node and node_modules
cd /usr/local/lib
sudo rm -rf node*

Keybase proof

I hereby claim:

  • I am sabify on github.
  • I am sabify (https://keybase.io/sabify) on keybase.
  • I have a public key ASC7s-3GARuEBkCRAjwdJd0SNySD5PHsr1Ur3YsmUKk2cwo

To claim this, I am signing this object: