I just hacked together the following quick and dirty PHP-script to use the tidy-extension from the command line. Maybe somebody else needs something like this somewhere. Check the comment for details: <?php // // (a) Save this as tidy.php // (b) Call it from commandline like this: $ php tidy.php trashed.html > tidy.html // to [...]
Archive for September, 2009
September 21, 2009 by marco · Comments Off
Filed under: Snippets, Tools
Social Tagging: commandline • php
Filed under: Snippets, Tools
Social Tagging: commandline • php
Since one of my coolest (private) projects www.lsis.com somewhat lacks the expected amount of traffic, I would like to emphasize the core feature in this blobpost – just to make you aware of it or encourage you to tell your friends or have ideas to apply the concept to other areas. In short LSIS – [...]
September 9, 2009 by marco · Comments Off
Filed under: Snippets, Tools, Uncategorized
Social Tagging: OSX • php
Filed under: Snippets, Tools, Uncategorized
Social Tagging: OSX • php
Here is how you install PEAR on Mac OSX: sudo mkdir /usr/local/temp; sudo chmod -R 777 /usr/local/temp; sudo mkdir /usr/local/share/pear; sudo chmod -R 777 /usr/local/share/pear; curl http://pear.php.net/go-pear | sudo php; Set /usr/local as path prefix and install. You should then be able to use pear, e.g.: pear help. In order to install modules you also [...]





RSS