Skip to content

Instantly share code, notes, and snippets.

View cronopio's full-sized avatar

Daniel Aristizabal cronopio

  • Pereira
View GitHub Profile
Spark server(13330) listening on http://*:3000 in development mode
{ error: null
, ended: false
, maxFieldsSize: 2097152
, keepExtensions: true
, uploadDir: '/home/cronopio/kumokojo/ElementosDeJuicio/controllers/../public/imgs'
, encoding: 'utf-8'
, headers: null
, type: null
, bytesReceived: null
exports.save = function(req, res){
var form = new formidable.IncomingForm(),
campos = {},
files = [];
// Configuro el directorio donde guardar
form.uploadDir = __dirname + '/../public/imgs';
form.keepExtensions = true;
console.log(form);
form
@cronopio
cronopio / gist:722467
Created November 30, 2010 21:41
Error
30 Nov 16:49:31 - 'Executing the query: SELECT * FROM Articulos WHERE estado=\'publicado\' ORDER BY id DESC LIMIT 1'
TypeError: /home/cronopio/kumokojo/ElementosDeJuicio/views/index.jade:95
93. ' .frase'
94. ' h2 Frase del d\u00eda'
95. ''
Cannot read property 'instrumentLineNumber' of undefined
at Object.line (/home/cronopio/kumokojo/ElementosDeJuicio/support/jade/lib/compiler.js:77:17)
at Object.visit (/home/cronopio/kumokojo/ElementosDeJuicio/support/jade/lib/compiler.js:89:14)
at Object.visitBlock (/home/cronopio/kumokojo/ElementosDeJuicio/support/jade/lib/compiler.js:114:18)
@cronopio
cronopio / gist:721998
Created November 30, 2010 17:16
Log nodestream
30 Nov 12:27:37 - Initializing client with transport "flashsocket"
30 Nov 12:27:37 - Client 26038134656846523 connected
ReferenceError: __ is not defined
at IncomingMessage.anonymous (eval at <anonymous> (/home/cronopio/kumokojo/pruebaNode/support/nodestream/lib/nodestream/index.js:239:27))
at paint (/home/cronopio/kumokojo/pruebaNode/support/nodestream/lib/nodestream/index.js:40:44)
at /home/cronopio/kumokojo/pruebaNode/support/nodestream/lib/nodestream/index.js:122:23
at Array.forEach (native)
at [object Object].emit (/home/cronopio/kumokojo/pruebaNode/support/nodestream/lib/nodestream/index.js:116:23)
at [object Object].<anonymous> (/home/cronopio/kumokojo/pruebaNode/app.js:22:12)
at [object Object]._emit (events:27:15)