Jasmine specs for the frontend often need some DOM elements to work with. Because creating them is such a common...

Jasmine specs that work with DOM elements often leave elements in the DOM after they're done. This will leak...

Wir arbeiten in einem Umfeld in dem sich fast alles um das Web und HTTP dreht. Wir betreiben Webseiten und...

Hat man wechselnde Lastzustände für seine Applikation und möchte Geld einsparen, kann man seine Applikation und die Infrastruktur so designen...

Einer der ältesten und beliebtesten Services von AWS ist S3. Viele Kunden nutzen nur diesen Service während ihre Infrastruktur eigentlich...

tl;dr In Chrome DevTools in the Elements tab or in Firefox in the Inspector tab you can right click...

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

makandra dev

tl;dr git checkout is the swiss army of git commands. If you prefer a semantically more meaningful command for...

You have uncommited changes (you can always check by using git status), which you want to discard.

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

DevOps Curriculum

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

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

It might sometimes be useful to check whether your Rails application accesses the file system unnecessarily, for example if your...

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

tl;dr With ES2021 you now can use str.replaceAll(), Promise.any(), logical assignment operators, numeric separators and WeakRef on all major...

In Chrome DevTools you can use getEventListeners(object) to get a list of registered event listeners on the specified object...

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

Sometimes you will need an input field which wraps content and grows in height as soon as content gets longer...

Redis.current will be removed without replacement in redis-rb 5.0. Version 4.6.0 adds deprecation warnings for Redis.current and Redis.current=: `Redis.current...

While we are used to run our JavaScript tests on a test page within our Browser, it's also possible...

makandra dev

To ensure a consistent code style for JavaScript code, we use ESLint. The workflow is similar to integrating rubocop...

This are the steps I needed to do to add esbuild to an application that used the vanilla rails asset...