ChromeDriver clicking works by simulating a mouse click in the middle of the element's first client rect (or bounding...
To easily opt out of notifications for a large number of Github repositories, go to https://github.com/watching.
When you have a multi-server setup, you'll be adding a new server from time to time. Before doing...
Rails supports time zones, but there are several pitfalls. Most importantly because Time.now and Time.current are completely different things and...
These tools help you in checking websites globally: DNS Checker This tool allows for global DNS propagation checking. GeoScreenshot
This is useful if, for example, you want to use a background-image that has to scale with the width...
This card will show you how to use git rebase --onto without confusion. Use case: You've got two feature...
Webmocks hash_including is similar to RSpec::Mocks::ArgumentMatchers#hash_including. Be aware that hash_including (webmock v3.0.1) doesn't...
You can use gem list to list all gems available from a remote gem server: gem list -r --clear-sources...
Typhoeus has a different way of representing array params in a get request than RestClient. Typhoeus: http://example.com/?foo[0]=1&foo[1]=2&foo[2]=3
Ruby's standard library is in the process of being gemified. It will soon - Ruby 2.5 - consist of RubyGems, which...
TLDR: Browser implementations of HTTP/2 push are horrible. You might end up with worse performance than without pushing. However, the...
By default Middleman generates files with a .html extension. Because of this all your URLs end in /foo.html instead of...
Middleman is a static page generator that brings many of the goodies that Rails developers are used to.
Dump this method into your Ruby console to quickly print data in columns. This is helpful for e.g. comparing attributes...
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...
When you load a dump for development, records may reference images that are not available on your machine.