Skip to content

Instantly share code, notes, and snippets.

shunya

Block or report user

Report or block shunya

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View accountdetailsview.js
, showAccountView: function(account) {
if(this.accountsWatchId){
Services.Accounts.get.unwatch(this.accountsWatchId);
delete this.accountsWatchId;
}
if (!_.isUndefined(this.previousAccount) && _.isEqual(account.attributes, this.previousAccount.attributes)) {
return;
}
View nuby express
xcode-select: Error: No Xcode is selected. Use xcode-select -switch /Applications/Xcode.app to select /Applications/Xcode.app, or see the xcode-select manpage (man xcode-select) for further information.
Traceback (most recent call last):
File "/Users/ravigundlapalli/.node-gyp/0.8.14/tools/gyp/gyp", line 18, in <module>
sys.exit(gyp.main(sys.argv[1:]))
File "/Users/ravigundlapalli/.node-gyp/0.8.14/tools/gyp/pylib/gyp/__init__.py", line 511, in main
return gyp_main(args)
File "/Users/ravigundlapalli/.node-gyp/0.8.14/tools/gyp/pylib/gyp/__init__.py", line 503, in gyp_main
generator.GenerateOutput(flat_list, targets, data, params)
File "/Users/ravigundlapalli/.node-gyp/0.8.14/tools/gyp/pylib/gyp/generator/make.py", line 2095, in GenerateOutput
View nodejitsu
shai:wonderland-labs ravigundlapalli$ sudo jitsu deploy
Password:
info: Welcome to Nodejitsu nko3-wonderland-labs
info: jitsu v0.11.2, node v0.8.14
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.0.0-11
info Uploading: [=============================] 100%
error: Error running command deploy
View gist:4052655
{
"name": "nuby-express",
"version": "2.1.15",
"main": "index",
"description": "A web framework based on Express, Ruby, MVC; emphasis on flexible, recursive directory loading",
"keywords": [
"web",
"framework",
"express",
"MVC"
View Haibu
Nodejitsu Error (500): Internal Server Error
error: There was an error while attempting to deploy the app
error:
error: Cannot make Rackspace request if not authorized
error: Error output from Haibu:
error:
error: Error: Cannot make Rackspace request if not authorized
error: at Object.common.rackspace (/root/haibu-orchestra/node_modules/haibu/node_modules/cloudfiles/lib/cloudfiles/common.js:150:21)
error: at Cloudfiles.getFile (/root/haibu-orchestra/node_modules/haibu/node_modules/cloudfiles/lib/cloudfiles/core.js:331:20)
error: at RemoteFile.fetchCloudfiles (/root/haibu-orchestra/node_modules/haibu/lib/haibu/repositories/remote-file.js:109:17)
View web.js
var NE = require('nuby-express');
var util = require('util');
var _DEBUG = true;
module.exports = function (config, callback) {
var frame = new NE.Framework();
NE.log.set_log_file(__dirname + '/logs/nuby_express.log', {reset: true})
View server.js
require('./ne_bootstrap-master/web')({port: 8000})
View ls-l
total 32
-rw-r--r-- 1 ravigundlapalli staff 2624 Nov 9 20:05 DEPLOY.md
-rw-r--r-- 1 ravigundlapalli staff 28 Nov 9 20:05 README.md
drwxr-xr-x 14 ravigundlapalli staff 476 Nov 9 18:00 ne_bootstrap-master
drwxr-xr-x 5 ravigundlapalli staff 170 Nov 9 20:03 node_modules
-rw-r--r-- 1 ravigundlapalli staff 365 Nov 9 20:09 package.json
-rw-r--r-- 1 ravigundlapalli staff 51 Nov 9 17:55 server.js
@shunya
shunya / package.json
Created Nov 10, 2012
Nko3-Wonderland-Labs: package.json
View package.json
{
"name": "nko3-wonderland-labs",
"version": "0.0.0-1",
"description": "Wonderland Labs",
"main": "server.js",
"scripts": {
"start": "node server.js"
},
"repository": {
"type": "git",
You can’t perform that action at this time.