Drupal feed importer

Posted on: Sun, 03/25/2012 - 20:52 By: dae

Recently, I have a chance to use drupal commerce with feed importer. Feed importer is very good because I can easily transfer data from MySQL to the website.

However, sometime the import process crash and I am stuck with importing page with xx% status and nothing can be done via UI.

To fix this, I have to manually edit the status of the import. Basically, all I have to do is to

update feeds_source set state = 'b:0;'; update feeds_source set fetcher_result='b:0;';

Check this .

Rockstar with PhD

Posted on: Sat, 09/24/2011 - 22:40 By: dae
Tags

My favorite band is always Queen. Three years ago, I was thrilled to known that The band's guitarist, Brian May, just got his PhD in astrophysics two weeks after my graduation procedure is filed. At that time, I can't contemplate how it was to be a rock star and to holds scientific PhD at the same time.

FARR

Posted on: Fri, 06/24/2011 - 09:27 By: dae
Tags

I have been using Launchy for a long time. It is a very good keystroke launcher, a best tool for keyboard fanatic. However, it takes too much ram on my Win7 machine and keeps crashing constantly. After googling a while, I found [FARR]("The Ultimate Program for Keyboard Maniacs") (Find and Run Robot), a highly configurable, full-featured keystroke launcher which brands itself as "The Ultimate Program for Keyboard Maniacs". This one is less eye-candy than Launchy but definitely a tool for a fanatic.

Displaying TIS620 mysql on UTF8 page

Posted on: Thu, 06/02/2011 - 16:48 By: dae

The ghost from the past is my MySQL database encoded in tis620. Worse, the table and the column itself is labelled as iso-8859-1. Of course, if the web page is to be "viewed" as tis620, all I must to is to simply use

SET NAMES tis620;
SET CHARACTER SET tis620;

In my php code. However, this is not the case because the page itself is utf8.

What comes to help me is iconv. In short, this is what I did.

Share

Posted on: Wed, 11/03/2010 - 03:08 By: dae

It's that time of the year again.

Support Wikipedia

This is not a donation. This is... Admiration.

Songs and Memories

Posted on: Mon, 09/06/2010 - 01:08 By: dae
Tags

On Sat, I attended TEDxKrungthep, an independent TED event organized by local TED enthusiasts and the final speaker is Bojo, a choir master. He led all audiences to sing Heal the World by Michael Jackson. The strange thing for me is that, years ago, this is one of songs that I had kept cassette (yes, there is a thing called tape cassette at that time) nearby all the time but somehow, I forgot to include it in my iPhone. It simply get lost in time.

Subscribe to