List in a boxが動かなかったのでroswellで格闘中。
- macos 10.15.7
結局何が必要だったわからんな。brewでインストールされたemacsだと動いた。
| stty stop undef |
| autodetach on | |
| bell_msg "^G" | |
| defkanji utf-8 | |
| defencoding utf-8 | |
| encoding utf-8 utf-8 | |
| defscrollback 10000 | |
| escape ^Xx | |
| startup_message off | |
| vbell off | |
| caption always "%{= wb} %-w%{=bu dr}%n %t%{-}%+w %= %{=b wk} [%l] %{=b wb}%y/%m/%d(%D) %{=b wm}%c" |
| # | |
| #5. ユーザーカスタム設定 | |
| # 以下に、ご自身の設定を御書き下さい。この行は削除可能です。 | |
| if ( USEdvorak109) | |
| include "109.nodoka" | |
| include "contrib/DVORAKon109.nodoka" | |
| endif | |
| Days : 1 | |
| Hours : 8 | |
| Minutes : 56 | |
| Seconds : 41 | |
| Milliseconds : 837 | |
| Ticks : 1186018378518 | |
| TotalDays : 1.37270645661806 | |
| TotalHours : 32.9449549588333 | |
| TotalMinutes : 1976.69729753 | |
| TotalSeconds : 118601.8378518 |
| import scala.math.BigDecimal | |
| import scala.util.Random | |
| object Main { | |
| def main(args: Array[String]) { | |
| Random.shuffle(List.range(1, args(0).toInt)).par.foreach(x=>println(x + " : " + pow4div3(x))) | |
| } | |
| def pow4div3(n: Int) = { | |
| def rec(m: BigDecimal):Boolean ={ |
| import java.io.IOException; | |
| import java.net.URL; | |
| import java.util.jar.Attributes; | |
| import java.util.jar.JarFile; | |
| import java.util.jar.Manifest; | |
| public class FromManifest { | |
| public String getVersion() { | |
| String version = "null"; |
| public class MyTailerListener extends TailerListenerAdapter { | |
| private String pre = ""; | |
| @Override | |
| public void handle(String line) { | |
| if (pre.equals(line)) { | |
| System.out.println("dup : " + line); | |
| } |
| public class FileExist extends TypeSafeMatcher<File> { | |
| private final boolean isEexpectedResult; | |
| private File inspected; | |
| public FileExist(boolean exceptedResult) { | |
| this.isEexpectedResult = exceptedResult; | |
| } | |
| @Override |