New versions of wkhtmltopdf dissallow file:// URLs by default. You can allow them by passing --enable-local-file-access.
While working on a Rails application, your code base will grow a collection of different file types including: Ruby (business...
Ruby includes many standard gems that are bundled into the Ruby installation. Here is an example for the gem strscan...
How can I configure virtual IP's? There are two parameter to set up virtual ips in Keepalived: virtual_ipaddress...
It might sometimes be useful to check whether your Rails application accesses the file system unnecessarily, for example if your...
While verifying doubles in RSpec is a good default, it is limited in the amount of methods it actually is...
Due to the way we setup Jasmine tests in our projects, you may run into various errors when Jasmine boots...
This are the steps I needed to do to add esbuild to an application that used the vanilla rails asset...
Wir wollen verstehen, welche Hardware-Ressourcen uns zur Verfügung stehen und wie wir mögliche Engpässe und Probleme identifizieren können. Grundsätzlich...
Jasmine is a great tool to unit test your JavaScript components without writing an expensive end-to-end test for...
JavaScript code can access and manipulate the browser's DOM tree. Using JavaScript we can add interactive behavior to our...
TL;DR When using Cache-Control on a Rails application, make sure the Vary: Accept header is set.
The Interactive Advertising Bureau (IAB) is a European marketing association which has introduced a standard how advertising can be served...
Jasmine is a great way to unit test your JavaScript components without writing an expensive end-to-end test for...
Rails 6.1 has a "strict loading" mode that forces the developer to preload any association they plan to use. Associations...
A flaky test is a test that is often green, but sometimes red. It may only fail on some PCs...
It is generally discouraged to load your JavaScript by a tag in the : The reason is that a tag will pause the DOM parser until the script has loaded and executed. This will delay the browser's first contentful paint. A much better default is to load your scripts with a tag: A deferred script has many...
This bookmarklet grabs a PivotalTracker story title, transforms it into a valid git branch name and automatically prepends your initials...
The attached compiler() function below applies JavaScript behavior to matching HTML elements as they enter the DOM. This works like...
The rubygems binary gem allows to extract a local gem with gem unpack GEMNAME. For more details see the official...
What is netfilter's Connection Tracking system? The connection tracking system often referenced as nf_conntrack is part of the...
After switching a project from Sprockets to Webpack, I started observing a bug that was hard to debug: Our...
We have observed Lenovo laptops with nvidia graphics losing performance after they have been in use for a few minutes...
If your Webpack build is slow, you can use the Speed Measure Plugin for Webpack to figure out where time...