We recently migrated a Rails application from yarn to npm. We decided to go this step instead of upgrading to...

If you have content inside a page that is hidden by CSS, the following will work with Selenium, but not...

...GA configurable without changing anything in the application's code base (and much more beyond, see below). Only prefer GTM if the customer requests it, or if he is updating...

...his tracking requirements frequently. The idea behind GTM The "tag" in "Google Tag Manager" has nothing to do with HTML tags, nor with word tags or tag clouds. In the...

...It's much easier to detect the current Rails environment instead. You might be better of checking against the name of the current Rails environment. To do this, store the...

github.com

Ever needed to use a global variable in Rails? Ugh, that's the worst. If you need global state, you...

Recent IRB versions include a multi-line autocomplete which may be helpful to novice users but can be distracting.

Removing features and merging those changes back can be painful. Here is how it worked for me.\

open-ui.org

...To do that, we’ll need to fully specify the component parts, states, and behaviors of the built-in controls, as well as necessary accessibility requirements, and provide test suites...

...reinvent common web UI controls to give designers full control over their appearance and behavior. We hope to make it unnecessary to reinvent built-in UI controls, but for those...

These steps are now part of Spreewald. Here are some useful examples how to use the attached Cucumber Timecop steps...

Creating records in specs can be so fast that two records created instantly after one another might have the same...

Interactively rebase your current branch onto main, keeping the original base commit (i.e. not rebasing onto main directly).

To set a cookie in your test browser for cucumber tests, you need to know which driver you are using...

If you need to make an HTTPS connection to a host which uses an expired certificate, do not disable certificate...

Disclaimer This card is a collection of guides and things to have in mind when upgrading to a specific version...

Ncdu is a disk usage analyzer with an ncurses interface. It is designed to find space hogs on a remote...

We're usually running Ubuntu LTS versions. Sometimes newer hardware requires packages from more recent Ubuntu releases that only come...

...existing bash script to work for commits that are referencing Linear IDs. A core benefit of our convention to prefix commits by their corresponding issue ID is that we can...

...easily detect commits that belong to the same issue. You can either do that manually or use the bash script below. It can either be placed in your .bashrc or...

Here is how to start your Rails application to accept both HTTP and HTTPS in development. gem install passenger

makandra dev

Field error steps Spreewald's The...

...field should have an error and The...

...field should have the error...

...steps now...

makandra dev

...for Rails 2 and 3. Recently, caching with timestamp- or content-based keys has become more popular which saves you the pain of invalidating stale caches. How to enable/disable caching...

makandra dev

...willy@astor.de" And I follow "Cancel account" Then I should see "Account canceled" By going beyond the single line descriptions we've accustomed to, we can provide all the information that...

makandra dev
badssl.com

Website that offers lots of different kinds of HTTPS configurations, bad or good or complicated. They also offer a dashboard...

I recently stumbled over a quirk in the way Ruby handles local variables that I find somewhat dangerous. Consider:

atlassian.com

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