Blog

  • The Host

    中文片名:宿主
    IMDb: The Host (2013)

    故事背景是外星生物已經進化到可以將靈魂實體化為章魚(!?)型態,並且植入後可以替代原生物體的靈魂之類的時代。大概是這類高度進化的物種每每都是過於理性的關係,遇到人類這種低度進化還有一堆感性情愛等等運作方式的物種,故事就會開始有趣。只能說外星人殖民前沒有好好做功課啊~(茶)

  • Pee Mak

    中文片名:淒厲人妻
    IMDb: Pee Mak Phrakanong (2013)

    這麼炎熱的夏日躲在室內觀賞好笑的電影真是爽快!泰語翻譯的台詞也好好笑!完全都不恐怖的搞笑片。

  • Handle notes:// link in Firefox

    It’s very easy after googling…

    $ cd /usr/share/applications
    $ sudo cp LotusNotes8.5.desktop LotusNotes8.5-url.desktop
    $ sudo vi LotusNotes8.5-url.desktop

    The example:

    [Desktop Entry]
    Encoding=UTF-8
    Name=Lotus Notes 8.5 Url
    Type=Application
    Exec=/opt/ibm/lotus/notes/framework/../notes-wrapper %u
    Icon=/opt/ibm/lotus/notes/framework/shared/eclipse/features/com.ibm.notes.links.feature_8.5.4.20120906-1255/icons/notes.ico
    Terminal=false
    MimeType=x-scheme-handler/notes
    Categories=Application;Office;
    NoDisplay=true

    $ sudo update-desktop-database

    Versions:

    • Ubuntu 12.04.2 LTS x86_64
    • IBM Lotus Notes 8.5.4 x86

    Reference: Comment 2 for bug 788673 – unable to open link with custom url-handlers

  • Two python versions in system

    We have some python scripts for scheduled jobs. They are moved from a old machine and work very well automatically and manually. When we moved them to another machine, manually run them works fine. But they don’t work when we put them in corn.

    After some search, there are two python versions in system. One is in /usr/bin and another one is in /usr/local/bin. Hmmm… That’s $PATH problem!

    In bash shell, when we run the scripts manually, they are run by /usr/local/bin/python.

    In cron, they are run by /usr/bin/python. Unfortunately, this version is too old to be compatible with our scripts.

  • 廚子戲子痞子

    英文片名:Chu zi Xi zi Pi zi
    IMDb: Chu zi Xi zi Pi zi (2013)

    如果只是當個輕鬆有趣的小品來看,那就很不錯,別用太嚴肅的態度去對待這個作品,例如劇情道具剪接特效那一類的東西…尤其是二戰狙擊鏡完全不是那個現代樣啊~(還是說出來了…)