makandra dev

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...

The RSpec matcher tests if two HTML fragments are equivalent. Equivalency means: Whitespace is ignored Types of attribute quotes are...

makandra dev
dev.to

If you have fzf installed, you may add an alias such as this to your ~/.bashrc: alias recent-branch="git...

This bookmarklet grabs a PivotalTracker story title, transforms it into a valid git branch name and automatically prepends your initials...

To start a workflow manually it must have a trigger called workflow_dispatch: --- name: Tests on: push: branches: - master

If you have a flaky command you can use the nick-invision/retry to re-try a failing command, optionally...

Accessing other repositories in Gitlab CI is not straight forward, since the access rights of the current pipeline might not...

makandra dev

6.0.0 2021-06-02 Compatible changes geordi commit will continue even if one of the given projects is inaccessible. It...

makandra dev

While renaming a file sometimes feels like "dropping its history", that is not true: Just use git log --follow on...

When deleting a record in your Rails app, Carrierwave automatically takes care of removing all associated files. However, the file...

docs.gitlab.com

Use rules to include or exclude jobs in pipelines. Rules are evaluated in order until the first match. When a...

Installing gems on a server that has no access to the internet (especially rubygems.org) requires to bundle the gems into...

If a project ist configured to spawn CI runners for tests or deployment when pushing to the Repo, a habit...

makandra dev

5.4.0 2021-02-01 Compatible changes Add geordi branch command that checks out a feature branch based on a story...

We had the issue, that a VCR spec failed, after updating CarrierWave from version 0.11.0 to 1.3.2. In this version...

tl;dr: Upgrade the gem to at least 4.0.1 When you use rspec_rails in a version < 4 with Rails...

stackoverflow.blog

A rough guide how to implement a REST API. The discussion here includes some interesting points as well: Timestamps: ISO8601...

If your project depends on an old version of ImageMagick that you can no longer install in your system, you...

You can use git worktree to manage multiple working trees attached to the same repository. But why should I use...

makandra dev

Rails 6 includes a WYSIWYG editor, Action Text. It works out of the box quite well, but chances are that...

makandra dev

I just finished migrating a project from the Asset Pipeline to Webpacker, this is what my diff to master looks...

In long diffs, it can become impossible to spot small changes in larger blocks of moved code. This may be...

Using Ruby 1.8.7 you will not be able to use the maximum versions Rubygems 1.8.30 and Bundler 1.17.3 with https://...