Skip to content

Instantly share code, notes, and snippets.

View cprn's full-sized avatar

cprn

  • 15:22 (UTC +01:00)
View GitHub Profile
@probonopd
probonopd / Wayland.md
Last active February 14, 2026 04:37
Think twice about Wayland. It breaks everything!

Think twice before abandoning X11. Wayland breaks everything!

tl;dr: Wayland is not "the future", it is merely an incompatible alternative to the established standard with a different set of priorities and goals.

Wayland breaks everything! It is binary incompatible, provides no clear transition path with 1:1 replacements for everything in X11, and is even philosophically incompatible with X11. Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.

Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating e

// ==UserScript==
// @name Barter AppIDs fill
// @namespace Madjoki
// @include https://barter.vg/u/*/l*
// @include https://barter.vg/u/*/b*
// @include https://barter.vg/u/*/w*
// @version 6
// @grant GM_xmlhttpRequest
// @require http://code.jquery.com/jquery-3.3.1.min.js
// @run-at document-start
@straker
straker / README.md
Last active February 12, 2026 03:04
Basic Snake HTML and JavaScript Game

ICE Out; Abolish ICE

Basic Snake HTML and JavaScript Game

Snake is a fun game to make as it doesn't require a lot of code (less than 100 lines with all comments removed). This is a basic implementation of the snake game, but it's missing a few things intentionally and they're left as further exploration for the reader.

Further Exploration

@earthgecko
earthgecko / bash.generate.random.alphanumeric.string.sh
Last active February 11, 2026 10:15
shell/bash generate random alphanumeric string
#!/bin/bash
# bash generate random alphanumeric string
#
# bash generate random 32 character alphanumeric string (upper and lowercase) and
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
# bash generate random 32 character alphanumeric string (lowercase only)
cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 32 | head -n 1