A collection of random scripts I use on various platforms.
batch-resize.applescript- AppleScript to batch resize images using Preview on macOSelement-styles.html- Basic style guide for various HTML elementsRandom WordPress Functions.php- Collection of random WordPress functionsXMLRPC Brute Protection.php- WordPress code to disable certain XMLRPC methods to prevent brute force attacks
- Link Certs - (Stupidly) simple scripts to link LetsEncrypt certificate files between two machines
linkcert.sh- Link latest certificate files on host machine from LetsEncrypt folder to target foldercopycert.sh- Copy certificate files from target folder on host machine and retsart Apache
etcbak.sh- (Stupidly) simple Proxmox /etc folder backup scriptgenpass.sh- Shell function to generate a random password of specified length using letters, digits, and symbols.iscsi-mount.sh- Script to connect iscsi target, mount local storage, and restart dependent servicesport-up.sh- (Stupidly) simple Portainer upgrade scriptsysinfo.sh- System info script (for MOTD)killvm.sh- Proxmox script to force kill virtual machine
reset-mounts.bat- Reset network drive mounts on workstation