Skip to content

Instantly share code, notes, and snippets.

View stralytic's full-sized avatar

Michael Ralston stralytic

View GitHub Profile
@stralytic
stralytic / build.sh
Last active December 14, 2022 22:52
archlinux makeworld / pacbuilder - rebuild entire distro
#!/usr/bin/zsh
# make the /home/repo directory and /home/repo/asp directories
# clone any git repositories for PKGBUILD into this directory
# and the script will pull changes in them and rebuild.
# for example:
# git clone git@github.com:CachyOS/CachyOS-PKGBUILDS.git
cd /home/repo/asp || exit
@stralytic
stralytic / snapper-clone.sh
Last active October 19, 2022 02:05
Clones snapper / btrfs snapshots from main filesystem to backups.
#!/usr/bin/zsh
if mountpoint -q /backup
then
echo "Backup already mounted"
else
echo "Mounting Backup"
mount /backup
if mountpoint -q /backup
then

Keybase proof

I hereby claim:

  • I am stralytic on github.
  • I am stralytic (https://keybase.io/stralytic) on keybase.
  • I have a public key whose fingerprint is 359F 0C02 3305 2FF7 5B3A 927B 02D1 D23B A37D 54EA

To claim this, I am signing this object: