Skip to content

Instantly share code, notes, and snippets.

did:3:kjzl6cwe1jw147wjcdxlhllrkh2qmzjuw2bprmzabtaln5kd0ta7f9kgghfrnlo
0xFdF500D77363369A0b3277dd1cAE8BB298921bfe
@cslarson
cslarson / Description.md
Last active August 29, 2015 14:24
BaseId - Anti-sybil accounts with Basic Income

#BaseId

###Summary

  • A collection of Ethereum accounts where each account maps to one, and only one, living person.
  • Members are entitled to distributions of Ether from returns accrued via a fund administered and maintained by members, in proportion to their holdings of a token "Base".
  • New "Base" is distributed, monthly*, on an equal basis to all members, in line with an annual inflation rate of 20%*.

###Registration

@cslarson
cslarson / description.md
Last active August 29, 2015 14:16
test markdown

My Awesome Project

Please fund me

I have no food to eat

I am very hungry a burger

// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible).
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export.
var FORMAT_ONELINE = 'One-line';
var FORMAT_MULTILINE = 'Multi-line';
var FORMAT_PRETTY = 'Pretty';
var LANGUAGE_JS = 'JavaScript';
var LANGUAGE_PYTHON = 'Python';
// tinyxhr by Shimon Doodkin - licanse: public doamin - https://gist.github.com/4706967
//
// tinyxhr("http://site.com/ajaxaction",function (err,data,xhr){ if (err) console.log("goterr ",err,'status='+xhr.status); console.log(data) });
// tinyxhr("http://site.com/ajaxaction",function (err,data,xhr){ if (err) console.log("goterr ",err,'status='+xhr.status); console.log(data) },'POST','value1=1&value2=2');
// tinyxhr("http://site.com/ajaxaction.json",function (err,data,xhr){ if (err) console.log("goterr ",err,'status='+xhr.status); console.log(data); console.log(JSON.parse(data)) },'POST',JSON.stringify({value:1}),'application/javascript');
// cb - a callback function like: function (err,data,XMLHttpRequestObject){ if (err) throw err; }
//
function tinyxhr(url,cb,method,post,contenttype)
{