Note Don't use reruns as a mean to work around flaky tests. You should always try to fix those...
Instantiating ActiveRecord objects comes expensive. To speed up things, you can choose a more direct way to talk to your...
When using many or very long entries of MIME-types that shoudl be gziped in gzip_types directives in nginx...
tl;dr Don't forget require 'English' if you use a named global such as $LAST_MATCH_INFO. Otherwise this...
Insomnia is a GUI tool to help you communicating with an API. There are also other tools to do this...
All direct child directories of app are automatically added to the eager- and autoload paths. They do NOT create a...
...to the original file Versions are generated based on the processed original file Callbacks (before/after) are applied to original file and each version by itself Under the hood, a version...
When configuring prometheus scrape_configs, you may use relabel_configs to filter your metrics or change some fields. Your config...
In the following example the method update_offices_people_count won't be called when office_id changes, because it...
Ubuntu 18.04 uses systemd to manage services. There are basically two commands for listing all services and manipulating the state...
...like keeping some HTML. If you only care about line breaks, you might be better off using a small, specialized helper method: def format_linebreaks(text) safe_text = h(text...
When using virtual attributes, the attached trait can be useful to automatically copy errors from one attribute to another.
In the Gitlab settings the flag Auto-cancel redundant pipelines is enabled by default. This auto-cancels jobs that have...
...the joins, and then authors for the pluck clause. The first corresponds to the belongs_to relationship, and the latter is the name of the db table. You could even...
Note Compiling Sass is probably the slowest part of your build, so this is worth a try if you're...
First find the reference for the entry you want through looking at the stash: $ git stash list stash@{0}: WIP...
Chrome has a built-in utility to check performance and accessibility (and more) of your web app: Lighthouse.
The puppet server caches custom functions. If you edit an existing function (e.g. while you’re developing it), you’ll...
...logged in the CRI log format. This means that every line of the log becomes a JSON object containing additional metadata. According to the fluent-bit docs there is currently...
...seconds, it took from the start until the file transfer was just about to begin. This includes all pre-transfer commands and negotiations that are specific to the particular protocol...
You can define methods in any example group using Ruby's def keyword or define_method method: describe "example" do...
Ruby lets you re-use existing RegExp objects by interpolating it into new patterns: locales_pattern = /de|en|fr|es/i...
...you can use a special form options helper called #collection_check_boxes. It behaves similar to #collection_select, but instead of a single select field it renders a checkbox and...
Sometimes you might need to nest a git-project inside another git-project. The right strategy is to use submodules...