makandra dev
poinz.herokuapp.com

If you are using scrum in a project you might be familiar with planning poker, a playful way to agree...

To start a workflow manually it must have a trigger called workflow_dispatch: --- name: Tests on: push: branches: - master

If you have a flaky command you can use the nick-invision/retry to re-try a failing command, optionally...

...globally to utf-8 may cause other issues as the original charset (e.g. UTF-16) is no longer respected...

In case your integration tests crash with a message like below, try to upgrade Capybara to a newer version (3.35.3...

Capybara added a deprecation warning in version 3.35.3 (version from 2019) that shows up if your selector is not of...

makandra dev

6.0.0 2021-06-02 Compatible changes geordi commit will continue even if one of the given projects is inaccessible. It...

We recently noticed issues with Chrome 75+ when having the w3c option enabled within the Selenium webdriver. It looks like...

When testing JavaScript functionality in Selenium (E2E), you may need to access a class or function inside of a evaluate...

I encountered a unlucky behavior of byebug 11.1.3 (the most recent version at time of writing) when using it with...

makandra dev

While renaming a file sometimes feels like "dropping its history", that is not true: Just use git log --follow on...

rspec.info

rspec >= 3.1 brings a method and_wrap_original. It seems a bit complicated at first, but there are use cases...

output ||= try_conversion { input.force_encoding('UTF-8') } # Try interpreting input as Windows-1252, because we've seen many such strings with incorrect encoding. output ||= try_conversion { input.encode('UTF...

...Windows-1252') } # Add any extra conversions that might make sense in your case. output ||= try_conversion { input.encode('UTF-8', 'ASCII-8BIT') } output ||= try_conversion { input.encode('UTF-8', 'US-ASCII') }

Browsers usually cache website content in order to provide the user with faster responses. Examples are returning to a website...

makandra dev

You can publish pre-release versions of an npm package. Naming convention for pre-release versions An npm package must...

makandra dev

When a Ruby version gem has a letter in its version number, it is considered a pre-release:

The usual way to build a relation in a ActiveSupport::Concern is this: module MyModule extend ActiveSupport::Concern

jetbrains.com

In RubyMine folders can be excluded from search, navigation etc. by marking it as excluded. You might sometimes wish to...

When deleting a record in your Rails app, Carrierwave automatically takes care of removing all associated files. However, the file...

If your Webpack build is slow, you can use the Speed Measure Plugin for Webpack to figure out where time...

To run additional code before an existing Rake tasks you can add a dependency like this: task :before_task...

Sometimes you want to load code on demand. For instance, when a a large library is only used on a...

makandra dev

Webpack builds can take a long time, so we only want to compile when needed. This card shows what will...

docs.gitlab.com

Use rules to include or exclude jobs in pipelines. Rules are evaluated in order until the first match. When a...