Skip to content

Instantly share code, notes, and snippets.

View papajuans's full-sized avatar
🙃

Ryan J papajuans

🙃
  • NY
View GitHub Profile
'use strict';
var levelup = require('levelup')
var fs = require('fs');
var db = levelup('./ldb');
var bytes = fs.readFileSync('./image.jpeg', 'binary');
var c = 0;

Keybase proof

I hereby claim:

  • I am papajuans on github.
  • I am papajuans (https://keybase.io/papajuans) on keybase.
  • I have a public key whose fingerprint is 94E6 153D 91F2 2570 2A0C 7F9D B2C4 7D84 14D0 89D4

To claim this, I am signing this object:

// MongoDB collection
// articles
{ id: '123', revision: 1, hed: 'My Title', body: 'foo bar bat baz' }
{ id: '123', revision: 2, hed: 'My Title Updated', body: 'foo bar bat baz' }
// galleries
{ id: '444', revision: 1, hed: 'My Gallery', body: 'foo bar bat baz' }
{ id: '444', revision: 2, hed: 'My Gallery Updated', body: 'foo bar bat baz' }