可以自己來的 apps 乾淨免安裝

FileZilla

  • 下載 filezilla 的 zip 版本
  • 解開
  • docs/fzdefaults.xml.sample 複製到與 exe 同層的目錄(去掉 .sample)
  • 改裡面的 %somedir% 成你放 filezilla 的位置

這樣子的 filezilla 執行後,就不會加 registry 也不會放東西在 %AppData% 中了,
全部都是用 xml 存。

uTorrent

  • 下載 utorrent
  • 將 utorrent.exe 放在你要放的資料夾內
  • 建立一個空檔 settings.dat

這樣子執行 utorrent.exe 後,所有設定都會被寫在該資料夾內,
不會放任何東西在你的 %AppData% 中。

MPC HomeCinema

  • 下載 mpc-hc 的 7z 版本
  • 某些 filter/scaler 會需要 d3dx9_xx.dll
  • 下載 DirectX Distributable End-User Runtime
  • 解開找裡面的 d3dx9_xx.dll (xx 愈大愈好)
  • 丟到 mpc-hc 解開的目錄中即可

Real Alternative

因為我是 64bit,mpchc/ffdshow 都是用 64bit 的了,
要多裝一個 mpchc-32 加上 real alternative 太髒了,
因此可以選擇改用 nightly build 版本的 VLC (1.2+)
已經可以正常放 rmvb。
完全 portable。 

Slow Tracking speeds for the new Magic Mouse | MacFixIt - CNET Reviews

Great tip. Should add that you need to set the System Preference Tracking Speed to Minimum, then execute the scale command and then slide the Tracking speed up to Max. I used:

defaults write -g com.apple.mouse.scaling 10

and it's finally at an acceptable speed.

codepocket.com

1. 先將滑鼠速度調到最低
2. 執行 defaults write -g .... (最大就是 10 了)
3. 再將滑鼠速度調到最高

速度似乎就正常了。(適用所有滑鼠)

F6F - VIM Tips: Block Insert - VIM Tips: Block Insert

VIM Tips: Block Insert

:help v_b_I for more information.

如果想對多行插入(例如加上 // 註解一大段 javascript)

  • ctrl-v 進入 visual block
  • 方向鍵向下選擇要註解的連續幾行(選頭,因為要註解頭,選其它地方就會插到別地方)
  • 按大寫的 i
  • 鍵入 // (到此,會只看到 // 出現在第一行)
  • Esc (其它行都會出現 // 了)

自 po 自 po