Recent posts
On becoming a 10x engineer
I know, 10x engineer is click bait-y...
LLM based agent systems
A list of resources for AI and LLM.
Upgrading Dokku version by version
I've used the dokku-update
app in the past, but version 0.30.0 has a breaking change, so I needed to upgrade to 0.29.x first.
It doesn't look like dokku-update
app doesn't support specific versions.
Here's what I did to upgrade manually.
Setup Postgres with pgvector on Dokku
I'm starting to experiment with AI on Route285 and need a vector database. Since I'm already using Postgres and Dokku, I'm adding pgvector. Pgvector isn't installed by the main Postgres images.
Rails Premailer Webpacker Using Full Paths
I've ran into this a couple of times and it's taken forever to figure out! I don't know how I fixed it before, but this is how I fixed it this time.
WordPress Verify Checksums
Bridgetown with Dynamic Routes on Dokku
Bridgetown is a Ruby based static site generator. Being Ruby is awesome already, but with the new dynamic routes feature and support for Turbo it could be a really powerful site builder. Static for most things, and dynamic content provided by Turbo!
Use modern CLI tools to search and replace text in files
Searching and replacing text is easier with modern CLI tools. I'll show you how to use ripgrep and sd to search and replace text in files.
SMTP Set Up For Hosting Servers
Notes for setting up SMTP for sending mail from hosting servers.
Install Directus on Dokku
It's time to create a database for Route285. Up until now, I've been using Markdown and JSON files to manage the data for the site.
After looking at a few options, I settled on Directus. In thier words:
Projects
Opensource
Snips
Workarea is an enterprise-grade Ruby on Rails commerce platform.
Remarkbox: Hosted comments. https://www.remarkbox.com/
This is awesome! ML gems for ruby! Just need a project to use them on! Nice work @andrewkane!
Find & fix trailing whitespace in files.
grep -l $'[ \t]$' -r app/views | xargs -L 1 ex +'%s/\s\+$//g' -scx
Testing snips and brid.gy some more alsdjf