You may know the double asterisk operator from Ruby snippets like Dir['spec/**/*_spec.rb'] where it expands to an arbitrary...
So you're getting an error like this: undefined method `activate_bin_path' for Gem:Module (NoMethodError)
Chrome gives you the currently selected element in the inspector with $0. If you select a button in the DOM...
TL;DR: Update the 'net-ssh' gem by adding to your Gemfile: gem 'net-ssh', '=2.9.1' Now run bundle update...
So you're getting this failure when running bundle install on an older project: Your Gemfile.lock is corrupt. The following...
Building plain text emails with an .erb template doesn't allow you to indent code like you normally do in...
This card tries to summarize by example the different uses of heredoc. In Ruby << vs. <<- vs. <<~ In Rails strip_heredoc...
You can use three different versions of the regular expression syntax in grep: basic: -G extended: -E(POSIX)
TL;DR Debugging problems with javascript errors in cucumber tests is sometimes easier in the browser. Run the test, stop...
This method will remove automatically installed packages that no other packages depend on any more. This, of course...
xargs is a powerful bash tool that can take input from $STDIN and pass it to a given command. I.e...
If your external displays not switching on or showing a weird behavior (for e.g. all displays getting the same configuration...
When giving a presentation with a projector it is sometimes better to use a dual screen layout instead of a...
When testing your command line application with Aruba, you might need to stub out other binaries you don't want...
In order to have monitoring for Sidekiq (like queue sizes, last run of Sidekiq) your application should have a monitoring...
You can have a command repeatedly executed and the output displayed. This is useful e.g. for monitoring file system changes...
If you want to find the commits that touched a specific text in a file, use git log -S 'text...
Using the -U parameter you can change how many lines are shown above and below a changed section.
SVG is an acronym for "scalable vector graphics". SVGs should be used whenever an image can be described with vector...
You might get the above error message when cloning certain git repositories (for example the rails repository). It indicates that...
I've encountered a Ubuntu 16.04 today, where localhost resolved to ::1 instead of 127.0.0.1. This will not usually make...
A few releases back, Chrome started using a Material Design UI on desktop. If you don't like it (on...
Similar to our snippet that runs all Cucumber features matching a given string, the following will run all modified or...
Improve geordi cucumber: Only attempt @solo run when the specified files contain the @solo tag, skip @solo run if any...