Convert OPML to PDF with a Bash Script

Many popular programs use a strange file format for data exports called OPML, or “Outline Processor Markup Language” (such as the popular note-taking app, WorkFlowy). This XML-based format is often used to relay outlines and mind maps as a hierarchical, ordered list of arbitrary elements. One of the benefits of using this format is its wide-spread use in other applications as a means of “importing” data. But what if you want to render OPML on your own without using third party software? It was this simple question that led me to write opml2pdf.sh, a simple but powerful Bash shell script. Continue reading Convert OPML to PDF with a Bash Script

The Execution Time Differences Between sed, grep, tr, and Bash

I’ve been writing a lot of time-sensitive server side code recently and in doing so I’ve come up against the timeless issue of execution times. While there exist many useful and easy-to-understand code frameworks and programs out there, some of the more complex and confusing programs simply run faster than them (most likely due to the lack of “fluff” coding involved in their operation). Continue reading The Execution Time Differences Between sed, grep, tr, and Bash