Skip to content

Instantly share code, notes, and snippets.

View knalli's full-sized avatar
👨‍💻

Jan Philipp knalli

👨‍💻
View GitHub Profile
@knalli
knalli / check_traefik_acme.sh
Last active May 16, 2024 11:01
List all certificate expiry dates of Traefik's acme.json
#!/bin/bash
## usage
## ./check_traefik_acme.sh < acme.json
## optionally define IGNORE_CERTS with a list of ignoreable certs
ACME_JSON=${1:-/dev/stdin}
IGNORE_CERTS=${IGNORE_CERTS-}
C_RESET='\033[0m'
@knalli
knalli / create_macos_iso.sh
Last active December 16, 2024 23:49
Create ISO of "Install macOS Sequoia"
#!/bin/bash
# based on https://osxdaily.com/2020/07/20/how-convert-macos-installer-iso/, but compressed to the details
MACOSNAME="Sequoia"
IMAGESIZE=17000m
set -e
TMPDIR=""
trap cleanup EXIT