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...
TL;DR Debugging problems with javascript errors in cucumber tests is sometimes easier in the browser. Run the test, stop...
When giving a presentation with a projector it is sometimes better to use a dual screen layout instead of a...
We used zeroclipboard.js in some of our projects but now we switched to clipboard.js because it does not rely on...
Yesterday I stumbled across a talk in which the guy mentioned module sub-classing. I was curious what you can...
A haml angular 1 template with .thing(class="is-{{:: item.type }}") will be compiled (by haml) to which is not what...
Knowing when to refactor Just feeling like refactoring is not a good reason to do it. Make an educated decision...
If you are fine with the default console diff most of the time but only sometimes want to use an...
SVG is an acronym for "scalable vector graphics". SVGs should be used whenever an image can be described with vector...
AWstats is build to regularly run on webservers. If you want it to build a report once, here is the...
We have released a new library Gemika to help test a gem against multiple versions of Ruby, gem dependencies and...
Same requests are recorded only once in vcr. Replaying a test fails, if you trigger the same request multiple times...
You know those helper methods that just render some HTML but look weird because of content_tags all over the...
We have a new gem Minidusen which extracts Dusen's query parsing and LIKE query functionality. Minidusen can no longer...
Git is hard: screwing up is easy, and figuring out how to fix your mistakes is fucking impossible. Git documentation...
Improve geordi cucumber: Only attempt @solo run when the specified files contain the @solo tag, skip @solo run if any...
Promises are the new way™ to express "Do this, and once you're done, do that". In contrast to callbacks...
Angular directives with isolate scopes have three different variable binding strategies, of which one is =. Example: # HTML # Coffeescript @app.directive 'panel...
Isolate scopes offer three kinds of variable binding. One of them is &, allowing to bind a property of the isolate...
When you're nesting setTimeout(f, 0) calls, your browser will silently increase the delay to 5 milliseconds after the...
We're using Middleman for some static sites like our blog. Despite being very similar to Rails, Middleman does not...
Here is a symbol of an eight note: ♪ Its two-byte hex representation is 0x266A. This card describes how to...
When building a web application, one is tempted to claim it "done" too early. Make sure you check this list...