Skip to content

Instantly share code, notes, and snippets.

@amichaelgrant
amichaelgrant / gist:3633769
Created September 5, 2012 09:07
jitsu databases list : failing
grant >> jitsu databases list
info: Welcome to Nodejitsu imike
info: It worked if it ends with Nodejitsu ok
info: Executing command databases list
/usr/lib/node_modules/jitsu/lib/jitsu/commands/databases.js:181
results.forEach(function (database) {
^
TypeError: Object #<Object> has no method 'forEach'
at databases.list (/usr/lib/node_modules/jitsu/lib/jitsu/commands/databases.js:181:15)
@amichaelgrant
amichaelgrant / gist:3610913
Created September 3, 2012 17:08
jitsu databases list
/usr/lib/node_modules/jitsu/lib/jitsu/commands/databases.js:181
results.forEach(function (database) {
^
TypeError: Object #<Object> has no method 'forEach'
at databases.list (/usr/lib/node_modules/jitsu/lib/jitsu/commands/databases.js:181:15)
at Databases.list (/usr/lib/node_modules/jitsu/node_modules/nodejitsu-api/lib/client/databases.js:56:5)
at Request.Client.request [as _callback] (/usr/lib/node_modules/jitsu/node_modules/nodejitsu-api/lib/client/client.js:109:5)
at Request.request.self.callback (/usr/lib/node_modules/jitsu/node_modules/nodejitsu-api/node_modules/request/main.js:104:22)
at Request.<anonymous> (/usr/lib/node_modules/jitsu/node_modules/nodejitsu-api/node_modules/request/main.js:458:18)
at Request.EventEmitter.emit (events.js:88:17)
Updating app testy
info: Activating snapshot 0.0.1-2 for testy
info: Starting app testy
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
warn: Error returned from Nodejitsu
error: Error: socket hang up
error: at createHangUpError (http.js:1263:15)
error: at Socket.socketOnEnd (http.js:1351:23)
error: at TCP.onread (net.js:417:26)
#include <stdio.h>
#include <stdlib.h>
#define SIZE 10
int q , r , i = 0;
int RA[SIZE] = {1,2,3,4,5,6,7,8,9,10};
int STACK_Q [SIZE] = {0};
int STACK_R [SIZE] = {0};
int main()