- Make sure you have yo installed:
npm install -g yo
- Run:
yo webapp
- Install grunt-contrib-jade:
npm install grunt-contrib-jade --save-dev
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var require; | |
var net = require("net"); | |
var sys = require("sys"); | |
var fs = require("fs"); | |
var child_process = require("child_process"); | |
var encoding = "binary"; | |
var remote; | |
var main; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/node | |
var MongoClient = require('mongodb').MongoClient | |
var Server = require('mongodb').Server; | |
var async = require('async'); | |
var util = require('util'); | |
// A simple linear congruence random number generator. | |
// This is anticipating doing a comparable test with the aggregation pipeline. | |
var randMod = 2 << 24; |


This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# | |
# This script updates links in *.md files that look like | |
# https://cdn.rawgit.com/mygithub/myrepo/doctag201702041450/doc/some_doc.html | |
# to new timestamps and creates the corresponding git tags. | |
# | |
# Run it at root of the repo before checking in changes, and be sure to include `--tags` when you push to remotes. | |
# |