My algorithm to convert a Regular Expression to a Regular Grammar is based on mostly two online resources.
Other similar online resources on the same topic may be found at:
My algorithm to convert a Regular Expression to a Regular Grammar is based on mostly two online resources.
Other similar online resources on the same topic may be found at:
#!/usr/bin/php | |
<?php | |
// See http://www.php.net/manual/en/session.configuration.php#ini.session.save-path | |
function prepare_dir($base, $hash_chars, $depth, $number) { | |
if($depth<0) return $number; | |
if(!file_exists($base)) { | |
mkdir($base, 0777); | |
echo "$base\n"; |
<VirtualHost *:80> | |
ServerAdmin {USER}@cslavoie.com | |
ServerName {DOMAIN} | |
ServerAlias www.{DOMAIN} | |
ServerAlias {USER}.localhost | |
ServerAlias {USER}.static.cslavoie.com | |
DocumentRoot {DOC_ROOT} | |
<Directory {DOC_ROOT}> |