Skip to content

Instantly share code, notes, and snippets.

@Cerothen
Cerothen / nvidia_pve_passthrough.sh
Last active February 2, 2026 17:09
Script to manage Nvidia driver versions on proxmox hosts and in lxc containers. Execute in containers to install drivers in the container, or on the host to install anywhere (Selectable) | bash -c "$(wget -O - https://gist.githubusercontent.com/Cerothen/4a35e82ba18e653562016d506d983ac5/raw/e5a8dd24f718a7b39273c544020c178c14b5d949/nvidia_pve_pass…
#!/usr/bin/env bash
SHOW_VERSION_COUNT=20
USE_VERSION=""
RECOMMENDED_VERSION="580.105.08"
# Ingest Args (FUTURE NOT WORKING)
process_args() {
echo "Processing arguments for function: $@"
# Iterate while arguments exist
@Cerothen
Cerothen / nvidia_pve_passthrough.sh
Created February 2, 2026 17:00
Script to manage Nvidia driver versions on proxmox hosts and in lxc containers.
#!/usr/bin/env bash
SHOW_VERSION_COUNT=20
USE_VERSION=""
RECOMMENDED_VERSION="580.105.08"
# Ingest Args (FUTURE NOT WORKING)
process_args() {
echo "Processing arguments for function: $@"
# Iterate while arguments exist
#!/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 <andrew+github@awmoore.com>
* @version 2.1
*
**/