When you are working with Backbone models and inheritance, at some point you want to overwrite inherited methods but call...
Sometimes you have a test expectation but actually want a better error message in case of a failure. Here is...
RulersGuides.js is a Javascript library which enables Photoshop-like rulers and guides interface on a web page Also available as...
If you have a text that is edited by WSYIWYG-Editor but want some length checking nevertheless, you need to...
Warning: Because of (unclear) rounding issues and missing decimal places (see examples below), do NOT use this when dealing with...
Non-static elements will not inherit their parent's opacity in IE for no good reason. This can lead to...
Crazy hack. Might be useful one day. The code required has since been extracted into a library.
Clever hack to allow user interaction without Javascript (by using radio buttons and selecting on :checked).
Give the table a style table-layout: fixed Give the cells in the first row a width The same width...
If you have a FooController and also have a layout app/views/layouts/foo.html, Rails will use this without being told so.
Setting the colorbox opacity by hash parameter when initializing doesn't work the way like the documentation tells you.
An annoying part of using font icons is that the icons usually need to live in the DOM. This is...
The mobile-friendly, responsive, and lightweight jQuery date & time input picker. Does not depend on jQuery UI, but currently does...
FastClick is a simple, easy-to-use library for eliminating the 300ms delay between a physical tap and the firing...
Ubuntu 12.04 LTS x64, Ruby 1.8.7, Rails 2.13, PDFKit 0.5.4, Phusion Passenger Apache 2 I ran into this, when I...
Font Awesome 4 has renamed all icons. What the fuck. Check the attached link for an icon list for the...
Awesome Sass plugin to experiment with Subtle Patterns based textures. It automatically removes the base color from the pattern, leaving...
I recently created a survey asking fellow designers about the problems they faced when creating fully responsive sites. This article...
Motion is quickly becoming one of the most important emerging techniques in building a quality user experience on the web...
So you client has asked you to implement a row of buttons to like the URL on Facebook, Twitter and...
The default configuration of Rails disables CSRF protection in tests. If you accidentally forget to send the CSRF token for...
Working with lists in Javascript is painful because the native Array class is so poorly designed. One way to reduce...
Using text-transform: uppercase - especially on form labels - can cause you serious headaches in Selenium tests. Sometimes the web driver...
Since we are migrating from our homegrown mixins.sass and helpers.sass to Compass, here is a list of all the mixins...