Regular expressions can have something called "zero-width look-behind assertions". This means that you want a pattern to be...

stackoverflow.com

When you double-tap a string of text on an iPhone or iPad a complicated context menu for copying and...

When you generate a URL in a mailer view, ActionMailer will raise an error unless you previously configured it which...

vim.org

First option is to install it with your package manager: apt-get install vim-puppet vim-addons install puppet

Install Ruby from the Ubuntu repository: sudo apt-get install ruby ruby-dev \ ruby is the meta package. If you...

makandra dev
cpulimit.sourceforge.net

cpulimit is a simple program which attempts to limit the cpu usage of a process (expressed in percentage, not in...

The first thing to do with any new U2410 should be to disable the incredibly annoying beep when pressing any...

makandra dev

I've recently encountered a weird problem with specs making lots of SOLR queries using the acts_as_solr plugin...

Here are some popular mistakes when using nested forms: You are using fields_for instead of form.fields_for.

Thunderbird 5 brings a custom chrome on Windows Vista/7 that uses translucent Aero decorations on toolbars and menubars. Here is...

If you need to parse a large XML file (> 20 MB or so), you should parse it in chunks, otherwise...

blog.anandvishwanath.in

After managing a few agile projects from India and learning the tricks of the trade, I have been wondering why...

These steps are now part of Spreewald. Since Capybara 0.4.1 a within scope will only look at the first element...

You can say: $(element).is(':visible') and $(element).is(':hidden') jQuery considers an element to be visible if it...

We're adding a script console-for to open a remote Rails console with one command. Also have a look...

When you open up a story to only have a look at it, close it by pressing the "Cancel" button...

You probably need to activate X-Sendfile.

The step definition below allows you to write: Then I should see a link labeled "Foo" But I should not...

makandra dev

If you are exchanging files with a client via Dropbox you do not need to access the Web page every...

makandra dev
martinfowler.com

A common question in IT departments is whether to provide a capability by building custom software or by buying a...

When you render a nested form for a Movie which has_many :actors, you want to render the right number...

To test if you can connect to a host using password authentication and explicitly deny public key authentication:

Here is how to switch your Selenium to Chrome: Make sure you've got a recent version of chromedriver in...

If you stub a method or set expectations with should_receive these stubbed methods may also yield blocks. This is...