Prunes an archive directory without touching anything recent. Run it with -print first to see what would go.
Tag
Snippets tagged c
Strips a prefix from every file in a directory using shell parameter expansion, no rename utility required.
The four lines that turn a script from 'carries on after an error' into 'stops at the first problem'.
A quick census of a repository without installing a tool for it.
Three ways to put a folder on localhost when you need to test something quickly.
Binary search across history. Mark a known good and a known bad commit and git narrows it down for you.
Finds every commit whose diff added or removed a piece of text, including in files long since deleted.
The reflog remembers where HEAD has been for about ninety days, so a deleted branch is almost never really gone.
Finds the branches that are safe to delete, and the ones that are not.
Builds with the full toolchain, ships only production dependencies, and runs as a non-root user.
Reclaims disk after a week of building. The volume flag is separate because it is the one that loses data.
Falls back to sh, since slim images often have no bash.