Skip to content

Instantly share code, notes, and snippets.

View ShoGinn's full-sized avatar
🏠
Working from home

Scott Ginn ShoGinn

🏠
Working from home
  • Certus Core
  • Tampa, FL
  • 23:15 (UTC -05:00)
  • LinkedIn in/scottdginn
View GitHub Profile
@ShoGinn
ShoGinn / gitbranches.md
Created September 20, 2024 16:25 — forked from nicholashoule/gitbranches.md
Git prune and delete merged local branches

Git prune and delete merged local branches

Prune
git remote prune origin --dry-run
git remote prune origin
@ShoGinn
ShoGinn / nvidia_allocator.py
Last active August 27, 2024 00:22 — forked from guruevi/nvidia_allocator.py
Proxmox vGPU Hook Script
#!/usr/bin/env python3
import logging
import os
import re
import sys
from pathlib import Path
# Thanks to: https://gist.github.com/guruevi/7d9673c6f44f49b1841eaf49bbd727f9
# This script is used to set the vGPU type for NVIDIA vGPU passthrough in Proxmox VE.
# The script is called from the Proxmox VE hook scripts.