Skip to content

Instantly share code, notes, and snippets.

31 Jan 22:36:36 - info: process id:3
31 Jan 22:36:37 - info: [mongo] Tue Jan 31 22:36:37 [initandlisten] MongoDB starting : pid=6 port=27018 dbpath=/home/Me/mongodata 64-bit
31 Jan 22:36:37 - info: [mongo] Tue Jan 31 22:36:37 [initandlisten] db version v1.8.4, pdfile version 4.5
31 Jan 22:36:37 - info: [mongo] Tue Jan 31 22:36:37 [initandlisten] git version: 81f12749a15e3d158b1b16bab6bc3faea538e166
31 Jan 22:36:37 - info: [mongo] Tue Jan 31 22:36:37 [initandlisten] build sys info: Linux bs-linux64.10gen.cc 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_41
31 Jan 22:36:37 - info: [mongo] Tue Jan 31 22:36:37 [initandlisten] waiting for connections on port 27018
31 Jan 22:36:37 - info: [mongo] Tue Jan 31 22:36:37 [initandlisten] connection accepted from 127.0.0.1:41841 #1
31 Jan 22:36:37 - info: generating id private key
31 Jan 22:36:37 - info: generating id public key
Warning: connection.session() MemoryStore is not
fs.chown = chownFix(fs.chown)
fs.fchown = chownFix(fs.fchown)
fs.lchown = chownFix(fs.lchown)
fs.chownSync = chownFixSync(fs.chownSync)
fs.fchownSync = chownFixSync(fs.fchownSync)
fs.lchownSync = chownFixSync(fs.lchownSync)
function chownFix (orig) {
return function (target, uid, gid, cb) {
npm WARN [email protected] dependencies field should be hash of <name>:<version-range> pairs
npm WARN [email protected] dependencies field should be hash of <name>:<version-range> pairs
npm WARN [email protected] package.json: bugs['web'] should probably be bugs['url']
npm WARN [email protected] package.json: bugs['web'] should probably be bugs['url']
npm WARN [email protected] package.json: bugs['web'] should probably be bugs['url']
npm WARN [email protected] package.json: bugs['web'] should probably be bugs['url']
npm WARN [email protected] package.json: bugs['web'] should probably be bugs['url']
npm WARN [email protected] package.json: bugs['web'] should probably be bugs['url']
npm WARN [email protected] dependencies field should be hash of <name>:<version-range> pairs
npm http GET https://registry.npmjs.org/connect/1.8.5
diff --git a/site/app/lib/auth.js b/site/app/lib/auth.js
index 637420b..a4d52b3 100644
--- a/site/app/lib/auth.js
+++ b/site/app/lib/auth.js
@@ -47,6 +47,10 @@ exports.createAccount = function(newUserAttributes, promise) {
user.name = name;
user.optin = optin;
accounts.findOne({$or:[{email:email}, {'locker.name':lockerName}]}, function(err, doc) {
+ if (err) {
+ promise.fulfill([err]);
Server Software:
Server Hostname: localhost
Server Port: 8042
Document Path: /Me/devdocs/js/common.js
Document Length: 2775 bytes
Concurrency Level: 1
Time taken for tests: 40.491 seconds
Complete requests: 1000
9 Feb 20:39:44 - verbose: GET proxy of /Me/devdocs/js/common.js
9 Feb 20:39:44 - verbose: GET proxy of /Me/devdocs/js/common.js
9 Feb 20:39:44 - verbose: GET proxy of /Me/devdocs/js/common.js
9 Feb 20:39:44 - verbose: GET proxy of /Me/devdocs/js/common.js
9 Feb 20:39:44 - verbose: GET proxy of /Me/devdocs/js/common.js
9 Feb 20:39:44 - verbose: GET proxy of /Me/devdocs/js/common.js
9 Feb 20:39:44 - verbose: GET proxy of /Me/devdocs/js/common.js
9 Feb 20:39:44 - verbose: GET proxy of /Me/devdocs/js/common.js
9 Feb 20:39:44 - verbose: GET proxy of /Me/devdocs/js/common.js
9 Feb 20:39:45 - verbose: GET proxy of /Me/devdocs/js/common.js
diff --git a/slya-proxy.js b/slya-proxy.js
index 57d5c39..0df2ca0 100644
--- a/slya-proxy.js
+++ b/slya-proxy.js
@@ -109,6 +109,9 @@ function setupIptables(portMap) {
function TCPProxy(port, destPort, destHost) {
return net.createServer(function (inbound) {
+ // suppress data events until we're ready
+ inbound.pause();
Warning: multi_json is using default ok_json engine. Suggested action: require and load an appropriate JSON library.
15 Feb 19:36:15 - info: 127.0.0.1:53136 - GET /
15 Feb 19:36:15 - info: 127.0.0.1:53136 - GET /common/css/reset.css
15 Feb 19:36:15 - info: 127.0.0.1:53137 - GET /common/prettify/prettify.css
15 Feb 19:36:15 - info: 127.0.0.1:53139 - GET /common/js/compiled_templates.js
15 Feb 19:36:15 - info: 127.0.0.1:53138 - GET /common/js/less-1.1.5.min.js
15 Feb 19:36:15 - info: 127.0.0.1:53140 - GET /common/js/dust-core-0.3.0.min.js
15 Feb 19:36:15 - info: 127.0.0.1:53138 - GET /js/jquery.simplemodal.js
15 Feb 19:36:15 - info: 127.0.0.1:53142 - GET /common/js/moment.min.js
15 Feb 19:36:15 - info: 127.0.0.1:53136 - GET /common/js/generators.js
The "sys" module is now called "util". It should have a similar interface.
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module '../../Common/node/lutil.js'
at Function._resolveFilename (module.js:334:11)
at Function._load (module.js:279:25)
at Module.require (module.js:357:17)
at require (module.js:373:17)
var PagerDuty = require('pagerduty');
var fs = require('fs');
var apikeys = JSON.parse(fs.readFileSync('Config/apikeys.json'));
var pager = new PagerDuty({serviceKey: apikeys['pagerduty']});
pager.create({
description: process.argv[2], // required
details: { },
callback: function(err, response) {