Recent
- Testing Out AI Workflows
15 July 2025
Lately I’ve been playing around with AI workflows using Cursor and various web chatbots. I’ll post a more in depth workflow later, I’m mostly writing this to see if my blog post workflow is still working….
- April 10, 2025
10 April 2025
Zephyr is a great RTOS, but it can be extremely difficult to start learning.
- April 9, 2025
9 April 2025
Setting up automations to make publishing easier is important. Today I used chatgpt to help build some go programs that allow me to write quick blog posts from the terminal
How I Automate Hugo Blog Posts 16 October 2024
I recently setup this Hugo blog and I thought I would share how I created a simple workflow to create a new blog post. Alfred workflow When I type nbp {title} into the Alfred command bar it runs the following script query=$1 dateTime=$(date +"%Y-%m-%dT%H:%M:%S") # ISO 8601 format # Create directory and navigate into it cd ~/programming/blog/mdrupp.com/content/posts && mkdir $1 && cd $1 # Create and populate index.md with frontmatter cat <<EOF > index.md +++ title = '$query' date = $dateTime draft = true +++ EOF This creates the folder {title} changes directory into it, and echo’s the front matter into a file called index.md. Using a folder structure instead of a file structure lets me easily embed images alongside the text.