Importer for HIBP Passwords (API)
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
DOMAIN_CHAIN_LOCATION="ssh:example.net:/home/yourusername/tmp.pem" | |
DOMAIN_KEY_LOCATION="ssh:example.net:/home/yourusername/tmp.key" | |
RELOAD_CMD="ssh example.net -- sudo /path/to/letsencrypt.sh" |
Tested at Proxmox VE 7.x – Debian 11 (Bullseye)
- Save the shell script anywhere and modify
BACKUP_UPLOAD
path to fit your needs. - Create a
~/.netrc
file as root and paste your FTP credentials:
machine backup-destination.example.net
login yourstupidremoteusername
password yoursecretpassword
MASTODON 3.5.X/4.1.x -- DEBIAN 11/12 -- LAN TEST INSTALLATION (NOT FOR PRODUCTION!)
# ln -s /usr/bin/yarnpkg /usr/local/bin/yarn
# apt install imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev \
git-core g++ libprotobuf-dev protobuf-compiler pkg-config \
nodejs gcc autoconf bison build-essential libssl-dev \
libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev \
libffi-dev libgdbm-dev nginx redis-server redis-tools \
postgresql postgresql-contrib libidn11-dev libicu-dev \
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
ACTION=="bind", SUBSYSTEMS=="usb", ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="32d2", TAG+="systemd", ENV{SYSTEMD_WANTS}="usbcopy-canon-m50.service" | |
ACTION=="bind", SUBSYSTEMS=="usb", ATTRS{idVendor}=="04b0", ATTRS{idProduct}=="019a", TAG+="systemd", ENV{SYSTEMD_WANTS}="usbcopy-nikon-s9900.service" | |
#ACTION=="bind", SUBSYSTEMS=="usb", ATTRS{idVendor}=="0123", ATTRS{idProduct}=="4567", ENV{ID_SERIAL_SHORT}=="89abcdef", TAG+="systemd", ENV{SYSTEMD_WANTS}="usbcopy-example.service" |
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/sh | |
week=$((($(date +%-d) + 6) / 7)) | |
status=0 | |
if [ "$week" -lt 5 ] | |
then | |
for disk in /dev/ada? | |
do | |
if [ -e "$disk" ] | |
then |
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/sh | |
# | |
# Calomel.org | |
# https://calomel.org/zfs_health_check_script.html | |
# FreeBSD ZFS Health Check script | |
# zfs_health.sh @ Version 0.18.2+fnx1 | |
# Check health of ZFS volumes and drives. On any faults send email. | |
### DISCLAIMER AND CHANGES |