Skip to content

Instantly share code, notes, and snippets.

View RafaelWO's full-sized avatar
🤔
thinking...

Rafael Weingartner-Ortner RafaelWO

🤔
thinking...
View GitHub Profile
@RafaelWO
RafaelWO / check-emudhra-patch-status.sh
Last active November 14, 2026 08:54
A script to check if your Linux machine trusts compromised eMudhra intermediate CA certificates and which installed apps/tools might need patching. App versions are taken from https://emudhra.we-have-a-problem.com.
#!/usr/bin/env bash
#
# check-emudhra-patch-status.sh
#
# Reports whether this machine still trusts the compromised eMudhra
# intermediate CA certificates, and which installed tools still need
# patching. Read-only: nothing is installed, downloaded, modified or
# deleted.
#
# Run with --help for the verdicts, the options and what the probe sends.
@RafaelWO
RafaelWO / awc_ecr_stats.sh
Last active June 5, 2026 17:21
AWS: Calculate the size of all ECR repositories
repos=""
sizes=""
name_lens=""
# Check if user is logged in
if ! aws sts get-caller-identity &> /dev/null; then
echo "ERROR: Seems like your SSO session is invalid. Please run"
printf "\n $ aws sso login\n\n"
echo "before you run the script."
exit 1
@RafaelWO
RafaelWO / docker-swarm-gpu.md
Last active March 18, 2025 04:15 — forked from tomlankhorst/docker-swarm-gpu.md
Instructions for Docker swarm with GPUs