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
#! /bin/sh | |
if [ $# -ne 2 ] | |
then | |
echo "Usage: $0 KEY_NAME PASSWORD" | |
exit 1 | |
fi | |
keytool -genkey -v -keystore keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -storepass $2 -alias $1 -keypass $2 |
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
Assert: B87BD5 | |
Error: F44336 | |
Warning: FFC107 | |
Info: 4CAF50 | |
Debug: 2196F3 | |
Verbose: BBBBBB (standard Console color) |
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
class Standard(val system: String, val code: String) { | |
companion object | |
} | |
object _Extension { | |
val example1 = Standard("1", "1") | |
object SubGroup { | |
val example2 = Standard("1", "2") | |
} |
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
alias adbApps="adb shell ps | grep 'u0_a\d\+'" | |
alias adbDumpActivity="adb shell dumpsys activity top" | |
alias adbResetPermissions="adb shell pm reset-permissions" | |
alias adbSetLocaleToFr="adb shell am start -n net.sanapeli.adbchangelanguage/.AdbChangeLanguage -e language fr -e country FR" | |
alias adbSetLocaleToEn="adb shell am start -n net.sanapeli.adbchangelanguage/.AdbChangeLanguage -e language en -e country US" | |
adbSetLocaleTo() { | |
adb shell am start -n net.sanapeli.adbchangelanguage/.AdbChangeLanguage -e language $1 -e country $2 | |
} | |
adbKillApp() { |
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
interface Matcher<T> { | |
boolean matches(T decisions); | |
} | |
class DecisionNodeException extends Exception { | |
public DecisionNodeException(String message) { | |
super(message); | |
} | |
} |
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
javascript:(function(){ | |
var url = location.href; | |
const regex = /(https:\/\/docs\.google\.com\/spreadsheets\/d\/[^/]+)\/?.*#gid=(\w+)/; | |
const subst = `$1/export?format=xlsx&gid=$2`; | |
window.open(url.replace(regex, subst)); | |
})() |