This file contains 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/bash | |
set -o xtrace | |
scan_dir=/external/scan | |
datetime=`date +"%Y-%m-%d_%H-%M-%S"` | |
filename=$SCANBD_ACTION_$SCANBD_FUNCTION-$datetime | |
cd /tmp | |
scanimage --source="ADF Duplex" -d $SCANBD_DEVICE --format=tiff --resolution 600 --mode Color --page-width=210 --page-height=297 --batch=${filename}_p%04d.tiff | |
tiffcp ${filename}_p*.tiff $filename.tiff |
This file contains 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
# 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 |
This file contains 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/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 |
This file contains 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
[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 |
This file contains 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
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 |
This file contains 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/bash | |
echo "Debian 11 Netinstall" | |
rsync --no-motd -P ftp-stud.hs-esslingen.de::debian-cd/current/amd64/iso-cd/debian-11.*-amd64-netinst.iso ./ | |
echo "Ubuntu 23.10 live" | |
rsync --no-motd -zhhP rsync://cdimage.ubuntu.com/cdimage/daily-live/current/mantic-desktop-amd64.iso . | |
rsync --no-motd -zhhP rsync://cdimage.ubuntu.com/cdimage/ubuntu-server/daily-live/current/mantic-live-server-amd64.iso . | |
echo "Ubuntu 22.04 live" | |
rsync --no-motd -zhhP rsync://cdimage.ubuntu.com/cdimage/jammy/daily-live/current/jammy-live-desktop-amd64.iso . | |
rsync --no-motd -zhhP rsync://cdimage.ubuntu.com/cdimage/ubuntu-server/jammy/daily-live/current/jammy-live-server-amd64.iso . |
This file contains 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/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 |
This file contains 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
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$" |
This file contains 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/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) |