Skip to content

Instantly share code, notes, and snippets.

@mmalecki
mmalecki / whichStdin.sh
Created January 1, 2012 11:41 — forked from csanz/gist:1545189
My Hacker History
history|awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|./whichStdin|sort|uniq -c|sort -rn
1815 git
892 mvim
508 npm
477 node
475 ls
383 rm
277 cat
266 jitsu
require('./db_connect');
var geocoder = require('geocoder');
var cs = require('../cyberstride/mongoose');
var AddressSchema = new Schema({
name : {type: String, default : ''},
street1 : {type: String, default : ''},
street2 : {type: String, default : ''},
city : {type: String, default : '', required: true},
state : {type: String, required : true},
zip : {type: String, default : ''},