Saturday, 1. November 2008, 19:35:29
First download util.
you can get grub4dos from
http://nufans.net/grub4dos/grldryou can get plop floppy image from
http://download.plop.at/files/bootmngr/plpbt50rc15.zipput the "grldr" in C:\grldr
unzip plop and put the image file as C:\plpbt50rc15.img
modify C:\boot.ini add "C:\grldr="Boot form g4d"" to the file.
add follow thing to C:\menu.lst
title Install plop
map --mem (hd0,0)/plpbt50rc15.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
then reboot select "Boot from g4d" item ,then choose "Install plop" item.
chose the first.
Stating Install..
Reboot,Well done!enjoy it.
Warning:this action may have risk..if you need't this function o your bios already have the function to boot from usb..Don't try it.
From plop website:
1.USB floppys and CDROM drives are not working.
2.neithe support usb hub.
Thursday, 16. October 2008, 18:22:56
Exercise 1.3. Define a procedure that takes three numbers as arguments and returns the sum of the squares of the two larger numbers.
(define (sum-of-squares x y) (+ (* x x) (* y y)) )
(define (procedure a b c) (if (and (>= a c) (>= b c)) (sum-of-squares a b)
(procedure b c a))
)
Monday, 22. September 2008, 22:01:26
Windows
Run->regedit
进入
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
修改[ProfilesDirectory]项,如改为D:\configures则以后新建的用户的配置文件夹就在这个文件夹下了..
ProfileList下面是已建用户的配置文件夹..
修改ProfileImagePath即可修改其用户的配置文件夹路径
Tuesday, 16. September 2008, 21:52:02
Windows Notepad2
Notepad2其他都很好。。就是有时会把GBK编码文件识别为UTF-8的。。
这个Bug可以手动解决。。改一下默认配置就OK了。
[File]->[Encoding]->[Default]->Skip automatic unicode detection<-uncheck this
Sunday, 31. August 2008, 22:35:07
诗歌
简介:
一首连宋静坐时唱的歌,竟让我泪下
国共相争80余载,虽已言胜负。可今日宝岛台湾竟是鼠辈猖獗,面对国父遗像,再听《中华民国颂》,此刻两党争执事小,民族大义为重。望对岸良知同胞,国民党人幡然醒悟。为了民族负起责任!
也看看对岸人们的留言,他们也喊要战,可民族血脉面前,谁人不泣?
---- 摘自大家论坛
《中华民国颂》歌词
青海的草原,一眼看不完,
喜马拉雅山,峰峰相连到天边,
古圣和先贤,在这里建家园,
风吹雨打中耸立五千年,
中华民国,中华民国,
经得起考验,
只要黄河长江的水不断,
中华民国,中华民国,
千秋万世,直到永远。
青海的草原,一眼看不完,
喜马拉雅山,峰峰相连到天边,
古圣和先贤,在这里建家园,
风吹雨打中耸立五千年,
中华民国,中华民国
经得起考验,
只要黄河长江的水不断,
中华民国,中华民国,
千秋万世,直到永远。
Sunday, 1. April 2007, 13:01:14
来源:http://dengpeng.name/blog/2006/10/16/fcitx-with-en_us-new-method/
步骤如下(测试环境:Ubuntu 6.10,locale: en_US.UTF-8):
1.
安装fcitx包,sudo apt-get install fcitx
如果是自己编译安装,可能需要自己建立这个文件,
/etc/X11/xinit/xinput.d/fcitx
XIM=fcitx
XIM_PROGRAM=fcitx
XIM_ARGS=""
GTK_IM_MODULE=XIM
QT_IM_MODULE=XIM
DEPENDS="fcitx"
2.安装im-switch包 apt-get install im-switch
之后运行:
im-switch -s fcitx
3.这步是关键
修改/etc/gtk-2.0/gtk.immodules文件,把有关xim的部分改成:
"/usr/lib/gtk-2.0/2.10.0/immodules/im-xim.so"
"xim" "X Input Method" "gtk20" "/usr/share/locale" "en:ko:ja:th:zh"
多加上的en就会使GTK程序在en_US的环境下也启用xim作为输入法了。
4.
最后,重新登入X Windows,按下Ctrl+Space就可以使用fcitx输入法了。
Thursday, 1. February 2007, 04:40:22
获取中文编码
$sudo apt-get install language-pack-zh-base
获取 文泉驿字体
$sudo apt-get install xfonts-wqy
解决gtk1程序中文乱码问题。。Let gtk1 program support zh_CN
$sudo cp /etc/gtk/gtkrc.zh_CN /etc/gtk/gtkrc.zh_CN.utf-8