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

phantomjs.org

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

makandra dev
github.com

The shell variable PS1 holds your bash prompt. You might want to change it to serve your needs best. Here...

wiki.apache.org

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

web.archive.org

The speed searching for makandra notes in Firefox can be improved by following these steps: Download the Firefox-Add-on...

When working with large Sass files you will notice that the first request after a change to a Sass file...

When you click a link or a press a button on a Selenium-controlled browser, the call will return control...

api.jquery.com

jQuery offers many different methods to move a selection through the DOM tree. These are the most important: $element.find(selector...