Archive

Archive for January, 2007

Gallery is fixed.

January 23rd, 2007 Lloyd Leung No comments

My old gallery is fixed now…

debating on writing a new gallery, or make a plugin for wordpress to have a gallery.

How the plugin would work…
1.) Create a keyword, to enable the gallery.
2.) grab uploaded files, that are images via mime type, and display them.
3.) display the images via lightbox2, or something else that’d be suitable.
4.) Get titles, and descriptions for files

Pretty handy utility, not much else needed. All the hard parts are already handled by WP.

Categories: Programming Tags:

Ubuntu + Mysql setup

January 4th, 2007 Lloyd Leung No comments

Wow, that was so painless.

Original Post

Use your favourite means to install mysql, probably apache, php, phpmysqladmin as well…


sudo /etc/init.d/mysql start
mysqladmin -u root password myPassword

where myPassword is your actual password.

to test
mysql -u root -p

enjoy

Categories: Linux, Programming, Technology Tags: