Skip to content

Instantly share code, notes, and snippets.

View MindTooth's full-sized avatar
⚙️
...

Birger Johan Nordølum MindTooth

⚙️
...
View GitHub Profile
@jake-stewart
jake-stewart / color256.md
Last active March 9, 2026 20:31
Terminals should generate the 256-color palette

Terminals should generate the 256-color palette from the user's base16 theme.

If you've spent much time in the terminal, you've probably set a custom base16 theme. They work well. You define a handful of colors in one place and all your programs use them.

The drawback is that 16 colors is limiting. Complex and color-heavy programs struggle with such a small palette.

@niklasfrick
niklasfrick / kuberc
Last active January 5, 2026 10:10
Kubectl user preferences (kuberc)
apiVersion: kubectl.config.k8s.io/v1beta1
kind: Preference
# Default output and behavior
defaults:
- command: get
options:
- name: output
default: wide
- command: delete
# lm-sensors configuration for the Asus Pro WS TRX50-SAGE WIFI motherboard
#
# Recommended drivers: asus-ec-sensors, nct6775, spd5118
chip "nct6798-isa-0290"
# Voltage labels are from HWiNFO, except Core0/1 and VDD_11_S3 are from the BIOS
label in0 "CPU Core0"
compute in0 @*1.11, @/1.11
label in1 "+5V"
compute in1 @*5, @/5
@gdesatrigraha
gdesatrigraha / vfio-amd-rx-9070-xt-gpu-passthrough.md
Last active December 11, 2025 00:01
VFIO AMD RX 9070 XT GPU Passthrough
@sovajri7
sovajri7 / vGPU_FastAPI-DLS_Patched_Drivers.md
Last active February 19, 2026 06:47
Install vGPU & Bypass NVIDIA License on Proxmox using FastAPI-DLS and Patched Drivers

Install vGPU & Bypass NVIDIA License on Proxmox using FastAPI-DLS and Patched Drivers

This guide explains how to run NVIDIA vGPU on Proxmox using FastAPI-DLS and patched drivers, without relying on the official NVIDIA License Server.

It is intended for users with supported or partially supported GPUs (such as RTX A4000 / A5000 / A6000) who want to unlock vGPU functionality in their virtual machines (Ubuntu or Windows) for AI (Ollama, vLLM), compute, or media workloads.

You need to check if your GPU is supported : https://docs.nvidia.com/vgpu/gpus-supported-by-vgpu.html

If not, you can still use vGPU by following this tutorial and mine to enable vGPU on consumer GPUs : https://gitlab.com/polloloco/vgpu-proxmox

@scottisloud
scottisloud / vivaldi-1pass.sh
Created June 20, 2025 14:06 — forked from kiwimato/vivaldi-1pass.sh
Adds Vivaldi as allowed browsers for 1Password linux app
sudo mkdir /etc/1password
echo vivaldi-bin | sudo tee /etc/1password/custom_allowed_browsers
sudo chown root:root /etc/1password/custom_allowed_browsers
sudo chmod 755 /etc/1password/custom_allowed_browsers
@thesamesam
thesamesam / xz-backdoor.md
Last active March 9, 2026 22:51
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.

Update: I've disabled comments as of 2025-01-26 to avoid everyone having notifications for something a year on if someone wants to suggest a correction. Folks are free to email to suggest corrections still, of course.

Background

@lobuhi
lobuhi / gist:0e2d761ae0c0d8a8bb11fa20c4aee025
Created February 2, 2024 12:41
Kyverno Validation Policy for CVE-2024-21626
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
name: disallow-proc-self-fd-workingdir
spec:
validationFailureAction: enforce
background: true
rules:
- name: check-workingDir
match:
@aatizghimire
aatizghimire / XRDP-MultiUser-Installation
Last active November 26, 2025 22:55
This is short tutorial to install XRDP on Ubuntu for multi-user Remote desktop connection.
--------------------------------------------
Xrdp Server (Remote Desktop) Installation:
--------------------------------------------
Tested in Ubuntu 22.04.03 LTS
1. Update Environment
$ sudo apt-get update
$ sudo apt-get upgrade