Skip to content

Instantly share code, notes, and snippets.

@thatmarvin
thatmarvin / gist:3023815
Created June 30, 2012 13:49
Gnarly Node.js Balanced Payments client
/*
Usage:
// In app.js
var balanced = require('./this-file.js');
balanced.configure({
secret: '...',
marketplaceUri: '...'
});
@thatmarvin
thatmarvin / gist:2204602
Created March 26, 2012 11:50
Mongoose does not populate virtuals? :(
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var UserSchema = new Schema({
name: {
first: {
type: String
},
last: {
type: String