原创 python win32com.client IE google 搜索

  ##!/user/bin/env python # -*- coding: cp936 -*- import time from win32com.client import Dispatch urlFileName = "urlFi

原创 中醫博士彭鑫

中醫博士彭鑫

原创 Stardict 真人發音配置

轉自:http://wiki.ubuntu.org.cn/Stardict安裝 WyabdcRealPeopleTTS如果你的源中有該軟件包,直接sudo apt-get install wyabdcrealpeopletts 沒有的話,

原创 create GUI using pygtk and glade3

 Here is a hello world code I write.you can use gtk.builder to parse the glade source file, no longer need pyglade.othe

原创 python 檢測編碼 Universal Encoding Detector

用python檢測文件的編碼Universal Encoding Detector是一個很好的工具,網址是:http://chardet.feedparser.org/用起來很方便Usage[link] Basic usageThe ea

原创 Ubuntu Unity 快捷鍵列表

# 作者: riku / 閱讀: 1,473 / 本文采用CC BY-NC-SA 2.5協議授權,轉載請註明本文鏈接。以下這份是由我翻譯的, Ubuntu 11.04 Natty 中 Unity 界面的快捷鍵列表中文版,方便大家閱

原创 Firefox 4 PPA for Ubuntu 10.04 and 10.10 users

Ubuntu 10.04 and 10.10 users wanting to upgrade to the latest release of Mozilla Firefox can do so by adding the Firefo

原创 Expect 的基礎知識 linux

轉自:http://blog.csdn.net/Lethe1989/archive/2010/01/25/5253155.aspxExpect 的基礎知識 Expect 是由 Don Libes 基於 Tcl 語言開發的,並被廣泛應用於

原创 expect spawn、linux expect 用法小記

版權聲明:轉載時請以超鏈接形式標明文章原始出處和作者信息及本聲明http://sysop.blogbus.com/logs/70787883.html使用expect實現自動登錄的腳本,網上有很多,可是都沒有一個明白的說明,初學者一般都是

原创 vim 使用技巧彙總

vim 中,* #可以高亮查找光標所在的單詞,但是光標會跳到下/上一個匹配項那裏。

原创 ubuntu SL410 筆記本外放和耳機同時出聲的問題

更改codec的驅動模式:1、先備份sudo cp /etc/modprobe.d/alsa-base.conf /etc/modprobe.d/alsa-base.conf.backup2、編輯sudo gedit /etc/modpr

原创 Nutch org.apache.hadoop.util.DiskChecker$DiskErrorException

今天在用nutch抓數據是總是報錯:> org.apache.hadoop.util.DiskChecker$DiskErrorException: Could not find any valid local directory for

原创 expect 自動登陸的一個問題

#!/usr/bin/expect# write to login the lab desktop using expectset username "your name"set ipaddr "your ip address"set t

原创 Android輸入法之——如何在代碼中強制切換輸入法

轉載自:http://xiaohang.org/2011/02/android%E8%BE%93%E5%85%A5%E6%B3%95%E4%B9%8B%E2%80%94%E2%80%94%E5%A6%82%E4%BD%95%E5%9C%A

原创 vim的複製粘貼小結

原文地址:http://lsong17.spaces.live.com/blog/cns!556C21919D77FB59!603.entry內容:用vim這麼久了,始終也不知道怎麼在vim中使用系統粘貼板,通常要在網上覆制一段代碼都是先