Posts
Chatgpt Help With HTML
I share how I use ChatGPT-4 and a custom JavaScript function to make editing CSS for new and existing web pages easier.
Posts
Chatgpt Parse Export
I wrote a small Go program to parse a ChatGPT export file and generate a series of Markdown files from it, one per conversation, suitable for Obsidian or any other Markdown based editor.
Posts
Migrated to Hugo
I’ve migrated the blog from hosted Wordpress to Hugo. These are my rough notes for how I did the migration.
Posts
JSON Configuration Includes
Everything needs configuration data. Some people use .toml files, others use .ini or .yaml. I don’t like any of those file formats and I also just prefer JSON for data in general. So at groups.io all our configuration data is in JSON formatted files. But I wanted the ability for config files to include other config files, which is not something that JSON normally supports, so I wrote a small utility function to support including JSON files in other JSON files.
Posts
Upgrading Postgres Using Pglogical
Recently, I upgraded the Groups.io database from postgres version 9.6 to 14, using pglogical to do so. These are my rough notes, mainly for myself to refer to the next time I need to do an upgrade, but perhaps they will be useful to others as well.