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
| Nov 16 23:13:08 chris-desktop systemd-udevd[21289]: Cleaning up idle workers. | |
| Nov 16 23:13:08 chris-desktop systemd-udevd[21289]: Worker [22236] exited. | |
| Nov 16 23:13:08 chris-desktop systemd-udevd[21289]: Worker [22238] exited. | |
| Nov 16 23:13:08 chris-desktop systemd-udevd[21289]: Worker [22235] exited. | |
| Nov 16 23:13:08 chris-desktop systemd-udevd[21289]: Worker [22237] exited. | |
| Nov 16 23:13:08 chris-desktop systemd-udevd[21289]: Worker [22234] exited. | |
| Nov 16 23:13:50 chris-desktop systemd-udevd[21289]: 2-6: Device is queued (SEQNUM=5393, ACTION=add) | |
| Nov 16 23:13:50 chris-desktop systemd-udevd[21289]: Skipping file '/etc/systemd/network/50-wlp4s0.network' with unexpected suffix. | |
| Nov 16 23:13:50 chris-desktop systemd-udevd[21289]: Skipping file '/etc/systemd/network/50-eno2.network' with unexpected suffix. | |
| Nov 16 23:13:50 chris-desktop systemd-udevd[21289]: Skipping file '/etc/systemd/network/50-enp7s0.network' with unexpected suffix. |
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
| { | |
| "/nix/store/icq00fiahql9p3gw2bkgkh6s02hk03bf-redis-6.2.6.drv": { | |
| "args": [ | |
| "-e", | |
| "/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh" | |
| ], | |
| "builder": "/nix/store/pbfraw351mksnkp2ni9c4rkc9cpp89iv-bash-5.1-p12/bin/bash", | |
| "env": { | |
| "NIX_CFLAGS_COMPILE": "", | |
| "NIX_HARDENING_ENABLE": "fortify stackprotector pic strictoverflow format relro bindnow pie", |
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
| {tree-sitter, linkFarm, lib}: | |
| let | |
| make-tree-sitter-libs = grammarFn: ( | |
| let | |
| grammars = grammarFn tree-sitter.builtGrammars; | |
| nameForEmacs = origName: ( | |
| let truncated = (lib.strings.removeSuffix "-grammar" origName); | |
| in "lib" + truncated + ".so" | |
| ); | |
| linkParser = drv: ( |
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
| $ scala | |
| Welcome to Scala 2.12.4 (OpenJDK 64-Bit Server VM, Java 1.8.0_121). | |
| Type in expressions for evaluation. Or try :help. | |
| scala> :paste | |
| // Entering paste mode (ctrl-D to finish) | |
| case class Setting[T]( | |
| key: String, | |
| value: T |
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
| I, Chris Hodapp, have read and do accept the MuleSoft Contributor Agreement | |
| at http://www.mulesoft.org/legal/contributor-agreement.html | |
| Accepted on Fri Oct 28 2016 00:07:21 GMT-0700 (PDT) |
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
| $ scala -language:_ | |
| Welcome to Scala 2.11.8 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_45). | |
| Type in expressions for evaluation. Or try :help. | |
| scala> import reflect.macros.whitebox.Context | |
| import reflect.macros.whitebox.Context | |
| scala> def idImpl(c: Context)(t: c.Tree): c.Tree = t | |
| idImpl: (c: scala.reflect.macros.whitebox.Context)(t: c.Tree)c.Tree |
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
| def foo = """hello | |
| there | |
| chris""" |
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
| Welcome to Scala 2.12.0-M3 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_45). | |
| Type in expressions for evaluation. Or try :help. | |
| scala> :paste | |
| // Entering paste mode (ctrl-D to finish) | |
| trait Foo[A] | |
| object Foo { | |
| @annotation.implicitAmbiguous("Custom ambiguous message") | |
| implicit val a = new Foo[String] { } |
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
| Welcome to Scala 2.12.0-M3 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_45). | |
| Type in expressions for evaluation. Or try :help. | |
| scala> :paste | |
| // Entering paste mode (ctrl-D to finish) | |
| trait Foo[A] | |
| object Foo { | |
| @annotation.implicitAmbiguous("Custom ambiguous message") | |
| implicit def a = new Foo[String] { } |
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 reflect.runtime.universe._ | |
| import reflect.runtime.currentMirror | |
| import scala.tools.reflect.ToolBox | |
| class Demo[T: TypeTag] { | |
| def runTest(): Any = { | |
| val tb = currentMirror.mkToolBox() | |
| val companion = typeOf[T].typeSymbol.companion | |
| tb.eval(q"$companion.test") |
NewerOlder