I encountered a bug in RSpec 1.x where stubbed class methods ("static methods") would not be unstubbed before the...

I pushed a new version of the Cucumber Factory gem. This new release lets you refer to a previously created...

makandra dev

When you have a hook in your Capistrano file that dumps your remote database, you might not want it to...

When you edit text in Balsamiq Mockups, you can define inline styles like this: | Bold | Some *bold* text | | Italics | Some...

superuser.com

Ubuntu natty introduced new "invisible" scrollbars for GTK programs such as gEdit or Nautilus. If you do not like them...

askubuntu.com

When using gnome-open (i.e. double-clicking a file, telling to browser to open a download, etc.) on Ubuntu you...

My front audio output would not work even though the front mic input did fine. The Pulse Audio mixer (= Ubuntu...

You know there is the du command to fetch the disk usage of a directory (“.” in this example). By default...

When using the resource_controller gem you often hook onto events like this: update.before do do_something end

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

In order to request a SSL certificate from any dealer, you usually need a CSR certificate. As both the CSR...

This snippet makes links that refer to an anchor (like "...

...") scroll softly to it.\ In this example we only do...

Note: In Rails 3+ you can use Array.wrap instead of the solution here. In the past you could use Array...

crazylittlehacks.blogspot.com

I found a nice script on crazylittlehacks and modified it slightly. Put the attachment to /usr/local/bin, chmod +x and run...

devblog.imedo.de

XPath matchers can be combined with CSS-selector matchers. This is really useful if not, for example, the content of...

makandra dev

If you want to enforce soft tabs (spaces instead of tabstops) in Vim put this into your ~/.vimrc (Linux) or...

Copy the attached Ruby code to config/initializers, or paste it into your IRB console. You can now dump any two...

Update: Staticmatic will not be further developed. They suggest to switch to middleman. If you need to make a static...

yehudakatz.com

When running an executable, ALWAYS use bundle exec. In some cases, running executables without bundle exec may work, if the...

blog.jayfields.com

Deprecated ways to execute shell code in Ruby This is just a reference for legacy code. For new code, always...

You probably already manage servers you often connect to inside the ~/.ssh/config file. What is nice: you may define alias...

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

howtogeek.com

One of the more controversial changes in the Ubuntu 10.04 beta is the Mac OS-inspired change to have window...

makandra dev
github.com

After having written useful scripts into makandra notes for a long time, we’ve now tied them into a powerful...