If you want Sidekiq to be able to talk to Redis on staging and production servers, you need to add...
Within development and test environments, Rails is usually configured to show a detailed debug page instead of 404s. However, there...
Bookmarks for directories will be most helpful if you are forced to work in deeply nested projects. Then it's...
With cd .. you can navigate one directory up from the one you are at now. If you use that a...
It is generally discouraged to load your JavaScript by a tag in the : The reason is that a tag will pause the DOM parser until the script has loaded and executed. This will delay the browser's first contentful paint. A much better default is to load your scripts with a tag: A deferred script has many...
This bookmarklet grabs a PivotalTracker story title, transforms it into a valid git branch name and automatically prepends your initials...
We had a card that described how to install multiple mysql versions using mysql-sandbox. Nowadays with the wide adoption...
Formerly 301 (Moved Permanently) and 302 (Found) were used for redirecting. Browsers did implement them in different ways, so since...
When using RestClient to make an HTTP request, it will raise an exception when receiving a non-successful response.
The Node Version Manager allows installing multiple NodeJS versions and switching between them. By default, it does not automatically switch...
When giving a presentation where you do some coding, the font size you usually use is probably a bit too...
When dealing with external data sources, you may have to deal with improperly encoded strings. While you should prefer deciding...
Browsers usually cache website content in order to provide the user with faster responses. Examples are returning to a website...
When storing files for lots of records in the server's file system, Carrierwave's default store_dir approach may...
If your Webpack build is slow, you can use the Speed Measure Plugin for Webpack to figure out where time...
Webpack builds can take a long time, so we only want to compile when needed. This card shows what will...
Installing gems on a server that has no access to the internet (especially rubygems.org) requires to bundle the gems into...
To attach files to your records, you will need a new database column representing the filename of the file...
I really love to use the shortcuts CTRL+Alt+ Arrow Left and CTRL+Alt+ Arrow Right to navigate through the...
We prefer to run our end-to-end tests with headless Chrome. While it's a very stable solution overall...
When your Rails application server raises error, Capybara will fail your test when it clears the session after the last...
json is part of the standard library of Ruby and deals with JSON, obviously. As you know, JSON is the...
We had the issue, that a VCR spec failed, after updating CarrierWave from version 0.11.0 to 1.3.2. In this version...
ZSH is an alternative command line shell that includes some features like spelling correction, cd automation, better theme, and plugin...