So you have a heading that is just barely wider than the container it should fit into, and it wraps...
We have a long-standing checklist for merge requests. However, it hardly matches the intricate requirements for design. This checklist...
Geordi will now suggest related commands and options (hand-picked). If a command has suggestions, a single suggestion is printed...
With this Ruby script you can print all values in a Redis database to your console (derived from this bash...
Web forms can be made much more usable with a few HTML attributes. Short summary: type: Tells browsers about the...
Context and further resources Even though you can get 90% of debugging done with up to 5 basic byebug commands...
When you allow file uploads in your app, a user might upload content that hurts other users. Our primary concern...
Every Rails response has a default ETag header. In theory this would enable caching for multiple requests to the same...
tl;dr Individual transform properties are great because they allow you to write more readable and maintainable CSS, especially when...
Sidekiq 7 adds a new feature called capsules. Use cases: a chrome queue limited to 1 for e.g. PDF processing...
Let's say we have posts with an attribute title that is mandatory. Our example feature request is to tag...
Rails Active Support provides some helpful methods for calculating times and dates, like Duration#ago or Duration#from...
If you use a newer SSH key generated with the ED25519 algorithm instead of RSA (see Create a new SSH...
This is a checklist I use to work on issues. For this purpose I extracted several cards related to the...
HTTP header values must only contain low-ASCII (7-bit) characters for safe transport. From RFC 7230: Historically, HTTP has...
In Rails 5+ you can access a helper from a controller using the helpers method: # Inside a controller action
vertical-align is hard. Have you ever wanted to vertically center an icon with text? This usually means "vertically align...
After upgrading to Rails 6.1.7.2 one of our apps printed a wall of warnings while booting: /var/www/app/shared/bundle/ruby/2.6.0/gems/net-protocol-0.2.1/lib/net/protocol.rb:68: warning: already...
I recently enjoyed debugging a Cucumber step that tried to be retryable using a patiently block: Then /^"([^"]*)" should( not)? be...
The cards editor has a feature "Cite other card" to create links to other cards in the same deck as...
You have some SVG files you want to use as icons on your website. How would you embed them?
As a developer you may have many tools watching your project for changes: Your IDE, Webpack, Guard, etc. This is...
Jasmine specs for the frontend often need some DOM elements to work with. Because creating them is such a common...
Jasmine specs that work with DOM elements often leave elements in the DOM after they're done. This will leak...