Skip to content

Instantly share code, notes, and snippets.

Avatar

Kevin R. Whitley kwhitley

View GitHub Profile
View gist:9554016
info: Updating app kgallery
info: Activating snapshot 0.0.1-138 for kgallery
info: Starting app kgallery
error: Error running command deploy
error: Errors occured while starting the application
error: Error starting application. This could be a user error.
error: info: Running start for app.
error: info: Cleaning /opt/run
error: info: Fetching application snapshot...
error: info: Application snapshot fetched.
@kwhitley
kwhitley / gist:6384138
Created Aug 29, 2013
How to best hydrate a relational sql dump? Ideally with unknown tables and unknown columns. Notice school_provider_program.id is even mapped to school.programs.id in the results...
View gist:6384138
/**
* Module dependencies
*/
var express = require('express');
var app = module.exports = express();
var Knex = require('knex');
var _ = require('lodash');
if ('development' === app.get('env')) {
@kwhitley
kwhitley / gist:6157664
Created Aug 5, 2013
Jitsu deploy issue - 500 with timeout set to 1000000
View gist:6157664
info: Creating snapshot 0.0.1-36
info Uploading: [=============================] 100%
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: ETIMEDOUT
help: For help with this error contact Nodejitsu Support:
help: webchat: <http://webchat.nodejitsu.com/>
help: irc: <irc://chat.freenode.net/#nodejitsu>
help: email: <support@nodejitsu.com>
help:
@kwhitley
kwhitley / gist:6157307
Created Aug 5, 2013
Node deployment issue: 05 Aug, 2013
View gist:6157307
info: Creating snapshot 0.0.1-35
info Uploading: [=============================] 100%
error: Error running command deploy
error: ETIMEDOUT
info: jitsu's client request timed out before the server could respond. Please increase your client timeout
help: (Example: `jitsu config set timeout 100000`)
help: This error may be due to network connection problems
help: For help with this error contact Nodejitsu Support:
help: webchat: <http://webchat.nodejitsu.com/>
help: irc: <irc://chat.freenode.net/#nodejitsu>
You can’t perform that action at this time.