css-tricks.com

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

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

makandra dev
stackoverflow.com

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

makandra dev

Have you ever mistaken one Rails environment for another? The attached helper will help you to never do it again...

addons.mozilla.org

This extension allows you to manually sort (order) your folders in the folder pane of Thunderbird or automatically sort them...

Converting string characters to or from their integer value (7-bit ASCII value or UTF-8 codepoint) can be done...

As your Rails project grows, you will accumulate a number of small patches. These will usually fix a bug in...

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

The attached ImageLoader helper will start fetching an image and return an image that is resolved once the image is...

makandra dev
browsercookielimits.squawky.net

TL;DR If you want to support most browsers, then don't exceed 50 cookies per domain, and don't...

Spreewald gives you the within meta step that will constrain page inspection to a given scope. Unfortunately, this does not...

relishapp.com

When you find yourself in the situation that you would like to define a custom matcher in your specs, but...

github.com

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

When you paste copied code with CTRL+V, RubyMine will change the indentation of the pasted code. You can prevent...

blog.skylight.io

Helix allows you to implement performance-critical code of your Ruby app in Rust, without requiring glue code to bridge...

When dealing with time zones in Rails, there is one key fact to keep in mind: Rails has configurable time...

developer.mozilla.org

When building a form with a file select field, you may want to offer your users a live preview before...

Cucumber's docstrings let you add long strings to a step like this: # foo.feature Given this text: """ First line

ombulabs.com

Tool to show you which gems are slow to load: ➜ git:(master) ✗ bundle exec bumbler [################################################# ] (49/65) travis-lint...

jQuery's deferred objects behave somewhat like standard promises, but not really. One of many subtle differences is that there...

This card existed before, but was outdated due to browser implementation changes. The information below is validated for the current...

While IE9 does support HTML5 tags, it fails to work until you force HTML5 mode. Here are two ways to...

You can find out about disk space usage of all tables within your database by running this: SELECT table_name...