Skip to content

Instantly share code, notes, and snippets.

🥑
I like avocados

Ryan Schumacher jrschumacher

🥑
I like avocados
Block or report user

Report or block jrschumacher

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jrschumacher
jrschumacher / mongodb-shell-underscorejs.md
Last active Aug 29, 2015 — forked from vidoss/gist:2178987
MongoDB provides a Javascript shell. But Javascript is no fun without Underscore.js (http://underscorejs.org/). Here is how to add Underscore.js
View mongodb-shell-underscorejs.md

MongoDB provides a Javascript shell. But Javascript is no fun without Underscore.js

Turned out its straight forward to use Underscore.js while scripting mongodb.

Here are the steps:

  1. Download or clone Underscore.js and run...
% mongo server:27017/dbname underscore.js my_commands.js
You can’t perform that action at this time.