Skip to content

Instantly share code, notes, and snippets.

View grahamperrin's full-sized avatar

Graham Perrin grahamperrin

View GitHub Profile
@grahamperrin
grahamperrin / r-freebsd-old-stylesheet.css
Created May 26, 2024 11:51
/r/freebsd old Reddit stylesheet
#header {
position:relative;
background:-moz-linear-gradient(top,#660000 0px,#8F0000 96px,#F7F7F7 97px,#DFDFDF 125px);
background:-webkit-linear-gradient(top,#660000 0px,#8F0000 96px,#F7F7F7 97px,#DFDFDF 125px);
background:-ms-linear-gradient(top,#660000 0px,#8F0000 96px,#F7F7F7 97px,#DFDFDF 125px);
background:linear-gradient(top,#660000 0px,#8F0000 96px,#F7F7F7 97px,#DFDFDF 125px);
z-index:99;
height:125px;
border-bottom:1px solid #B4B4B4;
}
@grahamperrin
grahamperrin / freebsd-descriptive-repo-names.md
Last active May 22, 2024 03:16
Using descriptive repository names for FreeBSD-provided and locally-built packages

Using descriptive repository names for FreeBSD-provided and locally-built packages

Three distinctive names

% pkg -vv | grep -B 1 -e url -e priority
  FreeBSD-ports: { 
    url             : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/latest",
    enabled         : yes,
 priority : 2,
@grahamperrin
grahamperrin / ixsystems-sponsored-freebsd-three.md
Created April 20, 2024 03:32
iXsystems, Inc.: sponsored commits in three FreeBSD source trees

iXsystems, Inc.: sponsored commits in three FreeBSD source trees

doc

% git -C /usr/doc log --reverse --oneline --no-expand-tabs --extended-regexp --grep='Sponsored by:[[:cntrl:] ]{1,}iXsystems'
04e0947e28 Add some description about how to failover between wired and wireless interface, and how to do it with rc.conf, which is quite useful for laptop users.
ad3d4a1849 Add an ipv6 subpage to be filled with life on Monday.
614de01128 Fill with initial content about IPv6 in FreeBSD these days, IPv6 only snapshots and FreeSBD and world IPv6 day. Can be extended and improved as needed.
5d4f0bd201 Add the Foundation press release on IPv6-only testing images and add World IPv6 Day to upcoming events.
1753bf8237 Add a news entry about the new snapshots and be more explicit about the wiki page.
@grahamperrin
grahamperrin / freebsd-boot-environments.txt
Last active May 7, 2024 05:41
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