Skip to content

Instantly share code, notes, and snippets.

View phaller's full-sized avatar

Philipp Haller phaller

View GitHub Profile
@phaller
phaller / gist:3784944
Created September 25, 2012 22:50
Fast Track to Akka (Sep 26-27): Training Materials
Slides:
https://www.dropbox.com/s/5fjq0kdpb25h57u/fast-track-to-akka-preparations.pdf
https://www.dropbox.com/s/wlqz8o3pcndkx4q/fast-track-to-akka.pdf
https://www.dropbox.com/s/1p4mdd100aw3bkz/fast-track-to-akka-part2.pdf
Start project:
https://www.dropbox.com/s/96pwbnt19r0lcni/akkatrain.zip
NEW! Solutions:
https://www.dropbox.com/s/42o8lm3khbgads0/training-akka-solutions.zip
@phaller
phaller / gist:3604839
Created September 2, 2012 21:50
Fast Track to Akka (Sep 3-4): Training Materials
Slides:
https://www.dropbox.com/s/2j50hcqb8rk8x0i/fast-track-to-akka-preparations.pdf
https://www.dropbox.com/s/04beouos9bbhw2z/fast-track-to-akka.pdf
https://www.dropbox.com/s/fv8gtqs3p8h1dr6/fast-track-to-akka-part2.pdf
Solutions:
https://www.dropbox.com/s/ocxx0rf0wt07asa/training-akka-solutions.zip
Futures and Promises in Scala 2.10 (a recent talk):
@phaller
phaller / gist:3348532
Created August 14, 2012 11:38
Fast Track to Akka Training Materials
https://www.dropbox.com/s/uijb0smnki4sr7d/fast-track-to-akka-preparations.pdf
https://www.dropbox.com/s/99cuu37bnn5b3ip/fast-track-to-akka.pdf
https://www.dropbox.com/s/r9fl791ncp940n0/fast-track-to-akka-part2.pdf
SOLUTIONS:
My "official" solutions:
https://www.dropbox.com/s/tg3ki7itseydl93/training-akka-solutions.zip
The solutions I produced during the course (including all the extras):
https://www.dropbox.com/s/ywk5a134bhqroxf/solutions-course-version.zip
https://www.dropbox.com/s/w3snb88omyf3ap4/advanced-scala-preparations.pdf
https://www.dropbox.com/s/9u96ay7i2x3y32s/advanced-scala.pdf
https://www.dropbox.com/s/14np8h6jr4bkgzl/scalatrain.zip
https://www.dropbox.com/s/m4d1in3lganec6s/solutions.zip
https://www.dropbox.com/s/mthv91mqbori5eu/fast-track-to-akka-preparations.pdf
https://www.dropbox.com/s/60uapzzvzpnids3/fast-track-to-akka.pdf
https://www.dropbox.com/s/eihgjlsez1tinis/fast-track-to-akka-part2.pdf
https://www.dropbox.com/s/pcsukv98pvpsejl/akkatrain.zip
https://www.dropbox.com/s/nk89sanuffgv078/training-akka-solutions.zip
@phaller
phaller / gist:2689041
Created May 13, 2012 15:58
Akka 2.0 TestKit specs2 template
package akka.training
import akka.testkit.{ TestKit, ImplicitSender }
import akka.actor.{ ActorSystem, Props }
import org.specs2.mutable.Specification
import org.specs2.runner.JUnitRunner
import org.junit.runner.RunWith
@RunWith(classOf[JUnitRunner])
@phaller
phaller / gist:2644769
Created May 9, 2012 14:14
Akka 2.0.1 dependencies for sbt
set resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/"
set libraryDependencies ++= Seq("com.typesafe.akka" % "akka-actor" % "2.0.1", "com.typesafe.akka" % "akka-remote" % "2.0.1", "com.typesafe.akka" % "akka-testkit" % "2.0.1", "org.specs2" %% "specs2" % "1.9" % "test", "junit" % "junit" % "4.5" % "test")
package org.akkatrain
import org.junit.runner.RunWith
import org.specs2.mutable.Specification
import org.specs2.runner.JUnitRunner
import akka.util.Duration
import akka.actor.ActorSystem
import akka.actor.Props
import akka.pattern.ask
import akka.util.Timeout
scalaVersion := "2.9.1"
name := "Akka Training (solutions)"
resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/"
{
libraryDependencies ++= Seq("com.typesafe.akka" % "akka-actor" % "2.0",
"com.typesafe.akka" % "akka-remote" % "2.0",
"com.typesafe.akka" % "akka-testkit" % "2.0",
/*
* Copyright 2011-2012 Typesafe Inc.
*
* This work is based on the original contribution of WeigleWilczek.
*
* Unless otherwise agreed, training materials may only be used for
* educational and reference purposes by individual named participants
* in a training course offered by Typesafe or a Typesafe training partner.
* Unauthorized reproduction, redistribution, or use of this material is prohibited.
*/
libraryDependencies ++= Seq(
"ch.qos.logback" % "logback-classic" % "1.0.0",
"org.specs2" %% "specs2" % "1.8.2" % "test",
"org.mockito" % "mockito-all" % "1.9.0" % "test",
"junit" % "junit" % "4.7" % "test"
)