A Fish Script for Creating New Hugo Posts

I’ve streamlined my blogging process using Hugo by automating tasks with the Fish Shell. I created a simple script that saves me a few minutes each time I write a new post. It automatically starts a new Hugo post and opens it in Helix editor, allowing me to write, save, and publish with ease. File name: new_til.fish function new_til -d "Create a new Today I learned post on Hugo" set blog_path ~/sites/blog set date_str (date +%Y-%m-%d) cd $blog_path hugo new til/$date_str-$argv[1].md hx content/til/$date_str-$argv[1].md end Just save the script into ~./config/fish/functions and to start a new Today I Learned post, just type $ new_til post_title

11 February 2025 · 1 min

Running PostgreSQL with Podman and volume

This is a short snippet to run PostgreSQL using Podman with a volume. The snippet has been tested on Fedora 41. Create the Podman volume $ podman volume create psqldevel Run PostgreSQL $ podman run -d -p 5432:5432 -v psqldevel:/var/lib/postgresql/data -e POSTGRES_PASSWORD=xx --name psqldevel postgres:latest

10 February 2025 · 1 min

Introducing Today I Learned

As I continue to explore the world of Data Engineer, Linux, Fedora and other intersting topics, I often find small but interesting topics, that don’t deserve a full blog post, but I don’t want to let these discoveries to go away. In this section, I’ll be documenting and sharing short snippets of knowledge, tips and tricks that I’ve learned along the way. These posts will be bite-sized, easy to digest and hopefully, useful to others who may be on a similar journey.

10 February 2025 · 1 min