Consider you have a website vhost listening to www.example.com, redirecting all incoming requests that do not talk about the configured...

If your application raises an error like ... Couldn't connect to the Solr server at http://127.0.0.1:8983/solr. 500 "Lock...

You can use fold: fold -sw 60 You can now paste your texts. fold will echo them back, word-wrapped...

When you drag a file from a Nautilus window into a terminal window, the file's path will be pasted...

Whenever Firefox updates, all your Cucumber features that use Selenium break. This is annoying. In order to remedy this, version...

github.com

If you have different users for different servers, don't use set :user. Encode the username into the server definition...

There is a bug in Rails 3's dbconsole script, which makes the following command open a database console for...

github.com

Microsoft provides virtual machine disk images to facilitate website testing in multiple versions of IE, regardless of the host operating...

webupd8.org

Great blog with daily news and HOWTOs for Ubuntu, Linux and Gnome.

I believe that when WEBrick has trouble bringing up your Rails application, the WEBrick component that is supposed to print...

DeaDBeeF is one of the better music players for Linux. You can find installation instructions here.

Note that converting from RGB to CMYK will usually degrade your colors because no exact mapping is possible. Anyway, this...

Use the PDF toolkit: sudo apt-get install pdftk To rotate page 1 by 90 degrees clockwise: pdftk in.pdf cat...

Linux provides a fix number of filesystem watches. If you have some greedy daemon (like dropbox) running, chances are it...

makandra dev
forums.mysql.com

Do you wonder which databases are actually taking up how much space but only have one huge ibdata1 in your...

Grep prints one line per match. To return the number if matches, use the -c switch: grep -c "something" filename...

If you use Amazon AWS cloud services you definitively want to utilize software raid for IO intensive stuff such as...

Whenever you deploy using Capistrano, a new folder is created within the releases directory on the remote server containing the...

en.wikipedia.org

Under the same origin policy, a web page served from server1.example.com cannot normally connect to or communicate with a server...

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

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