Skip to content

Instantly share code, notes, and snippets.

var collectionNames = db.getCollectionNames(), stats = [];
collectionNames.forEach(function (n) { stats.push(db[n].stats()); });
stats = stats.sort(function(a, b) { return b['size'] - a['size']; });
for (var c in stats) { print(stats[c]['ns'] + ": " + stats[c]['size'] + " (" + stats[c]['storageSize'] + ")"); }
int[][] result;
float t;
void setup() {
setup_();
result = new int[width*height][3];
}
void draw() {
// by dave @ bees & bombs >:)
int[][] result;
float t;
void setup() {
setup_();
result = new int[width*height][3];
}
// by dave @ beesandbombs.tumblr.com >:)
int[][] result;
float t;
void setup() {
setup_();
result = new int[width*height][3];
}
// by Dave @ beesandbombs
int[][] result;
float t;
void setup() {
setup_();
result = new int[width*height][3];
}
int[][] result;
float t;
void setup() {
setup_();
result = new int[width*height][3];
}
void draw() {
// by david
int[][] result;
void setup() {
setup_();
result = new int[width*height][3];
}
void draw() {
// by Dave @ Bees & Bombs >:)
int[][] result;
float time;
void setup() {
setup_();
result = new int[width*height][3];
}
// by Dave @ beesandbombs >:)
int[][] result;
float time;
void setup() {
setup_();
result = new int[width*height][3];
}
int[][] result;
float time;
void setup() {
setup_();
result = new int[width*height][3];
}
void draw() {
for (int i=0; i<width*height; i++)