tl;dr The Chrome DevTools are a neat collection of tools for the daily work as a web developer. If...
TLDR: sass >= 1.35.0 has the option quietDeps to silence deprecation warnings from dependencies. quietDeps: If true, the compiler must not...
Git allows you to set push options when pushing a branch to the remote. You can use this to build...
Unpoly's [up-observe], [up-autosubmit] and [up-validate] as well as their programmatic variants up.observe() and up.autosubmit...
tl;dr git checkout is the swiss army of git commands. If you prefer a semantically more meaningful command for...
New versions of wkhtmltopdf dissallow file:// URLs by default. You can allow them by passing --enable-local-file-access.
You have uncommited changes (you can always check by using git status), which you want to discard.
tl;dr In RubyMine you can use find and replace with capture groups (.*?) and backreferences $1 (if you have several...
The robots.txt file and HTML tag can be used to control the behavior of search engine crawlers. Both have different...
Ruby's standard library includes a class for creating temporary directories. Similar to Tempfile it creates a unique directory name...
A memory leak is an unintentional, uncontrolled, and unending increase in memory usage. No matter how small, eventually, a leak...
When you build a JSON API you need to come up with a style to represent attributes, pagination, errors or...
If you need to convert an SVG source to PS or EPS, the most common suggestion on the interwebs is...
Working with a self-signed certificate is much easier, when the browser accepts it. Google Chrome Warnings from chrome might...
When working with feature branches, stale branches pile up over time. It's best to remove them right after merge...
When your Rails application offers downloading a bunch of files as ZIP archive, you basically have two options:
Recently we detected a memory leak in one of our applications. Hunting it down, we found that the memory leak...
To read the Rails session from a Rack middleware, use env['rack.session']. It's an ActionDispatch::Request::Session object.
Issue: You have an app using jsbundling-rails and esbuild. After deploy, the assets built by esbuild are missing in...
You can use the code below to check whether the browser can make connections to the current site: await isOnline...
When redirecting you should take care to use the right HTTP status code. From controllers When redirecting from a controller...
If you have a JS fiddle, you can open it in fullscreen by appending /show to the URL. Example: https://...
Testing file download links in an end-to-end test can be painful, especially with Selenium. The attached download_helpers.rb provides...
When you are working with SVG files and ImageMagick you can get different results on different machines depending on which...