Skip to content

Instantly share code, notes, and snippets.

Charlie McConnell AvianFlu

  • Blue Apron
  • New York, NY
Block or report user

Report or block AvianFlu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:1394606
7=101, 11198=114, 11199=68, 11200=66, 11201=45, 11202=48, 11203=46, 11204=49, 11205=46, 11206=51, 11207=46, 11208=116, 11209=103, 11210=122, 11211=10, 11212=110, 11213=112, 11214=109, 11215=32, 11216=105, 11217=110, 11218=102, 11219=111, 11220=32, 11221=102, 11222=101, 11223=116, 11224=99, 11225=104, 11226=32, 11227=104, 11228=116, 11229=116, 11230=112, 11231=115, 11232=58, 11233=47, 11234=47, 11235=114, 11236=101, 11237=103, 11238=105, 11239=115, 11240=116, 11241=114, 11242=121, 11243=46, 11244=110, 11245=112, 11246=109, 11247=106, 11248=115, 11249=46, 11250=111, 11251=114, 11252=103, 11253=47, 11254=101, 11255=120, 11256=112, 11257=114, 11258=101, 11259=115, 11260=115, 11261=47, 11262=45, 11263=47, 11264=101, 11265=120, 11266=112, 11267=114, 11268=101, 11269=115, 11270=115, 11271=45, 11272=50, 11273=46, 11274=53, 11275=46, 11276=48, 11277=46, 11278=116, 11279=103, 11280=122, 11281=10, 11282=110, 11283=112, 11284=109, 11285=32, 11286=105, 11287=110, 11288=102, 11289=111, 11290=32, 11291=102, 11292=101, 11293
@AvianFlu
AvianFlu / gist:1377878
Created Nov 18, 2011
Top 20 #nodejitsu users by # of messages, 11/11 - 11/18
View gist:1377878
{ "_id" : "mmalecki", "value" : { "count" : 1251 } }
{ "_id" : "Marak", "value" : { "count" : 833 } }
{ "_id" : "jesusabdullah", "value" : { "count" : 697 } }
{ "_id" : "AvianFlu", "value" : { "count" : 506 } }
{ "_id" : "dscape", "value" : { "count" : 379 } }
{ "_id" : "martin_sunset", "value" : { "count" : 360 } }
{ "_id" : "lzskiss", "value" : { "count" : 343 } }
{ "_id" : "TheJH", "value" : { "count" : 256 } }
{ "_id" : "SubStack", "value" : { "count" : 247 } }
{ "_id" : "yobi", "value" : { "count" : 230 } }
View debug test-readfloat
=== debug test-readfloat ===
Path: simple/test-readfloat
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
AssertionError: true == false
at test (/home/avian/Downloads/node-v0.6.0/test/simple/test-readfloat.js:51:10)
at Object.<anonymous> (/home/avian/Downloads/node-v0.6.0/test/simple/test-readfloat.js:69:1)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
@AvianFlu
AvianFlu / gist:1341235
Created Nov 5, 2011
Failing test, Debian 6.0.2
View gist:1341235
=== debug test-next-tick-starvation ===
Path: simple/test-next-tick-starvation
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: The timer is starving
at Array.spin [as 0] (/home/avian/Downloads/node-v0.6.0/test/simple/test-next-tick-starvation.js:33:11)
at EventEmitter._tickCallback (node.js:192:40)
Command: out/Debug/node /home/avian/Downloads/node-v0.6.0/test/simple/test-next-tick-starvation.js
View gist:1306384
Error: No such module
at Object.<anonymous> (/home/avian/dev/jitsu/node_modules/npm/lib/utils/output.js:8:21)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at Object.<anonymous> (/home/avian/dev/jitsu/node_modules/npm/lib/utils/log.js:21:14)
at Module._compile (module.js:432:26)
View gist:1250161
httpProxy.createServer({
router: {
'localhost': ':/tmp/mysock.sock'
}
}).listen(8001);
@AvianFlu
AvianFlu / gist:1232446
Created Sep 21, 2011
Simple proxying from within an HTTP server.
View gist:1232446
var http = require('http'),
httpProxy = require('http-proxy');
var proxy = new httpProxy.HttpProxy({
target: {host: 'localhost', port: 9000}
});
http.createServer(function (req, res) {
proxy.proxyRequest(req, res);
}).listen(8000);
@AvianFlu
AvianFlu / gist:1230624
Created Sep 20, 2011
Proxying to a couch based on URL
View gist:1230624
var http = require('http'),
httpProxy = require('http-proxy'),
couch = {
host: 'localhost',
port: 5984
};
var proxy = new httpProxy.HttpProxy({
target: {host: couch.host, port: couch.port}
});
@AvianFlu
AvianFlu / gist:1215203
Created Sep 13, 2011
Require analyzer test script
View gist:1215203
var analyzer = require('require-analyzer');
var options = {
target: process.argv[2]
};
var deps = analyzer.analyze(options, function (err, pkgs) {
//
// Log all packages that were discovered
//
@AvianFlu
AvianFlu / irc-config.json
Created Aug 30, 2011
Sample kohai configs
View irc-config.json
{
"server": "irc.freenode.net",
"nick": "awesomebot",
"password": "",
"channels": ["#nodetestsu", "#nodebombrange", "#kohai"],
"showErrors": "true",
"userName": "hookio",
"realName": "Hook.io IRC Client",
"promptMsg": "Hook.io-IRC",
"promptDelim": ">",
You can’t perform that action at this time.