- https://github.com/sbt/sbt 4795
- https://github.com/coursier/coursier 2035
- https://github.com/sbt/sbt-assembly 1950
- https://github.com/sbt/sbt-native-packager 1595
- https://github.com/scalikejdbc/scalikejdbc 1261
- https://github.com/sbt/sbt-dependency-graph 1245
- https://github.com/wartremover/wartremover 1079
- https://github.com/spray/sbt-revolver 847
- https://github.com/sbt/sbt-jmh 790
- https://github.com/rtimush/sbt-updates 759
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
$ socat -v UNIX-LISTEN:$HOME/.sbt/1.0/server/aaaaaa/proxy.sock,fork UNIX-CONNECT:$HOME/.sbt/1.0/server/aaaaaa/sock | |
> 2024/12/07 01:30:49.000005239 length=181 from=0 to=180 | |
Content-Length: 158\r | |
\r | |
{ "jsonrpc": "2.0", "id": "cb0ffdd8-be63-42cb-b853-4fce15a5c9f5", "method": "initialize", "params": { "initializationOptions": { "skipAnalysis" : true } } }\r | |
> 2024/12/07 01:30:49.000005821 length=148 from=181 to=328 | |
Content-Length: 125\r | |
\r | |
{ "jsonrpc": "2.0", "id": "44b67b11-1551-424d-9b5f-1454112b769c", "method": "sbt/attach", "params": {"interactive": true} }\r | |
< 2024/12/07 01:30:49.000028766 length=338 from=0 to=337 |
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
$ jstack 28453 | |
2023-10-10 16:29:05 | |
Full thread dump OpenJDK 64-Bit Server VM (25.362-b08 mixed mode): | |
"Attach Listener" #173 daemon prio=9 os_prio=31 tid=0x0000000144b34000 nid=0xb607 waiting on condition [0x0000000000000000] | |
java.lang.Thread.State: RUNNABLE | |
"Thread-3" #172 daemon prio=5 os_prio=31 tid=0x0000000132aa0800 nid=0x11707 waiting on condition [0x00000002876b2000] | |
java.lang.Thread.State: TIMED_WAITING (sleeping) | |
at java.lang.Thread.sleep(Native Method) |
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 sbt.util | |
import java.io.File | |
import java.nio.file.Path | |
import sjsonnew.{ Builder, JsonWriter } | |
import StringLongs.StringLong | |
trait PathHashWriters: | |
given stringLongLike[A](using conv: Conversion[A, StringLong]): HashWriter[A] with | |
def write[J](obj: A, builder: Builder[J]): Unit = |
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
IMPORTANT: READ CAREFULLY | |
Two license agreements are presented below. | |
1. IBM International License Agreement for Evaluation of Programs | |
2. IBM International Program License Agreement | |
If Licensee is obtaining the Program for purposes of productive use (other than evaluation, testing, trial "try or buy," or demonstration): By clicking on the "Accept" button below, Licensee accepts the IBM International Program License Agreement, without modification. |
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
$ node_modules/.bin/tree-sitter generate --report-states-for-rule compilation_unit | |
class_definition 3728 | |
function_definition 2214 | |
ascription_expression 1442 | |
infix_expression 1412 | |
assignment_expression 1412 | |
postfix_expression 1412 | |
match_expression 1400 | |
field_expression 1400 | |
call_expression 1358 |
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
Length Date Time Name | |
--------- ---------- ----- ---- | |
11523 01-01-2010 00:00 lmcoursier/syntax/package.tasty | |
2594 01-01-2010 00:00 lmcoursier/syntax/package.class | |
1363 01-01-2010 00:00 lmcoursier/syntax/package$StrictOp.class | |
1396 01-01-2010 00:00 lmcoursier/syntax/package$PublicationOp.class | |
2640 01-01-2010 00:00 lmcoursier/syntax/package$ModuleMatchersModule.class | |
1016 01-01-2010 00:00 lmcoursier/syntax/package$DirectCredentialsOp.class | |
1470 01-01-2010 00:00 lmcoursier/syntax/package$DirectCredentialsModule.class | |
1659 01-01-2010 00:00 lmcoursier/syntax/package$DependencyOp.class |
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
// To the extent possible under law, the author(s) have dedicated all copyright and related | |
// and neighboring rights to this snippet to the public domain worldwide. | |
// This snippet is distributed without any warranty. | |
// See http://creativecommons.org/publicdomain/zero/1.0/. | |
import scala.quoted.* | |
import scala.collection.mutable | |
// import qctx.reflect.* |
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
object Main { | |
def head[A](list: List[A]): A = list.head | |
def x1: List[Int] | List[String] = List(3) | |
// this conversion is ok. the opposite doesn't work. | |
def x2: List[Int | String] = x1 | |
def x3 = head(x1) |
NewerOlder