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 April 13, 2025 19:21
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.

@aleksasiriski
aleksasiriski / immutabledesktop.md
Last active January 5, 2025 19:54
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
@william8th
william8th / .tmux.conf
Last active February 28, 2025 08:08
Tmux open new pane in same directory
# Set the control character to Ctrl+Spacebar (instead of Ctrl+B)
set -g prefix C-space
unbind-key C-b
bind-key C-space send-prefix
# Set new panes to open in current directory
bind c new-window -c "#{pane_current_path}"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"