solnic.eu

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

github.com

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

We often use VCR to stub external APIs. Unfortunately VCR can have problems matching requests to recorded cassettes, and these...

SVG is an acronym for "scalable vector graphics". SVGs should be used whenever an image can be described with vector...

makandra dev

AWstats is build to regularly run on webservers. If you want it to build a report once, here is the...

Say you have an RGBA color that you need as a non-transparent color because of reasons. Basically, this is...

You know those helper methods that just render some HTML but look weird because of content_tags all over the...

makandra dev

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

If you need to modify (e.g. add 2px) a Sass variable that defines multiple values as one (e.g. for short...

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

css-tricks.com

The linked article shows what current browsers do when you click a link like this: 1-562-867-5309

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

makandra dev
chir.ag

This service gives you a kind-of standard color name for any hex code. This is useful if you want...

makandra dev
phrogz.net

...The and tags both come with some non-default behavior that you know from other tags.

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

Note: This applies to plain Ruby scripts, Rails does not have this issue. When you work with Ruby strings, those...

Processes in Linux might be put into Swap ("virtual memory") occasionally. Even parts of a single process might be removed...

makandra dev
css-tricks.com

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

makandra dev
stackoverflow.com

IE has a "Compatibility Mode" for old browsers. You can keep IE from offering it (and fix some other things...