+6016 6868066 Skype: dangibas

HYGEN

Web Monkey Blog

HYGEN Blog HomeHome » 2010 » January

Dan Gibas

Dan Gibas, Director, HYGEN HYGEN Web Design
A British expat web monkey living in Malaysia. Hire me!

HYGEN Blog Archive for January, 2010

Safe Formula Milk Powder For G6PD Deficiency

Wednesday, January 27th, 2010

Susu kambing merah

Susu kambing merah

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.

Read the rest of this entry »

PHP - Load Plain Text CSV Data Into MySQL / Convert CSV To MySQL

Tuesday, January 26th, 2010

The resulting MySQL table after loading CSV data into MyDQL

The resulting MySQL table after loading CSV data into MyDQL

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.

Read the rest of this entry »

King Cobra VS Reticulated Python Photo

Tuesday, January 19th, 2010

King Cobra VS Reticulated Python - Photo By Chin Chee Chun

King Cobra VS Reticulated Python - Photo By Chin Chee Chun

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.

Read the rest of this entry »

Malaysian Mantis Photos And Gecko VS Mantis

Thursday, January 7th, 2010

Close up with the Malaysian Mantis - beautiful!

Close up with the Malaysian Mantis - beautiful!

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 :).

Read the rest of this entry »

Google Chrome For Linux (Ubuntu + KDE / Kubuntu)

Tuesday, January 5th, 2010

Google Chrome Download For Linux

Google Chrome Download For Linux

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 »

Search HYGEN Blog:

HYGEN Blog Stats

  • Users 424
  • Posts 244
  • Comments 852
  • Categories 22
  • Words in Posts 113,345
  • Words in Comments 86,658

Show / hide blogging badges »