Category: Fixes

The struggles are real, but the solutions are too. Read about the annoying problems I’ve faced and the (sometimes creative) fixes I’ve found to overcome them. Because who hasn’t wasted hours on a stupid bug?

  • Simple Bash function to use md5sum for string input

    Simple Bash function to use md5sum for string input

    Using macOS for most of my work, if I want to retrieve the hash of a string, macOS provides an easy md5 function, located under /sbin/md5 and callable in any terminal:

    $ md5 -s 'Hey md5!'

    Linux does things a little differently, but with a single line in Bash, you can keep the easy macOS syntax.

    (more…)