Webmocks hash_including is similar to RSpec::Mocks::ArgumentMatchers#hash_including. Be aware that hash_including (webmock v3.0.1) doesn't...
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
Sometimes, through some firewall or proxy misconfiguration, you might have to deploy to a server that cannot access the git...
Database connections are not thread-safe. That's why ActiveRecord uses a separate database connection for each thread.
This card compares patterns to store trees in a relation database like MySQL or PostgreSQL. Implementation examples are for the...
The parallel-gem is quite easy to use and can speed up rendering time if you want to render the...
When filling out forms in Selenium tests, Chrome shows the (usual) bubble, asking to store those credentials. While the bubble...
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...
Below is a list of some VIM settings I find useful. You can add them to your .vimrc. source $VIMRUNTIME/mswin.vim...
We generally use multiple application servers (at least two) and you have to search on all of them if you...
If you use Angular 1.4+ together with Angular Animate, all ng-show, ng-hide, ng-class etc. are animated on...
If you have a replication error with MySQL and you know the "error" is okay (e.g. you've executed the...
First find the reference for the entry you want through looking at the stash: $ git stash list stash@{0}: WIP...
TLDR: A function is hard to use when it sometimes returns a promise and sometimes throws an exception. When writing...
In general, you should not put a block element inside an inline element. So don't do this: text
So you're getting this failure when running bundle install on an older project: Your Gemfile.lock is corrupt. The following...
This method will remove automatically installed packages that no other packages depend on any more. This, of course...
If your external displays not switching on or showing a weird behavior (for e.g. all displays getting the same configuration...
When you're writing specs for ActiveRecord models that use memoization, a simple #reload will not do: it 'updates on...
A haml angular 1 template with .thing(class="is-{{:: item.type }}") will be compiled (by haml) to which is not what...
1. Sometimes you have search entries in the autocomplete of the address bar, which are higher weighted than your bookmarks...
Same requests are recorded only once in vcr. Replaying a test fails, if you trigger the same request multiple times...
If you need to modify (e.g. add 2px) a Sass variable that defines multiple values as one (e.g. for short...