GeistHaus
log in · sign up

Kadu Diógenes

Part of kdiogenes.github.io

Just a programmer daily.

stories primary
UI Components for TailwindCSS
FrontendUI Components
Recently I released a project called WaveCaption that uses TailwindUI. It was a simple project, so I didn’t use React or Vue, just Rails with Hotwire. It worked well, but I get a bit annoyed about having to write JS to handle dropdowns, drawers, and other UI components. Recently, I read Build a (progressively enhanced) drawer component with Hotwire1 and started to think if my life would be sim...
/posts/ui-components-for-tailwindcss/
Does Turbo Fight with Rails Conventions?
BackendFrameworks
Let’s say I have a transcriptions/index.html.erb with the following code: <div class="px-2 py-4"> <ul role="list" class="divide-y divide-gray-100"> <%= render @transcriptions %> </ul> </div> By the Rails convention, the partial transcriptions/_transcription.html.erb will get rendered for each transcription. Let’s assume that the transcriptions/_transcri...
/posts/does-turbo-fight-with-rails-convetions/
Configuring TailwindCSS Prettier Plugin for ERB Files in VS Code
FrontendTools
Sometime ago I configured the TailwindCSS plugin to work with Prettier. I think I followed this tutorial: https://fwuensche.medium.com/how-to-auto-format-erb-files-on-vscode-c82a03565d22, but I’m not paying Medium anymore, so I don’t know for sure. The package used in the post above is the prettier-plugin-erb, it doesn’t receive updates in the last 3 years and isn’t compatible with Prettier 3....
/posts/configuring-tailwindcss-prettier-plugin-for-erb-files-in-vscode/
Exploring Campfire Tests
Software DevelopmentTesting
I was always curious to see real 37signals code. When they released their first ONCE product, Campfire, I was tempted to buy it but I was not willing to spend US$ 299,00, the release price, and now it’s US$ 399,00. For me, it was too much money. Some time ago, they released special prices for some countries, and I bought it for R$ 499,00, approximately US$ 90,00 today. I still think that it’s ...
/posts/exploring-campfire-tests/
Exposing a local Kubernetes cluster with Minikube
DevOpsKubernetes
I’m far from being a Kubernetes expert, but I’m dedicated to learning more about it, and for me, the best way to learn is by doing. It’s easy to get a local Kubernetes cluster up and running, there are many tools available to help you with that, and although I’m using Minikube in this post, most of the content here can be applied to other tools. To make you cluster reachable, you need a DNS po...
/posts/exposed-local-kubernetes-with-minikube/