vimdoc.sourceforge.net

If you are in the middle of a file and want to scroll, but don't want to move your...

This is now part of geordi. Please don't follow the instructions below, if you use geordi. Inspired by the...

When you have a program running in a hidden X screen (like with Xvfb for Selenium tests) you may want...

The Javascript code below is a rough equivalent to the simple_format helper that ships with Rails: function simpleFormat(str...

Resque comes with its own dashboard (Resque server) that you can mount inside your Rails 3 application with #config/routes.rb:

Note: While the solution in this card should still work, we prefer another solution now: Hide your Selenium browser window...

Note: If you are currently working with Ruby 1.8.7 or 1.9.3, we recommend to upgrade to Ruby 2.1 first. From...

This note describes how to kick a user out of a Rails application after she hasn't requested an action...

When you create a temporary file (e.g. to store a generated Excel sheet) and try to send it to the...

Ubuntu comes with keyboard layouts like "Germany Eliminate Dead Keys", which are practical for programming. If you need to type...

This finally works: User.any_instance.should_receive(...) as does User.any_instance.stub(...) Note: You won't have RSpec 2.6 if you're still working...

Note that this card is very old. You might want to use ActiveType for your auto-coerced virtual attributes instead...

We usually generate our commit messages from Pivotal Tracker IDs and titles, like [#15775609] Index view for conflicts

Just in case you did not know it: If you sent a Skype message containing a typo, you don't...

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

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

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