Skip to content

Instantly share code, notes, and snippets.

View danielweck's full-sized avatar
👀

Daniel Weck danielweck

👀
View GitHub Profile
@danielweck
danielweck / DOCKERFILE
Last active November 4, 2026 17:04
Docker / Apple Container - Superlogical Rex, HerdrCore (server only), SSH server, Pi, Pi-Web GUI over HTTP, etc.
# DOCKERFILE (debian:trixie ... or node:24-slim or registry.access.redhat.com/hi/nodejs:24)
# Use it with Apple Container (full VM isolation) https://github.com/apple/container ... or Docker / Podman / etc.
#
# Notable software: NodeJS 24, NPM 12, Python3, ripgrep, Git, JQ, Pi, Pi-web, Worktrunk, Rex, HerdrCore, OpenSSH (server)
#
# Error: unavailable: "Stream unexpectedly closed." => DOCKERFILE 16KB limit in Apple Container / gRPC
# ls -alshFtG --color=auto DOCKERFILE ; du -Ah DOCKERFILE ; du -h DOCKERFILE ; stat -f "File: %N | Logical: %z bytes | Physical Blocks: %b (Allocated)" DOCKERFILE
#
# Requirement: folder ./.piagent on host will be copied to /home/notroot/.pi/agent on guest
#
@danielweck
danielweck / readme.txt
Last active August 6, 2026 11:04
OpenPGP gnuGPG Token2
Token2 OpenPGP GNU-GPG
https://www.token2.com/site/page/openpgp-setup-guide-for-usb-keys-and-cards
https://github.com/YubicoLabs/sign-git-commits-yubikey
https://www.spletzer.com/2026/04/a-no-nonsense-guide-to-gpg-commit-signing-with-a-yubikey/
https://developers.yubico.com/PGP/Git_signing.html
@danielweck
danielweck / hash.md
Last active January 12, 2022 13:15
String hashing used for CSS-in-JS, cache / memoizing, etc.