Archive for August, 2006

身体不好的时候会想他们

从上周末开始自己就感觉不对了,眼睛闭上会天旋地转,睁开又特别累,而且头很旋晕的感觉。那时候还燥热,头顶虚汗。还会肚子不舒服,晕的想吐,唉,反正啥可恶的症状都一起上来了

第一次有这种感觉时,跑去打球,暂时转移视线,躲过了一时,过两天症状又来了。很郁闷。先挺挺再说,这种情况去医院肯定啥也看不出来。

生病的时候就特别想家,想起小时候老爸老妈问寒问暖,还在身边照顾,艾,一转眼这些都要自己承受了;生病的时候还特别想搔扰朋友们,hehe,当然不会跟他们说自己的病了,聊几句心里就舒服点;生病的时候身边同学同事的问候也很感激,虽然可能只是简单的一句“好些了么”

继续背单词,继续和病魔战斗。

Comments (2)

电影《狗咬狗》(Dog bite Dog)

情节有点简单,喜欢的是下半区里面的两首主题歌,旋律很美
第一首没找到,《cry away》
第二首《you are my sunshine》很温情,呵呵影片名:《狗咬狗》Dog Bit Dog
导演/编剧:郑保瑞
主演: 陈冠希
李灿森

Leave a Comment

Install matlab under Ubuntu

ft, i can’t input chinese under Ubuntu now, don’t know why… maybe i will need fctix.

the procedure for matlab installtion:

1. get the matlab 3 isos. copy the files in cd1 to $home/matlab
2. sudo mkdir /usr/local/matlab7, copy the license.dat file to this folder
3. cd matlab7, then ~/matlab/install

4. graphic guide appears, then choose the components you want to install. the installation will began, then it will prosper to use CD2

5. mount the iso using:

sudo mkdir /media/iso
sudo modprobe loop
sudo mount file.iso /media/iso/ -t iso9660 -o loop

6. after the installation, edit the license.lic and copy it to matlab7/etc/

7. run matlab using the command:
/usr/local/matlab7/bin/matlab

Oho~~~done.

Leave a Comment

ubuntu tips for setup

i installed Ubuntu for the laptop today. you have to do the following after use:

首先要设置好apt的服务器,我把/etc/apt/source.list粘贴到附件里了。其次搜索软件可以用
sudo apt-cache search vim
安装软件用
sudo ap-get install vim
apt-get的自动补齐功能可以通过修改如下文件激活:
sudo gedit ~/.bashrc
在文件中加入
source /etc/bash_completion
就可以了,这样查找和安装的时候都可以用tab来提供列表。

------------------------------

第二重要的可能就是设置中文输入了,scim系统已经安装了。下面要按照以下步骤:
1) install the following packages:
* scim
* scim-chinese
* scim-config-socket
* scim-frontend-socket
* scim-gtk2-immodule
* scim-server-socket
* scim-tables-zh (option)
* xfonts-intl-chinese
* xfonts-intl-chinese-big
* ttf-arphic-gbsn00lp
* ttf-arphic-gkai00mp
* ttf-arphic-bkai00mp
* ttf-arphic-bsmi00lp

accept all dependencies.

2) System -> Preferences -> Sessions

Startup Programs Tab -> Add Button
Startup Command: scim -d
Order: 80

3) Restart Gnome: CTRL+ALT+SUPPR

4) Open any software and press CTRL+SPACE to activate chinese input

上次不知道为什么不能输入中文,这次按照这篇文章改了下又可以了,权威就是权威阿
https://help.ubuntu.com/community/SCIM 

-----------------------------------

漂亮的中文字体要先从ubuntu网站上下载
wget -c http://download.ubuntu.org.cn/software/VeraSansYuanTi.tar.gz

解压缩后将 字体目录复制到 /usr/share/fonts/ 将目录中的 fonts.conf 复制到 /etc/fonts/ 覆盖即可。

字体设置里都选用 Vera Sans YuanTi 即可。等宽和终端字体要用 Vera Sans YuanTi Mono

下载8个字体文件对应:普通/粗体/斜体/粗斜 等宽/非等宽 两套字体。

—————————————————————————————-

其次,看电影要安装mplayer和w32codecs。下载驴子用amule;我喜欢把term的profile改成黑底绿字;上bbs用qterm。

编译fortran要用g95,到主页下一个即可。

一个很好用的文本上网命令:w3m,速度非常快。

听电台可以用streamtuner

Comments (1)