http://os.chinaitzhe.com/linux/2008-02/120391096636655.html
sudo apt-get install enca enca -L zh_CN -x utf-8 *
比iconv方便一点
http://os.chinaitzhe.com/linux/2008-02/120391096636655.html
sudo apt-get install enca enca -L zh_CN -x utf-8 *
比iconv方便一点
参考: VIM自动给脚本加注释
在vimrc里添加下面几行
"添加文件注释 command -nargs=0 Addreadme :call Addreadme() function Addreadme() call setline(1,"/**") call append(1," * @require : none") call append(2," * @author : someone@bluehua.org") call append(3," * @date : " . strftime("%Y-%m-%d")) call append(4," * @description : this is a new file ") call append(5," */") endf :au BufNewFile *.js :Addreadme
参考: How To Install Thunderbird 3 Shredder in Ubuntu 9.10.
启动之后自动导入了2.0里面的邮件,之后弹了一个窗 “Error getting mail password” 取不到密码,收不了邮件,查看版本:version 3.02 pre。
打开console,错误提示:
这个时候体现出哥做js的优势了。。
sudo vim /usr/lib/thunderbird-3.0.2pre/components/nsLoginManagerPrompter.js
change
username = decodeURIComponent(username);
to
try{
username = decodeURIComponent(username);
}catch(e){
username = 'ooxx';
}
重启,OK,可以收邮件了。。。为啥usename会无法解码,就没时间给他细察了,但是说明一个问题:try catch是王道。。。
让pidgin的MSN群消息显示昵称 | Zeal Blog – 泽欧里的网络日志.
sudo apt-get install msn-pecan
Live in code | ATI 显卡在 Ubuntu 9.04 | Ubuntu 9.10 上启用 Compiz 延迟的问题的解决方法.
额,直到我的t400切到集显才发现,ati独显开特效是这么的卡。。。
顺便再上两张非主流桌面截图