I recently enjoyed debugging a Cucumber step that tried to be retryable using a patiently block: Then /^"([^"]*)" should( not)? be...

DevOps Curriculum

Du musst kein Netzwerkspezialist sein oder iptables in- und auswendig kennen. Du solltest aber die Grundlagen verstanden haben. Spätestens wenn...

kukicola.io

Using ActiveRecord's #signed_id and .find_signed methods you can create URLs that expire after some time. No conditionals...

When an object is created / updated, various callbacks are executed in this order: before_validation after_validation before_save

To delete a specific redis-DB you need to use the FLUSHDB-command in combination with the SELECT-command. For...

bundler.io

Bundler so far ignored the version specified under BUNDLED_WITH in the Gemfile.lock. This had two annoying consequences:

DevOps Curriculum

In dieser Card geht es um Netzwerke in Kubernetes. Schau noch einmal kurz auf Netzwerke zurück und schau dir die...

makandra dev
ruby-doc.org

TLDR if you define a equality method for a class you must also implement def hash. Ruby has a lot...

Our CI setup frequently sees this error while running yarn install: yarn install v1.22.19 [1/4] Resolving packages... [2/4] Fetching packages...

makandra dev

Timecop is a great gem to set the current time in tests. However, it is easy to introduce flakyness to...

Usually, design development starts with drafts, sketches and prototypes. These are reviewed, refined and iterated until the final design is...

You can execute systemctl --user --failed to check for failed systemd user units. But let's face it: It's...

In diesem Kapitel sprechen wir darüber wie Container eigentlich funktionieren. Es ist zwar nicht zwingend erfoderlich um diese zu verwenden...

Kubernetes ist der de-facto Standard zum Orchestrieren von Container Workloads. Sowohl On Premise als auch in der Cloud wird...

makandra dev

In a Jasmine spec you want to spy on a function that is imported by the code under test. This...

To measure the time of your HTTP request with curl, you can use the -w (--write-out) option:

We had a strange behaviour on one of our mariadb-servers: Everyday at around midnight we saw that the root...

When changing glibc versions, it's possible to end up with corrupt indexes in PostgreSQL. Are My Indexes Affected?

When changing the glibc version, it's possible that the upgrade also includes changes to how locales work.

github.com

Instead of cobbling together default settings in several different places as the issues arise, you can define them application-wide...

There are cases where we have multiple exported resources that are identical. There are nodes that provide the same services...

In Puppet, there are some differences between defined and function types when it comes to code encapsulation. In most cases...

We usually rely on VCR and WebMock to prevent any real network connection when running our unit tests.

gist.github.com

The link contains a simple shell script to push a cleanup policy for gitlab repositories in a group.