Tuesday 7 December 2010

Alpha transparency

So I'm looking at 8 increments between 0 (Hex 00) and 255 (Hex FF)... except that there's really 9 because of numbering starting at 0... adding 32 (256/8 = 32) each time worked a treat... especially when I knocked the 1 off of each result:

000
311F
633F
955F
1277F
1599F
191BF
223DF
255FF

Which allowed me to create this PNG image via SVG:

Sunday 5 December 2010

Wampserver & Symfony

  1. http://www.wampserver.com/en/download.php for WampServer 2.0i. download and install
  2. WAMPSERVER (System Tray) » Apache » Apache Modules » rewrite_module
  3. WAMPSERVER » PHP » PHP Extension » php_xsl
  4. remove ";" from line ;extension=php_xsl.dll in C:\wamp\bin\php\php5.3.0\php.ini
  5. Add C:\wamp\bin\php\php5.3.0\ and C:\wamp\bin\mysql\mysql5.1.36\bin\ to PATH in ENIVROMENT VARIABLES
  6. Cmd to C:\wamp\bin\php\php5.3.0\ and "php -d phar.require_hash=0 ./PEAR/go-pear.phar
  7. Execute C:\wamp\bin\php\php5.3.0\PEAR_ENV.reg
  8. pear channel-discover pear.symfony-project.com
  9. pear install symfony/symfony

Thanks to Anand Sharma and michoz.

Thursday 2 December 2010

Bloody Cold...

Me and 'er-indoors spent most of the evening arguing about who'd be wearing my hap last night... just a shame that it looks like I'm wearing a cat on my head!

One for #3 son (check the originals here):