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
# Replace any file with suffix '*IntegrationTest.java' to a same file with '*IT.java' suffix. | |
find . -type f -name '*IntegrationTest.java' -exec sh -c 'x="{}"; mv "$x" "${x%"IntegrationTest.java"}IT.java"' \; |
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
curl -s https://api.github.com/orgs/<ORG_NAME>/repos\?per_page\=100 | jq '.[].html_url' | xargs -n 1 git clone |
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
final Query query = testEntityManager.getEntityManager() | |
.createNativeQuery("SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = SCHEMA()"); | |
final List result = query.getResultList(); |
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
"vim.handleKeys": { | |
"<C-w>": false, | |
"<C-x>": false, | |
"<C-c>": false, | |
"<C-v>": false | |
} |
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
# Prerequisite: | |
# Run powershell with admin privileges | |
$file = 'win-env.ps1' | |
(New-Object System.Net.WebClient).DownloadFile('https://raw.githubusercontent.com/jirkafm/my-env/master/win/win-env.ps1', $file) | |
Set-ExecutionPolicy Bypass -Scope Process -Force; | |
iex "./$file all" |
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/bash | |
# Author xortim, jirkafm | |
# Description Workaround for intel backlight brightness quirk. | |
# Script should be put into /usr/lib/systemd/system-sleep | |
case "${1}" in | |
post) | |
echo 1 > /sys/class/backlight/intel_backlight/brightness | |
cat /tmp/pre_suspend_brt > /sys/class/backlight/intel_backlight/brightness | |
;; |
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
diff --git a/com.diffplug.rcpdemo/rcpdemo.product b/com.diffplug.rcpdemo/rcpdemo.product | |
index d04163a..6403dd2 100644 | |
--- a/com.diffplug.rcpdemo/rcpdemo.product | |
+++ b/com.diffplug.rcpdemo/rcpdemo.product | |
@@ -39,55 +39,40 @@ | |
<plugin id="com.diffplug.rcpdemo"/> | |
<plugin id="com.diffplug.talks.rxjava_and_swt"/> | |
<plugin id="com.google.guava"/> | |
- <plugin id="io.reactivex.rxjava"/> | |
<plugin id="javax.inject"/> |
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
diff --git a/gradle.properties b/gradle.properties | |
index ac24286..eec74b2 100644 | |
--- a/gradle.properties | |
+++ b/gradle.properties | |
@@ -7,12 +7,12 @@ org=diffplug | |
# Build requirements | |
VER_JAVA=1.8 | |
-VER_GOOMPH=3.8.0 | |
+VER_GOOMPH=3.13.0 |