s keeps saturation unchanged. calc(100 - l) inverts lightness. For example, 0% becomes 100%, and 100% becomes 0%. Example usage .demo { --inverted-color: hsl(from currentColor calc(h...

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

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

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

makandra dev

Authentication is a special part of web applications. On the one hand, it usually is a crucial security mechanism restrict...

makandra dev

Field error steps Spreewald's The...

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

...field should have the error...

...steps now...

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

...a? Capybara::Driver::Selenium Now the selenium driver is located by Capybara::Driver::Selenium. A better-looking approach would be: Capybara.current_driver == :selenium page.response_headers['Content-Disposition'] should be page.response.headers...

Using Ruby 1.8.7 you will not be able to use the maximum versions Rubygems 1.8.30 and Bundler 1.17.3 with https://...

There seems to be a nasty bug in Chrome 56 when testing with Selenium and Capybara: Slashes are not written...

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

makandra dev

...lib provides a built-in email regex URI::MailTo::EMAIL_REGEXP. That's the best solution to work with. /\A[a-zA-Z0-9.!\#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA...

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

Canonical does not ship Ubuntu 24.04+ Vagrant images due to HashiCorps switch to the Business Source License (BSL). There is...

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

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

I used two lab days to read the The framework field guide - Fundamentals, the first of a three part series...

The gemspec for gems allows to add metadata to your gem, some of which have a special meaning and are...

DevOps Curriculum

Wir arbeiten bei makandra alle auf Linux-Betriebssystemen und bedienen im DevOps- & Cloud-Bereich primär Kunden, die ebenfalls auf Linux als Ziel-System setzen. Entsprechend benötigen wir tiefgehendes Wissen über...

...umfangreich. Verwende solche Inhalte zum nachschlagen von spezifischen Themen. The linux command line for beginners Installiere tldr mit dem Befehl sudo apt install tldr. Damit kannst du dir Beispiele für...

makandra dev

A primer on vector graphics For rastered image formats like JPG or PNG, each pixel is basically drawn on a...

...Normalize characters in Ruby". Specs (for nerds) Here are some specs that describe the behavior of #to_sort_atoms: describe String do describe '#to_sort_atoms' do it 'should return...

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

github.com

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

Ctrl + Alt + S > search "rubocop on save" Under "Inspections", check the highlighted box on rubocop -a Caveat: This adds a...