Skip to content

Instantly share code, notes, and snippets.

import scalaz._
object Main {
implicit def setMonoid[A] = new Monoid[Set[A]] {
def append(f1: Set[A], f2: => Set[A]) = f1 union f2
def zero = Set[A]()
}
def main(args: Array[String]) {
@lehnerpat
lehnerpat / holler.md
Last active August 29, 2015 14:14 — forked from cheezedigital/holler
git fetch --all
git checkout sprint015
git pull origin sprint015
git checkout -b my-new-feature
git add .
git commit -m "all my feature"
git checkout sprint015
git pull origin sprint015
git checkout my-new-feature

git rebase -i sprint015

/tmp$ git init test
Initialized empty Git repository in /private/tmp/test/.git/
/tmp$ cd test
/tmp/test (master #)$ touch a b
/tmp/test (master #)$ ls
a b
/tmp/test (master #)$ git status -z | hexdump -C
00000000 3f 3f 20 61 00 3f 3f 20 62 00 |?? a.?? b.|
0000000a
/tmp/test (master #)$ git --version