makandra dev

The Capybara API is somewhat hard for parse for a list of methods you can call on a Capybara node...

tl;dr: Always have your attachment path start with :rails_root/storage/#{Rails.env}#{ENV['RAILS_TEST_NUMBER']}/. The directory where you...

makandra dev
web.archive.org

When you need to zip up files in Ruby, use zipruby. sudo gem install zipruby You can add existing files...

addons.mozilla.org

The addon lets you set the format of the dates used for the year and month folders that the Archive...

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

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

In Rails 2, you could use link_to_remote...

...:update => 'id' to automatically replace the content of $('#id').

If you use Selenium and Launchy to open web pages, you might run into an error saying "Your Firefox profile...

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

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

Install Ruby from the Ubuntu repository: sudo apt-get install ruby ruby-dev \ ruby is the meta package. If you...

Here are some popular mistakes when using nested forms: You are using fields_for instead of form.fields_for.

sudo apt-get install sqlite3 libsqlite3-dev sudo gem install sqlite3-ruby

If you want to have an English Ubuntu UI, but still see dates, money amounts, paper formats, etc. in German...

apidock.com

This is somewhat similar to the touch command of Linux: FileUtils.touch 'example.txt', :mtime => Time.now - 2.hours If you omit the :mtime...

To obtain a list of Passenger processes with their application directories and memory usages, you can say sudo passenger-memory...

makandra dev

This card explains how to upgrade an existing RubyMine installation to a newer version. If you're installing RubyMine for...

If you are connected with a network that forbids e-mail traffic but allows SSH, you can tunnel your e...

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

This will install a printer called "PDF": sudo apt-get install cups-pdf Files will be put into ~/PDF/ without...

(Rails has a method ActiveRecord::Relation#merge that can merge ActiveRecord scopes. However, its behavior has never been clear, and...