Home » 2010 » January
Dan Gibas
HYGEN Web Design
A British expat web monkey living in Malaysia. Hire me!
Popular Blog Posts
HYGEN Blog Archive for January, 2010
Safe Formula Milk Powder For G6PD Deficiency
Wednesday, January 27th, 2010
Susu Kambing Merah or Red Goats Milk in English is widely available in Malaysia. It contains 90% dried goats milk with 10% red fruit. There are no other additives - especially Soy based ingredients which means that the milk is safe for babies with G6PD deficiency.
PHP - Load Plain Text CSV Data Into MySQL / Convert CSV To MySQL
Tuesday, January 26th, 2010
For a while now, possibly like many other developers, I’ve been coding in PHP using CSV related functions such as fgetcsv() and explode(). This usually works out fine until you want to read data from a CSV file and the store the data inside a MySQL database. Using mysql_query inside a loop is not fun for your servers processor!
As usual, the best way to do things when it comes to PHP & MySQL is to wherever possible get MySQL to do most of the work. Here is an example PHP script for effectively converting a CSV format database into a MySQL table. It presumes you already have a working connection and have selected a database.
King Cobra VS Reticulated Python Photo
Tuesday, January 19th, 2010
Reading Malaysia’s The Star newspaper today I saw one of the best photos they have ever published in their thumbnails section! This amazing action shot by Chin Chee Chun captures one of the most legendary battles of nature - a King Cobra taking on a Reticulated Python.
Malaysian Mantis Photos And Gecko VS Mantis
Thursday, January 7th, 2010
Some beautiful (and some crappy) photos of a Malaysian Mantis (not sure what species but probably a common one). In the end the Mantis was set free and it went straight for a gravid house Gecko for dinner. The Gecko escaped - no animals were harmed during the taking of the photos but I did get bitten by the Mantis :).
Google Chrome For Linux (Ubuntu + KDE / Kubuntu)
Tuesday, January 5th, 2010
Warning: Do not install Chrome as root as suggested below… installing as root was only a quick hack when installing as a regular user failed! Please read - http://community.livejournal.com/evan_tech/271230.html?view=1741182
This post is almost a month late! I’ve not been that up to date with news from Google lately but by chance saw an advert on YouTube - who kindly detected I’m using Linux and advised me to download Google Chrome for Linux! What? It’s finally ready? More checks lead me to this page - the Google blog announcement on Chrome for Linux - http://googleblog.blogspot.com/2009/12/google-chrome-for-holidays-mac-linux.html
Read the rest of this entry »
HYGEN Blog Stats
|







