Skip to content

Instantly share code, notes, and snippets.

@CrazyCoder
CrazyCoder / X3-EPD.md
Last active June 7, 2026 21:32
Xteink X3 EPD display analysis

Xteink X3 EPD Display Driver Analysis

Display Hardware

Property Value Evidence
Controller SSD1677 Command set, LUT format (5x42 bytes), register layout
Diagonal 3.68" Alibaba listing + mechanical drawing; sqrt(51.84² + 77.76²) = 93.5mm = 3.68"
Buffer resolution 792 x 528 Constructor param, buffer size = 52,272 bytes (99 bytes/row x 528 rows)
Hardware resolution 792 x 600 CMD 0x61 data: [0x03, 0x18, 0x02, 0x58] → (0x0318=792) x (0x0258=600)
@0xs34n
0xs34n / THE_DEATH_OF_THE_USER_INTERFACE.md
Created August 23, 2025 10:41
The Death of the User Interface

The Death of the User Interface

TL;DR: We're witnessing the end of graphical user interfaces. AI agents like Claude Code are eliminating the need for windows, menus, and clicks, replacing them with natural language. The computer is finally learning to speak human, not the other way around.


🔮 A Personal Revelation

Last week, I realized something profound: I haven't opened Finder in months. Not once.

#include "nes/cpu.h"
/* ------------------------------------------------------------------------- */
/* -- MOS-6502 emulation and specifics ------------------------------------- */
namespace mos6502
{
// The MOS-6502 instruction set, as an X-Macro. This encodes the
// opcode, instruction name, address mode, cycle count, length, and
// page-crossing penalties of every valid 6502 instruction.
@mattiaslundberg
mattiaslundberg / arch-linux-install
Last active August 9, 2026 16:42
Minimal instructions for installing arch linux on an UEFI system with full system encryption using dm-crypt and luks
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# Set swedish keymap
@nightlark
nightlark / gist:6482130
Created September 8, 2013 05:37
Java class to look up a color name from the rgb values.
import java.util.ArrayList;
public class ColorNameLookup {
public class ColorName {
public int r,g,b;
public String name;
public ColorName(String name, int r, int g, int b) {
this.r = r;
this.g = g;