You have uncommited changes (you can always check by using git status), which you want to discard.
The robots.txt file and HTML tag can be used to control the behavior of search engine crawlers. Both have different...
If you need to convert an SVG source to PS or EPS, the most common suggestion on the interwebs is...
tl;dr The :is() pseudo selector - specificity of its most specific argument - matches against a comma-separated list of selectors...
tl;dr The :where() pseudo selector - zero specificity - matches against a comma-separated list of selectors. Example Compound selectors like...
The inset CSS property is a shorthand that corresponds to the top, right, bottom, and/or left properties. It has the...
If you have a JS fiddle, you can open it in fullscreen by appending /show to the URL. Example: https://...
I recently had the problem that embedded code boxes crashed my layout. It turned out that pres break out of...
Code quality can be measured in four levels: (Working code) Reliable code (minimum) Readable code (ok for short-lived code...
Due to the way we setup Jasmine tests in our projects, you may run into various errors when Jasmine boots...
While we are used to run our JavaScript tests on a test page within our Browser, it's also possible...
To ensure a consistent code style for JavaScript code, we use ESLint. The workflow is similar to integrating rubocop...
This are the steps I needed to do to add esbuild to an application that used the vanilla rails asset...
Sometimes we write plain SQL queries in migrations so we don't have to mock ActiveRecord classes. These two migrations...
Building application assets with esbuild is the new way to do it, and it's great, especially in combination with...
When Capybara locates elements in the DOM, by default it allows only accessing visible elements -- when you are using a...
One really simple way to check whether JavaScript Sentry integration was successful (raven-js or @sentry/browser), is to create an...
An element with display: grid can define its grid-template-columns based on (preferred) child width using the repeat function...
Table Of Contents Flexbox wrapping Spacing Long content Prevent an image from being stretched or compressed Lock scroll chaining
Jasmine has spyOnProperty(), but it only works if the property is implemented using getter and setter functions. This is a...
TL;DR When using Cache-Control on a Rails application, make sure the Vary: Accept header is set.
Rack::SteadyETag is a Rack middleware that generates the same default ETag for responses that only differ in CSRF tokens...
From Exploring ES6: Module imports are hoisted (internally moved to the beginning of the current scope). Therefore, it doesn’t...
Modern versions of Capybara include a finder method #ancestor which allows you to find a parental element using CSS or...