Category: Paul-琮政 Life

  • 合艾半日游

    昨天和兩個瓜去了合艾半日游,是爲了購物買新年衣服!在炎熱的下午兩點半,我們到達的了邊界,黑木山(Bukit Kayu Hitam),過了關口后就乘坐一輛van進入合艾,每個人四塊半,一小時半后到達了合艾。說真的,合艾昔日的人潮已近不在了,哪兒現在已經靜了許多,可能是受到泰南被炸的影響吧,其實泰南離開合艾還遠得很,但是有許多人還以爲合艾有炸彈!但是少人也是好,我們可以慢慢周圍走走。

    那兒購物中心的衣服品牌多得很,價錢還可以啦,還有折扣呢!總共花了RM821.40,買了五件GQ工作的長袖衣服,四件新年衣服,兩件牛仔褲和一雙Hush Puppies工作鞋。。。豐富吧?我相信在吉隆玻買肯定要花一千塊以上。。。總算對自己有個交待。。。祝大家新年快樂,萬事如意,發大財!

    我們啓程啦!

    你一定會說我們是白癡,去泰國吃麥儅勞,我跟你說,我們吃的是發財“豬肉”漢堡包,在馬來西亞是吃不到的!

    看。。。幾好吃!

    拍張照片,坐“嘟嘟”回家!

  • 回家

    回家的感覺真好,今早六點開車,很快的九點十五分就到達了檳城,找了裕丰和“雞庫”吃早餐,齊齊講鳥話到十一點半再慢慢的駕回吉打。說真的,整條路大大條,如果你叫我駕110km/h是很折磨的事情,會很愛睡。。。

    新年就快到來了,祝你們發大財!

  • 矮子

    這位老兄其實很“臨”矮,矮到你會怕!他被“邀請”到我的部落客來講鳥話,因爲他本人也很鬼死鳥,和他認識並不久,但這位仁兄很“臨7”照顧我,有什麽是都是他為我出頭,因爲他很矮,大多數人都不扁他。。。給個熱烈的掌聲歡迎他的加入!

  • Word Press 2.0 Trackback fix revisit

    After follow Ah Knight’s instruction of updating wp_posts to_ping column, it seem like I can’t perform normal trackback again. I got it fix and download the files here. Or read below for more details, there are 2 files need to be change, which is;

    • wp-includes/function-posts.php
    • wp-admin/execute-pings.php

    file: wp-includes/function-post.php
    line of code: 700

    if ( empty($to_ping) )
    return;

    Instead of doing nothing here, we replace the return; to Ah Knight’s code, become;

    if ( empty($to_ping) ) {
    $wpdb->query("UPDATE $wpdb->posts SET to_ping = '' WHERE ID = '$post_id'");
    return;
    }

    file: wp-admin/execute-pings.php
    line of code: 22

    while ($trackback = $wpdb->get_row("SELECT ID FROM $wpdb->posts WHERE TRIM(to_ping) != '' AND post_status != 'draft' LIMIT 1")) {
    echo "Trackback : $trackback->ID
    ";
    do_trackbacks($trackback->ID);
    }

    Some changes made here, make sure to_ping field is clean and make a trackbacks looping!

    $trackbacks = $wpdb->get_results("SELECT ID FROM $wpdb->posts WHERE TRIM(to_ping) != '' AND post_status != 'draft'");

    if (is_array($trackbacks) && count($trackbacks)) {
    foreach ($trackbacks as $trackback ) {
    echo "Trackback : $trackback->ID
    ";
    do_trackbacks($trackback->ID);
    }
    }

    Done, if you not sure what am I explaning above, you can download the file here in zip format, if you are worry the code is not working, backup your original file.

    Happy Trackback!

  • There He Goes

    tua pui chuaAfter 1 year and 6 months working with Ah Chua, today is his last day in the company, heh.. kinda sad leh… nobody can have breakfast with me early morning(usually other colleagues came in quiet late) at the mamak downstair, nobody will wank about php framework with me in the office with me, nobody talking about php classes with me, less people let me kacau, less people cock with me, cannot hear someone said, “No Good la.. no money”… cannot listen chinese oldies songs…

    Heh.. Ah Fei Chua, when you ask him, “Hey Fatty, how are you?”, I am sure he only, always, all the time answer you, “Bad la, no money la….”. He is that kind of person, always said no money, I always tell him don’t say no money, because the more you said no money, then one day you become no money leh.. haha..

    Thanks Paul,
    for always argue with me. without you, i think i’m still a stupid programmer. you are the one who make me to look for new tech, alternative solution, new ideas and etc.

    That’s the email he sent out to tech, part for me.. LoL… ya.. neither me, nobody will argue with me on programming, and fight to read In-Tech or Computimes first.. also borrow his Personal Money to read.. Hahah.. and meet J.Lim for lunch. By the way, you don’t so humble la, you are expert programmer, what stupid…. so insulting leh you!

    And I think, most of us will miss chua superb laptop towel, and his KL hokkien slang hahaha… well, all the best to you tua pui kia!!!