Skip to content

Instantly share code, notes, and snippets.

@pjohnson31
pjohnson31 / keybase.md
Last active November 3, 2016 21:21
keybase.md

Keybase proof

I hereby claim:

  • I am pjohnson31 on github.
  • I am peterj0hnson (https://keybase.io/peterj0hnson) on keybase.
  • I have a public key whose fingerprint is 735F 4FD4 C92B 931C CEDD F08E 2AC2 D993 031F C698

To claim this, I am signing this object:

@pjohnson31
pjohnson31 / gist:6921243
Last active December 25, 2015 04:59
Video Chat Lengths
db.messages.find( {type : 6 , sent : {$gt: 1377993661000 } } ).forEach( function(myDoc) { if (myDoc.chatUserIds && Object.keys(myDoc.chatUserIds).length > 1) { print( new Date(myDoc.sent) + "," + (myDoc.duration) + "\r\n" ); } } );