makandra dev
github.com

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

ruby-toolbox.com

If you need a gem for a certain purpose, be sure to check this site. The rankings are determined by...

makandra dev
github.com

Bourbon is a library of pure Sass mixins that are designed to be simple and easy to use. No configuration...

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

...on a string that was previously marked as #html_safe will lead to unexpected behavior. E. g. backreferences to captured groups ($1, $2) will be nil even if the group...

...be safe after using gsub on them. You can, however, fix the $1 gsub behavior on html_safe strings...

In case you want to require a gem, that is not in the Gemfile of you bundle and therefore not...

jeff.dallien.net

x = "Universe" <<-'MESSAGE' Hello #{x} MESSAGE # => "Hello #{x}" That will make the string behave like a single-quoted string, so sequences like \n will be used as they are...

Instead of showing you two lines for each change, Git allows you to highlight changes in a line explicitly:

There is a bug in ActiveRecord 2.3.x that leads to changes in nested forms getting lost. class Project < ActiveRecord...

As you most likely know validates_uniqness_of :foreign_id does not allow nil values by default.

You can group contacts using a mailing list in Thunderbird for easier access and less trouble when trying to find...

web.archive.org

This step tests whether a given select option comes preselected in the HTML. There is another step to test that...

...you would consider invalid might suddenly make sense for #encode. This very likely works best when your strings are in few languages that share a similar character set, e.g. English...

RSpec supports a one-liner syntax for setting an expectation on the subject: describe Array do describe "when first created...

...like text and images. While this may be useful in most situations, it may become annoying in others. If you e.g. want to allow the user to scroll/move horizontally within...

Sometimes it might be helpful to have a version history for a gem, e.g. when you want to see if...

makandra dev
developer.mozilla.org

Basic box shadow support is available in all browsers today, but you need to check to which extend they are...

makandra dev

When you do a script/dbconsole -p, your MySQL shell will already be using UTF-8. When you call it yourself...

There are several ways to merge two (or more) PDF files to a single file using the Linux command line...

I ran into a situation in which I received the yarn integrity check warning when starting the rails console even...

Given the problem you have a new column postion and that column should be updated for all existing rows with...

...error" message: *** [err :: example.com] There are no Phusion Passenger-served applications running whose paths begin with '/var/www/example.com'. *** [err :: example.com] This is just because there were no running passenger process for...

makandracards.com

If you get an error message like this: You have already activated some-gem 1.2.3, but your Gemfile requires some...

docs.angularjs.org

In addition to the {{ myValue }} two-way binding syntax, since Angular 1.3 there's a one-time binding syntax, prefixing...