Sometimes you need a file of some size (possibly for testing purposes). On Linux, you can use dd to create...

github.com

Some folks have started to keep their linux configuration in a git repository called "dotfiles". This sounds like a good...

Note: Consider using MATE instead of Gnome 3 on newer system Awesome is a very good tiling window manager that...

VirtualBox does not offer anything for this task -- you need to do it yourself. It's not that hard:

When you do a bitwise copy using the dd tool you will not see any output until it completes or...

makandra dev

Every time you open a directory containing images, Windows creates those pesky Thumbs.db files for a minor speed-up and...

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

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

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

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