This file contains 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
package controllers | |
object Test extends App { | |
def contains(string: String): Iteratee[Array[Byte], Boolean] = contains(string.getBytes) | |
def contains(string: Array[Byte]): Iteratee[Array[Byte], Boolean] = { | |
sealed trait Matching | |
case class InProgress(index: Int) extends Matching | |
case object Failure extends Matching | |
case object Completed extends Matching |
This file contains 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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86 3.17.8-gentoo-r1 Kernel Configuration | |
# | |
# | |
# Gentoo Linux | |
# | |
CONFIG_GENTOO_LINUX=y | |
CONFIG_GENTOO_LINUX_UDEV=y |
This file contains 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
package models | |
import anorm._ | |
/** | |
* SQL with IN statement | |
* User: kazzna | |
* Date: 13/09/07 | |
* Time: 17:29 | |
* Original code is from http://nineofclouds.blogspot.jp/2013/04/in-clause-with-anorm.html |