Skip to content

Instantly share code, notes, and snippets.

View samclement's full-sized avatar
💭
livin' the dream

Sam Clement samclement

💭
livin' the dream
View GitHub Profile
@samclement
samclement / dual-boot-ubuntu24-to-arch.md
Created March 1, 2026 13:52
Ubuntu 24 to Arch dual-boot runbook tailored to existing /dev/sda layout

Ubuntu 24 -> Arch Dual-Boot (Tailored to this machine)

This guide is tailored to your current layout:

  • Internal disk: /dev/sda (489G)
  • Ubuntu EFI partition: /dev/sda1 (vfat, mounted at /boot/efi)
  • Ubuntu root partition: /dev/sda2 (ext4, mounted at /)
  • Backup USB (do NOT overwrite): /dev/sdb (DataTraveler 2.0, mounted at /media/sam/EXTERNAL)
  • Installer USB target (for ISOs): /dev/sdc (USB/Asolid)
  • Current boot mode: UEFI
xmodmap -e "keycode 12 = 3 sterling numbersign"
xmodmap -e "keycode 94 = grave asciitilde"
xmodmap -e "keycode 51 = backslash bar"
xmodmap -e "keycode 11 = 2 at"
xmodmap -e "keycode 48 = apostrophe quotedbl"
#!/bin/bash
set -e
# Check if device identifier is provided as an argument
if [ -z "$1" ]; then
echo "Please provide an identifier for this machine as the first argument."
exit 1
fi
machine=$1
[{"state":{"code":"gantt\n dateFormat YYYY-MM-DD\n title Adding GANTT diagram functionality to mermaid\n excludes weekends\n %% (`excludes` accepts specific dates in YYYY-MM-DD format, days of the week (\"sunday\") or \"weekends\", but not the word \"weekdays\".)\n\n section CCAI<br>Hosting\n Hosting Solution Agreed :milestone, 2024-05-17, 0d\n Infrastructure System Design Agreed :milestone, 2024-05-20, 0d\n Hosting Contract Signed :milestone, 2024-05-24, 0d\n Migration to TTEC GCP Complete :milestone, 2024-06-15, 0d\n\n section Voice<br>Inbound\n PCI Pal Environment Deployment :2024-05-27, 10d\n Audio Codes Deployment :2024-06-17, 5d\n Migrate WaveNET :5d\n Migrate DialogFlow ES :5d\n Test to CCAI :2d\n Sabio End of Support :milestone, 2024-08-25, 0d\n\n section Whitemail<br>Inbound\n Sabi
#!/bin/bash
set -e
# Default values
defzoneid=Z08316812BZVAZ9D79ZRO
defnameserver=ns-758.awsdns-30.net
# Check if subdomain is provided as an argument
if [ -z "$1" ]; then
echo "Please provide a subdomain as the first argument."