Skip to content

Instantly share code, notes, and snippets.

View Sledmine's full-sized avatar

Sled Sledmine

View GitHub Profile
@tieppt
tieppt / config.h
Last active March 26, 2023 02:46
GMMK Pro & QMK: support Rotary Knob, VIA, turn off RGB when host is suspended
// path: qmk_firmware/keyboards/gmmk/pro/ansi/keymaps/viapro/config.h
#pragma once
#ifdef RGB_MATRIX_ENABLE
#define RGB_DISABLE_WHEN_USB_SUSPENDED true
#endif // RGB_MATRIX_ENABLE
@Zeinok
Zeinok / wine-breeze-dark-theme.md
Last active June 6, 2025 05:22
Breeze Dark theme for Wine

Made possible with this reddit post.

Install

wine regedit wine-breeze-dark.reg

Uninstall (Reset Wine color scheme)

wine regedit wine-reset-theme.reg

local function printf(s, ...)
io.write(s:format(...))
end
local ffi = require("ffi")
ffi.cdef[[
typedef void (*cb)(void);
void set_v(int n, void (*)(void ));
void set_i(int n, void (*)(int ));
void set_d(int n, void (*)(double));