As a hardcore linux user, I frequently use the bash shell. As a developer I often have directories with long names, often with many subdirectories.
The problem I was encountering was that the CWD displayed in my
$PS1 prompt was so long …
Permanent link to this article: http://permafrostcodingstudio.com/articles/project-pwdshort-bash-shell-cwd-shortener/
PHPUnit is a great framework for Unit Testing in PHP. However, there is no quick way to create a configuration (by default, phpunit.xml) file.
The PHPUnit Configuration Generator project solves this problem by providing a web interface to all of the configuration options, along with …
Permanent link to this article: http://permafrostcodingstudio.com/articles/phpunit-configuration-generator/
Permanent link to this article: http://permafrostcodingstudio.com/articles/script-new-php-project-creator/
Permanent link to this article: http://permafrostcodingstudio.com/articles/coding/automated-project-versioning/
PHP doesn’t come with conditional compiliation or any preprocessor tools, but using a generic preprocessor can make life much easier. Conditional compilation is just that — blocks of code can be set to only compile and run if a certain condition is met. Many compiled programming langauges …
Permanent link to this article: http://permafrostcodingstudio.com/articles/script-preprocess-php/