Wednesday, July 22, 2009

startup MySQL on mac

from
http://dev.mysql.com/doc/refman/5.0/en/mac-os-x-installation.html

If you don't use the Startup Item, enter the following command sequence:

shell> cd /usr/local/mysql
shell> sudo ./bin/mysqld_safe
(Enter your password, if necessary)
(Press Control-Z)
shell> bg
(Press Control-D or enter "exit" to exit the shell)

Import MS Access to MySQL

  1. need local PC running mysql
  2. get MySQL Migration toolkit for Windows
  3. import MS access and export to web/local machine
  4. using MySQL Administrator on PC backup the Database
  5. then you have an SQL just like phpmyadmin to go to web/mac

Tuesday, June 2, 2009

Joomla get rid of ugly category list

from this post
http://forum.joomla.org/viewtopic.php?f=428&t=273447

change
$category->link = JRoute::_(ContentHelperRoute::getCategoryRoute($category->slug, $category->section).'&layout=default');

to
$category->link = JRoute::_(ContentHelperRoute::getCategoryRoute($category->slug, $category->section).'&layout=blog');

and you end up with a blog layout from the section list

Tuesday, May 5, 2009

NOFX - Best god in Show Lyrics

I've no consideration,
zero mutual respect
For billions who suffer from
rational thought neglect
I don't wanna waste a sentence,
I don't want a convert-sation
That's gonna end in disdain,
disbelief and aggravation

And I find it's getting harder to hang out
With grown adults who actually believe
In Santa Claus and Noah's Ark
and that their god is the best
My distaste has turned into detest

Who would read a 2000
year old medical journal
Techniques for bloodletting,
advice on Trichinosis
Would you navigate the globe
with a map of a flat earth
Without DNA testing,
would you believe virgin birth

And I find it's getting painful to put up
With grown adults who actually believe
In Unicorns and Creation,
and God always takes their side
That's when my innocent jabbing turns snide

Thank God for the Grammy,
thank God for the touchdown
Thank God for blowing up
the enemy's sacred ground

So how am I supposed to take
anything you say seriously?
When you've swapped free will for faith,
how and pre-destiny

And it's getting agonizing to hang out
With grown adults who actually believe
Mythology and history
trump physics and science
My aversion has turned to abhorrence

Thursday, April 23, 2009

Hotham Accommodation

Maybe if I post it here I'll finally get around to doing it properly
http://www.hothamaccommodation.com/


My site for integrating the various booking systems, yet to be finalised.

Sunday, April 12, 2009

Watchout for addListener onEnterFrame issue

don't know why but don't put an onEnterFrame on a onLoadInit for a listener, at about 2500 frames things go screwy.... i.e. image loaded using the listener disappears when an onLoadInit is assigned using a onLoadInit.