Skip to content

Instantly share code, notes, and snippets.

View amotion's full-sized avatar
🌀
Working from home

Andrew Cornett amotion

🌀
Working from home
View GitHub Profile
const buffer = Buffer.from('YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKMHCA9VJG51bGzTCQoLDA0OV05TLmtleXNaTlMub2JqZWN0c1YkY2xhc3OgoIAC0hAREhNaJGNsYXNzbmFtZVgkY2xhc3Nlc1xOU0RpY3Rpb25hcnmiEhRYTlNPYmplY3RfEA9OU0tleWVkQXJjaGl2ZXLRFxhUcm9vdIABCBEaIy0yNztBSFBbYmNkZmt2f4yPmKqtsgAAAAAAAAEBAAAAAAAAABkAAAAAAAAAAAAAAAAAAAC0', 'base64')
bplist.parseBuffer(buffer, function(err, result) {
if (!err) {
response.status(200).send(result);
} else {
response.status(500).send(err);
}
});
@amotion
amotion / 0_reuse_code.js
Created January 3, 2017 15:56
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console