When you're developing a gem, never list the same dependency as both runtime and development dependency in your .gemspec...

If you get an error like: subprocess installed post-removal script returned error exit status 78 when installing/removing/updating a package...

You want to test your 1GE or 10GE internet uplink? We needed to ensure we have full 10GE to the...

makandra dev

Starting with Ruby 1.9, most #each methods can be called without a block, and will return an enumerator. This is...

makandra dev
csstriggers.com

I figure we needed a definitive reference for what work is triggered by changing various CSS properties. It's something...

blog.intercom.io

A fantastic guide for a dilemma facing any web-based product. Here’s a simple set of Yes/No questions that...

bibwild.wordpress.com

While debugging an intricate issue with failed HTTP requests I have come to appreciate the more advanced features of the...

stackoverflow.com

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

digitalocean.com

I recommend install Node.js using nvm. This way you can have multiple Node versions in your ~/.nvm. You also won...

makandra dev
github.com

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

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

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

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

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

Running projects parallel makes some trouble with PDF generation. Use geordi rspec spec to force sequential tests for the whole...

Large projects usually have large test suites that can run for a long time. This can be annoying as running...

Note: Making a reverse proxy with nginx is much more straightforward. A reverse proxy is a "man in the middle...