Skip to content

Instantly share code, notes, and snippets.

immutable struct Field {
string type;
string name;
}
immutable struct Structure {
string name;
Field[] fields;
}
Verifying my Blockstack ID is secured with the address 1Bbh2keayaztYJEZDBjeE1r5i5ewDENVgi https://explorer.blockstack.org/address/1Bbh2keayaztYJEZDBjeE1r5i5ewDENVgi
@rbscott
rbscott / json_stream.py
Created September 25, 2013 02:39
Quick script to parse out fields from a JSON stream
import sys
import simplejson as json
def get_param(js, param=()):
if len(param) == 0:
return None
if len(param) == 1:
@rbscott
rbscott / elasticsearch.conf
Created June 28, 2011 19:46
upstart job for elastic search
# ElasticSearch Service
description "ElasticSearch"
start on (net-device-up
and local-filesystems
and runlevel [2345])
stop on runlevel [016]