Skip to content

Instantly share code, notes, and snippets.

Peter Johnson pjohnson31

Block or report user

Report or block pjohnson31

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View 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 Dec 25, 2015
Video Chat Lengths
View gist:6921243
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" ); } } );
You can’t perform that action at this time.