Skip to content

Instantly share code, notes, and snippets.

View f4str's full-sized avatar

Farhan Ahmed f4str

View GitHub Profile
@f4str
f4str / btrfs-chroot-guide.md
Created October 6, 2023 03:59
Btrfs Chroot Guide

Btrfs Chroot Guide

Guide to chroot into Debian or Fedora systems to change the password and/or reinstall GRUB.

Mount Filesystems

Mount the btrfs subvolumes. Subvolumes @ and @home are required. Typically @cache, @log, and @swap are not needed.

sudo mount /dev/nvme0n1p2 /mnt -t btrfs -o subvol=@
@f4str
f4str / debian-install-guide.md
Last active November 23, 2025 09:46
Guide to install Debian Stable

Debian Installation Guide

Guide to install Debian Stable on an EFI system. Uses the following features:

  • Btrfs with @, @home, @cache, @log, and @swap subvolumes
  • Swapfile
  • Snapshots using Timeshift
  • GRUB bootloader with bootable snapshots
  • Minimal GNOME desktop environment
  • GDM display manager
@f4str
f4str / linux-desktop-environments.md
Last active March 20, 2022 02:50
Linux desktop environments

Linux Desktop Environments

List of common Linux desktop environments with their installation instructions on Arch Linux. Each desktop environment's core and default components/applications are listed with recommended ones indicated in italics.

GNOME

Released in 1999. Primary focus on simplicity and workspaces.

Core
@f4str
f4str / linux-distros.md
Last active June 23, 2023 08:08
Linux distros and their bases

Linux Distros

List of commonly known Linux distros in a tree format. All base distros are grouped by their package family and listed with their year of release.

Slackware-based

Uses the slackpkg package manager.

Slackware (1993)
@f4str
f4str / arch-install-guide.md
Last active December 31, 2022 04:26
Guide to install Arch Linux

Arch Linux Installation Guide

Guide to install Arch Linux on an EFI system. Uses the following features:

  • Btrfs with @, @home, @cache, @log, and @swap subvolumes
  • Swapfile
  • Snapshots using Timeshift
  • GRUB bootloader with bootable snapshots
  • GNOME desktop environment
  • GDM display manager
@f4str
f4str / gui_labeler.py
Last active August 9, 2021 17:43
Image Labeler
import argparse
import csv
import os
import shutil
import sys
import tkinter as tk
from typing import TextIO, Tuple
from PIL import Image, ImageTk