thepugautomatic.com

How a macro can dynamically define a method that can be overridden with super in the same class.

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

If you want to check the configuration of a running JVM process you can use jcmd. List the running processes...

If you have for e.g. a Java application which outputs multiline stack traces inside a container running in kubernetes you...

phili.pe

The linked article found a simple way to rewrite legacy git aliases to make them work with differently named default...

Let's assume that we have a model Movie that registers a callback function when a new instance of Movie...

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

DevOps Curriculum

Mit SQL spricht man mit relationalen Datenbanken. Ziele Verstehe die folgenden SQL Befehle SELECT WHERE ORDER INNER JOIN, LEFT JOIN...

DevOps Curriculum

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

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

DevOps Curriculum

In diesem Kapitel lernst du die grundsätzlichen Konzepte von Kubernetes kennen. Hier geht es weniger um die API Objekte wie...

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

In diesem Kapitel wirst du eine Applikation in ein Containerimage verpacken und dieses via CI/CD bauen. Anschließend baust du die...

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: