Like designed by Marwa Boukarim from The Noun Project, Camera Lens designed by Luis Martins from The Noun Project, Music designed by Megan Sheehan from The Noun Project, Mountain designed by [Marco Acri](http://thenounproject.com/Marco Acri) from The Noun Project, Bomb from The Noun Project, Earth designed by Francesco Paleari from The Noun Project, Table designed by Sofie Hauge Katan from The Noun Project, [Balloon](http://then
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
[ | |
{ | |
"_id": "51ef8fe7fa16ba942bdefaa5", | |
"background": "default", | |
"id": "edgemakers.1374654439814", | |
"lastUpdated": 1374654439814, | |
"members": { | |
"murallytest22": { | |
"username": "murallytest22", | |
"role": "owner" |
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 MongoClient = require('mongodb').MongoClient; | |
var OPTIONS = { db: { native_parser: false }, replSet: { keepAlive: 1, connectTimeoutMS: 0, socketTimeoutMS: 0 } }; | |
var current = null; | |
module.exports = function(callback) { | |
if(current && (current._state == 'connected' || current.serverConfig.isConnected())) { | |
return callback(current); | |
} |
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
// ./lib/controllers/user.js | |
var getDb = require('mongo-getdb'); | |
var controller = module.exports; | |
controller.getUserById = function(id, callback) { | |
var criteria = { username: id, deleted: { $ne: true } }; | |
this.getUserByCriteria(criteria, callback); | |
}; |
- From beta. www. to bare mural.ly (wrap up what's remaining)
- OAuth for FTE
- Symmetric Signing Key for Loging
- Create account out of band
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
- [ ] Johnny Halife | |
- [ ] Johnny Halife | |
- [ ] Johnny Halife |
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
// estamos usando mongoskin (npm install mongoskin) | |
var mongoskin = require('mongoskin'); | |
// Si te estas conectando a un cluster con replica set, etc. | |
var matches = /mongodb:\/\/([^:]+):([^@]+)@([^\/]+)\/(.*)/.exec(process.env.MONGOLAB_URI); | |
var servers = matches[3].split(',').map(function(e){ return e + "?auto_reconnect=true&poolSize=4"; }); | |
var dbOpts = {username: matches[1], password: matches[2], database: matches[4], safe: true, native_parser: false }; | |
var socketOptions = { keepAlive: 1, connectTimeoutMS: 0, socketTimeoutMS: 0}; | |
var db = mongoskin.db(servers, dbOpts, { rs_name: "rs-ds041197", socketOptions: socketOptions }); |
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
url=/version, err=EROFS, stat 'C:\DWASFiles\Sites\murally\VirtualDirectory0\site\wwwroot\static\views\browser-not-supported.html', stackTrace=Error: EROFS, stat 'C:\DWASFiles\Sites\murally\VirtualDirectory0\site\wwwroot\static\views\browser-not-supported.html' | |
url=/version, err=EROFS, stat '\\10.207.210.135\volume-24-default\2f3d1379c05cbce7972b\8494b376ec4f4bd6bc7c28a383a50d25\site\wwwroot\static\version', stackTrace=Error: EROFS, stat '\\10.207.210.135\volume-24-default\2f3d1379c05cbce7972b\8494b376ec4f4bd6bc7c28a383a50d25\site\wwwroot\static\version' | |
url=/version, err=EROFS, stat '\\10.207.210.135\volume-24-default\2f3d1379c05cbce7972b\8494b376ec4f4bd6bc7c28a383a50d25\site\wwwroot\static\version', stackTrace=Error: EROFS, stat '\\10.207.210.135\volume-24-default\2f3d1379c05cbce7972b\8494b376ec4f4bd6bc7c28a383a50d25\site\wwwroot\static\version' | |
url=/version, err=EROFS, stat '\\10.207.210.135\volume-24-default\2f3d1379c05cbce7972b\8494b376ec4f4bd6bc7c28a383a50d25\site\wwwroot\static\version', stackTrace=Erro |
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 util = require('util'), | |
crypto = require('crypto'); | |
function getSharedSignature(bucket, path) { | |
var now = new Date().getTime(); | |
var expires = Math.round((now + 10 * 365 * 24 * 3600 * 1000) / 1000); // Ten years | |
var cannonicalPath = util.format("/%s/%s", bucket, path); | |
var stringToSign = util.format("GET\n\n\n%s\n%s", expires, cannonicalPath); | |
var signature = crypto.createHmac("sha1", process.env.AWS_ACCESS_SECRET).update(stringToSign).digest("base64"); |