When you install Type 1 fonts (like makandra's corporate typeface), they won't show up in OpenOffice. OpenOffice requires...
By default, Rails views escape HTML in any strings you insert. If you want to insert HTML verbatim, you need...
If you want to distribute a 's width equally over its columns, you can use the following CSS property:
Clearfix is a hack to clear floating elements without additional HTML markup. If you only need to support IE8 and...
If you encounter the error message above when running cucumber, just execute... rm rerun.txt ...in the Rails directory.
RSpec 1 (Rails 2) With the most recent spec_candy.rb helpers you can say: User.stub_any_instance(:foo => :bar) user = User.new...
When using the screen tool you may be unable to start a screen session but instead encounter an error:
To show the collation of your tables you have to login to the MySQL console and execute SHOW TABLE STATUS...
To show the MySQL default character set you have to login to the MySQL console and execute SHOW VARIABLES LIKE...
You can convert git commits into patch files. Those can be used to apply to a different repository [1] or...
The solution in this card is based on a stack overflow post by Leventix. If you need to make request...
While 2.0 will include a number of syntax changes, new features and general improvements, mentioned below, it is anticipated to...
If you want to know the exact hits on your website (or whatever logfile you want) for a specific date...
Please note that you can break your system with this! This is not recommended. Sometimes the package repository has errors...
The buffer where text is put into when you double-click on text within X is called X selection.
The most common use case for Ruby's #collect is to call a method on each list element and collect...
The Rails logger will store its content in a buffer and write it into the file system every 1000 lines...
In order to monitor a Rake task using God your Rake file must write a file with its process ID...
When your Cucumber feature seems to forget cookies / sessions when you run it with Selenium check if the test travels...
RSpec lets you define the arguments with which you expect a method to be invoked: subject.should_receive(:say).with('hello...
Calling #gsub on a string that was previously marked as #html_safe will lead to unexpected behavior. E. g. backreferences...
Capybara will match elements outside of a page's tag. For example, the step definitions below match nodes in a...
If you want to stop getting notified about new messages in a Skype chat (but not leave it altogether), you...
Looks simpler than inaction_mailer: gem install mailcatcher mailcatcher Setup Rails to send mails to 127.0.0.1:1025. Usually you want...