Rename PNG Files to Random UUIDs
A simple Bash script that renames all .png files in the current directory using randomly generated lowercase UUIDs. It ensures uuidgen is installed before execution and skips renaming if no…
Limited availability — accepting new projects starting August 2026.
If brew services start httpd succeeds but brew services list shows an error with root as the user, you likely have a leftover system LaunchDaemon from a previous sudo brew services invocation alongside the user LaunchAgent. Remove the system daemon to resolve the conflict.
brew services stop httpd || true
sudo brew services stop httpd || true
sudo launchctl bootout system /Library/LaunchDaemons/homebrew.mxcl.httpd.plist 2>/dev/null || true
sudo rm -f /Library/LaunchDaemons/homebrew.mxcl.httpd.plist
brew services cleanup
brew services start httpd
After this, brew services list should show httpd as started under your user.
A simple Bash script that renames all .png files in the current directory using randomly generated lowercase UUIDs. It ensures uuidgen is installed before execution and skips renaming if no…
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…
A companion to the Bash UUID rename snippet, this AppleScript is meant to be dropped into a "Run AppleScript" action inside the macOS Shortcuts app (or Automator as a Quick Action). It accepts…