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 hapi = require('hapi'); | |
var server = hapi.createServer('localhost', 8080); | |
var server2 = hapi.createServer('localhost', 8080); | |
server.start(); | |
server2.start(); |
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 arDrone = require('ar-drone'); | |
var client = arDrone.createClient(); | |
client.createRepl(); |
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
internals.searchChildren = function ( id, toSearch, callback ) { | |
for( child in toSearch ) { | |
console.log('FOR LOOP'); | |
if( id == toSearch[child].id ) { | |
//return the child | |
callback(null, toSearch[child].children); |
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
/* | |
* Copyright (c) 2012 Walmart. All rights reserved. Copyrights licensed under the New BSD License. | |
* See LICENSE file included with this code project for license terms. | |
*/ | |
// Load modules | |
var Fs = require('fs'); | |
var Http = require('http'); | |
var Https = require('https'); |
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 Xml = require('./lib/xml'); | |
var Fs = require('fs'); | |
var config = { | |
// enforceSingle:['name', | |
// 'url', | |
// 'level', | |
// 'id', | |
// 'parent', | |
// 'rank', |
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
{ | |
"process": { | |
"pid": 8461, | |
"uid": 459565676, | |
"gid": 74715970, | |
"cwd": "/Users/backer/src/git/ren", | |
"execPath": "/usr/local/bin/node", | |
"version": "v0.6.7", | |
"argv": [ | |
"node", |
NewerOlder