Skip to content

Instantly share code, notes, and snippets.

View Ckath's full-sized avatar
🈚
why does github need a status

Ckat Ckath

🈚
why does github need a status
View GitHub Profile
@Ckath
Ckath / 0001-fix-opening-matches-with-NOCHAR-padded-widechars.patch
Created April 15, 2026 18:04
0001-fix-opening-matches-with-NOCHAR-padded-widechars.patch
From 901130d64677f7781c8378ad208efdf93f5cec0c Mon Sep 17 00:00:00 2001
From: ckath <ckath@yandex.ru>
Date: Wed, 15 Apr 2026 20:02:29 +0200
Subject: [PATCH 1/1] fix opening matches with NOCHAR padded widechars
---
src/perl/matcher | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/perl/matcher b/src/perl/matcher
@Ckath
Ckath / x.c
Last active September 30, 2025 15:07
x output loopenings, expected to error at end, not before
/* compile: gcc -o x x.c -lXrandr -lX11 */
#include <stdio.h>
#include <X11/Xlib.h>
#include <X11/extensions/Xrandr.h>
int main(void) {
Display *dpy = XOpenDisplay(NULL);
if (!dpy) {
fprintf(stderr,"failed to open display\n");
@Ckath
Ckath / kotworld.gif
Last active April 18, 2022 18:48
why do gists embed
kotworld.gif