agileweboperations.com

features are pre-sold without any option to negotiate what’s important and what may be left out, you inevitably...

makandra dev

This will reduce the filesize of foo and bar to 0 bytes: truncate -s0 foo bar If the files do...

We are consistently having trouble with selenium-webdriver > 2.5.0 where whenever we try to select an option from a Capybara...

makandra dev

When you run rake db:create and get this error message Couldn't create database for {"encoding"=>"utf8", "username"=>"root...

stackoverflow.com

Most likely you run rake and your code is causing an exception which is not the one shown in your...

whatsmydns.net

whatsmydns.net is an online service that allows you to instantly perform a DNS lookup to check a hostnames current IP...

When installing your first formula, Homebrew may complain about not being able to access certain directories. The easiest solution to...

When your Solr seems to be started properly (a process is running with the correct data directory) but never responds...

When you put a Rake task into lib/tasks, but running it fails with... Don't know how to build task...

makandra dev

cURL makes a web request and shows you the response body. You can redirect the response body to /dev/null just...

Consider you have a website vhost listening to www.example.com, redirecting all incoming requests that do not talk about the configured...

github.com

ExecJS lets you run JavaScript code from Ruby. It automatically picks the best runtime available to evaluate your JavaScript program...

makandra dev

We forked craken today and fixed one of the issues we had with new (>0.8.7) rake versions. The craken:install...

makandra dev

Here is a way to create a duplicate of one database, with all its tables and their data, under a...

If you using gpg for your encrypted backup and it fails after you put it in crontab make sure you...

If your application raises an error like ... Couldn't connect to the Solr server at http://127.0.0.1:8983/solr. 500 "Lock...

You can use fold: fold -sw 60 You can now paste your texts. fold will echo them back, word-wrapped...

In order to open a Nautilus window in your terminal's working directory, you can say: nautilus .

The state_machine gem comes with a rake task that lets you generate PNG graphs from any model using state...

If you get an error "Adress already in use" with autossh check with lsof or netstat if something already listen...

makandra dev
blog.rubybestpractices.com

class Errormaster CoffeeIsOut = Class.new(StandardError) # is prettier than class CoffeeIsOut < StandardError; end end Reference such an error class with Errormaster...

Whenever Firefox updates, all your Cucumber features that use Selenium break. This is annoying. In order to remedy this, version...

You can create a Regexp object from existing Regexp objects by using the interpolation syntax you know from strings:

Selenium does not speak SSL because it uses WEBrick that doesn't. When you use Selenium for Cucumber scenarios that...