Skip to content

Instantly share code, notes, and snippets.

View eed3si9n's full-sized avatar

eugene yokota eed3si9n

View GitHub Profile
import java.util.{ Locale, Properties }
+import java.time.ZonedDateTime
+import java.time.format.DateTimeFormatter.ISO_LOCAL_DATE_TIME
import sbt.BasicCommandStrings.{ Shell, TemplateCommand }
import sbt.Project.LoadAction
@@ -37,6 +39,7 @@ import scala.util.control.NonFatal
/** This class is the entry point for sbt. */
final class xMain extends xsbti.AppMain {
def run(configuration: xsbti.AppConfiguration): xsbti.MainResult = {
scala> import gigahorse._, support.okhttp.Gigahorse
import gigahorse._
import support.okhttp.Gigahorse
scala> import scala.concurrent._, duration._
import scala.concurrent._
import duration._
scala> import ExecutionContext.Implicits._
import ExecutionContext.Implicits._
Defaults: object Defaults {
scalaHome =
javaBootClassPath =
/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre/lib/resources.jar
/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre/lib/rt.jar
/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre/lib/sunrsasign.jar
/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre/lib/jsse.jar
/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre/lib/jce.jar
/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre/lib/charsets.jar
/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre/lib/jfr.jar
@eed3si9n
eed3si9n / yql
Created February 15, 2019 08:02
{"query":{"count":1,"created":"2018-05-06T22:49:55Z","lang":"en-US","results":{"channel":{"item":{"condition":{"code":"26","date":"Sun, 06 May 2018 06:00 PM EDT","temp":"16","text":"Cloudy"}}}}}}
[DEBUG] [02/06/2019 15:27:20.434] [main] [EventStream(akka://default)] logger log1-Logging$DefaultLogger started
[DEBUG] [02/06/2019 15:27:20.437] [main] [EventStream(akka://default)] Default Loggers started
[INFO] [02/06/2019 15:27:20.460] [main] [akka.remote.Remoting] Starting remoting
[INFO] [02/06/2019 15:27:20.664] [main] [akka.remote.Remoting] Remoting started; listening on addresses :[akka.tcp://[email protected]:2552]
[INFO] [02/06/2019 15:27:20.666] [main] [akka.remote.Remoting] Remoting now listens on addresses: [akka.tcp://[email protected]:2552]
[INFO] [02/06/2019 15:27:20.693] [main] [akka.cluster.Cluster(akka://default)] Cluster Node [akka.tcp://[email protected]:2552] - Starting up, Akka version [2.5.20] ...
[INFO] [02/06/2019 15:27:20.831] [main] [akka.cluster.Cluster(akka://default)] Cluster Node [akka.tcp://[email protected]:2552] - Registered cluster JMX MBean [akka:type=Cluster]
[INFO] [02/06/2019 15:27:20.832] [main] [akka.cluster.Cluster(akka://default)] Cluster Node [akka.tc
val liteClasspathTask = taskKey[Seq[File]]("The classpath suitable for including in BuildInfo.")
lazy val root = (project in file("."))
.configs(IntegrationTest)
.settings(
Defaults.itSettings,
IntegrationTest / liteClasspathTask := {
(Vector((Compile / classDirectory).value) ++
(Compile / externalDependencyClasspath).value.map(_.data) ++
@eed3si9n
eed3si9n / result.txt
Created October 17, 2018 17:55
here's a result from running andreaTP/sbt-launcher-bench
parallel
real 1m38.404s
user 0m36.949s
sys 0m5.085s
parallel-parallel
real 0m47.792s
$ bin/run-integration-tests.sh
Running 'mvn install' in reactive-app-maven-plugin
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building reactive-app-maven-plugin 0.3.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[info] sbt.internal.io.TranslatedException: Error during a recursive delete of
path C:\Users\eed3si9n\AppData\Local\Temp\sbt_fcda14cf: Error deleting C:\Users
\eed3si9n\AppData\Local\Temp\sbt_fcda14cf\handshake\project\target\config-classe
s\$dde6a003478912824d62$$anonfun$$nestedInanonfun$root$3$1.class: java.nio.file.
FileSystemException: C:\Users\eed3si9n\AppData\Local\Temp\sbt_fcda14cf\handshake
\project\target\config-classes\$dde6a003478912824d62$$anonfun$$nestedInanonfun$r
oot$3$1.class: The process cannot access the file because it is being used by an
other process.
[info] at sbt.internal.io.ErrorHandling$.translate(ErrorHandling.scala:12)
[info] at sbt.io.IO$.delete(IO.scala:488)