Skip to content

Instantly share code, notes, and snippets.

View willwhite's full-sized avatar

Will White willwhite

View GitHub Profile
@creationix
creationix / static.conf
Created February 9, 2011 06:35
my upstart config for creationix.com
description "start and stop the static stuff server"
version "1.0"
author "Tim Caswell"
# configuration variables.
env PATH=/home/tim/.nvm/HEAD/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
respawn
start on runlevel [23]
@willwhite
willwhite / gist:628906
Last active September 23, 2015 22:57
// Use node.js to generate md5 hash
var hash = require('crypto').createHash('md5').update('STRING TO HASH').digest('hex');