Skip to content

Instantly share code, notes, and snippets.

View paulbruno's full-sized avatar

Paul Bruno paulbruno

View GitHub Profile
@paulbruno
paulbruno / nodejitsu-logs-issue.txt
Created November 2, 2013 15:57
Nodejitsu logs issue (11 Nov 2013)
info: Welcome to Nodejitsu sonicsynapse
info: jitsu v0.11.3, node v0.8.2
info: It worked if it ends with Nodejitsu ok
info: Executing command logs app
info: Attempting to load logs for /Users/paulbruno/Code/Sonic Synapse/Platform/package.json
error: Error running command logs app
error: Nodejitsu Error (404): Item not found
error: Could not find path: /logs/sonicsynapse/sonic-synapse-platform
help: For help with this error contact Nodejitsu Support:
help: webchat: <http://webchat.nodejitsu.com/>
@paulbruno
paulbruno / anonymousRecusivePattern.js
Created March 20, 2012 21:05
Pattern for recursive, "one-off" functions (especially useful for DOM traversal, when not using frameworks, or other similar throw-away recursive front-end tasks).
(function _this (/* your param list here */) {
/// INIT CODE HERE ///
if (/* your condition here */) {
_this(/* your passed params here */);
}
})(/* initial passed params here */);