View .gitignore
# Created by https://www.gitignore.io/api/latex | |
# Edit at https://www.gitignore.io/?templates=latex | |
### LaTeX ### | |
## Core latex/pdflatex auxiliary files: | |
*.aux | |
*.lof | |
*.log | |
*.lot |
View uptime.sh
#!/bin/bash | |
BROKER="test.mosquitto.org" | |
TOPIC="Phill93/uptime" | |
sudo apt-get update | |
sudo apt-get install -y mosquitto-clients | |
while true; do | |
mosquitto_pub -r -h $BROKER -t $TOPIC -m "$(awk '{print int($1/3600)":"int(($1%3600)/60)":"int($1%60)}' /proc/uptime)" | |
ping -c 3 google.com |
View .pylintrc
[MASTER] | |
# A comma-separated list of package or module names from where C extensions may | |
# be loaded. Extensions are loading into the active Python interpreter and may | |
# run arbitrary code. | |
extension-pkg-whitelist= | |
# Add files or directories to the blacklist. They should be base names, not | |
# paths. | |
ignore=TMP |
View addons
https://www.curseforge.com/wow/addons/all-the-things | |
https://www.curseforge.com/wow/addons/auctioneer | |
https://www.curseforge.com/wow/addons/bagnon | |
https://www.curseforge.com/wow/addons/bagnon-scrap | |
https://www.curseforge.com/wow/addons/details | |
https://www.curseforge.com/wow/addons/gathermate2 | |
https://www.curseforge.com/wow/addons/scrap | |
https://www.curseforge.com/wow/addons/tomtom | |
https://www.curseforge.com/wow/addons/wowgatheringnodes | |
https://www.curseforge.com/wow/addons/pawn |
View collect_isos.sh
#!/bin/bash | |
echo "Debian 9 Netinstall" | |
rsync --no-motd -P ftp-stud.hs-esslingen.de::debian-cd/current/amd64/iso-cd/debian-9.4.0-amd64-netinst.iso ./ | |
echo "Ubuntu 16.04 live" | |
rsync --no-motd -zhhP rsync://cdimage.ubuntu.com/cdimage/xenial/daily-live/current/xenial-desktop-amd64.iso . | |
rsync --no-motd -zhhP rsync://cdimage.ubuntu.com/cdimage/xenial/daily-live/current/xenial-desktop-i386.iso . | |
rsync --no-motd -zhhP rsync://cdimage.ubuntu.com/cdimage/ubuntu-server/xenial/daily/current/xenial-server-amd64.iso . | |
echo "Ubuntu 18.04 live" | |
rsync --no-motd -zhhP rsync://cdimage.ubuntu.com/cdimage/bionic/daily-live/current/bionic-desktop-amd64.iso . |
View usbboot.sh
#!/bin/bash | |
IN=$1 | |
OUT=build/$1 | |
# Password below is set on for Pi Zeros default password AND controller | |
PASSWORD=clusterhat | |
# Cleanup any previous attempts | |
rm -i $OUT |
View dsm_service.conf
object CheckCommand "dsm_snmp" { | |
command = [PluginDir + "/check_snmp_synology"] | |
arguments = { | |
"-u" = "$snmp3_user$" | |
"-p" = "$snmp3_password$" | |
"-2" = "$snmp_community$" | |
"-h" = { | |
required = true | |
value = "$snmp_hostname$" |
View ansible-role-test.sh
#!/bin/bash | |
# | |
# Ansible role test shim. | |
# | |
# Usage: [OPTIONS] ./tests/test.sh | |
# - distro: a supported Docker distro version (default = "centos7") | |
# - playbook: a playbook in the tests directory (default = "test.yml") | |
# - cleanup: whether to remove the Docker container (default = true) | |
# - container_id: the --name to set for the container (default = timestamp) |