Skip to content

Instantly share code, notes, and snippets.

@tomduckering
tomduckering / convertHL2ForAppleSilicon.sh
Last active April 6, 2025 03:49
HL2 on Apple Silicon
#!/bin/bash -x
TEMP_INSTALL_DIR="$HOME/SourceEngineGames/Half Life 2"
TEMP_CHECKOUT_DIR="/tmp/source-engine"
STEAM_INSTALL="$HOME/Library/Application Support/Steam/steamapps/common/Half-Life 2"
if ! test -d "$STEAM_INSTALL"; then
echo "Ensure you have HL2 installed - ensure it's the steam_legacy edition (Steam -> Library -> Half Life 2 -> Properties -> Betas -> Beta Participation"
echo "Did not find it installed at ${STEAM_INSTALL}"
exit 1
@jeremytregunna
jeremytregunna / revert-systemd-userdb-birthdate.patch
Created March 19, 2026 19:14
Patch to revert systemd's userdb birthDate record bits. Valid as of 2026-03-19
diff --git a/docs/USER_RECORD.md b/docs/USER_RECORD.md
index 5335e145b5..9d6d8c1d03 100644
--- a/docs/USER_RECORD.md
+++ b/docs/USER_RECORD.md
@@ -273,9 +273,6 @@ This must be a string, and should follow the semantics defined in the
It's probably wise to use a location string processable by geo-location subsystems, but this is not enforced nor required.
Example: `Berlin, Germany` or `Basement, Room 3a`.
-`birthDate` → A string in ISO 8601 calendar date format (`YYYY-MM-DD`) indicating the user's date
-of birth. The earliest representable year is 1900. This field is optional.