Java
Interface OperatingSystemMXBean public interface OperatingSystemMXBean The management interface for the operating system on which the Java virtual machine is running. ですって。 https://docs.oracle.com/javase/6/docs/api/java/lang/managemen…
.properties .properties is a file extension for files mainly used in Java related technologies to store the configurable parameters of an application. Javaとかに使われるファイル拡張子。application.propertiesとか。Scalaとかでも出てくるけど…
ConfigThreadPool Quartzでスレッドプールが使える。デフォルト値は-1で、1日に数回しかジョブが走らないならスレッド数は1でいい。
Class Configuration A Configuration object is responsible for specifying which LoginModules should be used for a particular application, and in what order the LoginModules should be invoked. https://docs.oracle.com/javase/6/docs/api/javax/…
link connector-j-reference-configuration-properties JavaでMySQLに接続する方法 jといえばJavaですよねはい JDBCとか https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-reference-configuration-properties.html
Jetty JAAS link codehausからeclipseになってた。しかもリンクは 古 https://wiki.eclipse.org/Jetty/Starting/Downloads#Jetty.40codehaus_Download 新 http://www.eclipse.org/jetty/documentation/current/quick-start-getting-started.html
Manages a keystore (database) of private keys and their associated X.509 certificate chains authenticating the corresponding public keys. Also manages certificates from trusted entities. keytool-Key and Certificate Management Tool
Rundeckのドキュメント読んでたらちょいちょい遭遇するアレ。 http://www.codehaus.org/ It was announced on the Codehaus website this past week that "The time has come to end the era of Codehaus." This page includes a rough timeline of when pro…
JAAS ジャズみたいな発音。 the Java implementation of the standard Pluggable Authentication Module (PAM) information security framework. Java認証サービス。 https://en.wikipedia.org/wiki/Java_Authentication_and_Authorization_Service
log4j 2 Apache Log4j 2 is an upgrade to Log4j that provides significant improvements over its predecessor, Log4j 1.x, and provides many of the improvements available in Logback while fixing some inherent problems in Logback’s architecture.…
metrics Javaのinstrumentationライブラリ 4系と3系があるようで、Rundeckが使っているのは3系。リンクとか変わってる。 http://repo1.maven.org/maven2/io/dropwizard/metrics/metrics-core/4.0.0-alpha3/ http://repo1.maven.org/maven2/com/codahale/metr…
Here at the Bouncy Castle, we believe in encryption. That's something that's near and dear to our hearts. 暗号化API bouncycastle.org
JSch JSch is a pure Java implementation of SSH2. バッハみたいな綴りだけどtypoじゃないよ http://www.jcraft.com/jsch/
cacerts 証明書のファイルのこと。typoではないぞ。 https://www.ibm.com/support/knowledgecenter/en/SSYKE2_7.1.0/com.ibm.java.security.component.71.doc/security-component/keytoolDocs/cacertsfile.html
リポジトリからCertificateとCRLを取得するクラスです。 CertStore っていうJavaクラスの名前なので、typoじゃない https://docs.oracle.com/javase/jp/8/docs/api/java/security/cert/CertStore.html
Gitterでやりとりして承認を得ること Issueを投げて承認を得ること テンプレに沿ってプルリクエストを投げること テストが全部通っていること 以上が守られないIssueやプルリクは自動的にクローズされる。 sdkman-cli/CONTRIBUTING.md at master · sdkman/sd…
環境指定のspring-boot run mvn spring-boot:run -Drun.jvmArguments="-Dspring.profiles.active=production" 環境を指定する なんかまあこんな感じ。 src/main/java/Example.java import org.springframework.beans.factory.annotation.Autowired; import o…
jarの中身をみたい java tf test.jar http://www.ne.jp/asahi/hishidama/home/tech/java/jar.html
gzip java https://docs.oracle.com/javase/jp/8/docs/api/java/util/zip/GZIPOutputStream.html
jodaとmockitoのコンボ。 beforeのところで DateTimeUtils.setCurrentMillisFixed(10L); みたいなことを書けば、とりあえず時間を弄れるっぽい。 @Test public void test() { DateTimeUtils.setCurrentMillisFixed(10L); // .. your code } @After public vo…
DateTimeFormat こんな感じだね。 yyyymmddHHmmss とか。 DateTime dt = new DateTime(); DateTimeFormatter fmt = DateTimeFormat.forPattern("MMMM, yyyy"); String str = fmt.print(dt); http://www.joda.org/joda-time/apidocs/org/joda/time/format/Dat…
waffle.ioとは違うんだ https://waffle.github.io/waffle/
mockito machers anystringとか https://static.javadoc.io/org.mockito/mockito-core/1.9.5/org/mockito/Matchers.html
デフォルト。 カンマ区切りで、データーをダブルクォート(“)で囲み、データー中のダブルクォートはダブルクォートでエスケープされます。 囲み文字をなし。 new CSVWriter(writer, ',', CSVWriter.NO_QUOTE_CHARACTER); ここにも「よくわからない」って書い…
digdag 0.9.13 バージョンを上げただけっぽい Release v0.9.13 · treasure-data/digdag · GitHub
Downloadsからzipかtar.gzをダウンロード。 所定の場所に置いて、パスを通す。 原典には、apt/brew/yumで入れるようには書かれていなかった Maven – Installing Apache Maven
systemd java javaプロセスを立ち上げるワンライナー的なのをsystemdのスクリプトに組み込むときはどうしたらいいだろうか、って考えていたらこんな感じでよかった [Service] Type=forking WorkingDirectory=/home/nano/social/ ExecStart=/usr/bin/java -cp…
https://www.elastic.co/blog/elasticsearch-5-5-0-released https://github.com/elastic/elasticsearch/releases/tag/v5.5.0 セキュリティまわりの改善と、Luceneを6にバージョンアップ。 https://ja.m.wikipedia.org/wiki/Apache_Lucene
Javaで2ファイルの差分を取るやつ。 大まかなことはここに書いてある。 https://code.google.com/archive/p/java-diff-utils/ java-diff-utilsメモ(Hishidama's java-diff-utils Memo) Maven Repository: com.googlecode.java-diff-utils » diffutils » 1.3.…
awscalaのソースコードを読んでいると、どうしてもAWS SDK for Javaのドキュメントに行き着いてしまう。 というのも、SDKのラッパーなので、やっぱりここを読まないと詳しい挙動とか変数とか分かりづらいから。 AWS SDK for Java - 1.11.139