Skip to content

Instantly share code, notes, and snippets.

Chris Kim cj3kim

View GitHub Profile
View gist:9903968
jitsu deploy --debug
info: Welcome to Nodejitsu cj3kim
info: jitsu v0.13.15, node v0.10.25
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in npm ls && node server.js
debug: { method: 'GET',
debug: uri: 'https://api.nodejitsu.com/apps/cj3kim/med-chat',
debug: headers:
debug: { Authorization: '*****************************************************************',
View gist:9902707
info: Updating app med-chat
info: Activating snapshot 0.0.1-3 for med-chat
info: Starting app med-chat
error: Error running command deploy
error: Errors occured while starting the application
error: Error output from application. This is usually a user error.
error:
error: module.js:340
error: throw err;
error: ^
View gist:9903772
info: Welcome to Nodejitsu cj3kim
info: jitsu v0.13.15, node v0.10.25
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in npm ls && node server.js
debug: { method: 'GET',
debug: uri: 'https://api.nodejitsu.com/apps/cj3kim/med-chat',
debug: headers:
debug: { Authorization: '*****************************************************************',
debug: 'Content-Type': 'application/json',
@cj3kim
cj3kim / gist:9901290
Created Mar 31, 2014
Undetailed Error Report
View gist:9901290
info: Creating snapshot 0.0.1-1
info: Uploading: [=============================] 100%
error: Error running command deploy
error: Error building snapshot
error: Nodejitsu Error (500): Internal Server Error
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:
View gist:11230047
require("./famous-polyfills/index");
require('domready')(function () {
var Engine = require('./famous/core/Engine');
var InputSurface = require('./famous/surfaces/InputSurface');
var StateModifier = require('./famous/modifiers/StateModifier');
var ContainerSurface = require('./famous/surfaces/ContainerSurface');
var Scrollview = require('./famous/views/Scrollview');
@cj3kim
cj3kim / gist:11230574
Created Apr 23, 2014
ScrollContainer bug?
View gist:11230574
function ScrollContainer(options) {
this.options = Object.create(ScrollContainer.DEFAULT_OPTIONS);
this._optionsManager = new OptionsManager(this.options);
if (options) this.setOptions(options);
this.container = new ContainerSurface(this.options.container);
this.scrollview = new Scrollview(this.options.scrollview);
this.surface.add(this.scrollview);
View gist:11245910
1. Create an emitter object
var emitter = require('emitter').EventEmitter;
engine.on('resize', function () {
emitter.emit('resize');
})
View gist:4bb943c654e1d6d07dd0
/** Requires **/
var ContainerSurface = require('../famous/surfaces/ContainerSurface');
var StateModifier = require('../famous/modifiers/StateModifier');
var _ = require('underscore');
var extend = require('node.extend');
var generateRadioButton = require('./generateRadioButton');
var generateBebopRatio = require('./generateBebopRatio');
var processRadioButton = require('./processRadioButton');
var defaultSurfaceOptions = {
View DirectoryStructure
-promethix
--doc/
--resources/
--src/
----promethix/
------core.clj/
--target/
--test/
project.clj
@cj3kim
cj3kim / Error
Created Jun 27, 2014
What is wrong with the for loop?
View Error
clojure.lang.Compiler$CompilerException: clojure.lang.ArityException: Wrong number of args (3) passed to: core/for, compiling:(/Users/chriskim/Desktop/promethix/src/promethix/orthanormal/solver.clj:7:5)
You can’t perform that action at this time.