Skip to content

Instantly share code, notes, and snippets.

View fredeerock's full-sized avatar

Derick Ostrenko fredeerock

View GitHub Profile
@fredeerock
fredeerock / 0_reuse_code.js
Last active August 29, 2015 14:12
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
//////////////////////
//Static Node Server//
//////////////////////
var http = require("http"),
url = require("url"),
path = require("path"),
fs = require("fs")
port = process.argv[2] || 8888;