Skip to content

Instantly share code, notes, and snippets.

Enable & Using vGPU Passthrough

This gist is almost entirely not unlike Derek Seaman's awesome blog:

Proxmox VE 8: Windows 11 vGPU (VT-d) Passthrough with Intel Alder Lake

As such please refer to that for pictures, here i will capture the command lines I used as i sequence the commands a little differently so it makes more logic to me.

This gists assumes you are not running ZFS and are not passing any other PCIE devices (as both of these can require addtional steps - see Derek's blog for more info)

This gist assumes you are not running proxmox in UEFI Secure boot - if you are please refer entirely to dereks blog.

@anomixer
anomixer / Remove_VMwareTools.ps1
Created August 28, 2024 03:23 — forked from broestls/Remove_VMwareTools.ps1
Force removal of VMware Tools, Program Files, and Windows Services
# This script will manually rip out all VMware Tools registry entries and files for Windows 2008-2019
# Tested for 2019, 2016, and probably works on 2012 R2 after the 2016 fixes.
# This function pulls out the common ID used for most of the VMware registry entries along with the ID
# associated with the MSI for VMware Tools.
function Get-VMwareToolsInstallerID {
foreach ($item in $(Get-ChildItem Registry::HKEY_CLASSES_ROOT\Installer\Products)) {
If ($item.GetValue('ProductName') -eq 'VMware Tools') {
return @{
reg_id = $item.PSChildName;
@anomixer
anomixer / msoffice_in_linux.md
Created November 3, 2024 16:44 — forked from eylenburg/msoffice_in_linux.md
Installing Microsoft Office in Linux

Step by step guide: How to install Microsoft Office in any Linux distribution

There are multiple options how to install MS Office on Linux.

VM-based - Integrate Windows apps running in a Windows virtual machine as native-looking in Linux

  1. Winapps, based on KVM, QEMU, Docker/Podman and FreeRDP. Still actively maintained (getting Github commits). Decribed below
  2. Cassowary, based on KVM, QEMU, libvirt/virt-manager, and FreeRDP. Has a helpful GUI and apparently can auto-suspend the VM when no Windows app is in use. Last release in Feb 2022 and seems to be abandoned.

The VM-based options means can run Office 2021 or Office 365 including all apps, but while the Windows apps themselves run flawlessly (as they're running on real Windows) there's various freerdp-related bugs you may encounter.

@anomixer
anomixer / xrdp-intel-setup.sh
Created November 8, 2024 06:39 — forked from Nexarian/xrdp-intel-setup.sh
Setup for Intel acceleration and XRDP
#!/usr/bin/env bash
set -e
sudo -v
sudo apt-get update
sudo apt-get dist-upgrade -y
sudo apt-get autoremove -y
@anomixer
anomixer / stopwatch.ps1
Created January 23, 2026 04:19
powershell stopwatch
Add-Type -AssemblyName System.Windows.Forms
# Create a new form
$form = New-Object System.Windows.Forms.Form
$form.Text = "Stopwatch" # Form title
$form.Size = New-Object System.Drawing.Size(220, 130) # Set a smaller height for the form
$form.StartPosition = "CenterScreen" # Center the form on the screen
# Create a label to display time
$label = New-Object System.Windows.Forms.Label
@anomixer
anomixer / devops_intuitive_commands.md
Last active August 20, 2026 07:13
devops_intuitive_commands.md

💻 全人類直覺派 DevOps 指令革命大表 (White-Space Revolution)

本文件收錄了由「Windows 友善命名之魂」爆改後的直覺版指令集。全面砸碎現行科技界充斥的「拔河、碼頭海運、希臘神話、植物學」等反人類中二命名,將其降維打擊成符合人類大腦真實直覺的白話文語系。


🐙 1. Git 革命大表 (從植物學回歸交功課)

現行的 Git 充滿了拔河(Pull/Push)與植物學(Branch),讓新手在 Terminal 前大腦嚴重結網。校正回歸後的系統改採「職場/家庭層級模型」,寫程式直接變成高雅的「數位出版藝術家」。