Skip to content

Instantly share code, notes, and snippets.

/*
CUDA perfboost bypass, distributed under MIT License
-- @Ristovski
Each CUDA session is boosted to a fixed clock even when no real compute is being done,
this in turn causes the GPU to run hotter, sometimes at considerably higher power.
This preloadable library bypasses that by nuking the NV2080_CTRL_PERF_BOOST ioctl.
Mainly useful for mpv/other video players that utilize hardware video decode (nvdec),
as unlike on Windows, nvdec on linux utilizes CUDA for nvdec<->OpenGL/Vulkan interop.
@fnky
fnky / ANSI.md
Last active September 10, 2025 08:48
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@FelixZhang
FelixZhang / osc-cheatsheet.md
Last active August 7, 2024 07:39
osc cheatsheet

osc cheatsheet

configuration

.oscrc

TBD

aliases