a list of slides from nodeconf
you may want to take a look at the jsconf-gist too!
| function levenshtein(s1, s2) { | |
| // http://kevin.vanzonneveld.net | |
| // + original by: Carlos R. L. Rodrigues (http://www.jsfromhell.com) | |
| // + bugfixed by: Onno Marsman | |
| // + revised by: Andrea Giammarchi (http://webreflection.blogspot.com) | |
| // + reimplemented by: Brett Zamir (http://brett-zamir.me) | |
| // + reimplemented by: Alexander M Beedie | |
| // * example 1: levenshtein('Kevin van Zonneveld', 'Kevin van Sommeveld'); | |
| // * returns 1: 3 |
a list of slides from nodeconf
you may want to take a look at the jsconf-gist too!
| Track A | |
| Bytes and Blobs – David Flanagan @__DavidFlanagan | |
| Slides: http://davidflanagan.com/Talks/jsconf11/BytesAndBlobs.html | |
| Conference Wifi Redux - Malte Ubi @cramforce | |
| Sashimi: https://github.com/cramforce/Sashimi | |
| Slides: http://social-traffic.streamie.org/preso/static/#slide1 | |
| Run Your JS everywhere with Jellyfish – Adam Christian @admc |
| // | |
| // Create our type | |
| // | |
| function PreLoader() { | |
| this._queue = []; | |
| this._mime = {}; | |
| this._handlers = {}; | |
| this._loaded = []; | |
| }; | |
| PreLoader.prototype.addFileType = function addFileType(extension,mime) { |
| - Etsy | |
| Buy and sell handmade or vintage items, art and supplies on Etsy. The EBAY of Do it yourself. | |
| - HP-Palm | |
| Everyone knows who this is. Node.js is at the core of WebOS. | |
| - Yammer | |
| Yammer is a inter-company twitter-like tool. This is fast making corporate IM feel very antiquated. | |
| - Joyent |
| From 5c5748d3f99f3590b4c149f5758eac970d51682f Mon Sep 17 00:00:00 2001 | |
| From: indexzero <charlie.robbins@gmail.com> | |
| Date: Wed, 9 Feb 2011 23:27:25 -0500 | |
| Subject: [PATCH] Add mutable, implicit headers for easy middleware | |
| --- | |
| lib/http.js | 41 ++++++++++++- | |
| test/simple/test-http-mutable-headers.js | 96 ++++++++++++++++++++++++++++++ | |
| 2 files changed, 136 insertions(+), 1 deletions(-) | |
| create mode 100644 test/simple/test-http-mutable-headers.js |
| Name | Latest Release | Size (KB) | License | Type | Unit Tests | Docs | Notes |
|---|---|---|---|---|---|---|---|
| The Render Engine | 1.5.3 | MIT | Cross-browser; extensive API; open-source. 2 | ||||
| gameQuery | 0.5.1 | CC BY-SA 2.5 | Designed to be used with jQuery | ||||
| gTile | 0.0.1 (2008-07-21) | Tile based | |||||
| Akihabara | 1.3 | GPL2/MIT | Classic Repro | Intended for making classic arcade-style games in JS+HTML5 3 | |||
| The Javascript 2D Game Engine | GPL | Emphasis on gravity/physics/collision detection; uses HTML5 Canvas and ExplorerCanvas for IE support. Focus on limiting CPU usage. 4 | |||||
| The GMP Javascript Game Engine |
| { | |
| 'We make sure we can talk to Twitter': | |
| /* We'll be using same server for following requests. */ | |
| using('api.twitter.com') | |
| .get('/help/test.json') | |
| .expect(200, "ok", "/help/test.json returns 200 and ok") | |
| .get('/help/test.txt') | |
| /* Here we ignore response */ | |
| .expect(406, dc.ignore(), "/help/test.txt is not acceptable"), |
| var b = new Buffer(256*256) | |
| for (var i = 0 ; i < 256*256 ; i ++) { | |
| b[i] = i % 256 | |
| } | |
| var s = b.toString("binary") | |
| var b2 = new Buffer(s, "binary") | |
| for (var i = 0 ; i < 256*256 ; i ++) { | |
| if (b2[i] !== i) console.error("error at 0x"+i.toString(16)) | |
| } |
| var httpAgent = require('http-agent'), | |
| url = require('url'), | |
| sys = require('sys'); | |
| exports.start = function () { | |
| var agent = httpAgent.create('www.bungie.net', ['/stats/reach/playergamehistory.aspx?player=thechapel&vc=2']); | |
| agent.addListener('next', function (err, agent) { | |
| var uri = url.parse(agent.current.uri); | |
| exports.dispatch(uri); |