Using mkpasswd on macOS (via Docker)
I had a random need to use mkpasswd today while on macOS. Which, of course, isn't available.
Thanks to an answer on Stack Exchange for a question that was asked over 9 years ago, I had a solution.
docker run -it --rm alpine sh -c 'echo "yourpassword!" | mkpasswd -m sha512 -s'
Docker was available. Was this overkill for the solution? Absolutely. But it worked and I got what I needed. And it was a real answer, from a real person. Not some regurgitated, useless answer from an LLM that would have sent me in 9 different directions before never getting to the point.
So, thank you Stack Exchange, and thank you hammady. This is why actual discussions, and things like forums, were so useful. Not all hidden in some random Discord hellhole.