Skip to content

Instantly share code, notes, and snippets.

View m4tty's full-sized avatar

Matt Self m4tty

View GitHub Profile
@m4tty
m4tty / dgram_in_processon_issue
Created July 26, 2012 22:29
node.js dgram socket send doesn't work from within process.on('xxxx')
var http = require("http");
var dgram = require('dgram');
process.on('uncaughtException', function(err) {
console.log(err);
var message = new Buffer("bad things happened uncaughtException");
var client3 = dgram.createSocket("udp4");
client3.send(message, 0, message.length, 514, "127.0.0.1");
process.exit(1);
#my notes / commands for installing graphite
#pycairo
apt-get install libcairo2-dev
apt-get install python-cairo
#git
apt-get install git
#django