If you don't want to mess around with arcane incantations inside xorg.conf, you can use the graphical arandr tool...

odyniec.net

imgAreaSelect is a jQuery plugin for selecting a rectangular area of an image. It allows web developers to easily implement...

progfu.com

I am talking about development speed. When your application starts growing and you start adding gems, it starts to take...

makandra dev
github.com

The gem author Jonas Nicklas highlights in a Google Groups post that the release is not backwards compatible to 1...

makandra dev

The very useful andand gem does not play very nice with Ruby's SimpleDelegator (or vice versa). This following will...

If you get a stacktrace complaining about uninitialized constant MysqlCompat::MysqlRes a system library update might broke your gem.

Since I use this a lot in my daily work and there were no scripts working properly for me, I...

perlstalker.vuser.org

While you can set your own font in your terminal or other tools, it will not change the default "Monospace...

When you have two models in a has_many, has_one or belongs_to association, the :inverse_of option in...

Modern cameras often produce JPEGs that have a "I should be rotated 90° to the left" flag. If you process...

coding.smashingmagazine.com

JavaScript engines such as Google’s V8 (Chrome, Node) are specifically designed for the fast execution of large JavaScript applications...

makandra dev
chrome.google.com

Ever wanted to preview a pattern from Subtle Patterns on your site without the hassle of swapping out images and...

thegleebox.com

gleeBox is an experimental project that takes a keyboard-centric approach to navigating the web. It provides alternatives to actions...

Icon fonts like Font Awesome are infinitely scalable, look great on high-DPI displays and will give your app a...

developer.mozilla.org

Having your site run on SSL is worthless when you include content over an unsafe connection (HTTP).

Generally, Selenium tests use the browser to interact with the page. If it's unavailable, a timeout error is...

If you're using the Capybara webdriver, steps sometimes fail because the browser hasn't finished loading the next page...

Our most recent pattern is EMAIL = /\A[a-z0-9\+\-_\.]+@[a-z\d\-.]+\.[a-z]+\z/i Notes

stackoverflow.com

url = 'http://www.foocorp.com/foo/bar' URI.parse(url).host # => www.foocorp.com Note that this will raise an error if the given argument is...

In theory you can take any scope and extend it with additional joins or conditions. We call this chaining scopes...

ActiveModel::Errors is used to handle validation errors on Rails objects. If you inspect an instance, it feels like a...

Around will not happen until after a feature's Background has been processed. Use Before and After to avoid that...

If you require your Rails models manually, pay attention to the path you use. Unless you have...

When is this useful? When both parent and child elements have borders, with this technique you don't get two...