This is an awesome gadget in your toolbox, even if your test coverage is great. gem install ruby-debug (Ruby...
Terraform (and terragrunt) gives a lot of output when running plan or apply, outputting a lot of progress information when...
...in Problemfällen die richtige Lösung zu finden oder eine Architekturentscheidung zu treffen oder zu begründen. Solltest du mit deinem Wissen aus den Linux und Netzwerkkapiteln nicht mehr fit sein, solltest...
...Process Isolation Warum möchte man Ressourcen eines Hosts von Prozessen untereinander abgrenzen? Wie können Benutzer und Dateisystem Berechtigungen zur Isolierung von Prozessen beitragen? Was ist eine privilege escalation und wie...
When flagging a spec that will be implemented later as pending, include a failing spec body or RSpec 3 will...
The sprintf method has a reference by name format option: sprintf("% d : % f", { :foo => 1, :bar => 2 }) # => 1 : 2.000000
...it will be fixed, I guess it will be for Rails 4 only. The best workaround right now is to lock your version of rack at version...
...remember to nilify it afterwards. Otherwise other examples will see your global changes. A better way is to use the .with_power method to change the current power for the...
Chromedriver (or selenium-webdriver?) will not reliably scroll elements into view before clicking them, and actually not click the element...
ImageMagick can automatically crop surrounding transparent pixels from an image: convert input.png -trim +repage output.png
...On the database level, you will see these queries (simplified; the number at the beginning of each line is the connection ID): 1 Connect 1 BEGIN 1 INSERT INTO foos...
...you might be doing stuff afterwards that could require to abort the transaction). A better approach As a general rule, never use ActiveRecord::Base.establish_connection and also don't use...
You are getting when connecting via SSH or deploying with Capistrano (which uses SSH): Too many authentication failures for username...
...find dead code in puppet projects. To use it, (as of now) it's best to get the latest version from git, as the last release is not yet on...
As an application exists, data accumulates. While you'll be loosely monitoring the main models' record count, some supportive database...
If you use a newer SSH key generated with the ED25519 algorithm instead of RSA (see Create a new SSH...
...request: "GET /index.html HTTP/1.1", upstream: "http://198.51.100.123:80/index.html", host: "192.0.2.10:80" The cause This behaviour was caused by an application that transforms parts of the query from the URL into...
Instead of running all missing migrations on your test database with rake db:migrate RAILS_ENV=test you can also...
=> >> response.code => 422 FYI, the http gem is a great alternative to RestClient which behaves like that by default and has a well-designed API in general (much better than...
...Safari, ...) or Firefox, this is only the initial size -- users can resize textareas to become bigger. This is helpful to the user, but may be breaking your application layout in...
This note describes a Cucumber step definition that lets you say: Then "Mow lawn" should be an option for "Activity...
For each movie in MovieDB, we want to track which other movie it was inspired by. For...
When you have many changes, and you want to spread them across different commits, here is a way to stage...
As attachments to this card you will find a Cucumber feature and supplementing step definition that you can use to...
...Spätestens wenn du dir ansiehst wie z.B. Kubernetes Netzwerke aufspannt wirst du dieses Wissen benötigen. Ziele Du kennst die grundsätzlichen "Bestandteile" von iptables Tables Chains Rules Targets Du verstehst was...
...anzeigen lassen? Wie kann eine spezifische iptables rule gelöscht werden? Was kann ich mir bei den INPUT, OUTPUT und FORWARD chains im Filter table vorstellen? Erkläre PREROUTING und POSTROUTING im...
...its version number, it is considered a pre-release: 1.0.0.rc1 2.3.0.alpha2 3.0.0.beta3 4.0.0.pre.rc2 Even if a pre-release gem has the highest version number, it is...
...Semantic versioning Converted RubyGems version 1.0.0-rc1 1.0.0.pre.rc1 2.3.0-alpha2 2.3.0.pre.alpha2 3.0.0-beta3 3.0.0.pre.beta3 Note that npm packages force you to use Semantic Versioning's naming convention...