Blog

  • 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)

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

  • 已出售 TOYOTA

    2010 年的時候把 2003 年 TOYOTA VIOS 1.5G 牽去換一台 2000 年 TOYOTA CAMRY LE 2200 c.c. Green,後來搬離開南港租屋江子翠,又在捷運旁買了一間老公寓。之後上下班都靠著板南線,桃園以南大多搭高鐵,使用車子的機會不多。

    去年就想著要把車子處理掉,平常停在台北市區,臨時用車大多是走個幾分鐘去跟老爹借他的車子來開。沒想到時間很快就過去,車子半年要驗一次保養一下。

    上禮拜打了電話給之前牽這台的車行,老闆看車況還 OK 就收回去,搞定。

    現在是無車族,算了算上個月搭小黃的花費也不過一千多,還是先不養車好。