四月 29, 2007

1. honorificabilitudinitatibus
  这个字是由27个字母组成的。出现在大文豪莎士比亚的剧本「空爱一场」Love s Labour s Lost里,意思是「不胜光荣」。
  
2. antidisestablishmentarianism
  这个字是由28个字母组成的。根据范克和华格若尔斯编的「英语新标准辞」里面的解释,这个字的意思是「反对教会与国家分开学说」。它曾被英国首相格来斯顿William Ewart Gladstone,1809-1898引述过一次。
  
3. floccinaucinihilipipification
  这个字是由29个字母组成的。「牛津英文辞典」里就有这个字,意思是「把某事的价值加以抹杀的行为或习惯」。
  
4. supercalifragilisticexpiadocious
  这个字是由34个字母组成的。出现在一部名叫Mary Poppins的电影里,意思是「好」。
  
5. hepaticocholecystostcholecystntenterostomy
  这个字是由40个字母组成的。出现在高德编的「医学辞典」里,为一个外科术语,亦即在胆囊与胆管之间或肠子与胆囊之间接人工管子的手术。
  
6. pneumonoultramicyoscpicailicovolcanoconiosis
  这个字是由45个字母组成的。出现在韦氏辞典第八版的版本中意思是「吸入硅酸盐细末或石英岩灰而形成的肺尘埃沉着病」。矿工特别容易得这种病。
  
7. Antipericatametaanaparcircumvolutiorectumgustpoops of the Coprofied
  这个字是由50个字母组成的。有个图书馆的书架上,陈列着法国作家拉伯雷着的「葛甘塔和潘特古」故事系列。其中有一本,书名就是这个长长的英文字。
  
8. osseocaynisanguineoviscericartilagininervomedullary
  这个字是由51个字母组成的。它是人体构造一术语,曾出现在英国作家皮考克Thomas LovePeacock,1785-1866那本名叫Headlong Hall的小说中。
  
9. aequeosalinocalcalinoceraceoaluminosocupreovitriolie
  这个字是由52个字母组成的。它是英国医学作者爱德华.史特罗哲Dr Edward Strother,1675-1737创造的字,专用来形容英格兰格洛斯特夏布瑞斯陀这个地方的矿泉水成分。
  
10.bababadalgharaghtakamminarronnkonnbronntonnerronntuonnthunntrovarrhounawnskawntoohooh
  oordenenthurnuk
  这个字是由100个字母组成的。就出现在爱尔兰作家乔埃斯James Joyce,1882-1942作品FinnegansWake的扉页,象征,代表亚当和夏娃的堕落。
  
11.lopadotemachoselachogaleokranioleipsanodrimhypotrimmatosilphioparaomelitokatakechymenokichl
  epikossyphophattoperisteralektryonoptekephalliokigklopeleiolagoiosiraiosiraiobaphetraganopterygon
  这个字是由182个字母组成的。它是从希腊字英译过来的英文字,源出自希腊喜剧作家亚里斯多芬尼斯Aristophanes,448-385的剧本The Ecclesiazusae中。它是指由剩余的菜和牛肉函煮而成的辣味食物。
  
12.1913个字母,“色氨酸合成酶A蛋白质”(一种含有267种氨基酸酶)的化学名:
  Methionylglutaminylarginyltyrosylglutamylserylleucylphenylalanylalanylglutaminylleucylly……….

四月 25, 2007

  这两天看到ubuntu7.04(开发代号“Feisty Fawn”)的发布消息,去ubuntu.org.cn看了看,还没有提供支持,不过cn99上已经有提供下载了。下载、刻盘、安装……
  我下载的是Desktop镜像,既可以安装,也可以当LiveCD用。安装过程就不提了,十分简单,只有一些细微的变化,不过值得注意的是安装过程中提供了一个WIndows迁移程序,可以将WindowsXP的“我的文档”、收藏栏等等迁移到ubuntu中来,不过我为了尽量顺利的安装,并没有尝试这这个新功能,有兴趣的朋友可以尝试一下。

  安装完成之后,顺利启动,Gnome的版本升级为2.18.1,感官上和之前的6.10并没有什么太大的区别,好了,为了用起来顺手,我们开始进行一些简单的配置。

1、启用一个快速的源

根据自己的情况选择

sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
sudo gedit /etc/apt/sources.list

Archive.ubuntu.com 更新服务器(欧洲,此为官方源,比较慢。):

deb http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

Ubuntu.cn99.com 更新服务器(非常快,更新也很迅速,推荐!)

deb http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
#deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main restricted universe multiverse

Mirror.lupaworld.com 更新服务器(浙江省杭州市电信,亚洲地区官方更新服务器,推荐全国用户使用。):

deb http://cn.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse

北京市清华大学 更新服务器(教育网,推荐校园网和网通用户使用。):

deb http://mirror9.net9.org/ubuntu/ feisty main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-backports main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-security main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-updates main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-backports main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-security main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-updates main multiverse restricted universe

中国 台湾省台湾大学 更新服务器

deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-proposed main restricted universe multiverse

ubuntu.cnsite.org 更新服务器 (福建省福州市 电信):

deb http://ubuntu.cnsite.org/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-proposed main restricted universe multiverse

mirror.rootguide.org 更新服务器 (上海市 电信)

deb http://mirror.rootguide.org/ubuntu/ feisty main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ feisty main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ feisty-updates main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ feisty-backports main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ feisty-security main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://mirror.rootguide.org/ubuntu/ feisty-proposed main restricted universe multiverse
#deb http://mirror.rootguide.org/ubuntu-cn/ feisty main restricted universe multiverse

台湾官方源(据说也非常快)

deb http://tw.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse

2、更新系统

sudo apt-get update
sudo apt-get dist-upgrade

3、安装中文支持

  安装之后,即使选择了中文,默认也不会安装中文支持,这时候系统大部分还是英文的
,我们这时需要安装中文的支持包,用个简单一点的方法,不再用敲命令的方式安装了:

“系统-系统管理-语言支持” 里面把 “Chinese” 勾选上

4、多媒体安装配置

sudo apt-get install mozilla-mplayer totem-xine libxine-extracodecs audacious

从这里下载w32codecs的deb包,直接安装就可以了:

http://www.debian-multimedia.org/pool/main/w/w32codecs/

安装完成后,发现Totem在播放RMVB的时候,没有声音,Google了一下,找到解决办法:

编辑 ~/.xine/catalog.cache 文件
sudo gedit ~/.xine/catalog.cache
找到
[/usr/lib/xine/plugins/1.1.4/xineplug_decode_real_audio.so]
把 decoder_priority 后面的数字修改为 10

5、安装JRE和JDK

sudo apt-get install sun-java6-jre
sudo apt-get install sun-java6-jdk

sudo update-alternatives –config java

然后在列表中选择带有“Sun”字样的那个。

6、安装VIM

  系统本身的VI不是完全版,并不支持诸如“语法高亮”等功能,安装一个完整版的:

sudo apt-get install vim-full

7、安装显卡驱动

  Feisty安装显卡驱动真的很惬意!
  系统——>系统管理——>受限驱动管理器,打开后,将“已启用”的勾打上,系统会自动帮你从源里面下载驱动并且安装配置,重启就OK了!

8、安装编译工具(如果你不知道这是干什么的,就把他装上)

如果需要自己编译安装软件,就需要安装编译工具包,否则make时会报错。

sudo apt-get install build-essential

  好了,大致已经配置好了,现在基本的使用已经没有问题了,事实上,呵呵……做JAVA开发也没有问题了。对了,顺便提醒大家一下,别忘了体验一下Feisty自带的Compiz(3D桌面),非常不错,很Cool哦,也不用像VISTA那样担心硬件的要求,我的X300在没有装驱动来启用3D加速的情况下,已经可以非常流畅的运行了。开启方式:系统——>首选项——>桌面效果。不过我在使用的过程中发现不太稳定,有可能会引起系统宕机,只能重启,期待在短期的升级中能解决这个问题!

  OK!Enjoy your Feisty!

  这是一个用JAVA模拟的简单的用户登录验证系统,并不涉及数据库之类的东西,完全是为了熟悉if/else语法和JOptionPane的用法:

import javax.swing.JOptionPane;

public class Login
{
  public static void main(String[]args)
  {
    String userName,
        passWord;

    userName = JOptionPane.showInputDialog(”请输入您的用户名”);
    passWord = JOptionPane.showInputDialog(”请输入您的密码”);

    if(”Cash”.equals(userName) && “123456″.equals(passWord))
      JOptionPane.showMessageDialog(null,”欢迎您登录!”);
    else if (”Cash”.equals(userName))
      JOptionPane.showMessageDialog(null,”你无权使用此ID!”);
    else
      JOptionPane.showMessageDialog(null,”请输入正确的用户名及密码”);
  }
}

四月 7, 2007

男生天性爱玩,喜欢热闹,但是有些时候,他们都有自己的私人领地,而这个领地是任何人都不允许打扰的,甚至他的铁杆朋友和女友。

NO.1不愿别人分享的隐秘嗜好

现象:假如有一天,他一直紧锁的抽屉忘了关上,你好奇地打开了,发现里面暗藏着很多儿童漫画书,kite猫和snoopy狗。

一定别去追问他,因为他不想让别人知道,甚至是与自己最亲密的人。

他害怕遭到笑话,当他告诉你,想一个人呆会儿的时候,是在看他的小人书,或是玩一些小孩喜欢的东西的时候,你要给他充分的自由空间。当男生在你面前撒娇的时候,应该庆幸,因为他把你当自己人看待,才向你展露自己暗藏最深的一面。

分析:男生内心对纯净的向往,可以说是一种本能的回归。偶尔他愿意在这个保留的世界里找到一点自己童真时的影子。这样的家伙更值得去心疼。

NO.2在回忆里追寻爱的往事

现象:他的手上还有十八岁时暗恋的女孩的照片,还有上个女友写的信。偶尔他偷偷地看着照片和情书,一个人傻傻地笑,不管你在心里是否妒忌得咬牙切齿,但是面对他的时候一定要微笑着。

分析:每个人都有过美好爱情的回忆,男生不是拿不起放不下,他只是在怀恋曾经的美好。记住,他现在选择的是你,就是有他的理由的,他爱的是你——是想和你一起生活。

也许过一段时间,他会把自己的一切都告诉你。如果他觉得这些你没必要知道,也相信他会处理好的,给他个回忆的空间。

NO.3虚拟世界里的帝王

现象:几乎所有男生都喜欢电玩,那属于青春附属品。他们坐到电脑前就忘记了世界的存在,玩得天昏地暗,而且不愿意任何人来打扰。

分析:男生的英雄主义情结和理想主义情结的综合。

男生潜在的不安分因子,喜欢格斗和暴力,而游戏等虚拟的世界,正好满足了他的这种内心需求。他可以扮演一个暴虐的帝王,一个多情的浪子,一个落难的公子,这些角色的变化也是男人的一种心理需求。

在这外人无法干涉的空间里,他获得了许多自己想要的东西,得到了快感。

NO.4受伤时的疗伤

现象:某一段时间里找不到人,电话设成留言,手机关机,他与外界做消失状。见了面也不说话,而且郑重声明不愿意被打扰。

分析:男生像个小兽,整天奔波着,总会有受伤的时候,而在受到伤害或失败的时候,他们渴望的是自己一个人静静地呆一会儿,仔细地总结一下自己的过失,进行疗伤。

他们是不希望别人看到自己这样失意的一面,愿意给人一副精力充沛,充满朝气的样子。因为在男人看来,自己是大男人,所以任何困难都能独自解决。四处诉说吗?在他看来那可能是女人才做的事情。所以最好先别打扰他,等他自己想清楚了,也会坦然地把自己的这些讲给你听。

NO.5一个人在异地游走

很多时候,他们喜欢去其他地方,换成另一种样子,展示他的另一面。如果有一天,你在另一个城市的某个街头,发现了班里某个安静沉稳的男生在和街头艺人在一起大声地卖唱,玩得不亦乐乎。请不要感到吃惊,也不要上去追问,因为他不愿意熟人看见自己的这个样子。

NO.6面临挑战,独自规划

现象:男生喜欢挑战,在工作学习上遇到什么问题的时候,他们都愿意自己一个人呆一阵,所以一定别在这个时候敲他的门,甚至给他带吃的,都要挨训的。

分析:男的喜欢打有把握的仗,在事情没有做成功之前他不想告诉别人。“闭门冥思”,这是他在做重要的计划,对未来的规划。

男性的世界充满了挑战和压力,当他们面临人生的重大转折时,总是习惯一个人做决定,然后将结果告诉女生。在女生看来惊天动地的决定,他们事先都不跟女生说。在女孩看来,这种举动是无论如何不能理解的。她会想:“这么大的事情,为什么不愿跟我商量一下?我在他眼中就那么无足轻重吗?”其实他并不是要隐瞒什么,他只是不想让亲爱的人也来承受本应由自己承受的压力和烦恼。

其实,“私人领地”的需要,主要是一个男人的多种角色的转变中,他的多面性的展示。社会性的一面都可以看到,而个人性的一面是不愿意任何人知道的,只有这样男人才能完整地释放自己。这些都有潜在的男人特有的心理因素在里面,所以一定要给予理解,请别企图领土扩张。

转自:华军软件园

  对于一般用户而言,位于键盘左上方的ESC键并不常用,但你知道吗?其实借助ESC键还能实现不少快捷操作哦!  

  1.上网时,如果点错了某个网址,直接按ESC键即可停止打开当前网页。

  2.上网时总免不了要填写一些用户名什么的,如果填错了,按ESC键即可清除所有的框内内容;而打字时,如果打错了也可以按ESC键来清除错误的选字框。  

  3.除了“Ctrl+Alt+Del”组合键可以调出windows任务管理器外,按下“Ctrl+Shift+Esc”组合键一样能启动任务管理器。
  
  4.当某个程序不处于活动状态而我们又想将其恢复为活动状态时,按“Alt+Esc”键即可激活该应用程序,而不必用鼠标点击程序标题栏。  

  5.对于存在“取消”选项的弹出窗口而言,如果你要选择取消的话,直接按ESC键即可实现“取消”操作。

下一页 »