Author: Kirin Lin

  • Resize Launcher in Unity 2D

    I twittered about the memory usage is fat in Unity 3D. Although my T410 works fine. I still want to try to switch to Unity 2D. After that, the default icon in launcher is too large (48×48) as in Unity 3D. But the rezise bar in Appearance is gone. 

    See the reference post for how to do it.

    Reference: How to resize Launcher in Unity 2D.

  • ask.fm

    從推友那邊發現的新服務,問答型態的網站,可用 Twitter 帳號登入,最多三百字。鏈結: ask.fm

    開了帳號以後把我自己的鏈結加到「聯絡我」這個頁面裡頭,多了個交流方式。

  • Unbreakable

    中文片名:驚心動魄
    IMDb: Unbreakable (2000)

    平常家裡 MOD 沒有第四台,到朋友家吃午餐剛好轉到 HBO。以片子的節奏和我平常看慣的電影口味來說,這部片一點都不驚心動魄。不過沒頭髮的 Bruce Willis 對我還說還是比較適合當動作英雄,誰叫他那 Die Hard 系列這麼好看!(唉啊~《A Good Day to Die Hard》還沒看過)

    沒看過電影不要看推薦文章:《美麗新世界之2 @ 哈囉~ 馬凌諾斯基

  • Jump to feedly

    昨天(應該是)的網路界大事就是 Google Reader 服務在 2013-07-31 停止,推特上面一整個熱。

    想起來很久以前手機上就有裝 Feedly,既然它們都說可以無縫轉移過去,那…就跳過去唄~

    Reference: “Transitioning from Google Reader to feedly

  • Markdown in Notepad++ with Perl/Cygwin

    Notepad++ is my primary text editor in Windows and I also have Perl installed in Cygwin.
    To Markdown files under Notepad++ with NppExec plugin, I use following scripts:

    A bash shell script to call Markdown.pl:
    [sourcecode language=”bash”]
    #!/bin/bash
    #c:\cygwin\bin\bash.exe -l "/cygdrive/c/cygwin/home/$USER/Markdown.sh" "$(FULL_CURRENT_PATH)" $(CURRENT_DIRECTORY) $(NAME_PART)
    current_path=cygpath -u $1
    current_dir=cygpath -u $2
    out_file=$current_dir/$3.html
    echo "Markdowning file: "$current_path
    ~/Markdown_1.0.1/Markdown.pl "$current_path" > "$out_file"
    echo "Result file: "$out_file[/sourcecode]

    The NppExec script:
    [sourcecode]
    c:\cygwin\bin\bash.exe -l "/cygdrive/c/cygwin/home/$(SYS.USERNAME)/Markdown.sh" "$(FULL_CURRENT_PATH)" "$(CURRENT_DIRECTORY)" "$(NAME_PART)"
    NPP_OPEN $(CURRENT_DIRECTORY)\$(NAME_PART).html
    [/sourcecode]

    The HTML will be opened in Notepad++. I didn’t try to find a way to open it in browser directly yet.

    Reference post: “Markdown in Notepad++