Skip to content

Instantly share code, notes, and snippets.

{"itemNo" : 1, "name" : "ferrari", "speed" : 259 , "weight": 800},
{"itemNo" : 2, "name" : "jaguar", "speed" : 274 , "weight":998},
{"itemNo" : 3, "name" : "mercedes", "speed" : 340 , "weight": 1800},
{"itemNo" : 4, "name" : "audi", "speed" : 345 , "weight": 875},
{"itemNo" : 5, "name" : "lamborghini", "speed" : 355 , "weight": 1490},
{"itemNo" : 6, "name" : "chevrolet", "speed" : 260 , "weight": 900},
{"itemNo" : 7, "name" : "ford", "speed" : 250 , "weight": 1061},
{"itemNo" : 8, "name" : "porche", "speed" : 320 , "weight": 1490},
{"itemNo" : 9, "name" : "bmw", "speed" : 325 , "weight": 1190},
{"itemNo" : 10, "name" : "mercedes-benz", "speed" : 312 , "weight": 1567}
@wuatanabe
wuatanabe / inotify++.js
Created July 19, 2011 20:29
modified node-inotify-plusplus.coolaj86.github.com (some minor fixes)
/*jslint white: true, browser: true, devel: true, es5: true, onevar: true, undef: true, nomen: true, eqeqeq: true, plusplus: true, bitwise: false, regexp: true, newcap: true, immed: true, strict: true */
"use strict";
(function () {
var Inotify = require('inotify').Inotify,
watch_for,
unwatch,
watch_for_int,
watch_for_doc,
info,
info_doc,