Skip to content

Instantly share code, notes, and snippets.

View terjokhin's full-sized avatar
🏠
Working from home

Alexey Terekhin terjokhin

🏠
Working from home
  • Netherlands, Utrecht
View GitHub Profile
object MongoApp extends App {
case class Data(_id: ObjectId, data: String)
object Data {
def apply(data: String): Data = new Data(new ObjectId(), data)
}
import org.bson.codecs.configuration.CodecRegistries.{fromProviders, fromRegistries}
object TestApp extends App {
trait Region {
val start: Int
val end: Int
def processRegion(input: String): String
}
name := """PizzaInitial1"""
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayScala)
scalaVersion := "2.11.1"
resolvers ++= Seq(
"RoundEights" at "http://maven.spikemark.net/roundeights"
<table border = "0">
<tr>
<td>Username</td><td><input type="text" id="Username" name="Username" value="@logInForm("Username").value" placeholder="Your Username"></td>
</tr>
<tr>
<td>Password</td><td><input type="text" id="Username" name="Username" value="@logInForm("Password").value" placeholder="Your Password"></td>
</tr>
<tr>
<td align = "right">
<a href="@routes.Application.start()">