Skip to content

Instantly share code, notes, and snippets.

View xplshn's full-sized avatar
🇦🇷

xplshn

🇦🇷
View GitHub Profile

Are we XLibre yet?

X11 has been, and still is, a vital piece of technology at the core of professional Unix-like workstations since decades. It has a proven track record of supporting enterprise-grade applications with long-term protocol stability and platform compatibility. It has matured over decades. XLibre is an actively developed fork of the X.Org X11 server, initiated by the most active X.Org developer and supported by the open source community.

An incompatible alternative, Wayland, is being aggressively pushed by IBM = Red Hat = Gnome = Fedora = freedesktop.org. However, it is not ready to succeed X11 as it its governance model leads to never-ending discussions and prevents even the most essential functionality from existing. Think twice before abandoning Xorg. Wayland breaks everything!

It is time that the open source community reclaims what was ours to begin with. This page lists distrib

@eznix86
eznix86 / alpine-remove-desktop.sh
Last active March 23, 2025 14:52
This is the inverse of setup-desktop in Alpine Linux
# copy and paste to /sbin/remove-desktop
#!/bin/sh
PREFIX=
: ${LIBDIR=$PREFIX/lib}
. "$LIBDIR/libalpine.sh"
usage() {
cat <<-__EOF__
@DevFelixFaber
DevFelixFaber / 00_wayland_opengl_main.c
Created July 10, 2024 19:11
Wayland OpenGL Example Application. Includes Keyboard input (with key-repeat), mouse events, setting the mouse cursor image/icon, retrieving the refreshrate, and measuring render time.
#define _GNU_SOURCE
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <assert.h>
#include <string.h>
#include <time.h>
#include <poll.h>
#include <sys/timerfd.h>
@kokokodak
kokokodak / gist:4bf0d76616635b46b2682a6371dd8b58
Last active January 4, 2025 17:13
OpenBSD - disable library rebuild on every boot
This setting is quite useful on slow machines where security is not very important.
# rcctl disable library_aslr
@x0nu11byt3
x0nu11byt3 / elf_format_cheatsheet.md
Created February 27, 2021 05:26
ELF Format Cheatsheet

ELF Format Cheatsheet

Introduction

Executable and Linkable Format (ELF), is the default binary format on Linux-based systems.

ELF

Compilation

@StevenACoffman
StevenACoffman / Homoglyphs.md
Last active August 14, 2025 07:18
Unicode Look-alikes

Unicode Character Look-Alikes

Original Letter Look-Alike(s)
a а ạ ą ä à á ą
c с ƈ ċ
d ԁ ɗ
e е ẹ ė é è
g ġ
h һ
@CMCDragonkai
CMCDragonkai / TrueColour.md
Created August 30, 2018 14:05 — forked from XVilka/TrueColour.md
True Colour (16 million colours) support in various terminal applications and terminals

Colours in terminal

It's a common confusion about terminal colours... Actually we have this:

  • plain ascii
  • ansi escape codes (16 colour codes with bold/italic and background)
  • 256 colour palette (216 colours + 16 ansi + 24 gray) (colors are 24bit)
  • 24bit true colour ("888" colours (aka 16 milion))
printf "\x1b[${bg};2;${red};${green};${blue}m\n"
@jonschlinkert
jonschlinkert / markdown-cheatsheet.md
Last active July 25, 2025 20:07
A better markdown cheatsheet.