This file contains hidden or 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 step1(err, result) { | |
//do somethng | |
queryStep2(result, step2); | |
} | |
function step2(err, result) { | |
//do somethng | |
queryStep3(result, step3); | |
} |
This file contains hidden or 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
nstall -d /usr/local/bin | |
install bin/jsctags.js /usr/local/bin/jsctags | |
install -d /usr/local/lib/jsctags | |
install lib/jsctags/getopt.js lib/jsctags/log.js lib/jsctags/paperboy.js lib/jsctags/traits.js lib/jsctags/underscore.js /usr/local/lib/jsctags | |
install -d /usr/local/lib/jsctags/ctags | |
install lib/jsctags/ctags/index.js lib/jsctags/ctags/interp.js lib/jsctags/ctags/nativefn.js lib/jsctags/ctags/reader.js lib/jsctags/ctags/writer.js /usr/local/lib/jsctags/ctags | |
install -d /usr/local/lib/cfa2 | |
install lib/cfa2/index.js lib/cfa2/jscfa.js /usr/local/lib/cfa2 | |
install -d /usr/local/narcissus | |
install -d /usr/local/narcissus/lib |
This file contains hidden or 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
1 delimitMate Report | |
2 ================== | |
3 | |
4 * Options: ( ) default, (g) global, (b) buffer | |
5 | |
6 ( ) delimitMate_apostrophes = '' | |
7 ( ) delimitMate_autoclose = 1 | |
8 ( ) delimitMate_balance_matchpairs = 0 | |
9 ( ) delimitMate_eol_marker = '' | |
10 ( ) delimitMate_excluded_ft = '' |
This file contains hidden or 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 frinerva = require('./frinerva'); | |
// ..... | |
} else if (nconf.get('i')) { | |
frinerva.inform(nconf.get('i')); | |
} | |
///..... | |
function display() { | |
console.log.apply(this, arguments); |
This file contains hidden or 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 union = require('union'); | |
var flatiron = require('flatiron'); | |
var ecstatic = require('ecstatic'); | |
app = new flatiron.App(); | |
app.use(flatiron.plugins.http); | |
app.http.before = [ | |
function (req, res) { |
This file contains hidden or 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 union = require('union'); | |
var flatiron = require('flatiron'); | |
var winston = require('winston'); | |
var ecstatic = require('ecstatic'); | |
var url = require('url'); | |
var util = require('util'); | |
app = new flatiron.App(); | |
app.use(flatiron.plugins.http); |
This file contains hidden or 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
http://localhost:8080/action | |
Not found :( | |
Sorry, but the page you were trying to view does not exist. | |
It looks like this was the result of either: | |
a mistyped address | |
an out-of-date link | |
Weitere Möglichkeiten: |
This file contains hidden or 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 union = require('union'); | |
var flatiron = require('flatiron'); | |
//var ecstatic = require('ecstatic'); | |
app = new flatiron.App(); | |
app.use(flatiron.plugins.http); | |
app.router.get('/action', function () { | |
this.res.writeHead(200, { 'Content-Type': 'text/plain' }); | |
this.res.end('Hello world!\n'); |
This file contains hidden or 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
beuys@kandinsky:~/tmp/node$ make test | |
Waf: Entering directory `/home/beuys/tmp/node/out' | |
DEST_OS: linux | |
DEST_CPU: ia32 | |
Parallel Jobs: 1 | |
Product type: program | |
Waf: Leaving directory `/home/beuys/tmp/node/out' | |
'build' finished successfully (0.078s) | |
-rwxrwxr-x 1 beuys beuys 9,3M 2012-01-01 14:10 out/Release/node | |
python tools/test.py --mode=release simple message |
This file contains hidden or 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 pcap = require('pcap'), | |
tcp_tracker = new pcap.TCP_tracker(), | |
pcap_session = pcap.createSession('eth0', ''); | |
tcp_tracker.on('http_request', function (session, http) { | |
console.log("Start of HTTP session between " + session.src_name + " and " + session.dst_name); | |
}); |