I hereby claim:
- I am 2m on github.
- I am 2m (https://keybase.io/2m) on keybase.
- I have a public key ASCHTvC1hIHknnGRXIpypcRPajbMsWWHIg7p5gpYg_Xyvwo
To claim this, I am signing this object:
scala> val YearMonth = "([0-9]+)-([0-9]+)".r | |
YearMonth: scala.util.matching.Regex = ([0-9]+)-([0-9]+) | |
scala> val YearMonth(year, month) = "2014-11" | |
year: String = 2014 | |
month: String = 11 |
➜ projects cloc akka-clean | |
1464 text files. | |
1380 unique files. | |
326 files ignored. | |
http://cloc.sourceforge.net v 1.62 T=2.43 s (468.1 files/s, 89433.4 lines/s) | |
-------------------------------------------------------------------------------- | |
Language files blank comment code | |
-------------------------------------------------------------------------------- | |
Scala 830 21421 28420 89539 |
scala> 0xFF - 1 & 0xFF | |
res10: Int = 254 | |
scala> 0xFF & 0xFF | |
res11: Int = 255 | |
scala> 0xFF + 1 & 0xFF | |
res12: Int = 0 | |
scala> 0xFF + 1 |
class ActorBase extends Actor { | |
def receive = { | |
case _ => | |
} | |
} | |
class AnotherActor extends ActorBase { | |
val myReceive: Receive = { | |
case "msg" => | |
} |
DISPLAY=:0 gnome-terminal -x bash -c 'script -f /dev/pts/0 --command "cat>/dev/null"' && script -f /dev/pts/5 --command 'cat>/dev/null' |
➜ ~ speaker-test -c2 -twav -Dplughw:USB | |
speaker-test 1.1.0 | |
Playback device is plughw:USB | |
Stream parameters are 48000Hz, S16_LE, 2 channels | |
WAV file(s) | |
Playback open error: -16,Device or resource busy |
[info] 'compiler-interface' not yet compiled for Scala 2.12.0-M4. Compiling... | |
[debug] Plain interface to Scala compiler 2.12.0-M4 with arguments: | |
[debug] -nowarn | |
[debug] -d | |
[debug] /tmp/sbt_7114f1db | |
[debug] -bootclasspath | |
[debug] /home/martynas/soft/jdk1.8.0_20/jre/lib/resources.jar:/home/martynas/soft/jdk1.8.0_20/jre/lib/rt.jar:/home/martynas/soft/jdk1.8.0_20/jre/lib/sunrsasign.jar:/home/martynas/soft/jdk1.8.0_20/jre/lib/jsse.jar:/home/martynas/soft/jdk1.8.0_20/jre/lib/jce.jar:/home/martynas/soft/jdk1.8.0_20/jre/lib/charsets.jar:/home/martynas/soft/jdk1.8.0_20/jre/lib/jfr.jar:/home/martynas/soft/jdk1.8.0_20/jre/classes:/home/martynas/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.12.0-M4.jar | |
[debug] -classpath | |
[debug] /home/martynas/.sbt/boot/scala-2.10.6/org.scala-sbt/sbt/0.13.11/xsbti/interface-0.13.11.jar:/tmp/sbt_d12c03f2/srcs/org.scala-sbt/compiler-interface/compiler-interface-0.13.11-sources.jar:/home/martynas/.ivy2/cache/org.scala-lang/scala-compiler/jars/scala-compiler-2.12.0 |
I hereby claim:
To claim this, I am signing this object:
➜ ~ amm | |
Loading... | |
Welcome to the Ammonite Repl 0.7.6 | |
(Scala 2.11.8 Java 1.8.0_112) | |
@ import $ivy.`com.typesafe:config:1.3.1` | |
import $ivy.$ | |
@ import com.typesafe.config.ConfigFactory | |
import com.typesafe.config.ConfigFactory | |
@ ConfigFactory.parseString(""" | |
services: { |