relishapp.com

VCR lets you configure how it matches requests to recorded cassettes: In order to properly replay previously recorded requests, VCR...

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

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

There is no build in functionally in jQuery and Prototype to extract params from a url. You can use this...

makandra dev

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

makandra dev

Promises are the new way™ to express "Do this, and once you're done, do that". In contrast to callbacks...

There's no user interface to give an AWS IAM user read/write access to a selected list of S3 buckets...

Ruby's __FILE__ keyword returns the path to the current file. On popular for this are Ruby binaries: #!/usr/bin/env ruby...

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

By convention, common protocols use a defined port, like 80 for HTTP or 443 for HTTPS. You can use nmap...

When building a web application, one is tempted to claim it "done" too early. Make sure you check this list...

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

So you want to use object-fit, but you also need to support Internet Explorer. One option is to use...

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

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

jqueryui.com

UI sortable helps reordering items with drag 'n drop. It works quite fine. Proven configuration for sorting table rows

makandra dev
thecssninja.com

Sometimes you want to preload images that you will be using later. E.g. if hovering over a an area changes...

When you have a localized website, you may want to redirect users to their preferred language when they visit the...

github.com

fake_stripe spins up a local server that acts like Stripe’s and also serves a fake version of Stripe.js...