DirDiff: 透過 vim 來比對目錄的差異

(吳留手.Taiwan) 好久沒有幫朋友慶生了。 不過這樣說好像我朋友很少的樣子… XD **** 最近由於工作上的需要, 得在Mac上找個能夠比較目錄差異的工具。Mac內建的 filemerge雖然可以比對目錄,但呈現的方式又不盡如人意。找來找去,不是要花錢就是不大好用。後來退而求其次,看看是不是有好用的vim plugin可以幫忙解決這個問題。果然一找就找到了,而且用起來還蠻簡易的。 ...

June 12, 2014

Sqlite Commands in Terminal

(Shimen.Taiwan) Recently, I need to use sqlite commands to check data for my android app. Thanks to the rooted android ROM, the shell environment is much useful than before. It’s possible to use Tab key to auto complete filenames and directories, and I can use sqlite3 command directly in adb shell. It saved time from pulling the database file out back and forth. However, it’s been quite a while that I almost forgot how to deal with a sqlite database. The following link is a handy Url to help me on this: ...

May 24, 2014

光華-蘋果3C電池專家 換 Macbook Pro 2011 電池的經驗

(Taidong.Taiwan) 終於受不了 MacBook Pro 沒有電池的情況下的龜速運轉,帶著電腦直奔光華商場。 沒想到,就是這個沒想到, 老闆之花了15分鐘不到就幫我把電池換好了。 而且在換電池的過程中,不斷地在跟我說電池要怎麼保養, 平常電腦要怎麼使用會比較好。 所以在我還沒站到腳酸時,電池就已經換好了, 老闆還順便用吸塵器清了風扇,用洗潔精擦了擦 MBP 的外觀和螢幕。 ...

May 10, 2014

MacBook Pro 電池壞了,電腦速度蠻超慢

(石門.桃園) 這個問題困擾我兩三個月了。由於電池壞了,整台 MBP 慢得跟十幾年前的電腦一樣,而且還是台裝了 SSD 的高檔貨。網路上看到大部分的文章都是說,要換顆電池,整台電腦又會變得頭好壯壯,但是,才買來兩年的電腦,我實在是不想再去花個幾千塊換電池。而且現在這台 MBP 幾乎都當成桌上型電腦在用了,也不會再移來移去,換顆電池的 CP 值實在是不高。 ...

January 5, 2014

Amazing tutorial about setting up git server on QNAP server

Wow, with this article’s help, I set up git server on home NAS server. Now, time to do some work. http://wiki.qnap.com/wiki/Gitosis

December 13, 2013

Android Books

It’s good to be able to wander in Safari’s online shelves and pick up books that I am interested in. Though not having enough time coding, I still managed to quickly take glimpse over two Android books recently. One is 50 Android Hacks, and another one is Android Developer Tools Essential. Both are good to read and gave me some new nuance for my poor Android knowledge.

September 8, 2013

Google Reader is going into history today.

I’ve been using Google Reader for very very long time. It’s the most important news resource and knowledge source for me. Now it will be closed soon. Kind of sad that such a good service will no longer exist.

July 1, 2013

Get Rid of HTC Sync Manager autostart on Mac, and Android File Transfer Autostart

(Geneve.Swiss) Tired of seeing autostart finder popups every time I plugged in my new hTc one into my mac. Here’s a way to disable it: Identify UUID: by using “diskutil info /Volumes/HTC\ Sync\ Manager you can get its volume UUID sudo vifs add a line as below: UUID=YOURVOLUMEUUID none hfs rw,noauto = = = = = As for disabling Android File Transfer app, you just need to rename file names of the so called Agent app: ...

June 30, 2013

showing relative line number in vim

Being a long time vim user, this is the first time that I heard vim supports relative line numbers, by which users can jump around the editor screen even more quickly. Just type :set rnu will do the trick. Another good plugin that can improve navigation speed is EasyMotion. It works a bit like the “f” feature in vimperator for firefox. Too bad that it’s not avaible for intellij’s ideavim.

June 17, 2013

How to push codes to Heroku from China

(Taipei.Taiwan) Miss my One V. **** Seems the IPs of Heroku are blocked, so “git push heroku” can not work normally. In order to fix this problem, add following lines to the .ssh/config file: Oh, by the way, remember to change the user name to your own one. REF: Check this link

June 17, 2013