This is a checklist I use to work on issues. For this purpose I extracted several cards related to the...
Not all email clients support external images in all situations, e.g. an image within a link. In some cases, a...
To retrieve only unique combinations of the selected attributes: You can omit rows, where all selected columns are equal with...
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...
Hide/Show Drawer You can press Escape to show/hide the drawer. Fast Navigation with Command Menu Use Ctrl + Shift + p to...
One-line takeaways Don’t override native browser (or OS) shortcuts. Support standard shortcuts that don’t contradict the previous...
If you're frequently switching between projects, you might be annoyed by RubyMines behavior of opening the last project on...
This can happen with a very simple model: class Note has_many :attachments end Everything looks normal: Note.all.to_a.size # => 8 Note.all.ids.size...
tl;dr The Chrome DevTools are a neat collection of tools for the daily work as a web developer. If...
You can use ETags to allow clients to use cached responses, if your application would send the same contents as...
tl;dr In RubyMine you can use find and replace with capture groups (.*?) and backreferences $1 (if you have several...
I recently wanted to add a model for address information but also wanted to add a unique index to those...
Imagine these models and associations: class Deck < ApplicationRecord has_many :cards end class Card < ApplicationRecord belongs_to :deck, optional: true...
It might sometimes be useful to check whether your Rails application accesses the file system unnecessarily, for example if your...
Building application assets with esbuild is the new way to do it, and it's great, especially in combination with...
Sometimes you need to access a dev server running on localhost from another machine that is not part of the...
A flaky test is a test that is often green, but sometimes red. It may only fail on some PCs...
Inspired by recent "git shortcut" cards I figured it would be nice to have one of these for rebasing a...
git --fixup is very handy to amend a change to a previous commit. You can then autosquash your commits with...
We had a card that described how to install multiple mysql versions using mysql-sandbox. Nowadays with the wide adoption...
Accessing other repositories in Gitlab CI is not straight forward, since the access rights of the current pipeline might not...
6.0.0 2021-06-02 Compatible changes geordi commit will continue even if one of the given projects is inaccessible. It...
When giving a presentation where you do some coding, the font size you usually use is probably a bit too...