Skip to content

Instantly share code, notes, and snippets.

View eed3si9n's full-sized avatar

eugene yokota eed3si9n

View GitHub Profile
$ git diff
diff --git a/.java-version b/.java-version
index 45a4fb7..6259340 100644
--- a/.java-version
+++ b/.java-version
@@ -1 +1 @@
-8
+1.8
diff --git a/build.sbt b/build.sbt
index 2d8cd08..2d0ceec 100644
@eed3si9n
eed3si9n / ci.yml
Last active March 21, 2021 03:54
Preparatory GitHub Actions
name: CI
on:
pull_request:
push:
jobs:
test:
strategy:
fail-fast: false
matrix:

aleeye galeeye phire bhatakato, aleeye galeeye phire bhatakato, Ram.

aachya ghara mein poyo jamaaro, maaya jaal mein khoyo. aachya ghara mein poyo jamaaro. maaya jaal mein khoyo.

oopar vaadee joyo jamaaro, maaya jaal mein khoyo.

#!/usr/bin/env sbt -Dsbt.version=1.4.7 -Dsbt.main.class=sbt.ScriptMain -Dsbt.supershell=false -error
/***
// $ chmod +x scripts.scala
// $ ./scripts.scala
ThisBuild / scalaVersion := "2.13.4"
libraryDependencies += "org.scala-sbt" %% "io" % "1.4.0"
*/
import sbt.io._
import sbt.io.syntax._
This file has been truncated, but you can view the full file.
2020-11-29T04:25:32.8012589Z ##[section]Starting: Request a runner to run this job
2020-11-29T04:25:33.0329868Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-latest'
2020-11-29T04:25:33.0329951Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
2020-11-29T04:25:33.0330369Z Found online and idle hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
2020-11-29T04:25:33.1742434Z ##[section]Finishing: Request a runner to run this job
2020-11-29T04:25:39.8331451Z Current runner version: '2.274.2'
2020-11-29T04:25:39.8360764Z ##[group]Operating System
2020-11-29T04:25:39.8361833Z Ubuntu
2020-11-29T04:25:39.8362296Z 18.04.5
2020-11-29T04:25:39.8362846Z LTS
@eed3si9n
eed3si9n / # sbt - 2020-01-15_01-26-06.txt
Created February 24, 2020 15:25
sbt on macOS 10.14.3 - Homebrew build logs
Homebrew build logs for sbt on macOS 10.14.3
Build date: 2020-01-15 01:26:06
[info] [info] Updated file /private/var/folders/hg/2602nfrs2958vnshglyl3srw0000gn/T/sbt_1d00f8ca/project/build.properties: set sbt.version to 1.4.1-SNAPSHOT
[info] [info] welcome to sbt 1.4.1-SNAPSHOT (AdoptOpenJDK Java 1.8.0_232)
[info] [info] loading settings for project sbt_1d00f8ca-build from plugins.sbt ...
[info] [info] loading project definition from /private/var/folders/hg/2602nfrs2958vnshglyl3srw0000gn/T/sbt_1d00f8ca/project
[info] compiling 1 Scala source to /private/var/folders/hg/2602nfrs2958vnshglyl3srw0000gn/T/sbt_1d00f8ca/project/target/scala-2.12/sbt-1.0/classes ...
TREE: scala.Predef.identity[sbt.librarymanagement.UpdateReport](($q$macro$1: sbt.librarymanagement.UpdateReport))
TREE: (scala.Predef.identity[sbt.librarymanagement.UpdateReport](($q$macro$1: sbt.librarymanagement.UpdateReport)): sbt.librarymanagement.UpdateReport)
TREE: {
[info] (scala.Predef.identity[sbt.librarymanagement.UpdateReport](($q$macro$1: sbt.librarymanagement.UpdateReport)): sbt.librarymanagement.UpdateReport);
[info
sbt:sbtRoot> utilScripted/clean
sbt:sbtRoot> utilScripted/compile
...
sbt:sbtRoot> utilScripted/compile
[debug] Other repositories:
[debug] Default repositories:
[debug] Using inline dependencies specified in Scala.
[debug] not up to date. inChanged = true, force = false
[debug] Updating utilInterface...
@eed3si9n
eed3si9n / subproject-pipelining.log
Created July 23, 2020 13:44
Normal output from scripted source-dependencies/subproject-pipelining
[debug] Reading incremental options from map
[info] Running source-dependencies/subproject-pipelining
[debug] Reading incremental options from map
[debug] PIPELINING value was read.
[debug] Reading incremental options from map
[debug] PIPELINING value was read.
[debug] [zinc] IncrementalCompile -----------
[debug] IncrementalCompile.incrementalCompile
[debug] previous = Stamps for: 0 products, 0 sources, 0 libraries Map()
[debug] current source = Set(${BASE}/dep/A.scala)
@eed3si9n
eed3si9n / kind.scala
Created September 3, 2012 16:40
calculates a type's kind
// requires Scala 2.10.0-M7
def kind[A: scala.reflect.TypeTag]: String = {
import scala.reflect.runtime.universe._
def typeKind(sig: Type): String = sig match {
case PolyType(params, resultType) =>
(params map { p =>
typeKind(p.typeSignature) match {
case "*" => "*"
case s => "(" + s + ")"
}