Linux
文章平均质量分 75
tongfw
这个作者很懒,什么都没留下…
展开
-
安装农历时钟 lunar applet
OS:Fedora7 下载地址:http://ftp.inlsd.org/lunar-applet/ tar.gz :lunar-applet-1.6.tar.gz 解压: $ tar -zxf lunar-applet-1.x.tar.gz 安装: $cd lunar-applet-1.x/$./configure$make$make install原创 2007-09-22 19:35:00 · 1098 阅读 · 0 评论 -
About startdict
Download link: http://stardict.sourceforge.net/Install Dictionaries in Linux:To install these tarball dictionaries, do this:tar -C /usr/share/startdic/dic/ -xjvf a.tar.bz2Install Dictionaries in W原创 2007-09-23 10:24:00 · 859 阅读 · 0 评论 -
VIM插件之NERD_comments.vim
下载地址: http://www.vim.org/scripts/script.php?script_id=1218 install details ***NOTE***: In version 2.0.0 the script file and help file were renamed to NERD_commenter.vim and NERD_commenter.txt. If yo原创 2008-07-09 16:31:00 · 2446 阅读 · 0 评论 -
Linux kernel makefile 文档
Linux Kernel MakefilesThis document describes the Linux kernel Makefiles.1. OverviewThe Makefiles have five parts:Makefile the top Makefile. .config the kernel转载 2008-07-23 13:59:00 · 3071 阅读 · 1 评论 -
程序员专用字体-Monospace/Fixed Width Programmer's Fonts
Good Programming Font CriteriaCrisp clear characters.Extended characterset.Good use of whitespace.l, 1 and i are easily distinguished0, o and O are easily distinguishedforward quot原创 2008-07-19 13:07:00 · 2783 阅读 · 0 评论 -
内核中的 likely() 与 unlikely()
在 2.6 内核中,随处可以见到 likely() 和 unlikely() 的身影,那么为什么要用它们?它们之间有什么区别? 首先要明确: if(likely(value)) 等价于 if(value) if(unlikely(value)) 也等价于 if(value)也就是说 likely() 和 unlikely() 从阅读和理转载 2008-07-25 10:09:00 · 691 阅读 · 1 评论 -
Usage of get_fs and set_fs
最近在看 drbd的源代码,内核模块 socket通信中有下面一段程序: mm_segment_t oldfs; struct kvec iov = { .iov_base = buf, .iov_len = size, }; struct msghdr msg = { .msg_iovlen = 1原创 2008-08-04 09:19:00 · 747 阅读 · 0 评论