Don't simply test for the presence of the magic Paperclip attribute, it will return a paperclip Attachment object and...

makandra dev

When you need to create a locale for a language variant (like Austrian for German), you probably don't want...

makandra dev
github.com

When you need to use diff in either some Ruby code or your Rails app, use the differ gem.

en.wikipedia.org

Under the same origin policy, a web page served from server1.example.com cannot normally connect to or communicate with a server...

en.wikipedia.org

Cross-Origin Resource Sharing (CORS) is a browser technology specification, which defines ways for a web service to provide interfaces...

vimdoc.sourceforge.net

If you are in the middle of a file and want to scroll, but don't want to move your...

addons.mozilla.org

The addon lets you set the format of the dates used for the year and month folders that the Archive...

This is now part of geordi. Please don't follow the instructions below, if you use geordi. Inspired by the...

Possible fixes: Upgrade your Firefox. It's fixed in 5.0. Hunt down funny float or overflow directives in your CSS...

Note: While the solution in this card should still work, we prefer another solution now: Hide your Selenium browser window...

Note: If you are currently working with Ruby 1.8.7 or 1.9.3, we recommend to upgrade to Ruby 2.1 first. From...

This note describes how to kick a user out of a Rails application after she hasn't requested an action...

When you create a temporary file (e.g. to store a generated Excel sheet) and try to send it to the...

In Rails 2, you could use link_to_remote...

...:update => 'id' to automatically replace the content of $('#id').

We usually generate our commit messages from Pivotal Tracker IDs and titles, like [#15775609] Index view for conflicts

Just in case you did not know it: If you sent a Skype message containing a typo, you don't...

Sometimes you need a file of some size (possibly for testing purposes). On Linux, you can use dd to create...

Note: Consider using MATE instead of Gnome 3 on newer system Awesome is a very good tiling window manager that...

robots.thoughtbot.com

We are changing our name from Hoptoad to Airbrake. You see, some folks much larger than us reached out and...

VirtualBox does not offer anything for this task -- you need to do it yourself. It's not that hard:

When you do a bitwise copy using the dd tool you will not see any output until it completes or...

makandra dev

Every time you open a directory containing images, Windows creates those pesky Thumbs.db files for a minor speed-up and...

stackoverflow.com

When you double-tap a string of text on an iPhone or iPad a complicated context menu for copying and...

When you generate a URL in a mailer view, ActionMailer will raise an error unless you previously configured it which...