Delete Local Git Branches Whose Remote Was Deleted
When working with feature branches, it’s easy for your local repository to accumulate branches that were already deleted on the remote. This snippet safely removes all local branches whose…
Limited availability — accepting new projects starting January 2027.
Quickly convert a PNG image to the modern WebP format using the cwebp CLI tool. This command sets the output quality to 80%, striking a good balance between file size and visual clarity—perfect for optimizing images for the web.
cwebp -q 80 image.png -o image.webp
When working with feature branches, it’s easy for your local repository to accumulate branches that were already deleted on the remote. This snippet safely removes all local branches whose…
Two tiny shell functions around pwgen for generating random passwords from the terminal: pw for letters and digits, pwspec for when a site wants special characters too. Both default to 20…
Easily create a semi-transparent version of any color using color-mix(). This CSS function blends two colors in a specified ratio. In this example, currentColor is mixed with transparent at 50…