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 ninja.grimrose.sandbox | |
import wvlet.airframe.SourceCode | |
import wvlet.airspec.AirSpec | |
import wvlet.airspec.spi.AssertionFailure | |
import scala.concurrent.{ExecutionContext, Future} | |
import scala.util.{Failure, Success} | |
trait ScalaFutureSupport { this: AirSpec => |
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
import com.twitter.finagle.Http | |
import com.twitter.finagle.http.{ Request, Response } | |
import com.twitter.finagle.tracing.Tracer | |
import wvlet.airframe._ | |
import wvlet.airframe.http.{ Endpoint, HttpMethod } | |
import wvlet.airframe.http.finagle.FinagleServer.FinagleService | |
import wvlet.airframe.http.finagle._ | |
import wvlet.airframe.http.{ ControllerProvider, ResponseHandler, Router } | |
import wvlet.log.LogFormatter.SourceCodeLogFormatter |
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
00:34:01:scala-projects$ which sbt | |
/Users/grimrose/.sdkman/candidates/sbt/current/bin/sbt | |
00:34:08:scala-projects$ sbt sbtVersion | |
[warn] No sbt.version set in project/build.properties, base directory: /Users/grimrose/Dropbox/IdeaProjects/scala-projects | |
[info] Loading settings for project global-plugins from build.sbt,idea.sbt ... | |
[info] Loading global plugins from /Users/grimrose/.sbt/1.0/plugins | |
[info] Set current project to scala-projects (in build file:/Users/grimrose/Dropbox/IdeaProjects/scala-projects/) | |
[info] 1.2.4 | |
00:34:35:scala-projects$ sbt new playframework/play-scala-seed.g8 | |
[info] Loading settings for project global-plugins from build.sbt,idea.sbt ... |
- 構築する際に関すること
- Scalaでよかったこと
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
module Main exposing (..) | |
import Html exposing (Html, div, h1, h2, img, p, text) | |
--import Html.Attributes exposing (src) | |
import Http exposing (Request) | |
import Json.Decode as Decode | |
--import Json.Encode as Encode | |
---- MODEL ---- |
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
FROM openjdk:alpine | |
ENV PLANTUML_VERSION 1.2018.0 | |
ENV LANG ja_JP.UTF-8 | |
RUN echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories | |
WORKDIR /app |
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
import akka.actor.ActorSystem | |
import akka.stream._ | |
import akka.stream.scaladsl._ | |
import scala.concurrent.duration.Duration | |
import scala.concurrent.{Await, ExecutionContext, Future} | |
implicit val sys: ActorSystem = ActorSystem("akka-streams-sample") | |
implicit val mat: ActorMaterializer = ActorMaterializer() |
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
buildscript { | |
repositories { | |
maven { | |
url "https://plugins.gradle.org/m2/" | |
} | |
} | |
dependencies { | |
classpath 'gradle.plugin.edu.sc.seis.gradle:launch4j:2.3.0' | |
classpath "com.github.jengelman.gradle.plugins:shadow:1.2.4" | |
} |
NewerOlder