上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页
摘要: 导航类 后退: Alt+左方向键 或 Backspace 前进: Shift+Backspace 或 Alt+右方向键 首页: Alt+Home 打开文件: Ctrl+O 重新载入: F5 或 Ctrl+R 重新载入 (忽略缓存): Ctrl+F5 或 Ctrl+Shift+R 停止: Esc当前页 到页面底部: End 到页面顶部: Home 移到下一帧: F6 移到上一帧: Shift+F6 页面源代码: Ctrl+U 打印: Ctrl+P 页面另存为: Ctrl+S 放大文字: Ctrl++ 缩小文字: Ctrl+- 恢复文本大小: Ctrl+0编辑 复制: Ctrl+C 剪切: Ctr 阅读全文
posted @ 2011-03-07 00:23 Donal 阅读(803) 评论(0) 推荐(0) 编辑
摘要: 'You've got to find what you love,' Jobs says This is the text of the Commencement address by Steve Jobs, CEO of Apple Computer and of Pixar Animation Studios, delivered on June 12, 2005. I am honored to be with you today at your commencement from one of the finest universities in the wo 阅读全文
posted @ 2011-03-04 06:09 Donal 阅读(524) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?><opml version="1.0"> <head> <title>donal subscriptions in Google Reader</title> </head> <body> <outline title="时事新闻" text="时事新闻"> <outline text="国内新闻" 阅读全文
posted @ 2011-02-23 17:16 Donal 阅读(353) 评论(0) 推荐(0) 编辑
摘要: slc5.5是cern基于scientific linux 和 rhel5X开发的。在lxc002,lxc003上安装xen作为虚拟机的hypervisor1.安装xen:yum install xenyum install virt-manageryum install virt-viewer#编辑grub,设置default=0vi /boot/grub/menu.lstreboot#重启后查看内核,应该是2.6.*xen uname -a2.安装虚拟机#创建虚拟机文件 dd if=/dev/zero of=/vm/vm-slc6x.img bs=1 count=1 seek=15G#通过 阅读全文
posted @ 2011-02-15 11:54 Donal 阅读(433) 评论(0) 推荐(0) 编辑
摘要: 希望在22号出国之前,用opennebula搭起一个云计算(IaaS)环境来。共4台机器lxoned, lxc001,lxc002,lxc003.其中lxoned作为front-end,其它三台主机作为虚拟机的hypervisor节点(cluster nodes) 阅读全文
posted @ 2011-02-11 10:41 Donal 阅读(292) 评论(0) 推荐(0) 编辑
摘要: P park--停车挡 R reverse--倒车档 D drive--行车档N neutral--空档 2 second gear--2档 L low gear--最低档变速器:transmission大众:Volkswagen (德语,意思是people's car) 阅读全文
posted @ 2011-01-22 08:01 Donal 阅读(3145) 评论(0) 推荐(0) 编辑
摘要: Why Your Company Should Virtualize Virtualizing your IT infrastructure lets you reduce IT costs while increasing the efficiency, utilization, and flexibility of your existing assets. Around the world, companies of every size benefit from VMware virtualization. Thousands of organizations—includi 阅读全文
posted @ 2011-01-17 23:35 Donal 阅读(226) 评论(0) 推荐(0) 编辑
摘要: ps -eo rss,pmem,pcpu,vsize,args | sort -k 1 -r -n | less解析一下:ps 都知道,是linux,unix显示进程信息的, -e 是显示所有进程, -o是定制显示信息的格式rss: resident set size, 表示进程占用RAM(内存)的大小,单位是KBpmem: %M, 占用内存的百分比 pcpu:%C,占用cpu的百分比vsize: 表示进程占用的虚拟内存的大小,KBargs:进程名(command) sort命令对ps结果进行排序-k 1 :按第一个参数 rss进行排序-r:逆序-n:numeric,按数字来排序less就不说 阅读全文
posted @ 2011-01-15 05:49 Donal 阅读(5080) 评论(0) 推荐(0) 编辑
摘要: 题目:输入一个整数n,求从1到n这n个整数的十进制表示中1出现的次数。例如输入12,从1到12这些整数中包含1 的数字有1,10,11和12,1一共出现了5次。据说这是一道google面试题,在何海涛的博客(http://zhedahht.blog.163.com/blog/static/25411174200732494452636/)中已有递归解法,在阳振坤的博客中提出了一种非递归的算法(http://blog.sina.com.cn/s/blog_3fc85e260100mbss.html)在这里,我给出这个算法的python实现:$cat countone.py #!/usr/bin/ 阅读全文
posted @ 2011-01-14 01:28 Donal 阅读(1206) 评论(0) 推荐(0) 编辑
摘要: 以前背英语单词,一看意思大概明白,就过去了。对于考4,6级等一般的以阅读理解为主的考试来说,不成问题。可是现在在国外,与人交流的时候,发现很多很简单的单词都很难与人沟通,原因是发音不准确,大多数情况是发音的重音位置不对,比如reality,capacity等,知道是从real,capable来的,但是发音却不同了。没办法,现在看到所有眼熟但不确定的单词,特别是读起来拗口的,还是用金山词霸查一查。出来混,迟早要还的:) 阅读全文
posted @ 2011-01-10 01:11 Donal 阅读(225) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页