blog.jayfields.com

Deprecated ways to execute shell code in Ruby This is just a reference for legacy code. For new code, always...

howtogeek.com

One of the more controversial changes in the Ubuntu 10.04 beta is the Mac OS-inspired change to have window...

This card shows you how to center a float horizontally in CSS. Also: find out what techniques are available for...

These steps are now part of Spreewald. Here are some useful examples how to use the attached Cucumber Timecop steps...

Internet Explorer 5+ is aware of conditional comments that let you target HTML for selected versions of IE. For example...

We recently decided to put static content for HouseTrip.com to Amazon Cloudfront for a faster user experience. This happens fully...

Install Ubuntu Server Download an image from this site Select File > New… to and follow the instructions, choose the .iso...

cssnewbie.com

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

thrivingkings.com

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

travisonrails.com

You set a flash message and it shows up as it should. However, it is displayed again the next time...

nex-3.com

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

benmabey.com

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

joemaller.com

Google’s Font Directory and API for web fonts could have a transformative effect on how we read the web...

makandra dev

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

makandra dev
ruzee.com

Liquid Canvas is a JavaScript library which allows you to draw inside an HTML canvas element with an easy yet...