[Little dick scripts]
Eventually helpfull code-snippets for your daily tasks.
Most are helper tools and might lack secure features so treat them as insecure!
-
Bash
-
adduser.sh π
Adds user, generates keys and disables password access
-
cfips.sh π
Get list of Cloudflare IPs to allow / allow only in Nginx. Run like once a day.
-
mkfswap.sh π
Swap file. Good for VM that has no Swap assigned.
-
ramdisk.sh π
Creates and mounts a proper RAMdisk of custom size.
-
unsnapd.sh
Get rid of snapd & cloud-init.
-
aria2c.sh
Run Aria2c in a screen
-
vpnc.sh
VPNC connect & test script (used to connect to fritzbox vpn)
-
ovpn.sh
Openvpn connect & test script
-
-
Batch
-
enc.bat
Run ffmpeg for each file in subfolder βinβ and store output in subfolder βoutβ.
-
rmflang.bat
Removes foreign languages from mkv media with ffmpeg. Drag βn drop.
-
-
PHP
-
Mailcow
-
Have SOGo as default and admin panel under /adminMost simple workaround for the lacking options for issue #393.This workaround is no longer needed as the βMoorch 2025β (2025-03) update moved the admin login to /admin by default.
-
-
Nextcloud
-
config.php
My nextcloud config.
-
-
-
Webserver
-
Nginx
-
ssl-nginx-strict.conf π
SSLLabs A+ & no WEAK Cyphers
-
tuning.conf π
-
Proxy map port subdomain
<port>.example.com -> proxy_pass 192.168.0.10:<port> - E.g.: 8443.example.com -> proxy_pass 192.168.0.10:8443
-
-
π β recently updated