2011年1月23日 星期日

Use pyside-uic to compile ui files automatically

PySide 可以用 pyside-uic 來轉換 *.ui 到 python code,但每次都要手動弄這個真的很煩。所以我把所有的 ui 檔案集中放到一個資料夾內作為 package,並在 __init__.py 上動點手腳:

2011年1月9日 星期日

Embed external viewers into Firefox

# aptitude install mozplugger
Then Firefox will open your default external viewers with tabs, instead of external windows.