Assuming you're wanting to undo the effects of git rm or rm followed by git add -A or something...
Separate subject from body with a blank line Limit the subject line to 50 characters (max. 72), include reference (unique...
Database connections are not thread-safe. That's why ActiveRecord uses a separate database connection for each thread.
In modern default RSpec configurations, your tests are usually run in random order. This helps to detect "flickering" tests that...
In case you want to require a gem, that is not in the Gemfile of you bundle and therefore not...
This card compares patterns to store trees in a relation database like MySQL or PostgreSQL. Implementation examples are for the...
Solved with flexbox is a collection of css problems which were hard or impossible to solve without flexbox: Better, Simpler...
The parallel-gem is quite easy to use and can speed up rendering time if you want to render the...
Luckily, this is simple. Just install three packages: sudo apt install ipheth-utils libimobiledevice-dev libimobiledevice-utils
When you load a dump for development, records may reference images that are not available on your machine.
When filling out forms in Selenium tests, Chrome shows the (usual) bubble, asking to store those credentials. While the bubble...
Some pseudo-elements need to be addressed with vendor prefixes. E.g. ::selection is not supported by Firefox, you need to...
Sass lets you easily specify multiple selectors at once like this: .some-block &.has-hover, &:hover outline: 1px solid red...
ImageMagick has a command line tool called identify which can read image metadata: >identify -verbose DSC00136.JPG Image: DSC00136.JPG Format: JPEG...
Note: The behaviour of Spreewald's within step is as described below for version < 1.9.0; For Spreewald >= 1.9.0 it is...
Barby is a great Ruby gem to generate barcodes of all different sorts. It includes support for QR codes via...
This card is just about creating simple PostgreSQL dumps. This is no instruction for a backup strategy nor a guide...
on the bash (issued as postgres user) Start/Stop/Restart PostgreSQL pg_ctl -D $configdir start|stop|restart Start/Stop/Restart the corresponding PostgreSQL...
Crontabs are often unordered, especially when generated for an application where you usually group tasks by their domain/scope.
This is not an issue in newer versions of HAML (starting with 5.0.0), as the ugly-option was removed...
There are various ways to run external commands from within Ruby, but the most powerful ones are Open3.capture3 and Open3.popen3...
Occasionally, you have to talk to APIs via HTTPS that use a custom certificate or a misconfigured certificate chain (like...
run-one is a wrapper script that won't run the given command while another instance of it is running...
Using VCR to record communication with remote APIs is a great way to stub requests in tests. However, you may...