This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#%Module1.0 | |
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
IFACES=$(ls /var/lib/vnstat/) | |
TARGET=/var/www/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Tivoli Storage Manager Client Daemon | |
After=network.target | |
[Service] | |
Type=forking | |
ExecStart=/usr/bin/dsmcad | |
Restart=on-abort | |
GuessMainPID=no |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// 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" { | |
82.193.238.154; 2a01:a380:8408:1:216:3eff:fe2b:63b9; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Mathematica network license manager | |
After=network.target | |
[Service] | |
ExecStart=/usr/sbin/mathlm -foreground -logfile /var/log/mathlm.log -pwfile /opt/Wolfram/MathLM/mathpass | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Single target scan: | |
nmap [target] | |
# Scan from a list of targets: | |
nmap -iL [list.txt] | |
# iPv6: | |
nmap -6 [target] | |
# OS detection: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if application "iTerm" is running then | |
tell application "iTerm" | |
activate | |
set myterm to (make new terminal) | |
tell myterm | |
launch session "Default" | |
end tell | |
end tell | |
else | |
activate application "iTerm" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias tmuxn='tmux new-session -s $$' | |
_trap_exit() { tmux kill-session -t $$; } | |
trap _trap_exit EXIT |
NewerOlder