Skip to content

Instantly share code, notes, and snippets.

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

Birger Johan Nordølum MindTooth

⚙️
...
View GitHub Profile
@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
@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 January 9, 2026 08:45
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
@nat-418
nat-418 / why-tcl.md
Last active December 27, 2025 05:32
Why Tcl?

Why Tcl?

Introduction

I use [Tcl] as my scripting language of choice, and recently someone asked me why. This article is an attempt to answer that question.

Ousterhout's dichotomy claims that there are two general categories of programming languages:

@kconner
kconner / macOS Internals.md
Last active January 21, 2026 01:06
macOS Internals

macOS Internals

Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.

Starting Points

How to use this gist

You've got two main options: