When is this useful? When both parent and child elements have borders, with this technique you don't get two...

makandra dev
bitbucket.org

Makes a robust determination of a user's timezone through Javascript.

makandra dev
github.com

Richard Powell presents a collection of CSS styling advice that's mainly taken from SMACSS. Although at makandra we're...

makandra dev
github.com

Turbolinks makes following links in your web application faster. Instead of letting the browser recompile the JavaScript and CSS between...

markdalgleish.com

Many jQuery plugins suffer from a good plugin architecture. When you write jQuery plugins you should use the plugin pattern...

If some of your JavaScripts fail on Internet Explorer, but only in staging or production environments, chances are that JavaScript...

The simple_format helper method in Rails converts linebreaks of a given string into HTML paragraphs (...

...) or linebreaks ( ).

dfcb.github.com

This plugin makes it easy to add fit-to-fill background video to websites. It can play silent ambient background...

Note: Modern Rails has two build pipelines, the asset pipeline (or "Sprockets") and Webpacker. The principles below apply for both...

youtube.com

Interesting interview with DHH, where he talks about how they made the new Basecamp feel very fast without using a...

makandra dev
github.com

pjax loads HTML from your server into the current page without a full reload. It's ajax with real permalinks...

If you want to update some records with boolean fields in a migration, always remember to set your values with...

A print stylesheet is easy to create. Choose a font suited for paper, hide some elements, done. Unfortunately print stylesheets...

Note: Instead of using the method in this card, you probably want to use ActiveType's nested attributes which is...

Every now and then, Java is subject to security issues where code can break out of Java's sandbox and...

So your Cucumber feature sometimes dies with this exception: Modal Dialog Present (Selenium::WebDriver::Error::UnhandledAlertError) As a seasoned Selenium...

github.com

In Selenium features the server and client are running in separate processes. Therefore, when mocking time with a tool like...

makandra dev
blog.jquery.com

No big features, but many improvements under the hood: Faster selector engine Many bug fixes Note that jQuery 2.0, scheduled...

The behaviour of browsers is very inconsistent when an Ajax request is answered with a redirect. Highlights are:

makandra dev

Consul 0.4.0 comes with some new features. Dependencies Consul no longer requires assignable_values, it's optional for when you...

makandra dev
build.phonegap.com

Write your app using HTML, CSS or JavaScript, upload it to the PhoneGap Build service and get back app-store...

For my Gem Session project Holly I ran the Ironman of drag'n'drop implementations: Dragging in nested lists

api.jquery.com

The $.cssHooks object provides a way to define functions for getting and setting particular CSS values. It can also be...