Skip to content

Instantly share code, notes, and snippets.

View cjeich's full-sized avatar

Chris Eich cjeich

View GitHub Profile
db.facility.update({$set:{subDomain: 'dev'}})
assert failed : need an object
Error: Printing Stack Trace
at printStackTrace (src/mongo/shell/utils.js:37:15)
at doassert (src/mongo/shell/assert.js:6:5)
at assert (src/mongo/shell/assert.js:14:5)
at DBCollection.update (src/mongo/shell/collection.js:220:5)
at (shell):1:13
Sun Mar 9 22:49:07.230 assert failed : need an object at src/mongo/shell/assert.js:7
@cjeich
cjeich / keybase.md
Created April 2, 2014 21:57
keybase.md

Keybase proof

I hereby claim:

  • I am cjeich on github.
  • I am cjeich (https://keybase.io/cjeich) on keybase.
  • I have a public key whose fingerprint is F304 329F ACE2 5261 3FEF D540 429D 5347 EBC5 D7A1

To claim this, I am signing this object:

@cjeich
cjeich / gist:92be74fa93cfb3c9ccb1
Created March 5, 2015 06:22
BMI Calculator in LOLCODE
#! /usr/local/bin/lci
HAI 1.2
CAN HAS STDIO?
I HAS A WEIGHT
WEIGHT R NOOB
I HAS A HEIGHT
HEIGHT R NOOB
I HAS A BMI
BMI R NOOB