Make sure that you use the correct property when editing an HTML attribute. Using innerHTML with unsafe arguments makes your...
Even when you app has no CSS at all, you still inherit a default user agent stylesheet from your browser...
Every modern Rails app should have a Content Security Policy enabled. Very compatible default The following "default" is a minimal...
View specs are a powerful tool to test several rendering paths by their cases instead of using a more costing...
The recommended additional setup of the spreewald gem, a useful set of cucumber steps, includes adding a file for defining...
Browsers can auto fill-in one time codes if advised. Use it like this: Demo: https://twitter.com/sulco/status/1320700982943223808 Browser support...
Both knapsack and parallel_tests have the option to split groups by historic execution time. The required logs for this...
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...
TL;DR: Grid elements have min-width: auto in a 1fr column, which may lead to overflows. With minmax(0...
Note: You won't need this for single lines of text. In this case it is better to just use...
When you write your next CarrierWave uploader, consider processing your images with libvips instead of ImageMagick. Reasons for libvips
Using querySelector or querySelectorAll in JavaScript, you can easily find descendants of a node that match a given selector.
We have a long-standing checklist for merge requests. However, it hardly matches the intricate requirements for design. This checklist...
Splitting up commits makes the process of reviewing often easier, since you can create several merge requests or review every...
Git commands like diff use the less binary for their output representation. I often find myself searching for strings like...
Code splitting is a feature of esbuild that can keep huge libraries out of the main bundle. How code splitting...
When you are using the default MIME-Type configuration and your application allows uploading files, it can be a security...
As we are slowly switching from Cucumber scenarios to RSpec feature specs, you might be tempted to write assertions like...
Web forms can be made much more usable with a few HTML attributes. Short summary: type: Tells browsers about the...
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...
Rack::SteadyETag was a Rack middleware that generates the same default ETag for responses that only differ in XOR-masked...