Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block girst

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
# run this script form the vt220 to set up terminal width, keyboard shortcuts and other stuff.
stty rows 24 cols 132
export TERM=vt220
export LANG=en_GB.iso88591
# vim: `:set termencoding=iso88591`
echo -en "\eP1;1|17/5B\e\\" # Shift+F6 = [
girst /
Last active Apr 5, 2019
Simple Linux Load Balancing with `iproute2`
# Load balance multiple internet connections. Requires iproute2, awk and grep.
# (C) 2016 Tobias Girstmair,, GPLv2
# Also useful: speedometer -l -r eth1 -t eth1 -m $(( 1024 * 1024 * 3 / 2 ))
# Not much user error checking is done - only pass working network connections
# script needs root to work and at least two interfaces to be useful
[ $EUID -eq 0 -a $# -ge 2 ] || {
echo "Usage (as root): $0 iface1[:weight1] iface2[:weight2] ..." >&2
girst /
Last active Apr 5, 2019
`jj` - i3 tool for various tasks

i3tool by


This is a simple program that lets you start programs / perform common tasks with very little key strokes.

Released under the GNU GPLv2. You can download a copy of the license from


View derstandard-dl.usr.js
// ==UserScript==
// @name Epaper Downloader
// @author Tobias Girstmair
// @namespace net.isticktoit.epaperdl-v1.1
// @description Prepare the download of the currently opended issue
// @include*
// @version 1.2
// @grant none
// ==/UserScript==
girst / pizero.php
Created Mar 2, 2016
Pi Zero Availability Checker (Webserver Version)
View pizero.php
<meta http-equiv="refresh" content="60">
$ctx = stream_context_create(array('http'=>
'timeout' => 10, //10 Seconds
girst / asciiplayer
Last active May 4, 2019
PornHub ASCII Player
View asciiplayer
#PornHub ASCII player 1.0
#Copyright Tobias Girstmair
#Licenced under GPLv3 (GNU Public Licence)
#Do not remove this notice
progName="PornHub / YouPorn ASCII Player v1.0"
playMode=0 # 0=vlc, 1=vlc new window, 2=mplayer, 3=mplayer new window
You can’t perform that action at this time.