.../Ubuntu\ One/encrypted Create a random keyfile dd if=/dev/urandom of=~/.sync.key bs=256 count=1 chmod 600 ~/.sync.key Put this script (let's call it mount-ubuntu-one-sync) somewhere...

...to transform every captured string: Transform /^(.*)$/ do |str| str.gsub(/\btranslate:(.+?)\b/) do |match| I18n.t($1) end end Other than with step definitions, Cucumber does not mind multiple transforms matching the...

makandracards.com

...Never skip asset compile when servers are running on different code next if revisions.uniq.length > 1 changed_files = `git diff --name-only #{revisions.first}`.split if changed_files.grep(asset_locations).none? puts Airbrussh...

...it is annoying when debugging tests. Here are two ways to disable it: Option 1: prefs You can set profile preferences to disable the password manager like so: prefs = { 'credentials...

...work until you force HTML5 mode. Here are two ways to do that. Option 1: Doctype Make sure your HTML document uses HTML5. It should start like this: