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

When writing a piece of reusable code, you sometimes need to have separate code for Rails 2 and Rails 3...

If you have any class which requires access to some path methods generated by your routes. Even though you could...

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

You've been there: A form cannot be submitted, but you don't see a validation error because the field...

makandra dev

Just add the parameter :post to the visit method: visit publish_entry_path, :post

Rails doesn't know which host it is running on. For generating links, it strips the hostname off the request...

This is a bug in Timecop 0.3.4 or lower. You should upgrade to 0.3.5.

Calling Time#utc, Time#gmt or Time#localtime will not create a converted copy. Instead these methods modify the receiving...

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

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

...spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:197. NOTE: Gem::SourceIndex#add_specs is...

...deprecated with no replacement. It will be removed on or after 2011-11-01. Gem::SourceIndex#spec_dirs= called from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.14/lib/bundler/rubygems_integration.rb:175 NOTE: Gem::SourceIndex#refresh! is deprecated with no...

papercut.com

Retaliation is a Jenkins CI build monitor that automatically coordinates a foam missile counter-attack against the developer who breaks...

Note that if you plan to downgrade Firefox because your Selenium tests broke after a Firefox upgrade, there is a...

Note that if you plan to freeze your Firefox versions because your Selenium tests break whenever Firefox updates, there is...

Did you return false in a before_validation callback?

Sometimes the Rails helper #distance_of_time_in_words is using too much magic. When you need a time difference...

makandra dev
pdfposter.origo.ethz.ch

Pdfposter is a Python script that allows to convert large PDFs into a PDF with multiple pages that can be...

makandra dev

When browsing a repository, pressing "t" allows you to quickly search for file names. Very awesome! Go here to try...

Consider this HTML: Even though the surrounding container defines a line-height, which vertically centers its inline elements, the check...

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

makandra dev

If you want to use the (badly implemented!) solarized color scheme in your Rubymine IDE: Clone the IntelliJ IDEA port...

This article from the FreeBSD Handbook suggests that editing /etc/rc.conf enables DHCP. Unfortunately, some times this seems not sufficient.