Boot partitions from installations prior to the 16.04 era are terribly small. When you install updates and encounter errors due...
MySQL and MariaDB have an SQL mode setting which changes how MySQL behaves. The SQL mode value is comprised of...
Rails offers a way to prepend (or append) view paths for the current request. This way, you can make the...
The httpclient gem comes with a custom SSL cert store. While an customizable, application-level cert store is great when...
Running rails server will start a local server that you can access via http://localhost:3000. When you are working...
Your default postgres user is named like your linux user. That default user has limited access privileges, which can cause...
Trying to open a vnc window with geordi geordi vnc ended up with this error: > VNC viewer could not be...
mysql> SELECT @@global.version; +------------------+ | @@global.version | +------------------+ | 5.6.30 | +------------------+ 1 row in set (0,00 sec) MySQL 5.6 Reference Manual says "BLOB and TEXT...
Here is how to use Chromedriver without libraries like selenium-webdriver. This can be useful for debugging. The following example...
When flagging a spec that will be implemented later as pending, include a failing spec body or RSpec 3 will...
Understanding your type of cronjob Some cronjobs must only run on a single server. E.g. when you run nightly batch...
This is a small example on how you can check if your Postgres index can be used by a specific...
When making requests using curl, no cookies are sent or stored by default. However, you can tell curl to re...
Situation: You want to write a spec for a function inside an Angular service. This function at some point makes...
By default, browsers will not wrap text at syllable boundaries. Text is wrapped at word boundaries only. This card explains...
HTTPie consists of a single http command designed for painless debugging and interaction with HTTP servers, RESTful APIs, and web...
If your Angular app has some decent complexity, it will not be easy to use UI Router straight away. Here...
Requestb.in is a webservice that gives you a temporary URL you can use to test request. The page will automatically...
We're usually running Ubuntu LTS versions. Sometimes newer hardware requires packages from more recent Ubuntu releases that only come...
A common pattern in Ruby is to to require all files in a specific diretory, using something like Dir.glob(Rails.root.join...
If you already selected an element and want to get its parent, you can call find(:xpath, '..') on it.
You are not using javascript tests The file is served from a public folder (not via controller) Problem description...
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...