For my computer science bachelor's thesis I programmed and evaluated a CLI Test Case Prioritization (TCP) tool for makandra...
An introduction to mangling When you minify ("compress", "optimize") your JavaScript for production, the names of your functions and variables...
If you want to collapse/expand elements with dynamic content (and thus unknown height), you can not transition between height: 0...
Note: You won't need this for single lines of text. In this case it is better to just use...
Suppose you want to implement a publish/subscribe pattern in your Frontend application to react to data changes and events. First...
Using querySelector or querySelectorAll in JavaScript, you can easily find descendants of a node that match a given selector.
TL;DR Still has caveats. Code splitting is a feature of JavaScript bundlers that can keep huge libraries out of...
Within Capybara you most certainly use the #check- and #uncheck-method to (un)check checkboxes. But there's one problem...
When you allow file uploads in your app, a user might upload content that hurts other users. Our primary concern...
Maintaining larger projects makes it more difficult to balance refactoring and upgrade tasks according to its actual value. Consider to...
When you use native smooth scrolling there is no built-in method to detect the end of the scrolling animation...
HTTP header values must only contain low-ASCII (7-bit) characters for safe transport. From RFC 7230: Historically, HTTP has...
To read the current breakpoint tier in JavaScript, employ this CSS: :root { --current-breakpoint-tier: xs; @media (min-width: $screen...
In a Jasmine spec you want to spy on a function that is imported by the code under test. This...
The cards editor has a feature "Cite other card" to create links to other cards in the same deck as...
The Diátaxis framework aims to solve the problem of structure in technical documentation. It adopts a systematic approach to understanding...
tl;dr In Chrome DevTools in the Sources tab you can activate Event Listener Breakpoints for debugging events. Example
tl;dr In Chrome DevTools in the Elements tab or in Firefox in the Inspector tab you can right click...
For Rails models where only one of multiple attributes may be filled out at the same time, there is no...
These are the results of the "personal tech stack survey". I've included only the most popular mentions, maybe it...
You can use the code below to check whether the browser can make connections to the current site: await isOnline...
Testing file download links in an end-to-end test can be painful, especially with Selenium. The attached download_helpers.rb provides...
tl;dr With ES2021 you now can use str.replaceAll(), Promise.any(), logical assignment operators, numeric separators and WeakRef on all major...
There is a way to use multiple databases in Rails. You may have asked yourself how you're able to...