Blog
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.
Connect to a Postgres Database and Run a Query From a Bash Script
Get Postgres and Bash to play nice.
Connect to an Oracle Database and Run a Query From a Bash Script
Get Oracle and Bash to play nice.
Total blog posts: 220