Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
package sql.akka | |
import akka.actor.Actor | |
import akka.dispatch.Future | |
import java.sql._ | |
import sql._ | |
// messages |
//output: | |
/* | |
Here we go | |
closed: meee | |
closed: bloo | |
closed: bla | |
I feel used | |
I feel used | |
----------- | |
I feel used |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
import javafx.animation.*; | |
import javafx.application.Application; | |
import javafx.event.*; | |
import javafx.geometry.Pos; | |
import javafx.scene.*; | |
import javafx.scene.control.Label; | |
import javafx.scene.effect.Glow; | |
import javafx.scene.input.MouseEvent; | |
import javafx.scene.layout.VBox; | |
import javafx.scene.paint.Color; |
def application(req: HttpRequest): Option[ScalatraApp] = { | |
logger.debug("The registered applications:") | |
logger.debug("%s" format applications) | |
application(req.uri.getPath) map (_.mounted) flatMap { | |
case f: ScalatraApp if f.hasMatchingRoute(req) => { | |
logger.debug("We found an App") | |
Some(f) | |
} | |
case f: ScalatraApp => { | |
logger.debug("We found an App, But no matching route") |
System: | |
Operating System | |
MS Windows XP Professional 32-bit SP3 | |
CPU | |
Intel Core 2 Duo E7500 @ 2.93GHz 37 °C | |
Wolfdale 45nm Technology | |
RAM | |
4.00 GB Dual-Channel DDR3 @ 532MHz (7-7-7-20) | |
Motherboard |
resourceGenerators in Compile <+= (resourceManaged, baseDirectory) map { (managedBase, base) => | |
val webappBase = base / "src" / "main" / "webapp" | |
for { | |
(from, to) <- webappBase ** "*" x rebase(webappBase, managedBase / "main" / "webapp") | |
} yield { | |
Sync.copy(from, to) | |
to | |
} | |
} |
org.eclipse.jetty.util.log.Log.setLog(null); | |
//System.setProperty("DEBUG", "false") | |
System.setProperty("LEVEL", "WARN") | |
System.setProperty("org.eclipse.jetty.http.LEVEL", "WARN") | |
System.setProperty("org.eclipse.jetty.LEVEL", "WARN") | |
System.setProperty("org.eclipse.LEVEL", "WARN") | |
System.setProperty(".LEVEL", "WARN") | |
// doesn't work | |
class CombinedTableMetadata[A](op: (List[A], List[A]) => List[A]) { | |
val listInts1 : List[Int] | |
val listInts2 : List[Int] | |
val listStrings1: List[String] | |
val listStrings2: List[String] | |
def doThis : List[Int] = op(listInts1, listInts2) | |
def doThat : List[String] = op(listStrings1, listStrings2) |