esbuild comes with a minifier that is good enough for most cases. If you're looking to squeeze out as...

Rails' default logger prefixes each log entry with timestamp and tags (like request ID). For multi-line entries, only the...

With this command you can run all the spec files which have been edited or added in the current branch...

Rails credentials are a way to store secrets in an encrypted YAML file. Usage is simple: each key in the...

You are given two CSS selectors that you do not control. How can you build a new selector that matches...

Sometimes we have to write code that behaves differently based on the version of a specific gem or the Ruby...

makandra dev

While most Rails Apps are tied to at least one external REST API, machine-to-machine communication via GraphQL is...

When Rails releases a new version of their gems, they also release a number of npm packages like @rails/activestorage or...

Some rubygems come in platform-specific versions (i.e. "x86_64-linux") in addition to the usual "ruby" platform. This is...

Running gem update --system will install the latest version of RubyGems. However the latest version might not be compatible with...

This cards describes an example with a Github Client on how to keep your Rails application more maintainable by extracting...

After an upgrade to rails 7 I noticed that async reindexing jobs of Searchkick were failing for Model.reindex(mode: :async...

If you are using the routing-filter gem in your Rails 7.1 app for managing URL segments for locales or...

As we're switching from PT to Linear, I've updated the existing bash script to work for commits that...

open-ui.org

tl;dr When browsers start to adapt proposals from Open UI, it might not be necessary to use any 3rd...

Why do we migrate? Due to a change in licensing, we cannot provide Elasticsearch versions >= 8.0. Version 7.17.x will...

makandra dev

There are two ways a logout in SAML can happen: Service Provider (SP) initiated and Identity Provider (IDP) initiated logout...

Note Using rem only ever makes sense when the root font size is dynamic, i.e. you leave control to the...

If you are using git submodules in Gitlab CI, you might run into a "The project you were looking for...

It's 2024 and we have tools like ffmpeg, imagemagick and GPT readily available. With them, it's easy to...

makandra dev

10.0.0 2024-03-07 Compatible changes console command: You can now globally disable the IRB multiline feature by setting irb...

The Web Animations API has great browser support, and you should be using it to animate DOM elements from JavaScript...

Up until Chrome 120, scrollbars could only be styled using the various -webkit-scrollbar-* pseudo elements, e.g. to make the...

I recently noticed a new kind of flaky tests on the slow free tier GitHub Action runners: Integration tests were...