Skip to content

Instantly share code, notes, and snippets.

View david-haerer's full-sized avatar

David Härer david-haerer

View GitHub Profile
@Gnzlt
Gnzlt / gourcevideo.sh
Created March 6, 2019 13:25
Gource video export command
#!/bin/bash
gource \
-s .03 \
-1280x720 \
--auto-skip-seconds .1 \
--multi-sampling \
--stop-at-end \
--key \
--highlight-users \
@kassane
kassane / std_log.md
Last active November 6, 2025 01:26 — forked from leecannon/std_log.md
Quick overview of Zig's `std.log`

A simple overview of Zig's std.log for Zig v0.12.0 or higher

Logging functionality that supports:

  • If a log message should be printed is determined at comptime, meaning zero overhead for unprinted messages (so just leave the code peppered with debug logs, but when it makes sense scope them; so downstream users can filter them out)
  • Scoped log messages
  • Different log levels per scope
  • Overrideable log output (write to file, database, etc.)
  • All the standard std.fmt formatting magic

Basic Usage:

/*
* autoholdclick - auto clicking while holding a button (for Linux only).
*
* Build:
* cc -o autoholdclick autoholdclick.c $(pkg-config --cflags --libs libevdev)
*
* This software is in the public domain.
*/
#include <libevdev/libevdev-uinput.h>
@aidos-dev
aidos-dev / README.md
Last active November 20, 2025 05:48
How to connect Apple AirPods to Linux (Debian/Ubuntu/Mint)

How to connect Apple AirPods to Linux (Debian/Ubuntu/Mint)

Step 1.

Open your terminal.

In the root directory run the command:

sudo nano /etc/bluetooth/main.conf