Skip to content

Instantly share code, notes, and snippets.

@redhat421
redhat421 / gid8_headband.scad
Created October 2, 2026 18:10
OpenSCAD file for headband reinforcement.
// =================================================
// Hardback for GID8 headband
// =================================================
/* [Band measurements (GID8) all in mm] */
band_width = 28; // width
band_thick = 3.2; // thickness
crown_height = 1.1; // rise above edge
band_radius = 110; // Adjust final curve for head pressure
@redhat421
redhat421 / mpv-freedesktop-screensaver-plugin.c
Last active January 30, 2024 08:23 — forked from fernandoherreradelasheras/mpv-freedesktop-screensaver-plugin.c
mpv pluging to inhibit screensaver while playing a video using freedesktop dbus api
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <gio/gio.h>
#include <mpv/client.h>
/**
* mpv pluging to inhibit screensaver while playing a video on GNOME Desktop