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
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} |
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
object TestApp extends App { | |
trait Region { | |
val start: Int | |
val end: Int | |
def processRegion(input: String): String | |
} |
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
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" |
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
<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()"> |
NewerOlder