Skip to content

Instantly share code, notes, and snippets.

View hussainqq's full-sized avatar

Hussain AlQatari hussainqq

  • United Arab Emirates
View GitHub Profile
@hussainqq
hussainqq / uninstall-node.sh
Created September 22, 2015 20:59 — forked from omarrr/uninstall-node.sh
Mac OS X uninstall script for packaged install of node.js
#!/bin/sh
(( ${#} > 0 )) || {
echo 'DISCLAIMER: USE THIS SCRIPT AT YOUR OWN RISK!'
echo 'THE AUTHOR TAKES NO RESPONSIBILITY FOR THE RESULTS OF THIS SCRIPT.'
echo "Disclaimer aside, this worked for the author, for what that's worth."
echo 'Press Control-C to quit now.'
read
echo 'Re-running the script with sudo.'
echo 'You may be prompted for a password.'
sudo ${0} sudo