Plot graphs in Ruby WebGraphviz renders in your browser via JavaScript (to store the rendered graph, extract the SVG using...

There is no CSS selector for matching elements that contains a given string ¹. Luckily, Capybara offers the :text option to...

clipboardjs.com

We used zeroclipboard.js in some of our projects but now we switched to clipboard.js because it does not rely on...

A haml angular 1 template with .thing(class="is-{{:: item.type }}") will be compiled (by haml) to which is not what...

github.com

This might be relevant for us since we're often managing customer documents in our apps. I played around with...

Same requests are recorded only once in vcr. Replaying a test fails, if you trigger the same request multiple times...

weareoutman.github.io

ClockPicker is a JavaScript and Bootstrap implementation of an Android-style time picker which looks and feels great. Unfortunately, it...

Sometimes you might need to nest a git-project inside another git-project. The right strategy is to use submodules...

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...

To simulate Rails' to_sentence in your JavaScript application, you can use these few lines of CoffeeScript code: joinSentence = (array...

We're using Middleman for some static sites like our blog. Despite being very similar to Rails, Middleman does not...

Is your application doing something expensive every few seconds? Maybe an animated slider that rotates images? Maybe you are updating...

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...

So you downloaded a theme for Chrome a while ago and don't remember which one it is?

The default Google Analytics might not work as expected with your Unpoly app. This is because your app only has...

css-tricks.com

All new browsers support the new object-fit CSS property. It allows to specify how an element behaves within its...

github.com

Ever needed to use a global variable in Rails? Ugh, that's the worst. If you need global state, you...

As you may know, HAML expands data attributes that are given as a hash: %div{ data: { count: 3 } }

jakearchibald.com

The way that Javascript schedules timeouts and promise callbacks is more complicated than you think. This can be the reason...

stackoverflow.com

When you are working with jQuery selectors and collections, many times you want to know if the collection actually contains...

to create a Gallery that has a name and has_many :images, which in turn have a...