This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function JSONRPC(options) { | |
if (!(this instanceof JSONRPC)) return new JSONRPC(options); | |
this.socket = options.socket || null; | |
this.fallback = options.fallback || null; | |
this.callbacks = {}; | |
} | |
// FIXME: check for unloved callbacks at a user-defined interval |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* CONNECT/STACK STYLE TWITTER "O"AUTHENTICATION MIDDLEWARE | |
*/ | |
// FIXME: options should include cookie lifetime | |
Twitter.prototype.auth = function(mount) { | |
var self = this, | |
cookie = require('cookie'), | |
url = require('url'), | |
mount = mount || '/twauth'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/jdub/.node_libraries/.npm/creationix/0.0.5/package/static.js:79 | |
stream.once('data', function (chunk) { | |
^ | |
TypeError: Object [object Object] has no method 'once' | |
at onStat (/home/jdub/.node_libraries/.npm/creationix/0.0.5/package/static.js:79:14) | |
at node.js:773:9 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'); | |
http.createServer(function(req, res) { | |
res.writeHead(200, | |
{'Content-Type': 'text/plain'}); | |
res.end('Hello world!\n'); | |
}).listen(8000); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'), cons = 0; | |
http.createServer(function(req, res) { | |
var mycon = ++cons; | |
res.writeHead(200, | |
{'Content-Type': 'text/plain'}); | |
res.write('Hello... '); | |
setTimeout(function() { | |
res.end('world! #' + mycon + '\n'); | |
}, 2000); | |
}).listen(8000); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var twitter = new require('twitter')({ | |
consumer_key: 'XXX', | |
consumer_secret: 'XXX', | |
access_token_key: 'XXX', | |
access_token_secret: 'XXX', | |
// sitestreams | |
site_stream_base: 'https://betastream.twitter.com/2b' | |
}), | |
params = { | |
follow: [ 4690301, 15352541 ], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name of display: :0.0 | |
display: :0 screen: 0 | |
direct rendering: Yes | |
server glx vendor string: SGI | |
server glx version string: 1.4 | |
server glx extensions: | |
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, | |
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, | |
GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control, | |
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR: null | |
RESPONSE: { socket: | |
{ pair: | |
{ _secureEstablished: true, | |
_isServer: false, | |
_encWriteState: true, | |
_clearWriteState: true, | |
_doneFlag: false, | |
credentials: [Object], | |
_rejectUnauthorized: false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
U-Boot for VoCore(based on RT5350)Warning: un-recognized chip ID, please update bootloader! | |
. | |
Version: May 30 2014 20:52:36 | |
Press 'x' to console... | |
Booting image at bc050000 . | |
Image Name: MIPS OpenWrt Linux-3.14.32 | |
Created: 2015-02-16 6:24:28 UTC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- linux-3.18.7.orig/arch/mips/bcm63xx/boards/board_bcm963xx.c 2015-02-11 18:01:12.000000000 +1100 | |
+++ linux-3.18.7/arch/mips/bcm63xx/boards/board_bcm963xx.c 2015-02-22 00:00:44.064301765 +1100 | |
@@ -115,6 +115,48 @@ | |
}, | |
}, | |
}; | |
+ | |
+static struct board_info __initdata board_963281tavng = { | |
+ .name = "963281tavng", | |
+ .expected_cpu_id = "0x6328", |
OlderNewer