Skip to content

Instantly share code, notes, and snippets.

{
"request" : {
"series_id" : "PET.EMM_EPMR_PTE_R1Y_DPG.A",
"command" : "series"
},
"series" : [
{
"source" : "EIA, U.S. Energy Information Administration",
"unitsshort" : "$/gal",
"geography" : "USA-DC+USA-DE+USA-MD+USA-NJ+USA-NY+USA-PA",
{
"data" : [
[
"2013",
3.56
],
[
"2012",
3.681
]
@wlaurance
wlaurance / sumobotjr.js
Created July 28, 2014 18:12
node-bots script
// =======================
// Sumobot Jr demo program
// =======================
var five = require("johnny-five");
var keypress = require('keypress');
keypress(process.stdin);
var board = new five.Board();
#!/bin/bash
URL="https://quill-writer.firebaseapp.com/#/"
PROMPTS="1 2 3 4 5"
USERS="1 2"
newRandomThing()
{
{
"activities" : {
"5cC4B0UaZ1qnRFkIaDFdsQ" : {
"name" : "Human Rights",
"private" : false,
"prompt" : "\"We believe in human rights because...\"",
"wordList" : "[{\"word\":\"fundamental\",\"definition\":\"necessary or central part of an idea; the basis\"},{\"word\":\"inalienable\",\"definition\":\"cannot be given or taken away from the possessor\"},{\"word\":\"charter\",\"definition\":\"a written document that defines an entity's rights and priveleges\"},{\"word\":\"reaffirm\",\"definition\":\"to confirm the validity of\"},{\"word\":\"dignity\",\"definition\":\"the state of being worthy of honor or respect\"},{\"word\":\"uphold\",\"definition\":\"to support or defend; to not judge against something\"},{\"word\":\"promote\",\"definition\":\"to raise to a higher level; to help or assist\"},{\"word\":\"protect\",\"definition\":\"to keep from being harmed\"}]"
},
"7_fLLcFTx2U9rUFKeoTKwA" : {
"name" : "The Pirate Treasure",
{
"-J_XQk8huMfRRG3Y5c7H" : {
"id" : "470e517f-331a-4b16-a7d7-3b42a0778529",
"images" : [ {
"md5sum" : "583dc18fa8790f4a9060746bce8029bb"
}, {
"md5sum" : "be4b245b4e271a59738f51a8bf68cd80"
}, {
"md5sum" : "3169ef3cb71c17e6e2dfe4da2d822a70"
}, {
@wlaurance
wlaurance / nginx.conf
Created December 9, 2014 02:05
Fresh DO 14.04 64 VM Nginx config
user www-data;
worker_processes 4;
pid /run/nginx.pid;
events {
worker_connections 768;
# multi_accept on;
}
http {
@wlaurance
wlaurance / README
Created April 22, 2017 22:16
mongoose tips and tricks
Mongoose Tips And Tricks
==============================