Ops & Scripting
BashOct 22, 2026
Report the largest files
Official Bits example. A strict-mode Bash one-liner chain that reports the 20 largest files under a directory on Linux.
findlinuxdiskbash
001
Retry with exponential backoff
Official Bits example. A reusable PowerShell function that retries a script block and doubles the delay after each failure.
powershellwindowsautomationretry
001
Docker Compose with healthcheck
Official Bits example. A two-service Compose file with a health-gated dependency, persistent volume and restart policy.
docker-composepostgresqldeploymentyaml
001
Parse --key=value arguments
Official Bits example. A dependency-free Lua argument parser for simple --key=value command-line interfaces.
scriptingluaargumentscli
001
Count log lines by level
Official Bits example. Stream a log file through a regex and print per-level counts without loading the file into memory.
text-processinglogscliperl
001