Skip to content

Instantly share code, notes, and snippets.

@dmauro
dmauro / jitsu
Created September 13, 2012 17:50
Jitsu
├─┬ [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
@dmauro
dmauro / app
Created January 15, 2013 21:17
# Requirements
fs = require 'fs'
connect = require 'connect'
express = require 'express'
mongo = require 'mongodb'
MongoSessionStore = require 'connect-mongodb'
cron = require 'cron'
config = require './config'
challenges = require './challenges'
users = require './users'
{
"name": "get-creative",
"subdomain": "get-creative",
"domains": [
"get-creative.us",
"www.get-creative.us"
],
"scripts": {
"start": "app/launcher.js"
},
info Uploading: [=============================] 100%
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: npm WARN package.json [email protected] No README.md file found!
npm http GET http://nj-npm.irisnpm.com/connect/2.3.6
npm http GET http://nj-npm.irisnpm.com/express/2.5.1
npm http GET http://nj-npm.irisnpm.com/connect-mongodb/1.1.4
npm http GET http://nj-npm.irisnpm.com/mongodb/1.1.7
npm http GET http://nj-npm.irisnpm.com/coffee-script/1.3.3
npm http GET http://nj-npm.irisnpm.com/jade/0.16.2
info: Starting app get-creative
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: There was an error while attempting to deploy the app
error:
error: Error spawning drone
error: Script took too long to listen on a socket
error:
error: This type of error is usually a user error.
error: Error output from Haibu:
info: Starting app get-creative
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: There was an error while attempting to deploy the app
error:
error: Target script does not exist: /opt/haibu/carapace-versions/0.8.16/node_modules/haibu-carapace/bin/carapace
error: Error output from Haibu:
error:
error: Error: Target script does not exist: /opt/haibu/carapace-versions/0.8.16/node_modules/haibu-carapace/bin/carapace
error: at /root/haibu-orchestra/node_modules/haibu/node_modules/forever-monitor/lib/forever-monitor/monitor.js:143:26
import UIKit
extension CGSize {
init(width: Double, height: Double) {
self.width = CGFloat(width)
self.height = CGFloat(height)
}
}
required init(coder aDecoder: NSCoder!) {
fatalError("can't wait for Beta 6. t(-_-t)")
}
// Swift in beta 4
if (optional?.methodReturningBool()) {
println("awesome")
}
// Swift in beta 5
if (optional != nil && optional!.methodReturningBool()) {
println("damnit...")
}
// Swift in beta 4
if (optional?.methodReturningBool()) {
println("awesome")
}
// Swift in beta 5
if (optional != nil && optional!.methodReturningBool()) {
println("damnit...")
}