Imagine you have a piece of code that tries to send a request to a remote server. Now the server...
If your git index for some reason becomes invalid, no need to worry. Your index is corrupt when you see...
You can use text-overflow to truncate a text using CSS but it does not fit fancy requirements.
When using Rails to truncate strings, you may end up with strings that are still too long for their container...
Sometimes you need to restart the Gnome panel, e.g. when you installed a new Gnome panel widget but the widget...
In order to chain greps on log files that are opened via tail -f test.log you have to use the...
This describes all the steps you'll need to get Solr up and running for your project using the Sunspot...
Sometimes you want one distinct version of RubyGems to be installed to replicate the same behavior across multiple servers.
Use the command geordi migrate to migrate your databases and to prepare them before running tests. The abbrevation geordi m...
In cucumber you are able to run features in whatever directory you like. This also includes executing features in subdirectories...
Although it's tempting flirt with detecting mobile/touch devices with CSS media queries or Javascript feature detection alone, this approach...
Basically, you now need to know if your project uses a "real" time zone or :local, and if config.active_record.time_zone...
SkypeTab-NG (NG stands for Next Generation) is a tool that adds tabs to Skype for Linux. Besides providing a...
Code coverage is the ratio of code lines kissed by a test vs. the total number of lines in your...
The unix command line tool less is a good choice for browsing logfiles. In the standard configuration, though, it does...
When Rack::Bug has been added to your project and your Apache2/Passenger only replies with an Error 500 (Internal Server...
To reduce download time, application servers usually serve content using gzip compression, if the browser supports it.
Framework to write command-line apps in Ruby. Comes with a nice way of processing parameter options, some utility classes...
When you have a complex recipe setup with multistage deployment you may run into this error: `role_list_from': unknown...
If you turn on stylesheet caching, it might happen that stylesheets from different locations with different relative pathes will be...
When you use one line Ruby comments in ERB templates you should never do this (notice the whitespace in front...
Git has a built-in repository viewer for your web browser. a bit similar (but less awesome) than github.
Using rename_column, remove_column, etc. more than once in a migration makes that migration run slower than it should...
How to ignore new files Globally Add the path(s) to your file(s) which you would like to ignore...