Monthly Archives: October 2006

Deploying PHP with Capistrano

I stumbled across a post about Automated PHP Deployment With Capistrano and it inspired me to set up Capistrano for a PHP site I maintain. Capistrano makes makes deploying my Rails applications painless. The deployment process for the PHP code

Posted in capistrano, php

`pwd` in bat files

Ocassionally I need to automate things with Windows cmd or bat files. I can never seem to remember the cryptic Windows shorthand to get the working directory name and end up digging through old scripts to find it. %~dp0 is

Posted in windows