Blog
Convert a PDF File to PNG or JPG With Imagemagick on Mac
I needed to convert some large PDF files into images for my wife. All of the free online converters had a file size limit of around 25 MB… but the files I was working with were a few hundred MB. Once again, Imagemagick comes to the rescue. Here’s how to do it:
Massage a JSON File With a Node.js Script
At work, some of our projects keep test data in large JSON files. These files are usually structured as an array of objects, which can be thousands of lines long. When I need to make changes, manually find-and-replacing can only get me so far. I can get cleverer with vscode’s regex mode, but still, I am limited.
Install Docker and Docker Compose on Mac
It’s no longer feasible to maintain this doc. Instead, see Get Docker.
Someone Can Explain the Theory of Bike Riding Badly, Yet Still Ride a Bike Well
In an excerpt from his book Antifragile, Nassim Nicholas Taleb lays out a conversation between Fat Tony and Socrates. My gut reaction when reading this was to defend Socrates. But after a few reads this gem soaked in: a person can know a thing well, and still explain it badly in words.
Install Ruby Version Manager (RVM) on Mac
I agree, it shouldn’t be this hard. Alas.
Total blog posts: 220