If you are using VNC to run Selenium tests, it may be hard to see what's going on since...

jakearchibald.github.com

Building CSS mobile-first is the way forward, because blah blah blah progressive enhancement blah. Problem is, Internet Explorer prior...

eagain.net

Quick introduction to git internals for people who are not scared by words like Directed Acyclic Graph. The linked page...

The following snippet will convert a string with wildcards to a appropriate regexp, i.e. parse_wildcards("foobar") # => /\Afoo.bar\z/

Probably was in the repository once and got deleted in a commit that you pulled.

I had trouble serving an MP4 video to my iPad. Although the video complied with all the specs (H.264 codec...

makandra dev
github.com

Geoffrey Grosenbach has created Gruff for easily plotting graphs. It is written in pure Ruby and integrates with Rails applications...

ruby-toolbox.com

If you need a gem for a certain purpose, be sure to check this site. The rankings are determined by...

makandra dev

Consider the following HTML & CSS: ^ img { background-color: red; } div { border: 1px solid black; } This will leave a margin of...

You might have notices this behavior when you cut a selection or use the rubber tool. The behavior depends on...

Localizing a non-trivial application can be a huge undertaking. This card will give you an overview over the many...

You will find this useful when creating responsive designs that work well on small screens. The attached Javascript gives a...

If your project uses another version than your default Ruby, RubyMine will give you incorrect inspections, for example.\

Embedding bitmap images within PDF sometimes results in large files because the bitmaps are not compressed. If you don't...

Note: You might also want to check out BoxCryptor which does pretty much the same, and is supported across many...

There is a conflict between current capistrano versions and the 2.5.1 net-ssh gem. Make sure you upgrade to 2.5.2...

makandra dev

Capistrano recently had some API changes that can results in deploys not working when running with old deploy.rb files.

MySQL version 5.1 comes with an alternative, faster InnoDB implementation (called "InnoDB Plugin"). Switching is easy: Stop your mysqld with...

stackoverflow.com

%p #{link_to "label", "url"}! Haml is a great engine for writing shorter, readable HTML. However, there is...

When requests arrive at the application servers simultaneously, weird things can happen. Sometimes, this can also happen if a user...

Say you want to vertically align a div box inside a div container. This is how you do it:

stackoverflow.com

Using beginning_of_day or end_of_day on Date or DateTime objects in Rails 2.x applications will never...

Today, this line made me trouble. Can you spot the mistake? match 'sitemap.xml' => 'feeds#sitemap', :constraints => { :format => 'xml' }, :as => 'sitemap...

solnic.eu

Removing duplication from the code is a seemingly easy task. In many cases it is pretty straight-forward – you look...