Git commands like diff use the less binary for their output representation. I often find myself searching for strings like...
Code splitting is a feature of esbuild that can keep huge libraries out of the main bundle. How code splitting...
The rubocop binary has a few interesting flags: rubocop (using the --parallel default ) scans the current repository for linting issues...
tl;dr asdf allows you to manage multiple runtime versions with a single CLI tool and is backwards compatible by...
To navigate between test and test subject Rubymine requires you to set the test root sources as Test Sources Root...
Let's say we have posts with an attribute title that is mandatory. Our example feature request is to tag...
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...
Sometimes I ran across a GitHub merge request of a gem where it was not completely obvious in which version...
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...
The linked article found a simple way to rewrite legacy git aliases to make them work with differently named default...
Bundler so far ignored the version specified under BUNDLED_WITH in the Gemfile.lock. This had two annoying consequences:
In a Jasmine spec you want to spy on a function that is imported by the code under test. This...
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...
Git allows you to set push options when pushing a branch to the remote. You can use this to build...
ActiveType::Object inherits from ActiveRecod::Base and is designed to behave like an ActiveRecord Object, just without the database...
tl;dr git checkout is the swiss army of git commands. If you prefer a semantically more meaningful command for...
tl;dr git checkout is the swiss army of git commands. If you prefer a semantically more meaningful command for...
You have uncommited changes (you can always check by using git status), which you want to discard.
Ruby's standard library includes a class for creating temporary directories. Similar to Tempfile it creates a unique directory name...
If you want to see the git history of a project file, that doesn't exist anymore, the normal git...
Resolve @{-1} to actual branch name. (Happens when merging "-".)
When working with feature branches, stale branches pile up over time. It's best to remove them right after merge...
These are the results of the "personal tech stack survey". I've included only the most popular mentions, maybe it...