Blog

A collection of quotes, things learned, and who-knows-whats

From SQL to Java String and Back

Manually converting SQL to a Java string, or vice versa, isn’t bad if it’s only a few lines. But when your query is hundreds of lines, that’s no fun. So I wrote Bash scripts to do the heavy lifting. Each script is below, followed by an example usage.

Encourage Your Children

If it’s not obvious from the other content on my site, I’m a huge Jordan Peterson fan. He has this way of weaving together multiple disciplines – mythology, psychology, and biology, to name a few – into a fascinating message (sermon?), that pulls at the deepest parts of you. He recently released a short video named encourage your children. I liked it so much, I’ve transcribed it below.

Recursively Rename File Extensions With a Bash Script

I was recently helping a Hugo user rename all their content files from .md to .mmark. Posting it here since it’s useful for more than just Hugo projects.

Current page: 30 of 44
Total blog posts: 220