Setup the mirror by following the steps described here. If you want to enable OS upgrades using do-release-upgrade...

perlstalker.vuser.org

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

The classical scenario: There's a parent div element and you want to center some arbitrary child element vertically inside...

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

Capybara gives you two different methods for executing Javascript: page.evaluate_script("$('input').focus()") page.execute_script("$('input').focus()")

coding.smashingmagazine.com

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

Rarely, you might want to rebuild all gems with native extensions, because they might be compiled against outdated system libraries...

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

stevesouders.com

You can use scheme-less URLs (or protocol-relative URLs) to have browsers use the current protocol (HTTP or HTTPS...

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

makandra dev
leemunroe.com

Shows how to implement an animated progress bar in pure CSS, without animated GIFs, Javascript or Flash.

makandra dev
icomoon.io

Huge set of 315 free vector icons. You can choose which one you'd like, add your own SVGs, then...

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

Browser rendering engines are very slow at rendering large box shadows. I had a situation where a complex layout with...

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

stackoverflow.com

While git branch will show you all branches and highlight the current one with an asterisk, it can be too...

Haml 3.1.2 displays single quotes in FormBuilder#text_ field html escaped. You may see something like that:

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