If you have many connections to your MySQL or MariaDB (as we have) you might want to filter the list...

In Ruby 2.3 you can use <<~ instead of <<- to automatically remove indentation from a HEREDOCs: str = <<~MESSAGE Hello Universe!

makandra dev

When you're using feature branches, they will stack up if you don't delete them after the merge to...

Until recently, you could open a new tab via window.open when using execute_script in Selenium tests. It no longer...

The nokogiri gem provides different packages for several platforms. Each platform-specific variant ships pre-built binaries of libxml2, e.g...

github.com

We will use this for new Angular code. Consider the guide in "beta". Things will still refine, but the general...

E-mails are usually encoded using Quoted Printable. Here is how to decode or encode such strings. You probably know...

nginx.org

You can use proxy_hide_header in different contexts: Syntax: proxy_hide_header field; Default: — Context: http, server, location

unix.stackexchange.com

As described by the linked Stackoverflow answer, run these commands: sudo add-apt-repository ppa:git-core/ppa -y

Regular expressions in Javascript are represented by a RegExp object. There also is a regex literal as in many other...

github.com

You know that Devise offers RSpec test helpers for controller specs. However, in request specs, they will not work.

github.com

When using Sidekiq in your application, you must write thread-safe code. This wiki page also lists gems that are...

This looks like it is safe to use: 2.2.1 :001 > a = b = "hello world" "hello world" 2.2.1 :002 > a

I recommend to go straight to 2.1.5+ without intermediate steps. Otherwhise you burden yourself with unnecessary work of encoding problems...

Cucumber raises a Cucumber::Ambiguous if more than one step definitions match a step. Our new cucumber_priority gem provides...

Spreewald 1.4.0 comes with this step: When I click on the element ".sidebar" We recommend to define a selector_for...

puppet.com

The puppet server caches custom functions. If you edit an existing function (e.g. while you’re developing it), you’ll...

makandra dev
serverfault.com

Logging tcpdump output all the time can create a huge amount of data. This can be both: too much data...

Spreewald 1.3.0 comes with these steps: Then I should see an element ".panel" Then I should not see an element...

Ruby has the class Proc which encapsulates a "block of code". There are 2 "flavors" of Procs: Those with "block...

makandra dev
catonmat.net

Activate VI mode by running set -o vi Now use your Bash as if it were VI! Hit Esc to...

As we get an exception notification, when a cron job fails, we wish to have the full backtrace in this...

makandra dev
stackoverflow.com

When there's a Gemfile.lock in your working directory that you cannot remove by either checkout, reset [--hard], stash, probably...

Simply add this to your .rspec instead: --require spec_helper If you are on rspec >= 3 and use a rails_helper.rb...