Skip to content

Instantly share code, notes, and snippets.

View XerxesNoble's full-sized avatar
🔋

Xerxes XerxesNoble

🔋
View GitHub Profile
@XerxesNoble
XerxesNoble / gist:d2fa36d9b54cc667c2ae90d84f3cb9cc
Created July 18, 2017 00:18 — forked from chrsgrffth/gist:c2b33896138aa1894cfd
Forward Port 80 to 3000 for Node.js (from StackOverflow)
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3000
@XerxesNoble
XerxesNoble / 0_reuse_code.js
Created January 25, 2016 20:25
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console