• 7月
  • 26th
  • 2007

vim 設定備忘 (.vimrc)

, , , ,

.vimrc 的備份。sdcv 是星際譯王的 cmdline 版,底下的設定是透過 shift+k 呼叫。也可以改成 ydict。 :)

關於 textmateOnly 可以參考底下的鍊結。TlistToggle, pydiction 就不說明了。

http://c9s.blogspot.com/2007/06/vim-snippet.html

ref: http://plog.longwin.com.tw/files/vimrc_normal.txt

ref: http://www.vim.org/tips/tip.php?tip_id=1168

Read the rest of this entry »

  • 7月
  • 26th
  • 2007

加速你的 Ubuntu Feisty Fawn

, , ,

很有幫助的文章,像 CONCURRENCY=shell 對使用 SATA 硬碟的我就很有用。

加速你的 Ubuntu Feisty Fawn   (介紹)

開始翻譯Feisty Performance - 「Fly Like A Butterfly」—系統優化 (翻譯)

Feisty Performance - 「Fly Like A Butterfly」 (原文)

  • 7月
  • 17th
  • 2007

dpaste

, ,

http://dpaste.com/

程式語言專用的便利貼 :)

  • 7月
  • 17th
  • 2007

ヱヴァンゲリヲン新劇場版:序 予告映像

, , , , ,

10 年了。終於要重製了 (淚

  • 7月
  • 16th
  • 2007

wxPython in Action 中譯

, , ,

這兩天想學 python 的 GUI 設計,於今早幸運地利用 Google 搜尋到對岸牛人的 Blog,不僅有 wxPython in Action 的完整譯文,其他還有不少有用的資料。 :D

http://www.pythontik.com/blog/default.asp?cateID=5

  • 7月
  • 16th
  • 2007

GIMP 簡易去背教學

, ,

http://a790407.no-ip.com/?p=234

GIMP 是一套跨平台的影像處理軟體。

剛試了一下,果真好用。底下是真相:

Read the rest of this entry »

  • 7月
  • 14th
  • 2007

python - 編碼偵測

, , , ,

最近對處理編碼的問題感到興趣,且有實際上的需要,找了一下發現這個:

Universal Encoding Detector (python-chardet)
http://chardet.feedparser.org/

在 Debian/Ubuntu 上只需經由套件庫取得 python-chardet 即可。

來試用看看。

ref: http://c9s.blogspot.com/2007/06/blog-post_23.html

  • 7月
  • 14th
  • 2007

Ubuntu screenshoot - 20070627

, ,

  • 7月
  • 14th
  • 2007

linux console 下使用無線網路

, ,

安裝 wireless-tools

CODE:
  1. $sudo apt-get install wireless-tools

尋找附近的無線網路訊號

CODE:
  1. $sudo iwlist eth1 scanning

取得想連上的無線網路的 ESSID 後,將底下指令的 [name] 換成實際取得的 essid 名稱

CODE:
  1. $sudo iwlist eth1 scanning
  2. $sudo iwlist eth1 essid [name]  [passwd]
  3. $sudo dhclient eth1

不過上面這種方式不支援 WPA 加密,想要連上使用 WPA 加密的 AP 可以參考底下的鍊結:

http://ubuntuforums.org/showthread.php?t=92327

  • 7月
  • 14th
  • 2007

python - 儲存檔案

PYTHON:
  1. #!/usr/bin/env python
  2. f = open("test.txt", 'w')
  3. f.write("Hello World :D")
  4. f.close