Skip to content

Instantly share code, notes, and snippets.

View morganrallen's full-sized avatar

Morgan 'ARR!' Allen morganrallen

  • Allen Industries
  • Oakland
View GitHub Profile
var gist = "just a test,2";
var gist = "just a test, update";
/*
XChng v0.1
Morgan "ARR!" Allen <morganrallen@gmail.com>
</morganrallen@gmail.com>
MIT License
usage: node xchng.node.js [ value || 1 ]
*/
var http = require("http"),
(function(global) {
var config = false,
modules = [];
// setup single public namespace
var skel = global.skel = {
init: function(c) {
// put initial config in the public scope
config = c;
(function(glob) {
/*
stpl
Morgan "ARR!" Allen
morganrallen@gmail.com
supports simple replacements
<li>${var}</li> + { var: "val" } = <li>val</li>
simple replacement with default value