The git doc states on the difference of these two commands: git-restore[1] is about restoring files in the...

Rails' url_for is useful for generating routes from a Hash, but can lead to an open redirect vulnerability.

Newest versions of Chromedriver breaks the user agent for device emulation via device name. In previous versions the user agent...

Capybara allows you to filter elements that are focused. page.find(:fillable_field, focused: true) # Filtering only fillable inputs for performance...

In CI test runs I noticed that string sorting order changed after switching from a debian-based PostgreSQL docker image...

atlassian.com

Git log offers useful options for filtering. This card provides a short overview. By message Only commits that include a...

Sometimes you'll find yourself with a set of tasks that require similar code for different models. For example, if...

Intel CPUs receive updates, including security relevant upgrades, through 2 channels: Firmware/UEFI BIOS updates can also update the microcode in...

When you write your next CarrierWave uploader, consider processing your images with libvips instead of ImageMagick. Reasons for libvips

newrelic.com

alias_method makes a copy of a method. This works fine until the same method is overridden using prepend. If...

Splitting up commits makes the process of reviewing often easier, since you can create several merge requests or review every...

It most cases it's not necessary to add a version constraint next to your packages in the package.json. Since...

It most cases it's not necessary to add a version constraint next to your gems in the Gemfile. Since...

makandra dev

If you have a fully functional CI pipeline but no CD, you might find yourself frequently waiting for CI (with...

Git commands like diff use the less binary for their output representation. I often find myself searching for strings like...

Code splitting is a feature of esbuild that can keep huge libraries out of the main bundle. How code splitting...

I recently noticed that better_errors allows you to to open files from within your favorite editor. However it was...

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...

When you're using a third party repository on your Ubuntu or Debian system and need to find out which...

tl;dr asdf allows you to manage multiple runtime versions with a single CLI tool and is backwards compatible by...

We recently encountered a problem with GlusterFS (7.x) when an application used the flock syscall on a GlusterFS path...

Capybara has a variety of finder methods like find_button to help you look up DOM elements. There are also...

A lot of web applications require being called over https, which is a good thing. It's possible to configure...