yes@petr.codes
Blog Resume
Blog Resume

Bridgetown

How to generate sitemap.xml with Bridgetown

28 Mar 2021

bridgetown, sitemap

During playing with Bridgetown (that I am using on this site), I needed to add a sitemap.xml file for search engines.

Dokku

Using Dokku with Let's Encrypt wildcard certificate

21 Mar 2021

dokku, lets encrypt, wildcard

Wildcard certificates are handy and this was the first time when I needed to use them with Dokku. It was a little bit harder than I expected, but luckily, it is doable even with automatic renewal.

Rails, Modern Rails flash messages

Modern Rails flash messages (part 2): The undo action for deleted items

20 Sep 2020

rails, ruby, sidekiq, stimulus

In the previous article, I’ve prepared a way how to add actions to the Rails flash messages. In this article, I will explore one way, how to use them for the undo action for deleted records.

Rails, Modern Rails flash messages

Modern Rails flash messages (part 1): ViewComponent, Stimulus & Tailwind CSS

1 Sep 2020 ・ Updated on 20 Sep 2020

rails, ruby, viewcomponent, stimulus

I always thought that flash messages in Rails could be better. Don’t get me wrong, I really like how they work and how easy is to use them.

Showing 7 to 10 of 10 posts

Previous
Mastodon LinkedIn GitHub

© 2025 Petr Hlavicka.
Built with Tailwind CSS, Tail-kit, Bridgetown and