Google Chrome has quite a lot of special URLs. Some of these are covered over at Lifehacker in their post on Chrome’s about pages, but the meta “about:” protocol isn’t the only one that Chrome uses. Waha, a user on the chromeplugins.org site posted a much more complete list of URL schemes that Chrome uses…. Read more »
Posts Tagged: webdev
BBC Standards Ruby Gem
Thanks to some brilliant tidying up of my work by my good friend Patrick, there is now a bbc_standards ruby gem which you can use to validate pages against some of the BBC Technical Guidelines
Create A Custom CakePHP Console Application Using Shells, Tasks, Models and Controllers
CakePHP doesn’t just come with its own console applications for baking code, managing ACL, inspecting classes, manipulating the schema, internationalisation and running the testsuite (whew!) it also lets you write your own console applications. [NB: I always have an external cake core directory, for easy swapping. The code examples all assume you have done this,… Read more »
Using a Proxy with Cucumber, Webrat and Mechanize
If you’re writing Cucumber tests using Webrat and Mechanize to test a site, and you are behind a proxy server, you can do something like this to tell mechanize about it in your webrat_steps.rb file: When /^I am on (.+)$/ do |page_name| webrat.adapter.mechanize.set_proxy(‘proxy.host.com’,8080) visit path_to(page_name) end I’m sure there’s a tidier way to do this,… Read more »
Disable Debug Output for Ajax in CakePHP
If you are developing a CakePHP application and you have the debug value set to anything greater than 0 in your config/core.php file, you will find that Ajax requests will also get the extra information appended to the output. In order to circumvent this add this to your “app_controller.php” file (which sits directly inside the… Read more »