Skip to content

Instantly share code, notes, and snippets.

View schtobia's full-sized avatar

Tobias Schmidl schtobia

View GitHub Profile
@schtobia
schtobia / kill-zombies.sh
Last active August 1, 2016 07:13
Kill all zombies, with increasing vigor
#! /bin/sh
for current_signal in HUP TERM KILL SEGV;
do
ZOMBIES=$(ps -A -ostat,ppid | sed -rn 's/^[zZ][^[:space:]]*[[:space:]]*([0-9]+)/\1/p' | sort -nu);
[ -n "$ZOMBIES" ] && { kill -s $current_signal $ZOMBIES; sleep 2; } || true;
done
@schtobia
schtobia / keybase.md
Last active August 29, 2015 14:19
keybase.md

Keybase proof

I hereby claim:

  • I am schtobia on github.
  • I am schtobia (https://keybase.io/schtobia) on keybase.
  • I have a public key whose fingerprint is BA97 2630 7B2C C314 33AE F496 6BA9 A5C0 5D01 15D2

To claim this, I am signing this object: