Skip to content

Instantly share code, notes, and snippets.

View chrisabrams's full-sized avatar

Chris Abrams chrisabrams

  • New York, NY
View GitHub Profile
{
"author": "Chris Abrams",
"name": "sharedcinema",
"subdomain": "sharedcinema",
"domains": [
"sharedcinema.com"
],
"description": "Whatcha looking at?",
"version": "0.0.0-19",
"homepage": "",
abrams-3:christie-mockup abrams$ jitsu deploy
info: Welcome to Nodejitsu chrisabrams
info: jitsu v0.11.3, node v0.8.18
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in node server.js
info: Checking app availability cc-mockup.chrisabrams.nodejitsu.com
info: Creating app cc-mockup.chrisabrams.nodejitsu.com
info: Creating snapshot 0.1.0
info Uploading: [=========================== ] 94%error: Error running command deploy
prompt: Is this ok?: (yes) yes
info: Creating snapshot 0.1.0-1
info Uploading: [========================== ] 91%error: Error running command deploy
error: ETIMEDOUT
error: Error: ETIMEDOUT
error: at Object._onTimeout (/usr/local/share/npm/lib/node_modules/jitsu/node_modules/request/main.js:564:15)
error: at Timer.list.ontimeout (timers.js:101:19)
help: For help with this error contact Nodejitsu Support:
help: webchat: <http://webchat.nodejitsu.com/>
help: irc: <irc://chat.freenode.net/#nodejitsu>
abrams-3:christie-mockup abrams$ jitsu deploy
info: Welcome to Nodejitsu chrisabrams
info: jitsu v0.11.3, node v0.8.18
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in node server.js
info: Creating snapshot 0.1.0-1
info Uploading: [========================== ] 89%error: Error running command deploy
error: ETIMEDOUT
error: Error: ETIMEDOUT
$ = jQuery
queues = {}
running = false
queue = (name) ->
name = 'default' if name is true
queues[name] or= []
next = (name) ->
@chrisabrams
chrisabrams / test.coffee
Last active December 20, 2015 19:09
Write console.logs from your app/tests running in Mocha to a file.
fs = require 'fs'
util = require "util"
log = fs.createWriteStream(process.cwd() + "/test/stdout.log")
console.log = console.info = (t) ->
out = undefined
if t and ~t.indexOf("%")
out = util.format.apply(util, arguments)
process.stdout.write out + "\n"
return
else
@chrisabrams
chrisabrams / route.coffee
Created August 8, 2013 20:08
Something in this file causes Node.js to hang..trying to figure out what.
_ = require 'underscore'
Backbone = require 'backbone'
Chaplin = require 'chaplin'
Controller = Chaplin.Controller
module.exports = class DualRoute
# Borrow the static extend method from Backbone.
@extend = Backbone.Model.extend
# Taken from Backbone.Router.
[
{
"date": {
"created": Mon Aug 19 2013 20:42:31 GMT+00:00 ,
"updated": Mon Aug 19 2013 20:42:31 GMT+00:00
} ,
"desc": "" ,
"id": "5d37f3ea-c212-42e6-9a9d-cebfcdd97956" ,
"meta": {
"ext": "stl" ,
@chrisabrams
chrisabrams / Host stuff
Last active December 30, 2015 07:09
Vagrant Stuff
vagrant plugin install --plugin-source https://rubygems.org --plugin-prerelease vagrant-vbguest