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...
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...
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...
You know that Devise offers RSpec test helpers for controller specs. However, in request specs, they will not work.
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...
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...
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...
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...
I had a very frequent cronjob that in rare cases could be relatively slow. To avoid multiple instances of this...
MutationObserver provides developers a way to react to changes in a DOM. Any: insertion, deletion, attribute change – anything. Quickstart: https://...
A very informative and interesting presentation about browsing performance, looking at efforts Google Chrome takes to increase it.
Command line text editor with syntax highlighting, menus (F1), etc. This might be a worthy replacement for nano if you...
From time to time, RubyMine suddenly did not accept any keyboard input and felt crashed, while mouse interaction was still...