Skip to content

Instantly share code, notes, and snippets.

View robbat2's full-sized avatar

Robin H. Johnson robbat2

View GitHub Profile
label: gpt
label-id: BCF8FB7F-A652-4E38-A3E1-7E640494828E
device: /dev/nvme0n1
unit: sectors
sector-size: 4096
/dev/nvme0n1p1 : start= 256, size= 130816, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=3DE88D22-BCD1-4CE1-9E59-C13AC363EE86, name="primary"
/dev/nvme0n1p2 : start= 131072, size= 262144, type=A19D880F-05FC-4D3B-A006-743F0F84911E, uuid=C238F704-60A0-4481-A64B-EB5C54BC9E4B, name="primary"
/dev/nvme0n1p3 : start= 393216, size= 468449792, type=A19D880F-05FC-4D3B-A006-743F0F84911E, uuid=B011E232-810F-4857-9587-AEE5146C3090, name="logical"
/dev/nvme0n1p4 : start= 468843094, size= 508, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=9594B208-73D0-42D9-90A1-C58BE1DC37F2, name="logical"
To: [email protected],
[email protected],
[email protected],
[email protected],
[email protected]
Subject: Gentoo Foundation 2024 Election: Recording Date, Nomination & Voting schedule
Reply-To: [email protected]
This email serves as the legally required notice of the Gentoo
Foundation 2024 election.
$ gpg --verify test.asc test
gpg: Signature made Sun 21 Apr 2024 01:09:48 PM PDT
gpg: using EDDSA key 9AC275DCB7764E1481FDADA4A30516BE702D81A9
gpg: Good signature from "Matthias Maier" [unknown]
gpg: aka "Matthias Maier <[email protected]>" [unknown]
gpg: aka "Matthias Maier <[email protected]>" [unknown]
gpg: aka "Matthias Maier <[email protected]>" [unknown]
gpg: aka "Matthias Maier <[email protected]>" [unknown]
gpg: aka "Matthias Maier <[email protected]>" [unknown]
gpg: aka "Matthias Maier <[email protected]>" [unknown]
## Why become an SPI Associated Project?
Gentoo, as a collective of software developers, is pretty good at being a Linux
distribution. However, the legal & organization overhead required to convert
the existing corporation into a successful non-profit recognized at the federal
level in the USA would be a significant increase in non-development workload.
The historical baggage of the Gentoo Foundation, with bylaws restricted
behavior to that of a non-profit, and as a non-profit recognized only in the
state of New Mexico, but considered as a for-profit entity at the US federal
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby30 ruby31 ruby32"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md PLUGINS.md"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
> /var/tmp/portage/sys-libs/glibc-2.37-r10/work/build-x86-x86_64-pc-linux-gnu-nptl/tests.sum
FAIL: elf/constload1
FAIL: elf/dblload
FAIL: elf/dblunload
FAIL: elf/ifuncmain6pie
FAIL: elf/lateglobal
FAIL: elf/loadtest
FAIL: elf/preloadtest
FAIL: elf/reldep6
FAIL: elf/restest1
@robbat2
robbat2 / gist:f37e2ba2fbcd2c56cb8547f93dccae52
Last active January 7, 2024 21:13
gentoo bug stats, creation & resolved, as of 2024/01/07
MariaDB [gentoo-bugs]> select now(); \
select count(distinct bug_id), YEAR(bugs_activity.bug_when) AS yyyy \
FROM bugs_activity \
WHERE fieldid=8 AND added='RESOLVED' GROUP BY yyyy ORDER BY yyyy; \
SELECT COUNT(distinct bug_id), EXTRACT(YEAR FROM creation_ts) AS yyyy \
FROM bugs \
GROUP BY yyyy \
ORDER BY yyyy;
+---------------------+
#!/bin/bash
# Clean up a x509 cert to make it nice to use
# supports multiple certs in the same file!
#
# Copyright 2014-2018 Robin H Johnson <[email protected]>
# Licensed under the BSD-3 license
# http://opensource.org/licenses/BSD-3-Clause
TMP=$(mktemp)
TMPD=$(mktemp -d)
TMPOUT=$(mktemp)
@robbat2
robbat2 / parse_date.jq
Last active November 28, 2023 00:18
performance review helper tooling from GitHub API
# SPDX-License: ???
def parseDate(date): date | capture("(?<no_tz>.*)(?<tz_sgn>[-+])(?<tz_hr>\\d{2}):(?<tz_min>\\d{2})$") | (.no_tz + "Z" | sub("\\.000Z";"Z")| fromdateiso8601) - (.tz_sgn + "60" | tonumber) * ((.tz_hr | tonumber) * 60 + (.tz_min | tonumber));
@robbat2
robbat2 / procmailrc rule for gentoo archives
Created September 19, 2023 15:58
gentoo archives mail hash
FORMAIL=/usr/bin/formail
UUID=`/usr/bin/uuidgen`
# inject the salt into the mail
:0 fhw
* H ?? !^X-Archives-Salt
| $FORMAIL -A "X-Archives-Salt: $UUID"
# hash the mail headers, with the salt
HASH=`$FORMAIL -X Received -X Date -X Message-ID -X From -X Subject -X List-Id -X X-Archives-Salt | md5sum | awk '{print $1}'`