Skip to content

Instantly share code, notes, and snippets.

View bluedragon1221's full-sized avatar
🌪️
Ephemeral

Collin Williams bluedragon1221

🌪️
Ephemeral
View GitHub Profile
@bluedragon1221
bluedragon1221 / min-linux.md
Last active May 10, 2025 22:15
Create a minimal linux from scratch with initramfs and busybox.

https://www.youtube.com/watch?v=QlzoegSuIzg

The Three Parts

To build a minimal linux distro, we need three parts:

  1. The Kernel
  2. Userspace (busybox)
  3. Bootloader (syslinux)

When the system boots, it loads the kernel, which loads busybox.

@VictorTaelin
VictorTaelin / implementing_fft.md
Last active June 12, 2025 17:11
Implementing complex numbers and FFT with just datatypes (no floats)

Implementing complex numbers and FFT with just datatypes (no floats)

In this article, I'll explain why implementing numbers with just algebraic datatypes is desirable. I'll then talk about common implementations of FFT (Fast Fourier Transform) and why they hide inherent inefficiencies. I'll then show how to implement integers and complex numbers with just algebraic datatypes, in a way that is extremely simple and elegant. I'll conclude by deriving a pure functional implementation of complex FFT with just datatypes, no floats.

@aleksasiriski
aleksasiriski / immutabledesktop.md
Last active June 9, 2025 10:26
My ideal Fedora Atomic Desktop setup

My ideal Fedora Atomic Desktop setup

System

Set keyboard layout

localectl set-keymap us-colemak && \
localectl set-x11-keymap us "" colemak