Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am dm04806 on github.
  • I am helo (https://keybase.io/helo) on keybase.
  • I have a public key ASAjva2mBrwtbMHP7QJZzmUI73W3g7AfqzGqtDOy6QDJPAo

To claim this, I am signing this object:

@dm04806
dm04806 / functions.js
Created November 20, 2015 09:53 — forked from Pyrolistical/functions.js
Mongo map reduce functions to calculate sum, min, max, count, average, population variance, sample variance, population standard deviation, sample standard deviation Public Domain License
function map() {
emit(1, {
sum: this.value, // the field you want stats for
min: this.value,
max: this.value,
count: 1,
diff: 0
});
}
#-*-coding: utf-8-*-
"""
Simple script to dump documents out of a CouchDB database and straight into
a Couchbase instance.
"""
import time
import sys
import argparse

This is my recommended path for learning Haskell.

Something to keep in mind: don't sweat the stuff you don't understand immediately. Just keep moving.

Primary course

Installing Haskell

Ubuntu PPA