All Posts

A Bluesky AT Proto API Example in Ruby

Published: November 18, 2024
Bluesky has blown in a bit recently as an X alternative. It provides a free API to post to an account's timeline.

Migrating From Nginx to Caddy

Published: November 05, 2024
Caddy offers a simplified and easier to manage configuration than nginx. I wanted to give it a try.
Tags: caddy, rails, vps

Quick and dirty cron for Rails

Published: May 22, 2024
Want some code to run every few minutes but don't want to load up a scheduling library or background job processor?
Tags: ruby, rails, puma

Integrating Google One Tap in a Rails Application

Published: June 25, 2022
Google One Tap provides an easy and frictionless method of allowing a user to authenticate with your application.

Adding an index to a partitioned table and its children in PostgreSQL and Rails

Published: March 30, 2022
Postgres 10+ made partitioning tables much easier, however adding an index to a table with many partitions and data in them already is not straightforward if you want to avoid long table locking.