Skip to content

Instantly share code, notes, and snippets.

View grahamperrin's full-sized avatar

Graham Perrin grahamperrin

View GitHub Profile
@grahamperrin
grahamperrin / freebsd-boot-environments.txt
Last active March 26, 2024 07:27
FreeBSD boot environments: notes
BE Created Version (abbreviated)
n264998-d9fee1d02178-a 2023-08-24 21:07 main-n264998-d9fee1d02178
n264998-d9fee1d02178-b 2023-08-25 15:31 main-n264998-d9fee1d02178
n265053-315ee00fa961-a 2023-08-28 11:13 main-n265053-315ee00fa961
n265053-315ee00fa961-c 2023-08-31 16:36 main-n265053-315ee00fa961
n266415-257b04454818-e 2023-12-03 06:11 main-n266415-257b04454818
n266992-604de40a024c-b 2023-12-19 10:28 main-n266992-604de40a024c
n266992-604de40a024c-c 2023-12-22 14:46 main-n266992-604de40a024c
n266992-604de40a024c-d 2023-12-25 08:36 main-n266992-604de40a024c
n266992-604de40a024c-f 2023-12-31 01:56 main-n266992-604de40a024c
@grahamperrin
grahamperrin / 1856513-whitelist.md
Last active January 22, 2024 11:47
Themes not associated with Thunderbird performance issues (Mozilla bug 1856513)
@grahamperrin
grahamperrin / 1856513-blacklist.md
Last active January 22, 2024 11:48
Themes associated with Thunderbird performance issues (Mozilla bug 1856513)
@grahamperrin
grahamperrin / git-rebase-mash.md
Created August 2, 2023 01:09
Git: when 'git rebase' is not exactly a good hint …

Notes to self.

I have no idea what might have led to conflicts involving files such as /usr/src/UPDATING

% git -C /usr/src stash
% gh repo sync grahamperrin/freebsd-src && git -C /usr/src pull --ff-only && git -C /usr/src pull --ff-only freebsd main
✓ Synced the "grahamperrin:main" branch from "freebsd:main"
Already up to date.
From https://git.freebsd.org/src
@grahamperrin
grahamperrin / ere-trial-error.md
Last active December 18, 2022 18:45
Extended Regular Expression (ERE) trial and error
@grahamperrin
grahamperrin / accessibility.md
Last active December 18, 2022 09:42
Accessibility
@grahamperrin
grahamperrin / suspend.sh
Last active October 10, 2022 06:33
FreeBSD sleep/wake (suspend/resume): extending rc.suspend to allow detachment of storage devices on USB, and to avoid audio-related issues
#!/bin/sh
# Save this script at a suitable path, for example
# /usr/local/sbin/suspend.sh
# then edit /etc/rc.suspend to include the path.
# Allow detachment of a USB device that is used for a ZFS pool named
# Transcend.
#
while mount | grep Transcend 2>&1; do
zpool export Transcend
@grahamperrin
grahamperrin / freebsd-doc-fork-local.md
Created December 31, 2021 10:27
Working with a local copy of my fork of the FreeBSD documentation repository

Working with a local copy of my fork of the FreeBSD documentation repository

Rough notes to self.

cd /usr/doc && rm -r *

– then remove hidden files.

git -C /usr clone -o grahamperrin -b patch-1 https://github.com/grahamperrin/freebsd-doc.git doc