This is a very general introduction to MV* Javascript frameworks. This card won't tell you anything new if you...

In order to save the original value of a constant, set the new value and restore the old value after...

makandra dev

Copy the attached file to config/initializers/indent_string.rb and you can say "foo".indent(4) # " foo" Note you will find many simpler...

Imagine you have a piece of code that tries to send a request to a remote server. Now the server...

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

Ever seen this error when using Graticule? Numerical argument out of domain - acos Similarly to the to_sql problem for...

docs.cksource.com

The article gives a very short tutorial how to customize tabs and fields of CKEditor's dialogs.

makandra dev
stackoverflow.com

If your git index for some reason becomes invalid, no need to worry. Your index is corrupt when you see...

justincarmony.com

As Justin Carmony points out, Mac OS Lion changed its behavior towards DNS and the usage of /etc/hosts (it quite...

You can use text-overflow to truncate a text using CSS but it does not fit fancy requirements.

Possible Reason 1: parallel_tests - running more processes than features If you run old versions of parallel_tests with more...

The step definition below lets you say: Then I should see a field "Password" But I should not see a...

makandra dev
github.com

ProgressBar is a simple Ruby library for displaying progress of long-running tasks on the console. It is intended to...

Most of the JavaScript snippets have code that manipulates the DOM. For that reason dom manipulating javascript code should have...

If you want to move a complete commit from one repository to another (and you don't want to add...

makandra dev

This describes all the steps you'll need to get Solr up and running for your project using the Sunspot...

makandra dev
github.com

Code coverage for Ruby 1.9 with a powerful configuration library and automatic merging of coverage across test suites.

Sometimes you want one distinct version of RubyGems to be installed to replicate the same behavior across multiple servers.

Let's say you have commits that change a file (and looking at the commit details show you the changes...

Removing features and merging those changes back can be painful. Here is how it worked for me.\

In cucumber you are able to run features in whatever directory you like. This also includes executing features in subdirectories...

Our gitpt script to generate git commits from Pivotal Tracker stories has been tweaked and polished and is now part...

Under XFCE keys like tilde are dead by default, which is impractical for programming and terminal work. To get rid...

Using .downcase or .upcase on strings containing umlauts does not work as expected in Ruby versions before 2.4. It leaves...