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
import sys | |
import urllib.request | |
import hashlib | |
import re | |
# Example input: | |
# - kotlin-stdlib-1.9.20.module (org.jetbrains.kotlin:kotlin-stdlib:1.9.20) from repository MavenRepo | |
# - kotlin-stdlib-jdk7-1.7.10.pom (org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10) from repository MavenRepo | |
# - kotlin-stdlib-jdk7-1.8.0.jar (org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.0) from repository MavenRepo |
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
# ~/.gradle/init.d/build-sound.gradle | |
allprojects { project -> | |
project.gradle.buildFinished { result -> | |
if (result.failure != null) { | |
project.exec { | |
# Notification sounds from here: https://github.com/jamesshore/livestream/tree/rot13-cli%2Bservice/build/sounds | |
commandLine 'sh', '-c', 'mpg123 /home/raphiz/music/notifications/fail.mp3 > /dev/null 2>&1' | |
} | |
} else { | |
project.exec { |
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
import org.http4k.client.JavaHttpClient | |
import org.http4k.core.Filter | |
import org.http4k.core.Request | |
import org.http4k.core.then | |
import org.http4k.filter.DebuggingFilters | |
import org.http4k.filter.RequestFilters | |
import org.http4k.filter.TrafficFilters | |
import org.http4k.server.SunHttp | |
import org.http4k.server.asServer | |
import org.http4k.traffic.ReadWriteCache |
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 -v -L https://purl.org/net/pkgwpub/tectonic-default -o tlextras-2016.0r4.tar | |
> GET /net/pkgwpub/tectonic-default HTTP/1.1 | |
> Host: purl.org | |
> User-Agent: curl/7.54.1 | |
> Accept: */* | |
> | |
{ [5 bytes data] | |
< HTTP/1.1 302 FOUND | |
< Server: nginx/1.4.6 (Ubuntu) | |
< Date: Wed, 09 Aug 2017 05:07:28 GMT |
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
version: '2' | |
services: | |
redmine: | |
image: redmine | |
ports: | |
- 0.0.0.0:8080:3000 | |
environment: | |
REDMINE_DB_MYSQL: db | |
REDMINE_DB_PASSWORD: example | |
depends_on: |
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
login: | |
username: rzimmerm | |
email: [email protected] | |
sync: | |
global-exclude: | |
- .DS_Store | |
- Thumbs.db | |
conflict-handling: |
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
[Unit] | |
Description=User suspend actions | |
Before=sleep.target | |
[Service] | |
User=rzi # Replace with your user id - %I does not work somehow :/ | |
Type=forking | |
Environment=DISPLAY=:0 | |
ExecStart=/usr/bin/blurlock # Or i3lock | |
ExecStartPost=/usr/bin/sleep 1 |
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
Section "InputClass" | |
Identifier "system-keyboard" | |
MatchIsKeyboard "on" | |
Option "XkbLayout" "us_umlauts" | |
Option "XkbModel" "pc105" | |
Option "XkbVariant" "" | |
Option "XkbOptions" "terminate:ctrl_alt_bksp,grp:alt_shift_toggle" | |
EndSection |
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
default partial alphanumeric_keys modifier_keys | |
xkb_symbols "basic" { | |
name[Group1]= "English (German Umlauts)"; | |
key <TLDE> { [ grave, asciitilde ] }; | |
key <AE01> { [ 1, exclam ] }; | |
key <AE02> { [ 2, at ] }; | |
key <AE03> { [ 3, numbersign ] }; | |
key <AE04> { [ 4, dollar ] }; |
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
### Keybase proof | |
I hereby claim: | |
* I am raphiz on github. | |
* I am raphiz (https://keybase.io/raphiz) on keybase. | |
* I have a public key whose fingerprint is E9C7 3898 CF7C 96D8 D321 37DF 522C C665 31B5 A199 | |
To claim this, I am signing this object: |
NewerOlder