When using the asset pipeline your assets (images, javascripts, stylesheets, fonts) live in folders inside app: app/assets/fonts app/assets/images...

xip.io

xip.io is a magic domain name that provides wildcard DNS for any IP address. Say your LAN IP address is...

derwiki.tumblr.com

Some advice for bulk loading many records into InnoDB and finishing before the sun burns out. Use with care.

The following code activates autoloading using ActiveSupport 3.x: require 'active_support' require 'active_support/dependencies' relative_load_paths = %w[app/controllers...

cbs.umn.edu

You can search for large messages by folder or by your entire email account. Useful to reduce your mailbox size...

html5rocks.com

Some progress was made by browsers on implementing CSS filters like blur, greyscale or some other effects. You might already...

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

eagain.net

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

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

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