In most projects I know, Cucumber test suite speed is not an issue. Of course, running 350 features takes its...
If your application exports CSV, be advised that Excel and other spreadsheet applications treat certain cells (those starting with =, +, - or...
When attempting to update RubyGems, depending on updates your previously performed, you might run into an error ERROR: While executing...
We're usually running Ubuntu LTS versions. Sometimes newer hardware requires packages from more recent Ubuntu releases that only come...
Checking if a JavaScript value is of a given type can be very confusing: There are two operators typeof and...
RSpec allows you to mark a single Example/ExampleGroup so that only this will be run. This is very useful when...
If you already selected an element and want to get its parent, you can call find(:xpath, '..') on it.
When an Rspec example fails, I usually investigate by running that example again using rspec . However, this does not work...
An end-to-end test (E2E test) is a script that remote-controls a web browser with tools like Selenium...
When your public-facing application has a longer downtime for server maintenance or long migrations, it's nice to setup...
Slides for Henning's talk on Sep 21st 2017. Understanding sync vs. async control flow Talking to synchronous (or "blocking...
If you are using PDFKit / wkhtmltopdf, you might as well want to use custom fonts in your stylesheets. Usually this...
Download the dictionary from http://www.winedt.org/dict.html, e.g. http://www.winedt.org/dict/de_neu.zip unzip de_neu.zip mkdir ~/Documents/dic iconv -f UTF-16 -t...
The linked article shows how to exploit websites that include unsanitized user input in their CSS. Although the article often...
Let's say you have a form that you render a few times but you would like to customize your...
There are several gems that make it easy to read and process xlsx files. Parsing the entire file at once...
When localizing model attributes via I18n you may run into errors like this: I18n::InvalidPluralizationData: translation data {...
...} can not be...
Here is some JavaScript code that allows you to click the screen and get the clicked element's text contents...
I frequently find myself needing a combination of group_by, count and sort for quick statistics. Here's a method...
If you want to ssh into your vagrant box without switching into the project directory and typing vagrant ssh, you...
There are many approaches out there how you can import data from a legacy application to a new application. Here...
You should prefer native promises to jQuery's Deferreds. Native promises are much faster than their jQuery equivalent. Native promises...
Native promises have no methods to inspect their state. You can use the promiseState function below to check whether a...
rack-cargo gives your API a new /batch route that lets clients perform multiple API calls with a single request...