Skip to content

Instantly share code, notes, and snippets.

spara /
Created Mar 15, 2016
install pyicu on el capitan
brew install icu4c
CFLAGS=-I/usr/local/opt/icu4c/include LDFLAGS=-L/usr/local/opt/icu4c/lib pip install pyicu
JalfResi / revprox.go
Last active Jan 8, 2023
Simple reverse proxy in Go
View revprox.go
package main
func main() {
guyzmo /
Created May 25, 2012
A Tornado-based library that enables Event Source support !
import sys
import argparse
import logging
log = logging.getLogger('eventsource.client')
from tornado.ioloop import IOLoop
from tornado.httpclient import AsyncHTTPClient, HTTPRequest
class Event(object):
def __init__(self):
benjchristensen / index.html
Created Aug 9, 2011
Simple Sparkline using SVG Path and d3.js
View index.html
<title>Simple Sparkline using SVG Path and d3.js</title>
<script src=""></script>
/* tell the SVG path to be a thin blue line without any area fill */
path {
stroke: steelblue;
stroke-width: 1;
fill: none;