Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am moderation on github.
  • I am moderation (https://keybase.io/moderation) on keybase.
  • I have a public key whose fingerprint is 4589 D175 C3A1 B5E2 90E0 7E31 6148 731F F2BF D610

To claim this, I am signing this object:

@moderation
moderation / gist:2827712f24cfce515697
Created November 16, 2014 00:37
onename.io verification
Verifying that +moderation is my openname (Bitcoin username). https://onename.io/moderation
{
"user": {
"profile_text_color": "333333",
"url": null,
"listed_count": 4,
"created_at": "Tue Jun 10 13:03:54 +0000 2008",
"profile_sidebar_fill_color": "efefef",
"screen_name": "virgiliocorrado",
"contributors_enabled": false,
"profile_background_tile": true,
@moderation
moderation / types.go
Created February 4, 2011 18:11
Updated types.go file for hoisie/twitterstream after getting a bit of help from @enneff
package twitterstream
type Hashtags struct {
Indices []int
Text string
}
type Urls struct {
Url string
Indices []int
@moderation
moderation / fibonacci.go
Created December 2, 2011 01:16
will it recur fibonacci
package main
import (
"fmt"
"time"
)
func fibonacci(n int) int {
var a int
#!/usr/bin/env node
var util = require('util'),
http = require('http'),
events = require('events'),
oauth = require('oauth').OAuth,
fs = require("fs"),
crypto = require("crypto"),
ws = require('websocket-server');
@moderation
moderation / gist:2467004
Created April 22, 2012 21:22
SPDY proxy
var fs = require('fs'),
spdy = require('spdy'),
httpProxy = require('http-proxy');
var options = {
key: fs.readFileSync(__dirname + '/moderation-key.pem'),
cert: fs.readFileSync(__dirname + '/moderation-cert.pem'),
ca: fs.readFileSync(__dirname + '/moderation-csr.pem')
};
@moderation
moderation / gist:2643732
Created May 9, 2012 11:00
node-spdy spdy-v3 crash
/Users/moderation/Library/Github/node-spdy/lib/spdy/server.js:279
if (settings.initial_window_size) {
^
TypeError: Cannot read property 'initial_window_size' of undefined
at Connection.setDefaultTransferWindow (/Users/moderation/Library/Github/node-spdy/lib/spdy/server.js:279:15)
at Parser.<anonymous> (/Users/moderation/Library/Github/node-spdy/lib/spdy/server.js:197:14)
at Parser.emit (events.js:87:17)
at onFrame (/Users/moderation/Library/Github/node-spdy/lib/spdy/parser.js:185:12)
at Framer.execute (/Users/moderation/Library/Github/node-spdy/lib/spdy/protocol/v2/framer.js:50:5)
at Parser.execute (/Users/moderation/Library/Github/node-spdy/lib/spdy/parser.js:179:19)
@moderation
moderation / 9 principles.md
Last active December 16, 2015 00:39
9 principles

Ito: There are nine or so principles to work in a world like this:

  1. Resilience instead of strength, which means you want to yield and allow failure and you bounce back instead of trying to resist failure.
  2. You pull instead of push. That means you pull the resources from the network as you need them, as opposed to centrally stocking them and controlling them.
  3. You want to take risk instead of focusing on safety.
  4. You want to focus on the system instead of objects.
  5. You want to have good compasses not maps.
  6. You want to work on practice instead of theory. Because sometimes you don’t why it works, but what is important is that it is working, not that you have some theory around it.
  7. It disobedience instead of compliance. You don’t get a Nobel Prize for doing what you are told. Too much of school is about obedience, we sh
@moderation
moderation / ladylambbeekeeper_bird_ballons
Created May 25, 2013 05:16
Lady Lamb the Beekeeper - Bird Balloons
I'm a ghost and you all know it
I'm singing songs and I ain't slowing
It was a fragile thing and I goddamn dropped it
I picked the pieces up and put them in my pocket
And I ain't gonna try and win your heart this time
I've had space to think and I think that I've grown a little wiser
I'm looking for a new muse, you have only made me tired.
Call your bluff up on the telephone and jam-jar my blood
This is my loss of limb, my loss of love