Skip to content

Instantly share code, notes, and snippets.

View JohnLGalt's full-sized avatar

John L. Galt JohnLGalt

View GitHub Profile
@thushan
thushan / windows-terminal-settings.json
Last active February 27, 2022 14:02
My Windows Terminal Settings profile with elevated prompt for PowerShell via gsudo.
// latest version is now here:
// https://github.com/thushan/dotfiles/blob/main/windows/windows-terminal/settings.json
@renich
renich / 00-gentoo-installation-partitioning.bash
Last active April 2, 2026 04:32
Install Gentoo on BtrFS subvolumes + UEFI
#!/usr/bin/env bash
# WARNING!!
# This will obliterate all the data in your partition!! (not actually true, but act as if it was)
# Do NOT execute this script if you don't fully understand it!
# a few vars
amount_of_swap=$( free --si -g | grep Mem: | gawk '{ print $2 + 1}' )
# create directories
@rahilwazir
rahilwazir / vmdk_vhdx.md
Last active May 9, 2026 17:22
Convert VMWare to Hyper-V (vmdk to vhdx)