...should see the following ([\w]+) table:?$/ do |name, expected_table| name = name.underscore table_element = begin element_at("table\##{name}") rescue Webrat::NotFoundError begin element_at("table.#{name}") rescue element_at...

If you want to move a complete commit from one repository to another (and you don't want to add...

github.com

...spawns another process to run a browser, it will inherit the environment and also believe it lives in that zone. To do so, run the following code before your test...

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

A severe bug was found in ImageMagick by Bryan Gonzalez from Ocelot Team. It allows to embed the content of...

...a "add new user" forms. Chrome developers say this is by design as they believe it encourages users to store more complex passwords. Recommended fix for Chrome and Firefox

Für was sind immutable ConfigMaps? Was ist etcd? Für was wird etcd bei Kubernetes eingesetzt? Du kannst in eigenen Worten raft erklären. Inhalte Kapitel 16 aus "The Book...

...ein, die verhindert, dass Nginx starten kann. Die Pods sollten im Crashloop Backoff landen. Behebe den Fehler in der ConfigMap. Starten die Container jetzt erfolgreich? Verwende kubectl port-forward um...

Capybara allows you to select DOM elements, e.g. by using field, find_field(...) or field_labeled(...): role_select = field_labeled...

github.com

When a method has keyword arguments, Ruby offers implicit conversion of a Hash argument into keyword arguments. This conversion is...

DevOps Curriculum

...stehenden CPUs, Hauptspeichers, Festplatten und Netzwerkkapazitäten. Manche Ressourcen-Limits werden auch aus Sicherheitsgründen vom Betriebssystem eingezogen, beispielsweise per ulimit oder fs.file-max. Ressourcen können auch mit cgroups limitiert werden. Dazu...

...Zum Einstieg schaust du dir die jeweiligen Themen an und verstehst was diese jeweils bedeuten: CPU CPU Kerne Hyperthreading CPU User CPU System wait steal Speicher Freier Speicher Belegter Speicher...

On your local system that only hosts non-critical development data and only you have access to, you can store...

...new value (be aware that you should use a secure and salted hash) or better call the the_user_to_log_out.reset_remember_token! method that does the things for you.

Attention This is an edge-case. You probably don't want to mix different database dumps. It also requires that...

...to work as expected Good Then the crontab -l output will look like this: # Begin Whenever generated tasks for: some-app_staging 34 23 * * * /bin/bash -l -c 'cd /var/www/some-app_staging/releases/20201215171150 && RAILS...

...value, that can not be replaced by Whenever (the release folder changes every deploy): # Begin Whenever generated tasks for: /var/www/some-app_staging/releases/20201215171150 34 23 * * * /bin/bash -l -c 'cd /var/www/some-app_staging/releases/20201215171150 && RAILS_ENV=staging...

Use option:checked to find the currently selected option: select.querySelector('option:checked') Yes, :checked, not :selected. This is the same...

Note that you should disable the Java plug-in in your browsers after installation. Ubuntu >= 12.04 Java 11

If you want to see how long your database queries actually take, you need to disable MySQL's query cache...

Spreewald's patiently repeats the given block again and again until it either passes or times out.

Imagine you want to write a cucumber test for a user-to-user chat. To do this, you need the...

Intel CPUs receive updates, including security relevant upgrades, through 2 channels: Firmware/UEFI BIOS updates can also update the microcode in...

makandra dev

If you need to run a program on a remote machine (e.g. to your office PC) with a graphical UI...

Usually you add errors to :base in ActiveRecord, in case no appropriate attribute could be used to add the error...

...und Private VIF Vergleiche Direct Connect und Site-to-Site VPN. Was ist die bessere Lösung? Was ist ein Transit Gateway und wann möchte man es einsetzen? Erkläre es auch...

...es mit diesen deinem Mentor. Wie muss eine DX Connection für Redundanz aufgebaut werden? Welche Best-Practices empfiehlt Amazon? Erkläre die folgenden 3 Lösungen und wann diese zum Einsatz kommen...

You can tell npm to install a package globally with npm -g install @puppeteer/browsers. However, it seems that its not...