Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
# bash -c "$(wget -O - https://gist.githubusercontent.com/Cerothen/fa1d2fbeda964d7e8f9f868094987bae/raw/9bdeb56386ad9ff5ec947064c50a7dff4445dfcc/gistfile1.txt)"
# Make sure we arent running on a PVE host!
if [ -d "/etc/pve" ] || [ ! -z "$(command -v pvenode)" ]; then
echo "Do not run this on a Proxmox host!"
exit 1
fi
@Cerothen
Cerothen / cert-domains.sh
Last active January 4, 2018 04:44
LetsEncrypt
#!/usr/bin/env bash
# This file is stored in the home directory on my system, update as you would see fit.
# certbot certonly --webroot -w /var/lib/haproxy $(/home/cert-domains.sh)
domainlist=(
'host.tld'
'sub001.host.tld'
'sub002.host.tld'
'sub003.host.tld'
@Cerothen
Cerothen / AdvancedWindowSnap.ahk
Last active April 2, 2022 03:36 — forked from AWMooreCO/AdvancedWindowSnap.ahk
Advanced Window Snap is a script for AutoHotKey that expands upon Windows built-in window-snapping hotkeys.
/**
* Advanced Window Snap (Extended
* Snaps the Active Window to one of nine different window positions.
*
* @Editing author Jarrett Urech
* @Original author Andrew Moore <[email protected]>
* @version 2.1
*
**/