This file contains 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
# Intellij IDEAを起動する | |
$ idea | |
# Intellij IDEAで指定のプロジェクトを開く | |
$ idea /path/to/project |
This file contains 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
$ vi /Volumes/boot/wpa_supplicant.conf | |
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
update_config=1 | |
country=JP | |
network={ | |
ssid="Wi-FiのSSID" | |
psk="Wi-Fiのパスワード" | |
} |
This file contains 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
# Java 11の場合 | |
$ java -version | |
openjdk version "11.0.6" 2020-01-14 LTS | |
OpenJDK Runtime Environment 18.9 (build 11.0.6+10-LTS) | |
OpenJDK 64-Bit Server VM 18.9 (build 11.0.6+10-LTS, mixed mode, sharing) | |
# jdk.tls.disabledAlgorithmsから3DES_EDE_CBCを削除する | |
$ sudo vi /usr/lib/jvm/jre-11-openjdk-11.0.6.10-1.el7_7.x86_64/conf/security/java.security | |
jdk.tls.disabledAlgorithms=SSLv3, RC4, DES, MD5withRSA, DH keySize < 1024, \ |
This file contains 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
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure | |
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131) | |
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117) | |
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:307) | |
at java.base/sun.security.ssl.Alert$AlertConsumer.consume(Alert.java:291) | |
at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:180) | |
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:164) | |
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1151) | |
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1062) | |
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:402) |
This file contains 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
https://github.com/ユーザ名/リポジトリ名/compare/古い方のコミット番号...新しい方のコミット番号 | |
# 例 | |
https://github.com/spring-projects/spring-boot/compare/ac9482d...399d0f7 |
This file contains 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
$ heroku config:unset 環境変数名 --app アプリ名 | |
# 複数の環境変数をまとめて削除することもできます | |
$ heroku config:unset 環境変数名 環境変数名 環境変数名 --app アプリ名 |
This file contains 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
$ heroku config:set 環境変数名=値 --app アプリ名 | |
# 複数の環境変数をまとめて設定することもできます | |
$ heroku config:set 環境変数名=値 環境変数名=値 環境変数名=値 --app アプリ名 |
This file contains 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
# 環境変数一覧を確認する | |
$ heroku config --app アプリ名 | |
# 環境変数一覧(JSON形式)を確認する | |
$ heroku config --app アプリ名 --json | |
# 環境変数一覧(シェル形式)を確認する | |
$ heroku config --app アプリ名 --shell | |
# 特定の環境変数の値を確認する |
This file contains 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
$ mvn test | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ----------------------< com.mycompany:myproject >----------------------- | |
[INFO] Building myproject 1.0-SNAPSHOT | |
[INFO] --------------------------------[ jar ]--------------------------------- | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ myproject --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] skip non existing resourceDirectory /Users/donchan922/Downloads/myproject/src/main/resources |
This file contains 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
Feature: sample karate test script | |
for help, see: https://github.com/intuit/karate/wiki/IDE-Support | |
Background: | |
* url 'https://jsonplaceholder.typicode.com' | |
Scenario: get all users and then get the first user by id | |
Given path 'users' | |
When method get | |
Then status 200 |