As the web is being used for more and more tasks, expectations rise. Not only should web pages offer rich...

This is how you regain disk space from OpenStack instances if you are using kvm and qcow. If your instance...

stackoverflow.com

With ngAnimate, you can easily animate certain events (see directive support). We'll make use of ngClass animations to style...

If you have problems installing a gem and get a error collect2: error: ld returned 1 exit status it's...

makandra dev
github.com

SitePrism gives you a simple, clean and semantic DSL for describing your site using the Page Object Model pattern, for...

andismith.com

If you need to upgrade code that uses the old jQuery methods bind, delegate, live, unbind and die, the attached...

httpbin.org

Some dozen generic API endpoints you can use to test how your HTTP client deals with various responses, e.g.

makandra dev
blog.getbootstrap.com

Moved from Less to Sass. Bootstrap now compiles faster than ever thanks to Libsass, and we join...

It smells. Rethink your code design. Code example with makandra/has_defaults: class Post < ActiveRecord::Base has_defaults tags: [] # field in db...

slideshare.net

Interesting talk about a team that integrated automated security testing into their BDD workflow. There is also a video of...

Spreewald comes with a selector_for helper that matches an English term like the user's profile into a CSS...

You may encounter problems with passenger starting an application with an updated rails. If you find an error like this...

If you need a postgresql extension for your database it isn't a good idea to give your applications database...

Use form models to handle this problem Or soften the validation to validates_presence_of :parent

makandra dev

Each time thin boots, it prints a boot message : Thin web server (v1.6.3 codename Protein Powder) Maximum connections set to...

A word of caution There should rarely be a reason for you to split up config/routes.rb. If you need to...

github.com

MarcoPolo shows your app name and environment in your console prompt so you don't accidentally break production Officially supporting...

makandra dev

CTRL + SHIFT + ALT + N Search for any symbol in your application, like CSS classes, Ruby classes, methods, helpers etc...

In tests, it is sometimes useful to create records with specific ids. On PostgreSQL this can cause problems: Usually, PostgreSQL...

Jasmine comes with two matchers that test for equality. The first is toBe: expect(first).toBe(second) toBe passes when...

jasmine.github.io

The easiest way to freeze or travel through time in a Jasmine spec is to use the built-in jasmine.clock...

If you are writing any amount of Javascript, you are probably using closures to hide local state, e.g. to have...

tl;dr: Use event.currentTarget unless you are absolutely certain that you need event.target. Since it hasn't been written down...

iPads will not trigger click events for all elements. You can fix that, but you don't want to know...