Ruby's standard library includes a class for creating temporary directories. Similar to Tempfile it creates a unique directory name...

A memory leak is an unintentional, uncontrolled, and unending increase in memory usage. No matter how small, eventually, a leak...

When you build a JSON API you need to come up with a style to represent attributes, pagination, errors or...

If you need to convert an SVG source to PS or EPS, the most common suggestion on the interwebs is...

Working with a self-signed certificate is much easier, when the browser accepts it. Google Chrome Warnings from chrome might...

When working with feature branches, stale branches pile up over time. It's best to remove them right after merge...

When your Rails application offers downloading a bunch of files as ZIP archive, you basically have two options:

Recently we detected a memory leak in one of our applications. Hunting it down, we found that the memory leak...

To read the Rails session from a Rack middleware, use env['rack.session']. It's an ActionDispatch::Request::Session object.

Issue: You have an app using jsbundling-rails and esbuild. After deploy, the assets built by esbuild are missing in...

While working on a Rails application, your code base will grow a collection of different file types including: Ruby (business...

In our monitoring, RabbitMQ queues like aliveness-test may show up as unresponsive, with a ping timeout after 10 seconds...

DevOps Curriculum

Bei Automatisierungsaufgaben kannst du dich nicht immer auf fertige Tools verlassen. Häufig musst du eine Schnittstelle zu einem bestehenden System...

DevOps Curriculum

Based on the Ruby Basics Card in the developer Curriculum Ruby is the programming language we use on the backend...

Instead of using Puppet exported resources you can use the puppetdb_query feature. This can result in more complex code...

makandra Operations

How can I configure virtual IP's? There are two parameter to set up virtual ips in Keepalived: virtual_ipaddress...

You can use the code below to check whether the browser can make connections to the current site: await isOnline...

When redirecting you should take care to use the right HTTP status code. From controllers When redirecting from a controller...

If you have a JS fiddle, you can open it in fullscreen by appending /show to the URL. Example: https://...

Testing file download links in an end-to-end test can be painful, especially with Selenium. The attached download_helpers.rb provides...

When you are working with SVG files and ImageMagick you can get different results on different machines depending on which...

When you need information about a gem (like version(s) or install path(s)), you can use the gem binary...

If you're deploying code for your lambda function via terraform, this code is usually zipped and uploaded to Amazon...

tl;dr: Use the URLSearchParams API to make your live easier if you want to get or manipulate query parameters...