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

makandracards.com

There is now a solution.

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

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

objectmentor.com

Slides presenting ways to integrate the ideas of Aspect-Oriented Programming in Ruby. Outline Why Aspect-Oriented Programming?

If you get an error like this ... can’t find executable rails for rails-3.2.3 (Gem::Exception) ... one of several...

37signals.com

How to call routes, make requests and try out helpers from the Rails console.

Every time I started RubyMine, it opened the main window on the left monitor -- when moving it to the center...

makandra dev
github.com

DTAUS & DTAZV are formats for German bank transfers and is short for "Datenträgeraustausch". The format itself totally sucks because it...

When you add a linear gradient to an element, IE9 removes all border-radius and inset box-shadows. This is...

stackoverflow.com

Though the W3C even gives it as an example, no browser actually supports this CSS: img:before { content: "something"; }

Sometimes you need a special version of chrome because it has some features you need for testing, like in this...

You can set the resolution and user agent used in selenium tests with chrome with the method described in this...

makandra dev
blueimp.github.com

File upload with nice UI, progress bar and preview, allowing multiple files and supports drag & drop. Its default is built...

It's not logical, so don't be too hard on yourself. You need to give it a height and...