Skip to content

Instantly share code, notes, and snippets.

Convert NVIDIA GPU Power (W) → Temperature Sensor for Fan Control
This guide shows how to convert NVIDIA GPU power usage (watts) into a temperature-style sensor that can be used inside Fan Control.
The method works by:
Reading GPU power draw using NVIDIA System Management Interface
Converting watts → percentage of GPU TDP
@doggeddalle
doggeddalle / coolercontrol graph by gpu wattage.md
Last active March 10, 2026 09:27
coolercontrol graph by gpu wattage - [cheat edition if you cannot be bothered getting vram temps, needs testing]

Guide: Custom Fan Profile in CoolerControl Based on GPU Power (Watts)

This guide creates a custom file sensor in CoolerControl to base fan curves on GPU power draw (via nvidia-smi), scaled to a fake temperature (0–100°C) for any GPU TDP. Edit TDP value in script for your GPU (e.g., 350W for RTX 3090).

Prerequisites

  • NVIDIA GPU with nvidia-smi installed.
  • CoolerControl on Linux.
  • Run commands as user or sudo where needed.

Step 1: Create Power-to-Temp Script

Create ~/gpu_power_to_temp.sh:

@doggeddalle
doggeddalle / youtubecuntery.txt
Created February 19, 2026 12:37
youtubecuntery.txt
youtube.com##.ytp-ce-element-show
youtube.com##.ytp-ce-element
youtube.com##.ytp-cards-teaser-text
youtube.com##.ytp-cards-button-icon-default
youtube.com##.annotation-type-text.annotation
youtube.com##.ytp-scroll-min.ytp-pause-overlay
youtube.com###offer-module > .ytd-watch.style-scope
youtube.com##.annotation-type-text.annotation-popup-shape.annotation-shape
youtube.com##.annotation-type-text.annotation-speech-shape.annotation-shape
youtube.com##.annotation-type-text.annotation-popup-shape.annotation-shape:nth-of-type(3)
# Core PlayStation domains
playstation.com
playstation.net
sonyentertainmentnetwork.com
# Authentication / Account
auth.api.sonyentertainmentnetwork.com
auth.api.sonyentertainmentnetwork.com.edgesuite.net
auth.api.sonyentertainmentnetwork.com.edgekey.net
auth.api.sonyentertainmentnetwork.com.akadns.net
#!/bin/bash
# Pi-hole + Unbound verification script (for Pi-hole v6)
GREEN="\e[32m"; RED="\e[31m"; YELLOW="\e[33m"; RESET="\e[0m"
ok() { echo -e "${GREEN}✔ $1${RESET}"; }
fail() { echo -e "${RED}✘ $1${RESET}"; }
warn() { echo -e "${YELLOW}⚠ $1${RESET}"; }
echo -e "\n=== Pi-hole + Unbound Diagnostic ===\n"
@doggeddalle
doggeddalle / biglybt extreme sh script
Last active July 23, 2025 14:04
tested for arch, gather the mod zip from sb innovation, place next to script, make script executable and run
#!/bin/bash
set -euo pipefail
### CONFIG ###
MOD_ZIP=$(ls BiglyBT_*.zip 2>/dev/null | head -n 1)
JRE_URL="https://github.com/adoptium/temurin23-binaries/releases/download/jdk-23.0.2%2B7/OpenJDK23U-jdk_x64_linux_hotspot_23.0.2_7.tar.gz"
INSTALLER_URL="https://files.biglybt.com/installer/BiglyBT_Installer.sh"
BIGLYBT_DIR="${HOME}/biglybt"
JRE_DIR="${BIGLYBT_DIR}/jre"
@doggeddalle
doggeddalle / Firefox Anti Cert Meddling (HSTS)
Last active July 22, 2025 08:46
Firefox Anti Cert Meddling (HSTS)
network.stricttransportsecurity.preloadlist false
Ignores the built‑in HSTS preload list.
security.cert_pinning.enforcement_level 0
Turns off all pinning and HSTS enforcement.
(optional)
security.ssl.enable_ocsp_stapling false
Stops OCSP revocation checks.
#!/bin/bash
echo "--- ComfyUI Installation Script ---"
echo "Targeting PyTorch with CUDA 12.8, Python 3.12."
# --- Configuration ---
COMFYUI_DIR=$(pwd)
VENV_DIR="${COMFYUI_DIR}/venv"
PYTHON_VERSION="3.12" # The desired Python version
COMFYUI_REPO="https://github.com/comfyanonymous/ComfyUI.git"
{
"id": "00000000-0000-0000-0000-000000000000",
"revision": 0,
"last_node_id": 17,
"last_link_id": 24,
"nodes": [
{
"id": 1,
"type": "EmptyLatentImage",
"pos": [
@doggeddalle
doggeddalle / 1_QuickReinstallBetterDiscord.md
Last active March 31, 2025 00:37 — forked from Knewest/1_QuickReinstallBetterDiscord.md
(...) Reinstall BetterDiscord seconds after Discord uninstalls it against your will. Avoid using the time consuming installer with this trick.