Skip to content

Instantly share code, notes, and snippets.

View fbrubacher's full-sized avatar

Federico Brubacher fbrubacher

  • Montevideo, Uruguay
View GitHub Profile
@fbrubacher
fbrubacher / brew-up-system.sh
Created June 4, 2018 16:13 — forked from Tehnix/brew-up-system.sh
Set up OS X with brew
#!/bin/sh
binaries=(
trash
git
mosh
tmux
screen
zsh
mackup
pyenv
@fbrubacher
fbrubacher / exampleWriterTraverse.scala
Created August 23, 2016 23:26 — forked from ailiev/exampleWriterTraverse.scala
Scalaz Writer and traverse / mapM example
import scalaz._
import Scalaz._
object ScalazPlay extends App
{
// having this one-param type is critical for the subsequent type inference!
type MyWriter[A] = Writer[List[String],A]
def f1(i:Int) : MyWriter[Int] = for {
@fbrubacher
fbrubacher / springer-free-maths-books.md
Created December 28, 2015 16:51 — forked from bishboria/springer-free-maths-books.md
Springer have made a bunch of maths books available for free, here are the direct links
object OpsMain {
def main(args : Array[String]) {
hadoop.util.ToolRunner.run(new hadoop.mapred.JobConf, new Tool[XXX]({args => new XXX(args)}), args)
}
}
;;
;; Thus spake the master programmer:
;; "Though a program be but three lines long, someday it will have to be
;; maintained."
;;
(ns hiredman.clojurebot
(:import (org.jibble.pircbot PircBot)))
(def nick "clojurebot")