makandra offers an 8 month paid trainee program 🇩🇪 for junior developers that are looking to start a professional career in...
The :nth-child pseudo class is commonly used for targeting elements based on their position within a parent container, for...
When you want to filter records in a model where a string column roughly matches a given term, you can...
Interactively rebase your current branch onto main, keeping the original base commit (i.e. not rebasing onto main directly).
When you send automated emails from a noreply@-address, and the recipient has an out of office enabled, the autoreply...
You can check the maximum client Redis database size in Sidekiq with this command. Sidekiq.redis { |redis| puts redis.info.fetch('maxmemory_human...
Orca is a Linux screen reader. Since it is part of the GNOME project it should come preinstalled with Ubuntu...
In Rails, the implicit_order_column (added in Rails 6) is a configuration option that helps you define the default...
For Selenium tests, your browser starts in your local timezone, or whatever your system's environment specifies. This is usually...
Why Rails has multiple schema formats When you run migrations, Rails will write your current database schema into db/schema.rb. This...
Here is a workaround for when you want to use text-wrap: balance but must also render nicely for browsers...
DirectUpload allows you to upload files to your file storage without having to wait for the form to submit. It...
ActiveStorage does not provide any built-in way of implementing authentication for the available DirectUpload endpoint in Rails. When using...
Added methods to keep the line number steady while you time-travel between commits: Copy the file to a new...
For long running scripts it is useful to show a indicator for the progress in the terminal. Alternatively you can...
I have moved away from creating fixture elements using CSS selectors. While CSS can be very concise, it can be...
SVG files often contain redundant information, like editor metadata or hidden elements. When esbuild handles your static assets, you can...
PostgreSQL can cosplay as a full-text search engine. It doesn't have the features or fidelity of ElasticSearch or...
Method delegation in Rails can help you to keep your code organized and avoid deep call chains (law of demeter...
There are several ways to run a single spec. I usually copy the spec file path with the line number...
Sometime we've seen this error when executing e.g. bundle exec rake asset:precompile: double free or corruption (out)
Haml renders HTML with indentation reflecting the nesting level of elements. When it comes to white-space preserving content, this...
It is possible to add custom http header to request made by the docker CLI client. This can be used...