This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Last login: Sun Jan 22 17:04:44 on ttys005 | |
GABRIELs-MacBook-Air:~ gabrielbaciu$ node -v | |
v0.6.4 | |
GABRIELs-MacBook-Air:~ gabrielbaciu$ npm -g install jitsu | |
/usr/local/bin/jitsu -> /usr/local/lib/node_modules/jitsu/bin/jitsu | |
[email protected] /usr/local/lib/node_modules/jitsu | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a1 = { | |
"apple":9, | |
"pear":3, | |
"glos":8, | |
"mark":6, | |
"gogo":2, | |
"lulu":5 | |
} | |
var a2 = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[04/22 17:39:20 EDT] Warning: connection.session() MemoryStore is not | |
[04/22 17:39:20 EDT] designed for a production environment, as it will leak | |
[04/22 17:39:20 EDT] memory, and obviously only work within a single process. | |
[04/22 17:39:20 EDT] node.js:201 | |
[04/22 17:39:20 EDT] throw e; // process.nextTick error, or 'error' event on first tick | |
[04/22 17:39:20 EDT] ^ | |
[04/22 17:39:20 EDT] TypeError: Parameter 'url' must be a string, not undefined | |
[04/22 17:39:20 EDT] at Object.urlParse [as parse] (url.js:92:11) | |
[04/22 17:39:20 EDT] at NativeConnection.open (/usr/local/src/motiooon/Codedify/package/node_modules/mongoose/lib/connection.js:121:15) | |
[04/22 17:39:20 EDT] at Mongoose.connect (/usr/local/src/motiooon/Codedify/package/node_modules/mongoose/lib/index.js:104:24) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Module dependencies. | |
*/ | |
var express = require('express') | |
, routes = require('./routes') | |
, http = require('http'), | |
mongoose= require('mongoose'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UserSchema = new app.db.Schema({ | |
userId : app.db.Schema.ObjectId, | |
username : { type: String, required : true, unique: true, index: true }, | |
email : { type: String, required : true, unique: true, index: true}, | |
password : {type: String, required: true}, | |
createdFlows : Array, | |
contributedToFlows : Array, | |
created : { type: Date, 'default': Date.now } | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* User RESTful Routes | |
*/ | |
var _ = require("underscore"), | |
helpers = require(".././helpers"), | |
fs = require("fs"); | |
module.exports = function (app) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Start all services by requiring the app.js and therefore executing the code within | |
module.exports.initialize = function(){ | |
require('./ACCOUNTS/app.js'); | |
require('./COLLECTIONS/app.js'); | |
require('./IMAGE_PROCESSING/app.js'); | |
require('./MEDIA/app.js'); | |
require('./PAYMENTS/app.js'); | |
require('./SEARCH/app.js'); | |
require('./STORAGE/app.js'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.get('/photos/hires/:id', function(req,res){ | |
request({ | |
//encoding: null, | |
method: 'GET', | |
uri: _photo | |
}, function (error, response, body) { | |
if (!error && response.statusCode == 200) { | |
res.attachment(body); | |
} | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/9j/4AAQSkZJRgABAQEASABIAAD/7R3gUGhvdG9zaG9wIDMuMAA4QklNA+kAAAAAAHgAAwAAAEgASAAAAAADDQIa/+L/4wMsAjYDRwV7A+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABJw8AAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4QklNA+0AAAAAABABLAAAAAEAAgEsAAAAAQACOEJJTQPzAAAAAAAJAAAAAAAAAAABADhCSU0D9QAAAAAASAAvZmYAAQBsZmYABgAAAAAAAQAvZmYAAQChmZoABgAAAAAAAQAyAAAAAQBaAAAABgAAAAAAAQA1AAAAAQAtAAAABgAAAAAAAThCSU0D+AAAAAAAcAAA/////////////////////////////wPoAAAAAP////////////////////////////8D6AAAAAD/////////////////////////////A+gAAAAA/////////////////////////////wPoAAA4QklNBAQAAAAAAAccAgAAAgACADhCSU0EBgAAAAAABwAGAAAAAQEAOEJJTQQIAAAAAAAQAAAAAQAAAkAAAAJAAAAAADhCSU0EDAAAAAAXTwAAAAEAAACgAAAAagAAAeAAAMbAAAAXMwAYAAH/2P/gABBKRklGAAECAABIAEgAAP/tAAxBZG9iZV9DTQAB/+4ADkFkb2JlAGSAAAAAAf/bAIQADAgICAkIDAkJDBELCgsRFQ8MDA8VGBMTFRMTGBEMDAwMDAwRDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAENCwsNDg0QDg4QFA4ODhQUDg4ODhQRDAwMDAwREQwMDAwMDBEMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM/8AAEQgAagCgAwEiAAIRAQMRAf/dAAQACv/EAT8AAAEFAQEBAQEBAAAAAAAAAAMA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
����JFIFHH���Photoshop 3.08BIM�xHH | |
����,6G{�'8BIM�,,8BIM� 8BIM�H/fflff/ff���2Z5-8BIM�p��������������������������������������������������������������������������������������������8BIM8BIM8BIM@@8BIMO�j���3����JFIFHH��Adobe_CM��Adobed���� | |
��j�"�� | |
��? | |
3!1AQa"q�2���B#$R�b34r��C%�S���cs5���&D�TdE£t6�U�e�����u��F'���������������Vfv��������7GWgw��������5!1AQaq"2����B#�R��3$b�r��CScs4�%���&5��D�T�dEU6te������u��F���������������Vfv��������'7GWgw�������?�!���� | |
�����:�:+��<��%! �ƍ���'7����oĤ�-H���z>6>5?W�n̆5����'�&�oq�F��Я��E��o3��6���~�q{�� |
OlderNewer