Apr 22, 2013

PRU13 Political Parties' Theme Songs

So the 13th Malaysia General Election is here and we can see all parties and even Rosmah are trying hard to be creative in order grab more votes from young and first time voters. Recently, there are many videos on Facebook & YouTube promoting their theme and vision of their parties. I have found some videos and posted them here.

No doubt, some videos are very funny. They can be the best entertainment during this election!

MCA PRU13 Promo Song - Love Is In The Air


DAP PRU13 Theme Song - Ubah


Ubah Rocket Style


Which one is better? The simple conclusion we can do: The side with more creative talents can build a greater team, to do a better work and to deliver a better result. As for election, of course, we can't simply judge everything with just watching these videos.

Bonus: Rosmah Mansor Singing "If Tomorrow Never Comes"


Mar 11, 2013

Bloggers Spreading Love for the Children at Children’s Protection Society

Penang, 3rd February 2013 — About 40 bloggers and public the Children’s Protection Society to distribute food, beverages and gadgets, sponsored by various commercial entities. It’s a philanthropic exercise not only by businesses in executing their Corporate Social Responsibility (CSR) but by everyone to give back to the society, thus making life more bearable for everyone in need. The event is made possible by Crowdpot Sdn Bhd (Event Organizer), Ninetology Malaysia, SUBWAY® (Suntech, iAvenue, & Leith Street branches), Chatime Malaysia, Langkawi Saga Travel & Tours Sdn. Bhd. and Alextan Artworks.

The Children’s Protection Society (CPS) began as an initiative of Dato’ Nazir Ariff when he was President of the Rotary Club in Penang (1991). It is a non-profit, non-governmental organization catering to the needs of neglected and/or abandoned children in Penang. It was officially launched in April 1992 by Puan Sri Chua Kah Peng. The objectives of CPS are both immediate and longer-term. The immediate objective is to provide children at risk with a safe, supportive and conducive environment (Shelter). Their concerned and focused areas include the emotional and physical development, education, social and recreational skills. At the same time, CPS aims to work with parents and other family members, so that the child can eventually be reunited with his/her family. In the pipeline, they hope to support projects to enhance community-based facilities for childcare and development in areas where such facilities are lacking. They also try to promote a more general awareness of the issues relating to children at risk by being involved in training and discussions. Hence they work together with various government and non-government organizations to help to develop longer-term strategies and goals.

How to help Children’s Protection Society?
1. Become a Volunteer: http://www.cpspg.org.my/webpages/help.html
Learning and Tuition is always needed - many of our children have missed a substantial amount of school due to their backgrounds, and often find it difficult to catch up with school work. If you are prepared for the extra challenges which many of our children face, and are prepared to commit a regular time a week (can be anything from an hour up).

2. Sponsor-A-Child Program: http://www.cpspg.org.my/webpages/help02.html
Talk to any of our staff if you are interested to sponsor a child

3. Donation: http://www.cpspg.org.my/webpages/help03.html
If you want to make a financial donation, please send cheques (payable to Children's Protection Society Pulau Pinang) to CPS at 118-A Jalan Scotland, 10450 Penang. CPS is a registered charity home with the Welfare Department so donations will be tax-exempt.

4. Sponsoring an Activity or Outing: http://www.cpspg.org.my/webpages/help04.html
CPS organizes many activities for the children, staff and volunteers. We welcome sponsorship of specific activities. Give us a call if you have any ideas of your own, or would like to hear from us on what sort of activities you could sponsor.


Other Information:
Children’s Protection Society Pulau Pinang
118-A Jalan Scotland, 10450 Penang, Malaysia
Tel: 04-8294046
Fax: 04-8294046
Email: cpspg@hotmail.com
Website: www.cpspg.org.my

Nov 23, 2012

Top 10 Reasons to Attend TEDxGurneyDrive 2012

Written by Teh Teng Yew, Curator of TEDxGurneyDrive


December 9th, 2012, will be Penang’s inaugural TEDx. Plus, TEDxGurneyDrive will be limit the event to an audience size of 100 and it will be great to list out 10 reasons that people should apply to attend this year.


1. Amazing Presenters: Learn how to break the tradition from a master student on wheelchair. Engagement with the unlimited thoughts and ideas of “make love, not porn” from Cindy Gallop. Listen to a doctor who focusing on dying people with cancer. Follow a guy who is hosting an annual festival to spread cultural like George Town Festival. Plus, there are more brilliant visions and experience presenters to come.

2. Connecting the Dots: An opportunity to understand how the small community such as Penang shapes our lives here. Plus, we’re fortunate to host with an artistic venue like Penang Performing Arts Centre.

3. Interactivity: Half-day event networking and interactivity engagement. You’ll have the opportunity to meet active members of the regional community, allowing you to collaborate for a better future and connect.

4. Inspiration: TEDx participation to empower, inspire, and charge our community by sharing great ideas but inject your brain with something other than the economy, business and politics.

5. Out of the Box: A chance to participate in a worldwide event on a local level. Global reach.

6. We’re not Robbers: TEDxGurneyDrive is organizing by yearly and you could get online passes for an affordable 45 Ringgit Malaysia and of course, we’re welcoming anyone active to attend.

7. “Ideas worth Spreading”: Anyone from the conference comes with ideas, stories and emotions to tell and out of the box to eventually bring a change to it. Thinking big.

8. Have you met a TED speaker?: TEDxGurneyDrive provides an awesome opportunity for you to interact with a TED speaker and people who’ve made change happen. Can you Gallop?

9. We will feed you: TEDx conference needs a break; one of the TEDx rules of organising a TEDx conference is providing awesome food and energy.

10. The theme: It is a gathering or movement for messagers, dreamers, connectors, mind shifters and others to devoted “Be All You Can Be”. The theme of this event is all about be daring and get back your inner courage in order to be creative and think outside the box. Call for Action.

TEDxGurneyDrive 2012 will be takes place on Penang Performing Arts Centre at 9 December, 9am to 3pm.

Tickets: https://www.flickevents.com/tedx-gurneydrive
Official Website: http://tedxgurneydrive.com/

Aug 17, 2012

Prestashop - Increasing State ISO-Code Length


I believe that many Prestashop users has issue when inserting ISO Code for state due to the character length. Some countries accept 4 character state ISO Code. However, for certain countries like Malaysia, there are 5 character state ISO Code. Hence, I created this random post for solving this problem, guiding you how to increase ISO Code character.

Let's start the action.
Step 1: Update PS_STATE In SQL Database
i. Go to Database in PhpMyAdmin
ii. Search for ps_state
iii. Go to Structure Tab
iv. Select ISO Code and click on Change
v. Insert 5 to Length/Value field and click Save

Step 2: Change The Length of ISO Code Length Validation
i.  Open /classes/State.php with your editor
ii. Go to line #46 (For version 1.4.7 & above)
iii. Change the following code from
protected  $fieldsSize = array('iso_code' => 4, 'name' => 32);
To protected  $fieldsSize = array('iso_code' => 5, 'name' => 32);

Step 3: Change The Regular Express of ISO Code
i. Open /classes/Validation.php 
ii. Go to line #310 (For version 1.4.7 & above)
iii. Change the following code from
static public function isStateIsoCode($isoCode)
{
 return preg_match('/^[a-z]{1,4}$/ui', $isoCode);
}
To
static public function isStateIsoCode($isoCode)
{
return preg_match('/^[a-z0-9-]{1,5}$/ui', $isoCode);
}

Step 4: Change The Length Input Textbox 
i. Open admin/tabs/AdminStates.php
ii. Go to line #120  (For version 1.4.7 & above)
iii. Update the size value

<input maxlength="5" name="iso_code" size="5" style="text-transform: uppercase;" type="text" value="'.htmlentities($this->getFieldValue($obj, 'iso_code'), ENT_COMPAT, 'UTF-8').'" /> <sup>*</sup>
'.$this->l('1 to 5 letter ISO code').' ('.$this->l('official list here').')

It is done now!