Skip to content

Instantly share code, notes, and snippets.

@kipavy
kipavy / README.md
Last active September 7, 2026 19:30
Rainmeter — températures CPU/GPU via MSI Afterburner (aucune app en fond en plus, aucun plugin tiers)

Rainmeter — températures et consommation CPU / GPU

Widget de bureau affichant en direct la température et la consommation du processeur et de la carte graphique, en plus des infos classiques (CPU, RAM, SWAP). C'est le skin illustro\System livré avec Rainmeter, enrichi.

System
CPU Usage                    4%
CPU Temp 53°C
@kipavy
kipavy / native_stack_excerpt.txt
Last active July 29, 2026 07:49
PySide6/PyQt6 Bug, file browser freezing
Native stack of the GUI (main) thread captured DURING the freeze of the
non-native QFileDialog on a network drive.
Captured with: py-spy dump --pid <pid> --native (py-spy 0.4.2)
Environment : Qt 6.10.0 / PySide6 6.10.0, Windows 11 23H2, Python 3.13
Trigger : non-native QFileDialog (DontUseNativeDialog) browsing a mapped
network directory. The native OS dialog is unaffected.
The main thread is inside paintEvent and blocks resolving a file icon:
QAbstractFileIconEngine::scaledPixmap -> QWaitCondition::wait, waiting for the
@kipavy
kipavy / CCStatusLine.md
Created July 22, 2026 10:32
Claude Code Status Line
npx -y @refinist/ccsa@latest '{"version":3,"lines":[[{"id":"7a0f430e-12bc-40b1-9867-4d6b702c9b0f","type":"current-working-dir","color":"gradient:atlas","rawValue":true,"metadata":{"abbreviateHome":"true"}},{"id":"3231b940-9ead-4135-92f0-f05f6afaf7a0","type":"separator"},{"id":"d8793076-ef92-49aa-b860-77a60d3c71bc","type":"git-branch"},{"id":"e19cdfe2-79a4-47b4-a589-8be36b33673d","type":"separator"},{"id":"c402c97e-41be-4fee-a94d-115e75195760","type":"git-changes"},{"id":"ef030b95-f7f1-4c5d-8679-790e403a4677","type":"separator"},{"id":"40cdc389-0b23-4a65-964c-852a6473bf5c","type":"custom-command","commandPath":"echo \"⬢ $(node -v)\"","color":"gradient:cristal"}],[{"id":"dd-1","type":"model","bold":true,"rawValue":true},{"id":"9fd5eb5a-4c9d-4b69-b6f5-92c664f73f5e","type":"separator"},{"id":"cf22d4a8-304c-47e8-b766-86f32b26173b","type":"thinking-effort","bold":true,"rawValue":true},{"id":"8419e77e-9474-46b8-aab4-3f56987bde8c","type":"separator"},{"id":"438001f2-59df-4a40-971b-5531309d05b2","type":"context-ba
@kipavy
kipavy / mobaxterm_v26_decrypt.py
Created May 30, 2026 13:57
MobaXterm v25+/v26 password decryptor
#!/usr/bin/env python3
"""
MobaXterm v25+/v26 password decryptor (handles CVE-2025-0714 random-IV format).
Older tools (HyperSine, XMCyber, clemthi) assume a fixed IV = AES-ECB(key, 0).
MobaXterm >= 25.0 switched to a random per-password IV stored inline. Format:
stored = "_@" + IV(16 chars) + base64(AES-256-CFB8(key, IV, password))
key = SHA512(master_password)[:32]
@kipavy
kipavy / setup_gpu.py
Last active June 8, 2026 07:48
NEWER VERSION AVAILABLE AT:https://gitlab.com/yoanncure/gpu_installer ! GPU setup helper for Python ML projects. Detects CUDA version and installs matching GPU wheels for PyTorch and llama-cpp-python, with post-install verification.
#!/usr/bin/env python3
"""
NEWER VERSION AVAILABLE AT:https://gitlab.com/yoanncure/gpu_installer
=============================================================================
ML Package Installation Assistant
An intelligent installer that automatically detects your system, GPU, and CUDA
configuration to install the optimal ML package setup for your hardware.
@kipavy
kipavy / ToggleSteamBlock.bat
Created January 12, 2026 17:03
Batch script to auto-detect Steam paths and toggle Outbound Firewall rules for offline privacy.
<# :
@echo off
:: Batch section checks for Admin and launches PowerShell
setlocal
cd /d %~dp0
net session >nul 2>&1
if %errorLevel% neq 0 (
echo Requesting Admin privileges...
powershell -Command "Start-Process -FilePath '%~f0' -Verb RunAs"
exit /b
@kipavy
kipavy / README.md
Last active November 29, 2025 09:43
Enshrouded Dedicated Server Docker

Enshrouded Dedicated Server with Docker Compose

A simple Docker Compose setup for running an Enshrouded dedicated server with persistent data storage.

Quick Start

1. Create the Docker Compose file

cat &gt; docker-compose.yml &lt;
@kipavy
kipavy / README.md
Last active September 13, 2026 22:34
One-step installer for switch emulators on Linux and Windows

Switch Emulator Installer

One-step installer for Switch emulators on Linux and Windows.

Automatically downloads and installs your chosen emulator along with the latest firmware and decryption keys.

Supported Emulators

  • Citron
  • Eden
@kipavy
kipavy / sam.py
Created August 13, 2025 14:14
Python wrapper for SAM, SAM2, SAM2.1, MobileSAM (Segment Anything Model from Meta)
"""
Python wrapper for Ultralytics SAM
Available models:
https://docs.ultralytics.com/models/sam/
SAM base: 'sam_b.pt'
SAM large: 'mobile_sam.pt'
https://docs.ultralytics.com/models/sam-2/