This file contains hidden or 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 mill._ | |
import mill.scalalib._ | |
import mill.scalajslib._ | |
import mill.util.Jvm | |
import $ivy.`io.github.nafg.millbundler::jsdeps::0.1.0-44-2b55ad-SNAPSHOT`, | |
io.github.nafg.millbundler.jsdeps._ | |
import $ivy.`io.github.nafg.millbundler::millbundler::0.1.0-44-2b55ad-SNAPSHOT`, | |
io.github.nafg.millbundler._ |
This file contains hidden or 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
//> using dep org.testcontainers:postgresql:1.19.3 | |
//> using dep org.postgresql:postgresql:42.6.0 | |
//> using dep org.jooq:jooq-codegen:3.19.4, | |
//> using resourceDir db/resources | |
import org.testcontainers.containers.* | |
import org.jooq.codegen.GenerationTool | |
import org.jooq.meta.jaxb.* |
This file contains hidden or 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
# /etc/fstab | |
# | |
# This file is read once by the first process in a Cygwin process tree. | |
# To pick up changes, restart all Cygwin processes. For a description | |
# see https://cygwin.com/cygwin-ug-net/using.html#mount-table | |
# This is default anyway: | |
none /cygdrive cygdrive binary,noacl,posix=0,user 0 0 | |
c: /c some_fs binary,noacl,posix=0,user 0 0 |
This file contains hidden or 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
# ------------------------------------------------ # | |
# The SBT Configuration file. # | |
# ------------------------------------------------ # | |
# Disable ANSI color codes | |
# | |
#-no-colors | |
# Starts sbt even if the current directory contains no sbt project. |
This file contains hidden or 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
find . -type d -empty -print0 | xargs -0 rm -rvf |
This file contains hidden or 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
class ExtensionLoader { | |
/** | |
* Load instances of an extension point | |
* | |
* @param id the extension point id | |
* @param type the class or interface the instances conform to | |
* @param instances the collection in which instances will be added | |
* | |
* @return the instances collection |
This file contains hidden or 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
class EPackageToJSon { | |
def render(EPackage self) { | |
val List<EClass> nodes = newArrayList | |
self.EClassifiers.filter(typeof(EClass)).forEach[fill(nodes, it)] | |
val out = new StringWriter | |
val graph = Json::createGenerator(out) | |
graph.writeStartObject |