2015/07/24 関数型Scalaの集い
- 中村 学
- @gakuzzzz
- 株式会社 Tech to Value
- Scala関西 Summit 2015 スポンサーしてます
| const { | |
| aceVimMap, | |
| mapkey, | |
| imap, | |
| imapkey, | |
| getClickableElements, | |
| vmapkey, | |
| map, | |
| unmap, | |
| iunmap, |
2015/07/24 関数型Scalaの集い
| /* It will eat your memory | |
| * But if you insist, compile it with: | |
| gcc -pthread -fgnu-tm -mcx16 -o transaction_bomb transaction_bomb.c | |
| */ | |
| #include <pthread.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> |
| import java.nio.file.{ FileSystem, FileSystems, WatchKey, WatchService, StandardWatchEventKinds } | |
| import java.nio.file.StandardWatchEventKinds.ENTRY_MODIFY | |
| import scala.collection.JavaConverters._ | |
| import scala.concurrent._ | |
| import ExecutionContext.Implicits.global | |
| object Main { | |
| def main(args: Array[String]) { | |
| FileWatcher("/tmp/build/classes", "hoge.html").watch { | |
| println("change") |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <pthread.h> | |
| #include <unistd.h> | |
| #include <immintrin.h> | |
| static volatile double zr = 0.0; | |
| static volatile double zi = 0.0; | |
| static const double cr = 0.1; |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <pthread.h> | |
| #include <unistd.h> | |
| #include <immintrin.h> | |
| static volatile double zr = 0.0; | |
| static volatile double zi = 0.0; | |
| static const double cr = 0.1; |