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
DEST_OS: linux | |
DEST_CPU: x86_64 | |
Parallel Jobs: 1 | |
/usr/lib64/ccache/gcc -rdynamic -D_GNU_SOURCE -DHAVE_CONFIG_H=1 -DEV_MULTIPLICITY=0 -pthread -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPLATFORM=linux -DNDEBUG -g -O3 -Idefault/deps/libeio -I../deps/libeio -Idefault -I.. ../deps/libeio/eio.c -c -o default/deps/libeio/eio_1.o | |
/usr/lib64/ccache/gcc -rdynamic -D_GNU_SOURCE -DHAVE_CONFIG_H=1 -DEV_MULTIPLICITY=0 -pthread -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPLATFORM=linux -DNDEBUG -g -O3 -Idefault/deps/libev -I../deps/libev -Idefault -I.. ../deps/libev/ev.c -c -o default/deps/libev/ev_1.o | |
/usr/lib64/ccache/gcc -rdynamic -D_GNU_SOURCE -DHAVE_CONFIG_H=1 -DEV_MULTIPLICITY=0 -pthread -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPLATFORM=linux -DNDEBUG -g -O3 -Idefault/deps/c-ares -I../deps/c-ares -Idefault/deps/c-ares/linux-x86_64 -I../deps/c-ares/linux-x86_64 ../deps/c-ares/ares_strcasecmp.c -c -o default/deps/c-ares/ares_strcasecmp_1.o | |
/usr/lib64/cc |
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
" File: commonjs-package-json | |
" Author: Ash Berlin <[email protected]> | |
" Last Change: 23-Feb-2010. | |
" Version: 1.1 | |
" Usage: | |
" | |
" Use by placing something like the following in your .vimrc: | |
" | |
" let g:maintainer='{ "name": "Ash Berlin", "web": "http://ashberlin.com" }' | |
" |
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 controllers = {}; | |
fs.readdir(__dirname + '/controllers', function(err, files){ | |
if (err) throw err; | |
files.forEach(function(file){ | |
var controller = file.replace('.js',''); | |
controllers[controller] = require('./controllers/' + controller); | |
}); | |
}); |
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
//Attach me to Node.prototype as well | |
var DOCUMENT_POSITION_DISCONNECTED = Node.prototype.DOCUMENT_POSITION_DISCONNECTED = 0x01 | |
var DOCUMENT_POSITION_PRECEDING = Node.prototype.DOCUMENT_POSITION_PRECEDING = 0x02 | |
var DOCUMENT_POSITION_FOLLOWING = Node.prototype.DOCUMENT_POSITION_FOLLOWING = 0x04 | |
var DOCUMENT_POSITION_CONTAINS = Node.prototype.DOCUMENT_POSITION_CONTAINS = 0x08 | |
var DOCUMENT_POSITION_CONTAINED_BY = Node.prototype.DOCUMENT_POSITION_CONTAINED_BY = 0x10 | |
Node.prototype.compareDocumentPosition = function compareDocumentPosition( otherNode ) { | |
if( !(otherNode instanceof Node) ) { | |
throw Error("Comparing position against non-Node values is not allowed") |
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 = require 'http' | |
flow = require('../lib/conductor').conductor() | |
#nodes | |
port= flow.node 'port', () -> 8000 | |
listener= flow.node 'listener', (port, request, response) -> | |
server= http.createServer (req, res) -> | |
request(req) if request | |
response(res) if response |
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 = require 'http' | |
flow = require('../lib/conductor').conductor() | |
#nodes | |
port= flow.node('port', () -> 8000) | |
.node('listener', (port, request, response) -> | |
server= http.createServer (req, res) -> | |
request(req) if request | |
response(res) if response | |
server.listen port) |
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 = require 'http' | |
flow = require('../lib/conductor').conductor() | |
#nodes | |
flow.build('port', () -> 8000) | |
('listener', (port, request, response) -> | |
server= http.createServer (req, res) -> | |
request(req) if request | |
response(res) if response | |
server.listen port) |
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 sys = require('sys'), | |
http = require('http'), | |
cookie = require('cookie'), | |
count = 0; | |
initConnect = function(clientID) { | |
connectSite = http.createClient(80, 'ws30.sync.skoreit.com'); | |
connectRequest = connectSite.request('POST', '/request.ashx?key=11111111-1111-1111-1111-111111111111&token=' + new Date().getTime(), { | |
'host': 'ws30.sync.skoreit.com', | |
'Content-type': 'text/json; charset=utf-8', |
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 common = require('../common'), | |
assert = common.assert; | |
var Script = process.binding("evals").Script; | |
var sandbox = Script.createContext({x: "x"}); | |
sandbox.window = sandbox; | |
//Script.runInContext("window = this;", sandbox); |
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
getdom = function () { | |
var features = | |
{ FetchExternalResources : [] | |
, ProcessExternalResources : false | |
} | |
, window = jsdom.jsdom(this.dataString, null, {features: features}).createWindow() | |
; | |
return window | |
} |