It's 2024 and we have tools like ffmpeg, imagemagick and GPT readily available. With them, it's easy to...
It is still possible to style the -webkit-scrollbar-* pseudo elements in Chrome 121+. However the now supported spec-compliant...
Up until Chrome 120, scrollbars could only be styled using the various -webkit-scrollbar-* pseudo elements, e.g. to make the...
While upgrading CarrierWave from version 0.11.x to 3.x, we encountered some very nasty fails. Below are the basic...
Most of our applications use CarrierWave for file uploads. CarrierWave has an integrated processing mechanism for different file versions with...
Besides Plotting graphs in Ruby with Gruff, which comes handy for many uses cases, you sometimes might need configuration for...
For my computer science bachelor's thesis I programmed and evaluated a CLI Test Case Prioritization (TCP) tool for makandra...
In CI test runs I noticed that string sorting order changed after switching from a debian-based PostgreSQL docker image...
You can tell npm to install a package globally with npm -g install @puppeteer/browsers. However, it seems that its not...
When you write your next CarrierWave uploader, consider processing your images with libvips instead of ImageMagick. Reasons for libvips
Debugging your integration tests, that run a headless Chrome inside a docker image, is tricky. In many cases you can...
When you allow file uploads in your app, a user might upload content that hurts other users. Our primary concern...
Every Rails response has a default ETag header. In theory this would enable caching for multiple requests to the same...
The linked content describes: The different color space of Oklch and RGB/HSL (HDR colors) The advantage of Oklch when you...
SASS has an @extend keyword to inherit styles. .alert color: red &.-framed border: 1px solid red padding: 5px &.-homepage
Not all email clients support external images in all situations, e.g. an image within a link. In some cases, a...
Carrierwave's BaseUploader can have some validations that you can use by overriding a certain method, which's expected name...
Sometimes I ran across a GitHub merge request of a gem where it was not completely obvious in which version...
The linked article found a simple way to rewrite legacy git aliases to make them work with differently named default...
Usually, design development starts with drafts, sketches and prototypes. These are reviewed, refined and iterated until the final design is...
We usually rely on VCR and WebMock to prevent any real network connection when running our unit tests.
You have some SVG files you want to use as icons on your website. How would you embed them?
As a developer you may have many tools watching your project for changes: Your IDE, Webpack, Guard, etc. This is...
tl;dr In Chrome DevTools in the Layouts tab you have handy options to debug CSS Flexbox and Grid. Including...