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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<style> | |
body { | |
margin: 0px; | |
padding: 0px; | |
} | |
</style> | |
</head> |
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 isBasicType(type, value) { | |
return type(value).valueOf() === value; | |
} | |
test('isBasicType works', function () { | |
assert.ok(isBasicType(Boolean, true)); | |
assert.ok(isBasicType(Boolean, false)); | |
assert.ok(isBasicType(Number, 1)); |
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 rssResults; | |
function fetchRSSResults() { | |
/* queue up a re-get in 15 minutes */ | |
setTimeout(fetchRSSResults, 15*60*1000); | |
http.get(url...); | |
// parse the rss | |
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
$ node tb-harness.js | |
running under node | |
$ node test-browser.js | |
running under node | |
Chrome console reports | |
running in a browser test-browser.js:13 |
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 handler(err, buffer) { | |
if(isCompressed(buffer)) { | |
decompress(buffer, handleUncompressedBuffer); | |
} else { | |
handleUncompressedBuffer(buffer); | |
} | |
} | |
function handleUncompressedBuffer(buffer) { |
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
module.js:356 | |
Module._extensions[extension](this, filename); | |
^ | |
Error: Symbol inchi_module not found. | |
at Module.load (module.js:356:32) | |
at Function.Module._load (module.js:312:12) | |
at Module.require (module.js:364:17) | |
at require (module.js:380:17) | |
at /Users/smikes/github/inchi/lib/inchi.js:6:20 | |
at Object.<anonymous> (/Users/smikes/github/inchi/lib/inchi.js:29:2) |
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
ubuntu@ip-172-31-29-177:~/foo/node-libnmap$ npm test | |
> node-libnmap@0.0.8 test /home/ubuntu/foo/node-libnmap | |
> make test | |
nmap | |
discovery method | |
1) validate report |
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
node: symbol lookup error: /home/ubuntu/t/inchi/build/Release/inchi.node: undefined symbol: _ZNK2v85Value8ToNumberEv | |
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
(defun global-replace-regexp (regexp to-string &optional delimited start end) | |
"" | |
(interactive | |
(let ((common | |
(query-replace-read-args | |
(concat "Replace" | |
(if current-prefix-arg " word" "") | |
" regexp" | |
(if (and transient-mark-mode mark-active) " in region" "")) | |
t))) |
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
make -C out BUILDTYPE=Release V=1 | |
make[1]: Entering directory `/home/smikes/github/node/out' | |
make[1]: Nothing to be done for `all'. | |
make[1]: Leaving directory `/home/smikes/github/node/out' | |
ln -fs out/Release/node node | |
/usr/local/bin/python2.7 tools/test.py --mode=release simple message | |
=== release test-abort-fatal-error === | |
Path: simple/test-abort-fatal-error | |
Command: out/Release/node /home/smikes/github/node/test/simple/test-abort-fatal-error.js | |
--- TIMEOUT --- |
OlderNewer