The trick is this: send a low-resolution version of your image to the screen, and a high-resolution version...
If you want to play music or sounds from a browser, your choice is to use either Flash or the...
An alert alternative for jQuery that looks good. Apprise is a very simple, fast, attractive, and unobtrusive way to communicate...
Ruby comes with a class BigDecimal which you can use for arbitrary precision arithmetic. You should use BigDecimal instead of...
When storing floating-point numbers such as prices or totals in an SQL database, always use a DECIMAL column. Never...
You set a flash message and it shows up as it should. However, it is displayed again the next time...
Sass now comes with user-defined functions, keyword arguments, list manipulation. Haml and Sass are now two separate gems.
You most likely have a form element inside another form element. Don't do that. Ever. Firefox and Chrome will...
You can use CSS attribute selectors in your step definitions like this: Then /^the page should have a meta description...
I prefer using Opera's "User mode" to toggle an outlining of HTML elements quickly. This helps greatly when you...
If there is some weird margin at the top of your page for no apparent reason, chances are one of...
Bryan talked about the differences between imperative and declarative scenarios. In my opinion, both styles have benefits and should be...
Within an event handler, there are multiple methods to cancel event propagation, each with different semantics. event.preventDefault() Only prevents the...
Google’s Font Directory and API for web fonts could have a transformative effect on how we read the web...
If you're using jQuery, you need to update to 1.5.1 to get Internet Explorer 9 to work.
At times, it might be unavoidable to have different CSS rules for Internet Explorer than for sane browsers. Using Sass...
Liquid Canvas is a JavaScript library which allows you to draw inside an HTML canvas element with an easy yet...
PhantomJS is a minimalistic headless WebKit. It has fast and native support for various web standards: DOM handling, CSS selector...
Specify these gem versions in your Gemfile: gem 'cucumber', '~> 1.3.0' gem 'cucumber-rails', '= 0.3.2' # max version for Rails 2
I don't like those buttons inside the header area of a message that Thunderbird 3 put there. Though the...
Sometimes you need to dynamically load an image and do something as soon as its loaded (when for example its...
The shell variable PS1 holds your bash prompt. You might want to change it to serve your needs best. Here...
With SNI, you can have many virtual hosts with HTTPS sharing the same IP address and port, and each one...
Pie sometimes does not properly redraw elements upon changes. This often happens when the change comes from somewhere further up...