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

developer.chrome.com

Hide/Show Drawer You can press Escape to show/hide the drawer. Fast Navigation with Command Menu Use Ctrl + Shift + p to...

docs.gitlab.com

The owner of a scheduled CI/CD pipeline in GitLab will always be notified if the pipeline fails. Follow these steps...

sashika.medium.com

One-line takeaways Don’t override native browser (or OS) shortcuts. Support standard shortcuts that don’t contradict the previous...

makandra dev

If you're frequently switching between projects, you might be annoyed by RubyMines behavior of opening the last project on...

This can happen with a very simple model: class Note has_many :attachments end Everything looks normal: Note.all.to_a.size # => 8 Note.all.ids.size...

tl;dr The Chrome DevTools are a neat collection of tools for the daily work as a web developer. If...

If you use third party APT sources you might end up with unmaintained packages after removing the external source or...

DevOps Curriculum

Als DevOps Engineer kann es häufiger vorkommen, dass du ein lokales Testsetup bauen musst, um eine bestimmte Software oder ein...

You can use ETags to allow clients to use cached responses, if your application would send the same contents as...

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

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

makandra dev

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