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 wd = require('wd'); | |
var browser = wd.promiseChainRemote(); | |
var fs = require('fs'); | |
var util = require('util'); | |
var _ = require('lodash'); | |
var Canvas = require('canvas'); | |
require('node-easel'); | |
var easel = createjs; // bad news -- uses global space. |
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
using UnityEngine; | |
using System.Collections; | |
public class Map | |
{ | |
public string name = "Unnamed"; | |
public int width = 128; | |
public int depth = 128; | |
GameObject terrain; |
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 (window) { | |
var ss = function () { | |
// # simple-statistics | |
// | |
// A simple, literate statistics system. The code below uses the | |
// [Javascript module pattern](http://www.adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth), | |
// eventually assigning `simple-statistics` to `ss` in browsers or the | |
// `exports object for node.js |
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 assert = require('assert'); | |
var phantomjsWrapper = require('phantomjs-wrapper'); | |
var path = require('path'); | |
require('http').createServer(function (request, response) { | |
response.end('<html><body>' + | |
'<script language="javascript">function foo(a){ return 2 * a }</script>' + | |
'</body></html>', 'utf8'); | |
}).listen(8123, function () { |
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
Admins-MacBook-Pro-5:home dedelhart$ node bin/test | |
Testing files: /Users/dedelhart/Documents/repos/home/test/integration/test-downloading.js, /Users/dedelhart/Documents/repos/home/test/integration/test-pagination.js, /Users/dedelhart/Documents/repos/home/test/integration/test-search.js, /Users/dedelhart/Documents/repos/home/test/integration/test-startup.js, /Users/dedelhart/Documents/repos/home/test/unit/utils/test-drm.js, /Users/dedelhart/Documents/repos/home/test/unit/utils/test-fs-scanner.js, /Users/dedelhart/Documents/repos/home/test/unit/utils/test-model-validation-mixin.js, /Users/dedelhart/Documents/repos/home/test/unit/utils/test-semver.js | |
Starting Selenium server with command: java "-jar" "/Users/dedelhart/Documents/repos/home/test/selenium-server.jar" "-Dwebdriver.chrome.driver=/Users/dedelhart/Documents/repos/home/nw/node-webkit-v0.8.1-rc1-osx-ia32/chromedriver2_server" ... | |
started. | |
downloading | |
1) "before each" hook | |
✖ 1 of 20 tests failed: |
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 async = require('async'); | |
var domain = require('domain'); | |
var fs = require('fs-extra'); | |
var os = require('os'); | |
var path = require('path'); | |
var qs = require('querystring'); | |
var url = require('url'); | |
var config = require('../../config/config.js'); | |
var db = require('./db.js'); |
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 getAppDetails(app, cb) { | |
if (appDetailsQueue.length > 0) { | |
appDetailsQueue.push({ | |
app: app, | |
cb: cb | |
}); | |
} else { | |
var appId = app.get('appId'); | |
var platform = NodePlatformToServerPlatform[os.platform()]; | |
if (appId && platform) { |
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 request = require('request'); | |
var util = require('util'); | |
var crypto = require('crypto'); | |
var fs = require('fs'); | |
var path = require('path'); | |
var _ = require('underscore'); | |
var _hash = _.template( | |
'version=<%= version %>:' + | |
'name=<%= name %>:' + |
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 request = require('request'); | |
var util = require('util'); | |
var crypto = require('crypto'); | |
var fs = require('fs'); | |
var path = require('path'); | |
var _ = require('underscore'); | |
var _hash = _.template( | |
'version=<%= version %>:' + | |
'email=<%= email %>:' + |
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
Admins-MacBook-Pro-5:home dedelhart$ node bin/airspace | |
[28887:1115/144452:INFO:CONSOLE(35)] ""LOG: Setting app crash dump dir: /Users/dedelhart/Library/Application Support/Leap Motion (at eval (file:///Users/dedelhart/Documents/repos/home/index.html:59:15))"", source: /Users/dedelhart/Documents/repos/home/app/utils/logging.js (35) | |
[28887:1115/144452:INFO:CONSOLE(35)] ""LOG: Starting Airspace Home v1.1.0 on node-webkit v0.8.1-rc1 (at eval (file:///Users/dedelhart/Documents/repos/home/index.html:64:15))"", source: /Users/dedelhart/Documents/repos/home/app/utils/logging.js (35) | |
[28887:1115/144453:INFO:CONSOLE(35)] ""LOG: ~~~ Bootstrap Step: getConfiguration ~~~ (at Array.eval (/Users/dedelhart/Documents/repos/home/app/startup.js:63:15))"", source: /Users/dedelhart/Documents/repos/home/app/utils/logging.js (35) | |
[28887:1115/144453:INFO:CONSOLE(35)] ""LOG: ### Step: getConfiguration done in 1ms ### (at eval (/Users/dedelhart/Documents/repos/home/app/startup.js:65:17))"", source: /Users/dedelhart/Documents/repos/ho |