Skip to content

Instantly share code, notes, and snippets.

schlady schlady

  • Greifswald, Germany
Block or report user

Report or block schlady

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
schlady / gsl
Created Jul 27, 2017
GSL environment module file
View gsl
# statements here:
# prepend-path, append-path, setenv, unsetenv, prereq, conflict, module
set topdir /opt/gsl/gsl-2.4
prepend-path PATH $topdir/bin
prepend-path LD_LIBRARY_PATH $topdir/lib
prepend-path LIBRARY_PATH $topdir/lib
prepend-path C_INCLUDE_PATH $topdir/include
schlady /
Created Oct 31, 2016
Autogenerated vnstat status page
set -e
IFACES=$(ls /var/lib/vnstat/)
for iface in $IFACES; do
/usr/bin/vnstati -i ${iface} -h -o ${TARGET}/${iface}_hourly.png
/usr/bin/vnstati -i ${iface} -d -o ${TARGET}/${iface}_daily.png
schlady / dsmcad.service
Created Oct 12, 2016
systemd service file for the Tivoli Storage Manager Client Daemon dsmcad
View dsmcad.service
Description=Tivoli Storage Manager Client Daemon
schlady / fastd.conf
Last active Jul 31, 2016
fastd config
View fastd.conf
log level warn;
hide ip addresses yes;
hide mac addresses yes;
interface "hgwVPN";
method "salsa2012+umac"; # new method (faster)
method "salsa2012+gmac";
method "null+salsa2012+umac";
method "null+salsa2012+gmac";
schlady / bind.conf.local
Last active May 8, 2016
bind config for (
View bind.conf.local
// Do any local configuration here
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
masters "ns-master-hgw" {; 2a01:a380:8408:1:216:3eff:fe2b:63b9;
schlady / mathlm.service
Created Nov 11, 2015
systemd service file for Mathematica network license manager MathLM
View mathlm.service
Description=Mathematica network license manager
ExecStart=/usr/sbin/mathlm -foreground -logfile /var/log/mathlm.log -pwfile /opt/Wolfram/MathLM/mathpass
# Single target scan:
nmap [target]
# Scan from a list of targets:
nmap -iL [list.txt]
# iPv6:
nmap -6 [target]
# OS detection:
schlady / New iTerm Window.workflow
Created Sep 29, 2015
Create a new iTerm window wherever you are. Save this gist as an Automator Service and assign a shortcut to it.
View New iTerm Window.workflow
if application "iTerm" is running then
tell application "iTerm"
set myterm to (make new terminal)
tell myterm
launch session "Default"
end tell
end tell
activate application "iTerm"
schlady /
Created Feb 24, 2015
A self destroying tmux session
alias tmuxn='tmux new-session -s $$'
_trap_exit() { tmux kill-session -t $$; }
trap _trap_exit EXIT
schlady /
Created Feb 3, 2015
continuously stream a file line by line like 'tail -f'
def filestream(file, interval=1.0):
with open(file) as f:
while True:
where = f.tell()
line = f.readline()
if not line:
yield line
You can’t perform that action at this time.