Skip to content

Instantly share code, notes, and snippets.


Tobias Schneck toschneck

View GitHub Profile
toschneck /
Last active Nov 24, 2021


Alerts history

sum(ALERTS_FOR_STATE) by (alertname)


etcd too long response

{namespace="kube-system"} |~ "took too long .* to execute"

Keybase proof

I hereby claim:

  • I am toschneck on github.
  • I am toschneck ( on keybase.
  • I have a public key whose fingerprint is 8488 0A3F 1D08 9725 2CA5 1735 F3A9 BE68 73C4 2574

To claim this, I am signing this object:

View tmp
dpkg --get-selections | grep 16.04 | awk '{print $1}' | xargs apt remove -y
View gist:d702abce1c783d08cd9d53a6a2a5ac39
# add this to your bash env
# Set git user and signing key
function git-set-user() {
if [ "$#" -lt "1" ]
echo "Missing required arguments" >&2
echo "Usage: $0 EMAIL [PATH_TO_GIT_REPO]" >&2
exit 65
toschneck /
Last active Oct 19, 2021
Install Docker and Docker-Compose bash completion
#!/usr/bin/env bash
set -e
echo "install docker bash completion"
curl -L$(docker version --format '{{.Server.Version}}')/contrib/completion/bash/docker -o /etc/bash_completion.d/docker
echo "install docker-compose bash completion"
curl -L$(docker-compose version --short)/contrib/completion/bash/docker-compose -o /etc/bash_completion.d/docker-compose
echo ".... done!"
toschneck /
Last active Aug 29, 2015
Sakuli Requirements

Sakuli-Client (test execution worker)

  • OS: Windows or Linux (Ubuntu Desktop 14.04 LTS, OpenSUSE 13.2).
    • if virtualized: Hypervisor guest additions for best performance
  • RAM: 3GB+
  • Firewall: Port 9999 (Sahi Proxy), Port 4730 (Gearman Queue)
  • a user account with sudo/admin rights (only for the installation)
  • any screen locking mechanisms should be disabled
  • Sakuli needs a reliable and predictable desktop environment: make sure that there are no pop-up windows of services or applications
  • Sakuli versions including v0.4.* need Java JRE 7; all newer versions are based on Java JRE 8 (recommended)
  • Test account - it is recommend to use a separate account for the test execution: