This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # DOCKER-VERSION 0.4.8 | |
| FROM ubuntu:12.04 | |
| # install essentials | |
| RUN apt-get install -y -q git | |
| # Install rbenv | |
| RUN git clone https://github.com/sstephenson/rbenv.git /usr/local/rbenv | |
| RUN echo '# rbenv setup' > /etc/profile.d/rbenv.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import akka.actor.IO._ | |
| import akka.actor.{Props, IO, IOManager, Actor, ActorSystem} | |
| import akka.event.Logging | |
| import akka.util.ByteString | |
| import java.net.InetSocketAddress | |
| class TCPEchoServer(port: Int) extends Actor { | |
| val log = Logging(context.system, this) | |
| val state = IterateeRef.Map.async[IO.Handle]()(context.dispatcher) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| PROJECT_NAME="$1" | |
| SCALA_VERSION="2.9.1" | |
| SCALATEST_VERSION="1.6.1" | |
| MOCKITO_VERSION="1.8.5" | |
| mkdir $PROJECT_NAME | |
| cd $PROJECT_NAME | |
NewerOlder