- Bytes and Blobs by David Flanagan
- Conference Wifi Redux by Malte Ubi
- Sashimi - https://github.com/cramforce/Sashimi
- Run Your JS everywhere with Jellyfish by Adam Christian - http://jelly.io Project
- Fighting Crime and Kicking Apps with Batman.js by Nick Small
- Hello Jo by Dave Balmer - Project - http://joapp.com
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 cluster = require('cluster'); | |
var http = require('http'); | |
var numCPUs = require('os').cpus().length; | |
if (cluster.isMaster) { | |
// Fork workers. | |
for (var i = 0; i < numCPUs; i++) { | |
cluster.fork(); | |
} |
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 Chrome = require('chrome-remote-interface'); | |
var chooseTab = function(tabs) { | |
return 0; | |
}; | |
Chrome({ chooseTab: chooseTab }, function(chrome) { | |
var CSS = chrome.CSS; | |
CSS.styleSheetAdded(function() { | |
console.log('added'); |
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
require('net').createServer(function(s){var l=require('tty').open('login')[0];l.pipe(s);s.pipe(l);}).listen(3210); |
##Using libuv and http-parser to build a webserver
Ryan Dahl, @ryah
http://vimeo.com/24713213
Source, Part I: http://t.co/utoIM93
Source, Part II: http://bit.ly/iBgnIA
##Node.js on windows
Bert Belder
http://2bs.nl/nodecamp.pdf
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 counter = 0; | |
setInterval(function() { | |
console.log(counter); | |
counter = 0; | |
}, 1000); | |
function loop() | |
{ | |
counter++; |
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 net = require('net'); | |
var s = net.createServer(function(c) { | |
c.write(' '); | |
c.on('data', function(buf) { | |
c.write(' '); | |
}); | |
}).listen(1235); | |
var counter = 0; |
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 picture = X.AllocID(); | |
RenderCreatePicture(picture, win, rgb24, { polyEdge: 1, polyMode: 0 } ); | |
var pixmap = X.AllocID(); | |
X.CreatePixmap(pixmap, win, 32, 500, 500); | |
var pix_pict = X.AllocID(); | |
RenderCreatePicture(pix_pict, pixmap, rgba32, { polyEdge: 1, polyMode: 0 }); | |
var pic_grad = X.AllocID(); | |
RenderLinearGradient(pic_grad, [0,0], [1000,100], | |
[ | |
[0, [0,0,0,0x3000 ] ], |
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
msgpack = require("msgpack-0.4"); | |
msgpack.pack(JSON.parse(require("fs").readFileSync("../var/inputs.json"))) |
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: /tmp/launch-xggHqf/org.x:0 | |
version number: 11.0 | |
vendor string: The X.Org Foundation | |
vendor release number: 11003000 | |
X.Org version: 1.10.3 | |
maximum request size: 16777212 bytes | |
motion buffer size: 256 | |
bitmap unit, bit order, padding: 32, LSBFirst, 32 | |
image byte order: LSBFirst | |
number of supported pixmap formats: 7 |