To check your apache2 config files for syntax errors run sudo apache2ctl configtest or shorter sudo apache2ctl -t

When your cucumber features grow massively over time, the test execution can take a lot of time.

If you manipulate the DOM with JavaScript and your page contains nested elements with position: relative, chances are Internet Explorer...

Since May 2011 we are cutting new gems using Bundler, which is less painful than cutting gems using Jeweler. You...

Today I needed to execute a ruby gem executable with sudo. But, surprisingly, bash would tell me command not found...

makandra dev

Before installing chef, make sure curl is installed and sudo finds your gems setup chef-client: follow this guide

makandra dev

When you simply want to get to know Puppet, follow puppetlabs’ Learning Puppet Docs. They give you a handy introduction...

Install Ubuntu Server Download an image from this site Select File > New… to and follow the instructions, choose the .iso...

makandra dev

To set the hostname of your Mac, run the following command in Terminal: sudo scutil --set HostName my-new-hostname.local

wiki.qemu.org

When you want to quickly boot from a drive or image in a virtual machine you do not need to...

Occasionally you need to do something directly on the server -- like having all records recalculate something that cannot be done...

ActiveRecord gives you the :include option to load records and their associations in a fixed number of queries. This is...

Simply add --dry-run, like this: sudo apt-get install --dry-run something This is great if packages would get...

makandra dev

When installing RMagick you may get an error messages like this: Version 2.13.1: checking for Ruby version >= 1.8.5... yes

I prefer using Opera's "User mode" to toggle an outlining of HTML elements quickly. This helps greatly when you...

By default, Opera 11 hides any passed params and the URL's protocol until you focus the address bar.

makandra dev

The Ubuntu Documentation on LaTeX says, that the packages tetex are no longer supported. You can install the alternative texlive...

makandra dev

The information in this card is only relevant for Rails 2.3-era apps. This note gives a quick introduction into...

Note that you cannot currently use Ruby 1.9.2 with Rails 2 applications that use RSpec, so don't upgrade if...

ActiveRecord comes with a method touch which sets the updated_at timestamp to the current time. Unfortunately it also runs...

Add deprecation warnings and their solution or link to available solutions. Global access to Rake DSL methods is deprecated. Please...

Pie sometimes does not properly redraw elements upon changes. This often happens when the change comes from somewhere further up...

The attached RSpec matcher exist_in_database checks if a given record still exists in the database and has not...

Install OpenSSH Server: sudo apt-get install openssh-server To check if the server is running you should get no...