Code from my presentation at Scala.io and PSUG