Skip to content

Instantly share code, notes, and snippets.

Avatar
💡

Hannes Körber hakoerber

💡
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am hakoerber on github.
  • I am hakoerber (https://keybase.io/hakoerber) on keybase.
  • I have a public key whose fingerprint is 973A E48D 71B7 6735 C471 2B5B B5C0 0253 0C6A 2053

To claim this, I am signing this object:

View gist:f62b8b84dc5f8c4f6c09e44fdf6498de
quassel-core:
service.running:
- name: {{ quassel_map.core.service }}
- enable: true
quassel-systemd:
file.managed:
- name: {{ quassel_map.core.systemd_file }}
...
- watch_in:
View server.conf
port 1194
proto udp
dev vpn-main
dev-type tap
# files
ca pki/main/ca.crt
cert pki/main/server.crt
key pki/main/server.key
tls-auth pki/main/ta.key 0
View client.conf
port 1194
proto udp
dev vpn-main
dev-type tap
# files
ca keys-main/ca.crt
cert keys-main/client.crt
key keys-main/client.key
tls-auth keys-main/ta.key 1
View genconfig.bash
#!/bin/bash
# main configuration file that is always used
MAIN_CONF="$HOME/.i3/config"
# temporary configuration file used for this session
SESSION_CONF="$HOME/.i3/session.config"
# directory that contains host specific configuration
CONF_DIR="$HOME/.i3/config.d"
# file that should be used when no host specific configuration present
DEFAULT_CONF="$CONF_DIR/default"
View gist:6702563
public void onClickBerufsschule(int Feierabend, int Start, int stunden,
int minuten) {
double rest = (double)((Feierabend - ((stunden - Start) + minuten)));
double restprozent = (double)(((rest /Feierabend) * 100.0));
if (restprozent > 100.0 || restprozent < 0.0) {