Here are a few common patterns that will probably lead to flaky specs. If you notice them in your specs...

tl;dr In RubyMine you can use find and replace with capture groups (.*?) and backreferences $1 (if you have several...

If the project you're working on has, say, 39 repositories and counting in GitLab and you need all the...

To allow HTTP 304 responses, Rails offers the fresh_when method for controllers. The most common way is to pass...

joshmcarthur.com

I recently wanted to add a model for address information but also wanted to add a unique index to those...

blog.saeloun.com

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

DevOps Curriculum

Wir wollen im Detail verstehen, wie in Unix-Systemen Prozesse gehandhabt werden und wie wir Prozesse aus dem Userland behandeln...

DevOps Curriculum

Wir arbeiten bei makandra alle auf Linux-Betriebssystemen und bedienen im DevOps- & Cloud-Bereich primär Kunden, die ebenfalls auf Linux...

Building application assets with esbuild is the new way to do it, and it's great, especially in combination with...

Jasmine is a great tool to unit test your JavaScript components without writing an expensive end-to-end test for...

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

blog.cloudflare.com

What is netfilter's Connection Tracking system? The connection tracking system often referenced as nf_conntrack is part of the...

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

When giving a presentation where you do some coding, the font size you usually use is probably a bit too...

We have observed Lenovo laptops with nvidia graphics losing performance after they have been in use for a few minutes...

makandra dev

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

When storing files for lots of records in the server's file system, Carrierwave's default store_dir approach may...

To attach files to your records, you will need a new database column representing the filename of the file...