ruby

Add a custom Tailwind CSS class for reusability and speed

Add a custom Tailwind CSS class for reusability and speed

This article was originally published on Rails Designer This is another quick article about something I use in every (Rails) app. I often apply a few Tailwind CSS utility-classes to create smooth transitions for hover- or active-states. I use this one so often that I create a custom smoothTransition class. So instead of writing transition ease-in-out duration-200 I write smoothTransition. Much smoother! Typically you'd write a CSS selector within the @layer utilities directive, like so: @layer utilities { .smoothTransition { transition-property: all; transition-timing-function: ease-in-out; transition-duration: 200ms; } } Enter fullscreen mode Exit fullscreen mode And this would certainly work just…
Read More
Munster – Webhooks processing engine for Rails

Munster – Webhooks processing engine for Rails

By the time of writing this article, I had already written webhook processing logic at least 10 times for different companies and clients. Together with Julik we have implemented one recently at our current place of employment. And guess what? Once a second service had to be built, it needed to accept webhooks too. Our combined experience in the ingestion of webhooks had already produced a reasonable generic solution. Should we just copy some files over to a microservice and duplicate that code? Nah, let's save the world from wasting those countless hours of re-implementing webhooks over and over again!…
Read More
Introducing jekyll-crypto-donations: Easily Add Crypto Donation Blocks to Your Jekyll Site

Introducing jekyll-crypto-donations: Easily Add Crypto Donation Blocks to Your Jekyll Site

Hello Dev Community! I'm excited to share the release of my new Jekyll plugin, jekyll-crypto-donations. This gem allows you to seamlessly integrate cryptocurrency donation blocks into your Jekyll-generated websites. Whether you're a blogger, content creator, or developer, this plugin can help you receive support from your audience through crypto donations. Why jekyll-crypto-donations? Cryptocurrency donations offer a decentralized and borderless way to receive support from your audience. With the rise of digital currencies, it's essential to have a simple solution for integrating donation options into your site. That's where jekyll-crypto-donations comes in. This plugin provides a straightforward way to display donation…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.