五月 31, 2013
» Open downloaded files directly in Firefox on Mac

(Annecy.France)

It's annoying that I have to click on torrent files every time I download them in firefox. Although I tried to check the option to open always with a certain application in SaveFile dialog, it never worked.

 However, the solution seems so simple that I should have searched the internet earlier to make my life easier. In firefox official support website, it mentioned that this is configurable in Peferences:
  1. On the menu bar, click on the Firefox menu and select Preferences...
  2. Select the Applications panel.
  3. The Applications panel will display. Select the type of file for which you want to change the default action. 
Voila. Let's keep surfing the internet!

REF:
 https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file#w_changing-download-actions

三月 28, 2013
» Macbook Pro Freezes When USB Plugged In

(Touchen.Taiwan)
Symmetry brings harmony.

****
Encountered this problem for a while. It bothers me a lot although it does nothing harm. Well...the solution is quite simple, but hard to find by myself: just uninstall "Android File Transfer" app!! Don't know why this app causes the symptom. I am glad that I don't have to keep moving around on the touch panel to make sure I re-gain the control of mouse movement while pluging anything into usb port.


REF:
https://discussions.apple.com/thread/4509069?start=0&tstart=0

三月 27, 2013
» Objective-C 2.0 iPhone/iPad/Mac OS X 程式設計講座

(田子坊.Shanghai.China)
Brought ex-colleague to visit this old district in Shanghai.
It's full of exotic atmosphere while wandering around.
Sitting in the coffee shop by the street corner, you can't even tell whether you're in western countries or somewhere else.
Walking-by passengers are visitors from around the world.

***
這本書翻譯的不是很好,看得有點頭昏。
加上年代有點久,有些章節在新的平台上應該有更好的作法了。
應該找本新一點的書來看才是。

REF:
博客來連結

三月 20, 2013
» LimeChat -- Mac上的irc軟體

(MatuShima.Japan)
因為雲層過厚,沒得看太陽從港口中間出來,
但是看看金邊的雲,享受陽光漸漸征服黑音,佔滿整個天空的感覺
讓人覺得很舒服。

****
最近比較有空(應該是非常有空),再回來玩玩Open Source吧。
加入irc先。

REF:

二月 17, 2013
» 如何快速移除iTunes中找不到檔案的mp3 tracks

(GuYiYuan.Shanghai)
冬陽,雖不暖身
但暖人心

****
之前把mp3加到iTunes時,都沒有選擇copy一份到iTunes中,
因為我的MBP是SSD硬碟,容量沒有大到在裡頭放一堆音樂檔。
但是問題來了,一旦外部的mp3檔被我手賤砍掉時,
在iTunes中常常會遇到播放不了的問題。
iTunes又沒有介面可以很方便地移除這些已經找不到檔案的mp3 track。

網路上找了一下,似乎在Windows上有javascript的解法,
只要下載個js檔,從檔案總管中執行一下就可以;
另外,也有很多要錢的軟體可以幫忙解決問題。
(有沒有搞錯啊…這個也需要花錢去買?)
最後,終於找到了Mac上可以使用的解法:
方法是去下載一個applescript的執行檔,
把它塞到iTunes的scripts目錄下,
再想辦法執行它就可以了。
我一直找不到從iTunes執行該script的方式,
最後,還是直接點了該app,它還是很乖地完成了工作。

現在,iTunes乾淨多了,我又可以放新的mp3進去了。

REF:
Windows:
http://www.makeuseof.com/tag/effectively-remove-duplicate-tracks-itunes-windows/
Mac:
http://dougscripts.com/itunes/scripts/ss.php?sp=removedeadsuper


六月 6, 2012
» Mac Tips

在Mac上的 Terminal,預設的狀態很難用,
一來是配色不好看,二來是ls是沒有顏色的。
配色的話,可以自己到preference中選一個喜歡的;
ls的顏色的話,可以在自己的目錄下建立 .profile檔,
然後加入
export CLICOLOR=1
再重開Terminal就行了

四月 21, 2011
» Mac Tips

在Mac上的 Terminal,預設的狀態很難用,
一來是配色不好看,二來是ls是沒有顏色的。
配色的話,可以自己到preference中選一個喜歡的;
ls的顏色的話,可以在自己的目錄下建立 .profile檔,
然後加入
export CLICOLOR=1
再重開Terminal就行了

biggo.com.tw

A Django site.