Make git init Default to the Master Branch
I prefer master over main, and I want git init to stop assuming otherwise. Git lets you decide. Set it globally Run this once: git config --global init.defaultBranch master Every new repository you …
I prefer master over main, and I want git init to stop assuming otherwise. Git lets you decide. Set it globally Run this once: git config --global init.defaultBranch master Every new repository you …
I use minitest to run parallel tests with bin/rails test on GemChat (Rails 8.1, Ruby 4.0.7, pg 1.6.3, PostgreSQL in Docker). Running the Rails test suite in parallel should make it faster. Instead, on …
Let’s say you’re mid-task and need to know how sidekiq handles Redis reconnection, or what the exact puma thread configuration is for your deployment. Your options are: open a browser, …
I’ve been burned by paid email hosting more times than I care to admit. You pay $6/month per mailbox, forget to cancel when a side project dies, and suddenly you’re out $72 a year for …
I recently ran into a small but frustrating production bug caused by a common Ruby mistake. I had a feature controlled by an environment variable: DISABLE_THING=false The application restarted …