You can ignore certain commits when using git blame with the --ignore-revs-file option. This is handy to ignore...

edgeapi.rubyonrails.org

The linked article suggests an interesting way to speed up tests of Rails + Postgres apps: PostgreSQL allows the creation of...

Getting an entire test suite green can be a tedious task which involves frequent switches between the CLI that is...

In the Gitlab settings the flag Auto-cancel redundant pipelines is enabled by default. This auto-cancels jobs that have...

docs.gitlab.com

Short hint: If you want to push to a git repository that has CI configured, you can skip the CI...

...There is no need to restart the PostgreSQL Server. $ sudo apt-get install postgresql-16-repack Create the extension in the database in which you want to use pg_repack...

example_db=# DROP EXTENSION pg_repack; sudo apt-get remove postgresql-16-repack

In Capistrano 3, your Capfile requires 'capistrano/rails/migrations', which brings two Capistrano tasks: deploy:migrate and deploy:migrating. The former checks...

#pluck is commonly used as a performant way to retain single database values from an ActiveRecord::Relation Book.pluck(:title, :price...

Added: State machine can now use the :prefix-option to avoid name collision if you define multiple state machines on...

Make sure that you use the correct property when editing an HTML attribute. Using innerHTML with unsafe arguments makes your...

tl;dr You can use ordered to ensure that messages are received in a specific order. Example expect(ClassA).to...

github.com

In my career, I have consumed hundreds of REST APIs and produced dozens. Since I often see the same mistakes...

bitsofco.de

Even when you app has no CSS at all, you still inherit a default user agent stylesheet from your browser...

Creating Nagios Config with puppet Let's have a look at the classic way of managing Nagios configuration with exported...

Every modern Rails app should have a Content Security Policy enabled. Very compatible default The following "default" is a minimal...

There is a gem puppet-ghostbuster which can help you find dead code in puppet projects. To use it, (as...

support.google.com

The old Chrome downloads bar had several advantages over the new subtle downloads dropdown: see all (many, at least) downloads...

All direct child directories of app are automatically added to the eager- and autoload paths. They do NOT create a...

On the Rails console, assigning an object to a variable can lead to this strange error (without stacktrace): irb > recipient...

...and you can get an idea where the problem is coming from. D, [2023-11-06T12:02:29.443083 #74] DEBUG -- : [0.03s] convert /repo/tmp/1699268548-841333865692559-0001-8387/first_generated_preview_image/sample.jpg -auto-orient -resize 1280x720> /tmp/image_processing20231106-74-zks7q9.jpg...

...D, [2023-11-06T12:02:29.644009 #74] DEBUG -- : [0.02s] convert /repo/tmp/1699268548-841333865692559-0001-8387/second_generated_preview_image/sample.jpg -auto-orient -resize 1280x720> /tmp/image_processing20231106-74-17enk2.jpg D, [2023-11-06T12:02:29.831443 #74] DEBUG -- : [0.02s] convert...

selenium.dev

I recently stumbled over a problem that my feature tests broke in CI because of a mismatching chromedriver version.

rfc-editor.org

Legt man im DNS beispielsweise einen CNAME-Eintrag an, sollte das Ziel am Ende einen Punkt haben, also z.b. d31337.cloudfront.net...

It's not possible to change the bwlimit of Proxmox storages via the Web-UI (at least in Proxmox 7...

thegnar.com

View specs are a powerful tool to test several rendering paths by their cases instead of using a more costing...