Skip to content

Instantly share code, notes, and snippets.

PicCard = require '../cards/pic'
#<{require "../cards/" + @props.params.card}
module.exports = React.createClass
displayName: 'Networking'
componentWillMount: ->
@setState Component: require "../cards/#{@props.params.card}"
render: ->
Verifying that +kylemathews is my Bitcoin username. You can send me #bitcoin here: https://onename.io/kylemathews
### Keybase proof
I hereby claim:
* I am kyleamathews on github.
* I am kylemathews (https://keybase.io/kylemathews) on keybase.
* I have a public key whose fingerprint is BE2E BC1D 9BCB 884F 388C 755E 96DD 80AE BD38 773B
To claim this, I am signing this object:
@KyleAMathews
KyleAMathews / keybase.md
Created September 17, 2014 22:07
keybase.md

Keybase proof

I hereby claim:

  • I am kyleamathews on github.
  • I am kylemathews (https://keybase.io/kylemathews) on keybase.
  • I have a public key whose fingerprint is BE2E BC1D 9BCB 884F 388C 755E 96DD 80AE BD38 773B

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am kyleamathews on github.
  • I am kylemathews (https://keybase.io/kylemathews) on keybase.
  • I have a public key whose fingerprint is E9DF 89EA 4B79 8E29 0240 1598 BF26 FBE1 9DD1 0A8E

To claim this, I am signing this object:

#!/bin/bash
# Start DBs
echo "Create test instances of Rethinkdb and Influxdb:"
number=$RANDOM
rethinkdb=`docker run -d --name rethinkdb-$number dockerfile/rethinkdb`
influxdb=`docker run -d --name influxdb-$number tutum/influxdb`
echo "Success!"
echo ""
@KyleAMathews
KyleAMathews / gist:e9e636125a71266d3aeb
Created November 13, 2014 07:26
Atlassian's route table
ROUTES = Routes({
location: "history"
}, Route({
handler: Application
}, Route({
name: "not-found",
path: prefixedPath("/404"),
handler: NotFound
}), Route({
name: "home",

Mu: making programs easier to understand in the large

Imagine a world where you can:

a) think of a tiny improvement to a program you use, clone its sources, orient yourself on its organization and make your tiny improvement, all in a single afternoon.

b) Record your program as it runs, and easily convert arbitrary logs of runs into reproducible automatic tests.

config = require 'config'
redis = require 'redis'
mysql = require 'mysql'
request = require 'request'
assign = require 'object-assign'
_ = require 'underscore'
graphql = require('../utils/graphql')
# Listen to Kafka for new pageOpens, pageCreates
<?php
$raw_email = <<<TEST
Tizag.comi $100
Webmaster Tutorials
Unlock your potential!
TEST;
echo $raw_email;
exec("EMAIL=" . escapeshellarg($raw_email) . "; echo \"\$EMAIL\";", $result);
print_r($result);