Skip to content

Instantly share code, notes, and snippets.

@RobCranfill
RobCranfill / no_auto_reload.md
Last active May 3, 2025 22:50
Turn off automatic reload of the code in CircuitPython

Make a CP device stop auto-reloading code; for CircuitPython 8 or better.

import supervisor supervisor.runtime.autoreload = False print(f"{supervisor.runtime.autoreload=}")
@Hadrianneue
Hadrianneue / mesa_radv_prefer_vram_always.patch
Last active June 4, 2025 08:26
mesa radv prefer vram always
diff --git a/src/amd/vulkan/radv_debug.h b/src/amd/vulkan/radv_debug.h
index 2379a1fc364..1e09d9aa543 100644
--- a/src/amd/vulkan/radv_debug.h
+++ b/src/amd/vulkan/radv_debug.h
@@ -94,6 +94,7 @@ enum {
RADV_PERFTEST_NIR_CACHE = 1u << 14,
RADV_PERFTEST_RT_WAVE_32 = 1u << 15,
RADV_PERFTEST_VIDEO_ENCODE = 1u << 16,
+ RADV_PERFTEST_NO_GTT = 1u << 17,
};
@vemacs
vemacs / compton.conf
Last active May 8, 2023 16:57
Reasonable compton.conf (fixes shadows in the stock desktop environment) for Xubuntu 16.04
#################################
#
# Backend
#
#################################
# Backend to use: "xrender" or "glx".
# GLX backend is typically much faster but depends on a sane driver.
backend = "glx";