<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Leaf Duo &#187; Linux</title>
	<atom:link href="http://blog.leafduo.com/tag/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.leafduo.com</link>
	<description>All About My Life and Information Technology</description>
	<lastBuildDate>Sun, 28 Feb 2010 14:39:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing Gentoo Linux on Macbook Pro</title>
		<link>http://blog.leafduo.com/04/installing-gentoo-linux-on-macbook-pro</link>
		<comments>http://blog.leafduo.com/04/installing-gentoo-linux-on-macbook-pro#comments</comments>
		<pubDate>Sun, 26 Jul 2009 12:14:04 +0000</pubDate>
		<dc:creator>Leaf Duo</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Macbook Pro]]></category>

		<guid isPermaLink="false">http://leafduo.com/blog/?p=209</guid>
		<description><![CDATA[那是公元某年某月某日，我开始在 MBP 上装 Gentoo……
其实不是个很简单的活，所以来记录下，没装过 Gentoo 的先回家去看安装手册。（这不是 Linux 入门教程）
首先说一下配置，2008 年的 Macbook Pro 5,1，型号是 MB471LL/A，配置不一样的话底下的过程也酌情修改。
然后小补一点知识，Macbook Pro 没有 BIOS，而是采用了 EFI。因而也没有常用的分区表格式 MBR，而是采用了 GPT。GPT 传说中能放很多分区（而不是最多四个），fdisk 传说中不支持 GPT（不过好像有人用 fdisk 成功过）。
正式开始了：

说明一下，我要保留 Mac OS X，因为我觉得 Mac OS X 也很好用，呵呵。
事先准备好 Gentoo Minimal Install CD、stage3 和 snapshot 备用（直接用最新的 stage，我用的是 amd64 的 CD 和 stage）
在 Mac OS X 里安装 rEFIt。
分区，这里我用 Mac OS X 自带的 Disk Utility，先 [...]]]></description>
			<content:encoded><![CDATA[<p>那是公元某年某月某日，我开始在 MBP 上装 Gentoo……</p>
<p>其实不是个很简单的活，所以来记录下，没装过 Gentoo 的先回家去看<a href="http://www.gentoo.org/doc/en/handbook/index.xml">安装手册</a>。<em>（这不是 Linux 入门教程）</em></p>
<p>首先说一下配置，2008 年的 Macbook Pro 5,1，型号是 MB471LL/A，配置不一样的话底下的过程也酌情修改。</p>
<p>然后小补一点知识，Macbook Pro 没有 BIOS，而是采用了 <a href="http://en.wikipedia.org/wiki/Extensible_Firmware_Interface">EFI</a>。因而也没有常用的分区表格式 MBR，而是采用了 <a href="http://en.wikipedia.org/wiki/GUID_Partition_Table">GPT</a>。GPT 传说中能放很多分区（而不是最多四个），fdisk 传说中不支持 GPT（不过好像有人用 fdisk 成功过）。</p>
<p>正式开始了：</p>
<ol>
<li>说明一下，我要保留 Mac OS X，因为我觉得 Mac OS X 也很好用，呵呵。</li>
<li>事先准备好 Gentoo Minimal Install CD、stage3 和 snapshot 备用（直接用最新的 stage，我用的是 amd64 的 CD 和 stage）</li>
<li>在 Mac OS X 里安装 <a href="http://refit.sourceforge.net/">rEFIt</a>。</li>
<li>分区，这里我用 Mac OS X 自带的 Disk Utility，先 resize HFS+ 分区，给 Gentoo 留出空间，然后新建几个 FAT 分区，具体怎么分你自己定吧。</li>
<li>插入 Gentoo Minimal Install CD，重启，开机时按住 Option 键，等一会应该会出现一个光盘下面写着 Windows，不管它写的是什么了，从这个光盘启动。</li>
<li>启动之后，用 parted 改下分区表，把 FAT 改成 Linux 的分区（注意有一个大约 200MB 的 EFI 分区，不要搞掉），然后关机，开机（注意不要 reboot），进到 rEFIt 之后同步一下分区表。</li>
<li>再次从光盘启动，安装 Gentoo。</li>
<li>配内核的时候可以参考一下 <a href="http://en.gentoo-wiki.com/wiki/Apple_Macbook_Pro/Configuration_Files/Kernel">Gentoo Linux Wiki</a>。</li>
<li>make.conf 我是这样写的：<br />
<blockquote><p>CFLAGS="-O2 -march=core2 -pipe -msse4.1"<br />
CXXFLAGS="${CFLAGS}"<br />
MAKEOPTS="-j3"</p></blockquote>
</li>
<li>装 Grub 的时候请注意，不要装到 /dev/sda，装到 /boot 的分区上吧。</li>
</ol>
<p>鉴于 Macbook Pro 有很多诡异的设备，我们来说一下万恶的驱动：</p>
<ol>
<li>alsa 不出声
<p>alsa 编成模块，/etc/modprobe.d/alsa.conf 里面加一行 </p>
<blockquote><p>options snd-hda-intel model=mbp3</p></blockquote>
<p>然后运行 update-modules。（<a href="http://www.linuxsir.org/bbs/showthread.php?p=1724248">via</a>）</li>
<li>触摸板无法使用<br />
2.6.29-r5 里不知道 bcm5974 还是 usbhid 有问题，反正是有问题，touchpad 没法正常工作，升级到 2.6.30-r4 后就正常了（2.6.28-r5 好像也正常），注意 2.6.30-r4 目前还是 ~amd，相应的，x11-drivers/nvidia-drivers 也要用 ~amd64 里的。</p>
<p>bcm5974 还是很好的。</li>
<li>无线网卡的驱动
<p>portage 里面有，不过是 ~amd64 的，叫 net-wireless/broadcom-sta。</li>
<li>键盘背光
<p>portage 里有 app-laptop/macbook-backlight，用这个包就 OK 了。
</li>
</ol>
<p>写得不是很详细，有什么问题可以在下面留言或者 email 我，不过要先问 Google 和各大发行版的相关内容。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.leafduo.com/04/installing-gentoo-linux-on-macbook-pro/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>《UNIX 实用教程》笔记</title>
		<link>http://blog.leafduo.com/46/just-enough-unix-note</link>
		<comments>http://blog.leafduo.com/46/just-enough-unix-note#comments</comments>
		<pubDate>Wed, 01 Jul 2009 11:06:46 +0000</pubDate>
		<dc:creator>Leaf Duo</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[UNIX]]></category>

		<guid isPermaLink="false">http://leafduo.com/blog/?p=210</guid>
		<description><![CDATA[感觉这本书比较适合初学者，什么都不懂的也可以看，简单易懂，有的时候一样的话会重复很多遍……
推荐对 *nix 有兴趣或者有需求的人看下。
和以前一样，还是只记我不知道的。

ls -l 第二列是链接数；

有 tee 这么个东西；（不知道的请自行查阅手册）

~jack 是 jack 的主目录；

命令行编辑（command-line editing）挺好玩，如果是 bash 和 vi，那么 set -o vi；

还有个东西叫 finger；

ssh 里 ~? 能列出转义序列；

221 页 forwarded 翻译成前面了，应该是转发；


后面的 shell 脚本我只是略懂皮毛，awk 一窍不通，Perl 暂时没兴趣，C/C++ 基本略过，所以也没什么好写的了。
]]></description>
			<content:encoded><![CDATA[<p>感觉<a href="http://www.douban.com/subject/2364802/">这本书</a>比较适合初学者，什么都不懂的也可以看，简单易懂，有的时候一样的话会重复很多遍……</p>
<p>推荐对 *nix 有兴趣或者有需求的人看下。</p>
<p>和以前一样，还是只记我不知道的。</p>
<ol>
<li>ls -l 第二列是链接数；
</li>
<li>有 tee 这么个东西；（不知道的请自行查阅手册）
</li>
<li>~jack 是 jack 的主目录；
</li>
<li>命令行编辑（command-line editing）挺好玩，如果是 bash 和 vi，那么 set -o vi；
</li>
<li>还有个东西叫 finger；
</li>
<li>ssh 里 ~? 能列出转义序列；
</li>
<li>221 页 forwarded 翻译成前面了，应该是转发；
</li>
</ol>
<p>后面的 shell 脚本我只是略懂皮毛，awk 一窍不通，Perl 暂时没兴趣，C/C++ 基本略过，所以也没什么好写的了。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.leafduo.com/46/just-enough-unix-note/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>记得加载模块</title>
		<link>http://blog.leafduo.com/08/remember-to-load-modules</link>
		<comments>http://blog.leafduo.com/08/remember-to-load-modules#comments</comments>
		<pubDate>Wed, 08 Oct 2008 15:44:08 +0000</pubDate>
		<dc:creator>Leaf Duo</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[printer]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://leafduo.com/blog/?p=176</guid>
		<description><![CDATA[为了启动的时候能更快一点，我把要加载的模块直接写进了 /etc/rc.conf （方法看这里），启动确实快了。不过有的时候还是有些郁闷……
很少用 USB flash drive，偶尔用，郁闷了，怎么看也没这个设备，只有两块硬盘，很久之后发现没加载模块，于是加载之：

1
modprobe usb-storage

又过了很长时间，用到打印机。很少打印东西，而且这个打印机比较难搞，所以导致我每次用打印机都心惊肉跳……这回直接找不到打印机了，良久之后，发现应该加载一个模块……

1
modprobe usblp

唉……
注意下，如果你用 2.4 内核的话，应该加载 printer 这个模块，详细的可以看 ArchWiki 的说明。
启动是快了，可是要记得加载模块啊……
提醒下自己，下次别忘了。
]]></description>
			<content:encoded><![CDATA[<p>为了启动的时候能更快一点，我把要加载的模块直接写进了 /etc/rc.conf （方法看<a href="http://liangzhdp.blogspot.com/2008/04/modules-udev.html">这里</a>），启动确实快了。不过有的时候还是有些郁闷……</p>
<p>很少用 USB flash drive，偶尔用，郁闷了，怎么看也没这个设备，只有两块硬盘，很久之后发现没加载模块，于是加载之：</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">modprobe usb-storage</pre></td></tr></table></div>

<p>又过了很长时间，用到打印机。很少打印东西，而且这个打印机比较难搞，所以导致我每次用打印机都心惊肉跳……这回直接找不到打印机了，良久之后，发现应该加载一个模块……</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">modprobe usblp</pre></td></tr></table></div>

<p>唉……</p>
<p>注意下，如果你用 2.4 内核的话，应该加载 printer 这个模块，详细的可以看 <a href="http://wiki.archlinux.org/index.php/Cups#Kernel_Modules">ArchWiki 的说明</a>。</p>
<p>启动是快了，可是要记得加载模块啊……</p>
<p>提醒下自己，下次别忘了。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.leafduo.com/08/remember-to-load-modules/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>试用 ibus</title>
		<link>http://blog.leafduo.com/56/test-ibus</link>
		<comments>http://blog.leafduo.com/56/test-ibus#comments</comments>
		<pubDate>Sun, 31 Aug 2008 03:56:56 +0000</pubDate>
		<dc:creator>Leaf Duo</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Arch]]></category>
		<category><![CDATA[Archlinux]]></category>
		<category><![CDATA[ibus]]></category>
		<category><![CDATA[IME]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PKGBUILD]]></category>

		<guid isPermaLink="false">http://leafduo.com/blog/?p=175</guid>
		<description><![CDATA[关于 ibus 的新闻已经不少了，鉴于我也忍不了 SCIM 和 fcitx 了，所以准备投靠 ibus 。这次是在 Archlinux 上安装的，先写 PKGBUILD  ，装好之后没有引擎……晕菜……
然后扔掉包直接装， OK 了，最后改了一下 PKGBUILD ，也 OK 了。
PKGBUILD  仅仅是到了能用的程度。
用了一下，感觉起码比 SCIM 和 fcitx 都要漂亮，至于 bug ，我就打了这么几个字，还没找出什么来，看起来不错。
这个是 ibus-git 的 PKGBUILD

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#Contributor: leafduo&#60;leafduo@gmail.com&#62;
&#160;
pkgname=ibus-git
pkgver=git
pkgrel=1
pkgdesc=&#34;a next generation input framework.&#34;
arch=&#40;'i686' 'x86_64'&#41;
license=&#40;'GPL'&#41;
depends=&#40;'python' 'dbus-python&#62;=0.83.0' 'automake' 'autoconf'&#41;
makedepends=&#40;'git'&#41;
url=&#34;http://code.google.com/p/ibus/&#34;
source=&#40;&#41;
md5sum=&#40;&#41;
install=ibus.install
&#160;
build&#40;&#41; &#123;
    cd $startdir/src
    git clone git://github.com/phuang/ibus.git ibus
   [...]]]></description>
			<content:encoded><![CDATA[<p>关于 <a href="http://code.google.com/p/ibus/">ibus</a> 的新闻已经不少了，鉴于我也忍不了 SCIM 和 fcitx 了，所以准备投靠 ibus 。这次是在 Archlinux 上安装的，先写 PKGBUILD  ，装好之后没有引擎……晕菜……</p>
<p>然后扔掉包直接装， OK 了，最后改了一下 PKGBUILD ，也 OK 了。</p>
<p>PKGBUILD  仅仅是到了能用的程度。</p>
<p>用了一下，感觉起码比 SCIM 和 fcitx 都要漂亮，至于 bug ，我就打了这么几个字，还没找出什么来，看起来不错。</p>
<p>这个是 ibus-git 的 PKGBUILD</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#Contributor: leafduo&lt;leafduo@gmail.com&gt;</span>
&nbsp;
<span style="color: #007800;">pkgname</span>=ibus-git
<span style="color: #007800;">pkgver</span>=git
<span style="color: #007800;">pkgrel</span>=<span style="color: #000000;">1</span>
<span style="color: #007800;">pkgdesc</span>=<span style="color: #ff0000;">&quot;a next generation input framework.&quot;</span>
<span style="color: #007800;"><span style="color: #c20cb9; font-weight: bold;">arch</span></span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">'i686'</span> <span style="color: #ff0000;">'x86_64'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">license</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">'GPL'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">depends</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">'python'</span> <span style="color: #ff0000;">'dbus-python&gt;=0.83.0'</span> <span style="color: #ff0000;">'automake'</span> <span style="color: #ff0000;">'autoconf'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">makedepends</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">'git'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">url</span>=<span style="color: #ff0000;">&quot;http://code.google.com/p/ibus/&quot;</span>
<span style="color: #007800;"><span style="color: #7a0874; font-weight: bold;">source</span></span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">md5sum</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;"><span style="color: #c20cb9; font-weight: bold;">install</span></span>=ibus.install
&nbsp;
build<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
    <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #007800;">$startdir</span><span style="color: #000000; font-weight: bold;">/</span>src
    git clone git:<span style="color: #000000; font-weight: bold;">//</span>github.com<span style="color: #000000; font-weight: bold;">/</span>phuang<span style="color: #000000; font-weight: bold;">/</span>ibus.git ibus
    <span style="color: #7a0874; font-weight: bold;">cd</span> ibus
    .<span style="color: #000000; font-weight: bold;">/</span>autogen.sh <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr
    <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #7a0874; font-weight: bold;">return</span> <span style="color: #000000;">1</span>
    <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #007800;">DESTDIR</span>=<span style="color: #007800;">$pkgdir</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #7a0874; font-weight: bold;">return</span> <span style="color: #000000;">1</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></td></tr></table></div>

<p>对应的 ibus.install</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">post_install<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
      <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>gtk-query-immodules-<span style="color: #000000;">2.0</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>gtk-<span style="color: #000000;">2.0</span><span style="color: #000000; font-weight: bold;">/</span>gtk.immodules
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
post_upgrade<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>gtk-query-immodules-<span style="color: #000000;">2.0</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>gtk-<span style="color: #000000;">2.0</span><span style="color: #000000; font-weight: bold;">/</span>gtk.immodules
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
post_remove<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>gtk-query-immodules-<span style="color: #000000;">2.0</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>gtk-<span style="color: #000000;">2.0</span><span style="color: #000000; font-weight: bold;">/</span>gtk.immodules
<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></td></tr></table></div>

<p>ibus-pinyin-git 的 PKGBUILD</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#Contributor: leafduo&lt;leafduo@gmail.com&gt;</span>
&nbsp;
<span style="color: #007800;">pkgname</span>=ibus-pinyin-git
<span style="color: #007800;">pkgver</span>=git
<span style="color: #007800;">pkgrel</span>=<span style="color: #000000;">1</span>
<span style="color: #007800;">pkgdesc</span>=<span style="color: #ff0000;">&quot;pinyin input method for ibus&quot;</span>
<span style="color: #007800;"><span style="color: #c20cb9; font-weight: bold;">arch</span></span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">'i686'</span> <span style="color: #ff0000;">'x86_64'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">license</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">'GPL'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">depends</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">'python'</span> <span style="color: #ff0000;">'dbus-python&gt;=0.83.0'</span> <span style="color: #ff0000;">'automake'</span> <span style="color: #ff0000;">'autoconf'</span> <span style="color: #ff0000;">'ibus-git'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">makedepends</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">'git'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">url</span>=<span style="color: #ff0000;">&quot;http://code.google.com/p/ibus/&quot;</span>
<span style="color: #007800;"><span style="color: #7a0874; font-weight: bold;">source</span></span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">md5sum</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
build<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
    <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #007800;">$startdir</span><span style="color: #000000; font-weight: bold;">/</span>src
    git clone git:<span style="color: #000000; font-weight: bold;">//</span>github.com<span style="color: #000000; font-weight: bold;">/</span>phuang<span style="color: #000000; font-weight: bold;">/</span>ibus-pinyin.git ibus-pinyin
    <span style="color: #7a0874; font-weight: bold;">cd</span> ibus-pinyin
    .<span style="color: #000000; font-weight: bold;">/</span>autogen.sh <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr
    <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #7a0874; font-weight: bold;">return</span> <span style="color: #000000;">1</span>
    <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #007800;">DESTDIR</span>=<span style="color: #007800;">$pkgdir</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #7a0874; font-weight: bold;">return</span> <span style="color: #000000;">1</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></td></tr></table></div>

<p>当然，你可以在<a href="http://code.google.com/p/mypkgbuild/">这里</a>找到我所有的 PKGBUILD。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.leafduo.com/56/test-ibus/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>学习 LaTeX &amp; 二项式定理的证明</title>
		<link>http://blog.leafduo.com/51/learning-latex</link>
		<comments>http://blog.leafduo.com/51/learning-latex#comments</comments>
		<pubDate>Tue, 19 Aug 2008 15:05:51 +0000</pubDate>
		<dc:creator>Leaf Duo</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tex]]></category>
		<category><![CDATA[typesetting]]></category>
		<category><![CDATA[XeLaTex]]></category>

		<guid isPermaLink="false">http://leafduo.com/blog/?p=174</guid>
		<description><![CDATA[小小学习了一下 LaTeX ，于是找个东西小试牛刀，来证明一下二项式定理吧，用数学归纳法证明的。
具体的大家看下面的附件吧：
二项式定理的证明
TeX 源文件
同样，还是请大家提提意见，拍拍砖，非常感谢。
P.S. 这里有我收集的一些关于 LaTeX 的资料。
]]></description>
			<content:encoded><![CDATA[<p>小小学习了一下 <a href="http://www.google.com/search?q=LaTeX">LaTeX</a> ，于是找个东西小试牛刀，来证明一下二项式定理吧，用数学归纳法证明的。</p>
<p>具体的大家看下面的附件吧：</p>
<p><a href='http://leafduo.com/blog/wp-content/uploads/2008/08/binomial_theorem.pdf'>二项式定理的证明</a></p>
<p><a href="http://leafduo.com/blog/wp-content/uploads/2008/08/binomial_theorem.tex">TeX 源文件</a></p>
<p>同样，还是请大家提提意见，拍拍砖，非常感谢。</p>
<p>P.S. <a href="http://delicious.com/LeafDuo/LaTeX">这里</a>有我收集的一些关于 LaTeX 的资料。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.leafduo.com/51/learning-latex/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>VMware 下安装 Gentoo 的唯一注意事项</title>
		<link>http://blog.leafduo.com/54/gentoo-installation-tip-under-vmware</link>
		<comments>http://blog.leafduo.com/54/gentoo-installation-tip-under-vmware#comments</comments>
		<pubDate>Thu, 17 Jul 2008 14:32:54 +0000</pubDate>
		<dc:creator>Leaf Duo</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://leafduo.com/blog/?p=160</guid>
		<description><![CDATA[好吧，安装 Gentoo 其实挺复杂，不过按手册来就是了。
但是我在 VMware 下安装 Gentoo 却怎么安都连不上网……我郁闷啊……
后来得知，VMware 虚拟的是一块 AMD 网卡，而默认 menuconfig 是不选它的，所以就连不上网了……
所以请在 make menuconfig 的时候选上以下几项：
Device Drivers -&#62; Network device support -&#62; Ethernet (10 or 100Mbit) -&#62; EISA, VLB, PCI and on board controllers 还有它下属的 AMD PCnet32 PCI support 和 Use RX polling (NAPI)
之后编译内核，就 OK 了。
（我被它折腾了很长时间！我郁闷啊！）
]]></description>
			<content:encoded><![CDATA[<p>好吧，安装 Gentoo 其实挺复杂，不过按手册来就是了。</p>
<p>但是我在 VMware 下安装 Gentoo 却怎么安都连不上网……我郁闷啊……</p>
<p>后来得知，VMware 虚拟的是一块 AMD 网卡，而默认 menuconfig 是不选它的，所以就连不上网了……</p>
<p>所以请在 make menuconfig 的时候选上以下几项：</p>
<p><span style="font-size: small;">Device Drivers -&gt; </span><span style="font-size: small;">Network device support -&gt; </span><span style="font-size: small;">Ethernet (10 or 100Mbit) -&gt; EISA, VLB, PCI and on board controllers 还有它下属的 AMD PCnet32 PCI support 和 Use RX polling (NAPI)</span></p>
<p>之后编译内核，就 OK 了。</p>
<p>（我被它折腾了很长时间！我郁闷啊！）</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.leafduo.com/54/gentoo-installation-tip-under-vmware/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>我的字体设置</title>
		<link>http://blog.leafduo.com/00/my-font-config</link>
		<comments>http://blog.leafduo.com/00/my-font-config#comments</comments>
		<pubDate>Thu, 17 Jul 2008 10:22:00 +0000</pubDate>
		<dc:creator>Leaf Duo</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[fontconfig]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://leafduo.com/blog/?p=159</guid>
		<description><![CDATA[很久以前把中文字体搞定以后，就再没有搞过字体的问题，前几天看到别人的截图，字体很漂亮，倍感嫉妒……一问之后，用的是 wqy-zenhei ，于是更加郁闷了，明明是一样的字体，我的就不好看……
于是，简单的读了一下 fontconfig 的手册，改了一个 .fonts.conf ，基于 wqy-zenhei 自带的 config 。没有很仔细地读手册，所以不知道这样的 .fonts.conf 有没有什么错误，不过效果还是不错的，于是贴一下：
先贴效果图：
写这篇 post 的时候打开的网页，这张主要是中文（其实这张加粗的太多了，不太好看）：

这张主要是英文，英文字体是 DejaVu ：

最后贴 .fonts.conf ：

&#60;?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34;?&#62;
&#60;!DOCTYPE fontconfig SYSTEM &#34;fonts.dtd&#34;&#62;
&#160;
&#60;fontconfig&#62;
&#160;
    &#60;!-- modified by leafduo@gmail.com --&#62;
    &#60;match target=&#34;font&#34;&#62;
        &#60;test qual=&#34;any&#34; name=&#34;family&#34;&#62;
         [...]]]></description>
			<content:encoded><![CDATA[<p>很久以前把中文字体搞定以后，就再没有搞过字体的问题，前几天看到别人的截图，字体很漂亮，倍感嫉妒……一问之后，用的是 <a href="http://wenq.org/?ZenHei">wqy-zenhei</a> ，于是更加郁闷了，明明是一样的字体，我的就不好看……</p>
<p>于是，简单的读了一下 <a href="http://fontconfig.org/wiki/">fontconfig</a> 的<a href="http://fontconfig.org/fontconfig-user.html">手册</a>，改了一个 .fonts.conf ，基于 wqy-zenhei 自带的 config 。没有很仔细地读手册，所以不知道这样的 .fonts.conf 有没有什么错误，不过效果还是不错的，于是贴一下：</p>
<p>先贴效果图：</p>
<p>写这篇 post 的时候打开的网页，这张主要是中文（其实这张加粗的太多了，不太好看）：</p>
<p><a href="http://picasaweb.google.com/LeafDuo/Blog/photo#5223923636252101858"><img src="http://lh4.ggpht.com/LeafDuo/SH8a3qCSzOI/AAAAAAAAAkM/7eRF3wBMUpM/s800/wqy-zenhei.png" width="590" alt="wqy-zenhei" /></a></p>
<p>这张主要是英文，英文字体是 DejaVu ：</p>
<p><a href="http://picasaweb.google.com/LeafDuo/Blog/photo#5223923645799571138"><img src="http://lh5.ggpht.com/LeafDuo/SH8a4NmlnsI/AAAAAAAAAkU/TrZx_4wPZ3Q/s800/DejaVu.png" width="590" alt="DejaVu" /></a></p>
<p>最后贴 .fonts.conf ：</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span>
<span style="color: #00bbdd;">&lt;!DOCTYPE fontconfig SYSTEM &quot;fonts.dtd&quot;&gt;</span>
&nbsp;
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;fontconfig<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
    <span style="color: #808080; font-style: italic;">&lt;!-- modified by leafduo@gmail.com --&gt;</span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;match</span> <span style="color: #000066;">target</span>=<span style="color: #ff0000;">&quot;font&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;test</span> <span style="color: #000066;">qual</span>=<span style="color: #ff0000;">&quot;any&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;family&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>WenQuanYi Zen Hei<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>文泉驿正黑<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>文泉驛正黑<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/test<span style="color: #000000; font-weight: bold;">&gt;</span></span></span> 
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;edit</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;globaladvance&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;bool<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>false<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/bool<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/edit<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;edit</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;spacing&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;int<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>0<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/int<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/edit<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;edit</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;antialias&quot;</span> <span style="color: #000066;">mode</span>=<span style="color: #ff0000;">&quot;assign&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;bool<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>true<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/bool<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/edit<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;edit</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;hinting&quot;</span> <span style="color: #000066;">mode</span>=<span style="color: #ff0000;">&quot;assign&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;bool<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>true<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/bool<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/edit<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;edit</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;hintstyle&quot;</span> <span style="color: #000066;">mode</span>=<span style="color: #ff0000;">&quot;assign&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;const<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>hintnone<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/const<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/edit<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;edit</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;autohint&quot;</span> <span style="color: #000066;">mode</span>=<span style="color: #ff0000;">&quot;assign&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;bool<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>false<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/bool<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/edit<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;edit</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;rh_prefer_bitmaps&quot;</span> <span style="color: #000066;">mode</span>=<span style="color: #ff0000;">&quot;assign&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;bool<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>false<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/bool<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/edit<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;edit</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;rgba&quot;</span> <span style="color: #000066;">mode</span>=<span style="color: #ff0000;">&quot;assign&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;const<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>none<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/const<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/edit<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;edit</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;embeddedbitmap&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;bool<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>false<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/bool<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/edit<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/match<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;match</span> <span style="color: #000066;">target</span>=<span style="color: #ff0000;">&quot;font&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;test</span> <span style="color: #000066;">qual</span>=<span style="color: #ff0000;">&quot;any&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;family&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>DejaVu Serif<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>DejaVu Sans<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>DejaVu Sans Mono<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/test<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;edit</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;autohint&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;bool<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>true<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/bool<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/edit<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;edit</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;hintstyle&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;const<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>hintfull<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/const<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/edit<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;edit</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;antialias&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;bool<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>true<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/bool<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/edit<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/match<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;alias<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;family<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>serif<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/family<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;prefer<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;family<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>DejaVu Serif<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/family<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;family<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>WenQuanYi Zen Hei<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/family<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/prefer<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/alias<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;alias<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;family<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>sans-serif<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/family<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;prefer<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;family<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>DejaVu Sans<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/family<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;family<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>WenQuanYi Zen Hei<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/family<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/prefer<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/alias<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;alias<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;family<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>monospace<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/family<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;prefer<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;family<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>DejaVu Sans Mono<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/family<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;family<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>WenQuanYi Zen Hei<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/family<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/prefer<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/alias<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/fontconfig<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>嗯，我觉得不错。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.leafduo.com/00/my-font-config/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>vim 启动缓慢</title>
		<link>http://blog.leafduo.com/18/vim-slow-start</link>
		<comments>http://blog.leafduo.com/18/vim-slow-start#comments</comments>
		<pubDate>Sun, 20 Apr 2008 09:05:18 +0000</pubDate>
		<dc:creator>Leaf Duo</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[X]]></category>

		<guid isPermaLink="false">http://leafduo.com/blog/?p=129</guid>
		<description><![CDATA[今天终于忍不住 vim 慢如蜗牛的启动速度，于是 Google 解决办法……
省略搜索数次……
在这里找到了办法，原来是启动的时候要连接 X ，这样速度就慢下来了，实在懒得自己编译一个不带 X11 的版本，于是就在 ~/.bashrc 加了一行：
alias vim='vim -X'
不过这样也丧失了一些功能，比如更改窗口标题和使用 X 的剪切板，反正我也不常用这个功能，所以无所谓了……
现在瞬间就可以帮助乌干达的穷苦儿童了，高兴啊……
]]></description>
			<content:encoded><![CDATA[<p>今天终于忍不住 vim 慢如蜗牛的启动速度，于是 Google 解决办法……</p>
<p>省略搜索数次……</p>
<p>在<a href="http://www.vim.org/htmldoc/starting.html#slow-start">这里</a>找到了办法，原来是启动的时候要连接 X ，这样速度就慢下来了，实在懒得自己编译一个不带 X11 的版本，于是就在 ~/.bashrc 加了一行：</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline">alias vim='vim -X'</li></ol></div>
<p>不过这样也丧失了<a href="http://www.vim.org/htmldoc/starting.html#-X">一些功能</a>，比如更改窗口标题和使用 X 的剪切板，反正我也不常用这个功能，所以无所谓了……</p>
<p>现在瞬间就可以帮助乌干达的穷苦儿童了，高兴啊……</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.leafduo.com/18/vim-slow-start/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>一句话搞定 KDEmod 烦人的服务器</title>
		<link>http://blog.leafduo.com/52/slow-kdemod-mirror</link>
		<comments>http://blog.leafduo.com/52/slow-kdemod-mirror#comments</comments>
		<pubDate>Thu, 13 Mar 2008 15:14:52 +0000</pubDate>
		<dc:creator>Leaf Duo</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Arch]]></category>
		<category><![CDATA[Archlinux]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[kdemod]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://leafduo.com/blog/52/slow-kdemod-mirror</guid>
		<description><![CDATA[由于 KDEmod 官方网站和一个镜像站被功夫网收购，我们这些墙内的同学就只能用 http://kdemod.iskrembilen.com/ 这个镜像了，但是这个镜像经常出些奇奇怪怪的问题，有的时候速度很快，有的时候进度根本不动…… 令人非常郁闷……
一怒之下，在 /etc/pacman.conf 的 [options] 这一部分加了一句话：
XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
哈哈，调出我们强大的 wget 吧，一切就都安静了……
]]></description>
			<content:encoded><![CDATA[<p>由于 KDEmod 官方网站和一个镜像站被功夫网收购，我们这些墙内的同学就只能用 <a href="http://kdemod.iskrembilen.com/">http://kdemod.iskrembilen.com/</a> 这个镜像了，但是这个镜像经常出些奇奇怪怪的问题，有的时候速度很快，有的时候进度根本不动…… 令人非常郁闷……</p>
<p>一怒之下，在 /etc/pacman.conf 的 [options] 这一部分加了一句话：</p>
<blockquote><p>XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u</p></blockquote>
<p>哈哈，调出我们强大的 wget 吧，一切就都安静了……</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.leafduo.com/52/slow-kdemod-mirror/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Arch 下安装 Acroread 简体中文字体包</title>
		<link>http://blog.leafduo.com/07/install-acrobat-chs-under-arch</link>
		<comments>http://blog.leafduo.com/07/install-acrobat-chs-under-arch#comments</comments>
		<pubDate>Sat, 01 Mar 2008 09:42:07 +0000</pubDate>
		<dc:creator>Leaf Duo</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[acroread]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[Arch]]></category>
		<category><![CDATA[Archlinux]]></category>
		<category><![CDATA[Chinese]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://leafduo.com/blog/07/install-acrobat-chs-under-arch</guid>
		<description><![CDATA[转到 Arch 下面也有两个星期了，感觉用 Arch 很习惯，比较简洁，比较快（废话，要不怎么叫 Arch），不过不是很习惯 KDE ，和 GNOME 操作上有很多不同， Amarok 倒是个好东西……
扯远了，拉回来，前两天装 Adobe Reader 的时候遇到了一点小问题，这里说一下。
安装很简单， pacman -S arcoread 就搞定了，不过好像源里没有语言包，要自己装。于是去下载，之后安装。进行到让我输入安装路径的时候出问题了，无论我输入什么路径，它都让我再输入一遍……晕死……无奈之下，打开脚本看。发现按 Adboe 的要求， Arcoread 应该装在 $dir/Adobe/Reader8/Reader ，但是 Arch 把它装在了 /usr/share/acrobat ，这就出问题了，安装脚本就找不到路径了……
没办法，手动来吧，发现其他几个文件是压缩包，于是解开，发现是按照 acroread 的目录结构放的一些文件，于是按照压缩包提供的路径手动复制过去，启动 acroread ，OK 了。
不得不抱怨一下， Arch 乱改什么路径， Adobe 的脚本连点提示都没有…… 哪位有空的时候把安装脚本改一下，改个 Arch 专用版。  
update: 也可以简单一句搞定：yaourt -S acroread8-fonts  （via lyman）
]]></description>
			<content:encoded><![CDATA[<p>转到 <a href="http://www.archlinux.org/">Arch</a> 下面也有两个星期了，感觉用 Arch 很习惯，比较简洁，比较快（废话，要不怎么叫 <a href="http://wiki.archlinux.org/index.php/The_Arch_Way">Arch</a>），不过不是很习惯 <a href="http://www.kde.org/">KDE</a> ，和 <a href="http://www.gnome.org/">GNOME</a> 操作上有很多不同， <a href="http://amarok.kde.org/">Amarok</a> 倒是个好东西……</p>
<p>扯远了，拉回来，前两天装 Adobe Reader 的时候遇到了一点小问题，这里说一下。</p>
<p>安装很简单， pacman -S arcoread 就搞定了，不过好像源里没有语言包，要自己装。于是去<a href="http://www.adobe.com/products/acrobat/acrrasianfontpack.html">下载</a>，之后安装。进行到让我输入安装路径的时候出问题了，无论我输入什么路径，它都让我再输入一遍……晕死……无奈之下，打开脚本看。发现按 Adboe 的要求， Arcoread 应该装在 $dir/Adobe/Reader8/Reader ，但是 Arch 把它装在了 /usr/share/acrobat ，这就出问题了，安装脚本就找不到路径了……</p>
<p>没办法，手动来吧，发现其他几个文件是压缩包，于是解开，发现是按照 acroread 的目录结构放的一些文件，于是按照压缩包提供的路径手动复制过去，启动 acroread ，OK 了。</p>
<p>不得不抱怨一下， Arch 乱改什么路径， Adobe 的脚本连点提示都没有…… 哪位有空的时候把安装脚本改一下，改个 Arch 专用版。 <img src='http://blog.leafduo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>update:</strong> 也可以简单一句搞定：yaourt -S acroread8-fonts  （via <a href="http://lymanrb.spaces.live.com/">lyman</a>）</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.leafduo.com/07/install-acrobat-chs-under-arch/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>高二的生活开始了</title>
		<link>http://blog.leafduo.com/52/senior-2-start</link>
		<comments>http://blog.leafduo.com/52/senior-2-start#comments</comments>
		<pubDate>Sun, 09 Sep 2007 14:29:52 +0000</pubDate>
		<dc:creator>Leaf Duo</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[senior]]></category>

		<guid isPermaLink="false">http://leafduo.com/blog/52/senior-2-start</guid>
		<description><![CDATA[今天是9月9号了，说这句话貌似晚了点。没办法，谁让这几天比较忙呢，都不知道自己在忙什么，总之比较忙就是了。我们这个学期是从9月3号开始的，开学第一天就上了晚自习，上到8：40，回家就到了9：30左右了，天都全黑了……刚开始的几天比较累，后来就习惯点了。上的课总是那么几门，语文、数学、英语、物理、化学、生物、政治，就这些上起来没完，让人有点烦，谁让高二没有历史、地理这样能听故事的课呢？高二和高三的学生一个人有一个柜子（貌似英文刚学的 locker ），其实应该说是半个，两个人共用一个，中间用隔板隔开。这个 locker 还没怎么利用起来，里面就放了一本信息技术课本，在家应该用不到这本书吧，不过我想过几天这个 locker 就有可能装满了……想像着成堆的教课书和教辅……中午和晚上都是出去吃，基本这个学期还没在食堂吃过，因为总是被同学拉出去……
还有一件事就是我买了个手机，8月11号就买了，有些同学已经知道了……最近实在比较忙，所以没来的及跟大家说一声，号码就不说了啊……型号是索爱 W700c ，钛金色的那款，买了一张2GB的Memory Stick Pro Duo。这里顺便批评一下 Windows ，Windows 下往手机上传文件还得装个什么驱动，真是烦人，又不是什么特殊设备……（其实就是一个 Memory Stick Pro Duo 的读卡器）而 Linux 下直接 mount 上就行了，用不用什么驱动，比 Windows 方便。
星期五，也就是9月7号，下午实验没上课，老师好像要庆祝教师节，我们学生也就放学了，下午去初中看了看，老师都挺好的，几乎所有老师都说了两句话：一句是说我瘦了，第二句是说9班真乱啊 ，第二句没人否认，第一句貌似不太对吧，我好像没太变瘦啊……第三、四节课老师照例要开会，我们走了。之后，我到一个 同学家玩到晚上才回的家，打开手机一看，N个未接来电，其中一个到现在都不知道谁打的，知道的回一声，谢了。
课程上，原来学过的几科还是那么个难度，这个生物挺令人郁闷，前几节挺简单，学到细胞的基本结构就郁闷了，作业基本都错了……刚开始学，好好来吧。
别的大概没什么要说的了，就到这里吧 。想到哪里就说哪里，有点乱，大家见谅。
]]></description>
			<content:encoded><![CDATA[<p>今天是9月9号了，说这句话貌似晚了点。没办法，谁让这几天比较忙呢，都不知道自己在忙什么，总之比较忙就是了。我们这个学期是从9月3号开始的，开学第一天就上了晚自习，上到8：40，回家就到了9：30左右了，天都全黑了……刚开始的几天比较累，后来就习惯点了。上的课总是那么几门，语文、数学、英语、物理、化学、生物、政治，就这些上起来没完，让人有点烦，谁让高二没有历史、地理这样能听故事的课呢？高二和高三的学生一个人有一个柜子（貌似英文刚学的 locker ），其实应该说是半个，两个人共用一个，中间用隔板隔开。这个 locker 还没怎么利用起来，里面就放了一本信息技术课本，在家应该用不到这本书吧，不过我想过几天这个 locker 就有可能装满了……想像着成堆的教课书和教辅……中午和晚上都是出去吃，基本这个学期还没在食堂吃过，因为总是被同学拉出去……</p>
<p>还有一件事就是我买了个手机，8月11号就买了，有些同学已经知道了……最近实在比较忙，所以没来的及跟大家说一声，号码就不说了啊……型号是索爱 W700c ，钛金色的那款，买了一张2GB的Memory Stick Pro Duo。这里顺便批评一下 Windows ，Windows 下往手机上传文件还得装个什么驱动，真是烦人，又不是什么特殊设备……（其实就是一个 Memory Stick Pro Duo 的读卡器）而 Linux 下直接 mount 上就行了，用不用什么驱动，比 Windows 方便。</p>
<p>星期五，也就是9月7号，下午实验没上课，老师好像要庆祝教师节，我们学生也就放学了，下午去初中看了看，老师都挺好的，几乎所有老师都说了两句话：一句是说我瘦了，第二句是说9班真乱啊 ，第二句没人否认，第一句貌似不太对吧，我好像没太变瘦啊……第三、四节课老师照例要开会，我们走了。之后，我到一个 同学家玩到晚上才回的家，打开手机一看，N个未接来电，其中一个到现在都不知道谁打的，知道的回一声，谢了。</p>
<p>课程上，原来学过的几科还是那么个难度，这个生物挺令人郁闷，前几节挺简单，学到细胞的基本结构就郁闷了，作业基本都错了……刚开始学，好好来吧。</p>
<p>别的大概没什么要说的了，就到这里吧 。想到哪里就说哪里，有点乱，大家见谅。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.leafduo.com/52/senior-2-start/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>我回来了</title>
		<link>http://blog.leafduo.com/26/back-from-rizhao</link>
		<comments>http://blog.leafduo.com/26/back-from-rizhao#comments</comments>
		<pubDate>Sat, 28 Jul 2007 15:57:26 +0000</pubDate>
		<dc:creator>Leaf Duo</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://leafduo.com/blog/archives/91</guid>
		<description><![CDATA[貌似这句话今天说不太合适，因为我是26号下午回来的。26号下午上网看完了所有的feed（好几天的啊……），晚上跟同学聊天，打了几个电话。27号上午在家闲着，下午陪同学去游泳了，说是游泳，其实我已经不会了，小学的时候曾经学过，但现在却忘得一干二净了，在那里就光玩水了，连漂都漂不起来了，不过有同学陪着还是挺开心的^_^。今天上午去要了同学的数学笔记和作业，下午开始抄笔记（我是不记数学笔记的），刚才跟同学玩了一会QQtang，感觉远不如初中的时候玩得好了。（以上纯系流水帐，大家见谅）
回头说说夏令营吧。在那呆了十多天，那的食宿条件是在不敢恭维，而且还有舍管，我们这些没住过校的学生那能适应那个舍管啊……最重要的是不允许出校门！（虽然我们还是出去了，呵呵）但是，学到的东西还是不少的，最重要的体会就是写的代码太少，还应该多加练习才行。
回来之后发现很多东西变了。mofile和土豆换播放器了，Firefox下貌似不能全屏。维基好像又抽筋了，虽然我没赶上。wp的两个插件更新了，但是我没更新。Firefox也不知不觉的更新到了2.0.0.5，虽然这次更新貌似跟Linux用户关系不大。如此种种，是在太多了……
回来之后，第一任务是写作业、抄笔记；第二就是多写点代码，准备11月竞赛。令人郁闷的是，物理的电学部分都快忘了，连闭合电路的欧姆定律、楞次定律、焦耳定律等等的很基础的东西也得想半天，郁闷ing。
最后附上在日照照的照片，都是乱照的，大家不要说我技术差啊……（虽然事实如此）（最前面几张是晚上照的，所以很黑）

]]></description>
			<content:encoded><![CDATA[<p>貌似这句话今天说不太合适，因为我是26号下午回来的。26号下午上网看完了所有的feed（好几天的啊……），晚上跟同学聊天，打了几个电话。27号上午在家闲着，下午陪同学去游泳了，说是游泳，其实我已经不会了，小学的时候曾经学过，但现在却忘得一干二净了，在那里就光玩水了，连漂都漂不起来了，不过有同学陪着还是挺开心的^_^。今天上午去要了同学的数学笔记和作业，下午开始抄笔记（我是不记数学笔记的），刚才跟同学玩了一会QQtang，感觉远不如初中的时候玩得好了。（以上纯系流水帐，大家见谅）</p>
<p>回头说说夏令营吧。在那呆了十多天，那的食宿条件是在不敢恭维，而且还有舍管，我们这些没住过校的学生那能适应那个舍管啊……最重要的是不允许出校门！（虽然我们还是出去了，呵呵）但是，学到的东西还是不少的，最重要的体会就是写的代码太少，还应该多加练习才行。</p>
<p>回来之后发现很多东西变了。<a href="http://www.mofile.com" target="_blank">mofile</a>和<a href="http://www.tudou.com/" target="_blank">土豆</a>换播放器了，Firefox下貌似不能全屏。维基好像又抽筋了，虽然我没赶上。wp的两个插件更新了，但是我没更新。Firefox也不知不觉的更新到了2.0.0.5，虽然这次更新貌似跟Linux用户关系不大。如此种种，是在太多了……</p>
<p>回来之后，第一任务是写作业、抄笔记；第二就是多写点代码，准备11月竞赛。令人郁闷的是，物理的电学部分都快忘了，连闭合电路的欧姆定律、楞次定律、焦耳定律等等的很基础的东西也得想半天，郁闷ing。</p>
<p>最后附上在日照照的照片，都是乱照的，大家不要说我技术差啊……（虽然事实如此）（最前面几张是晚上照的，所以很黑）</p>
<p><embed src="http://picasaweb.google.com/s/c/bin/slideshow.swf" type="application/x-shockwave-flash" flashvars="host=picasaweb.google.com&amp;captions=1&amp;RGB=0x000000&amp;feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2FLeafDuo%2Falbumid%2F5092219161400854769%3Fkind%3Dphoto%26alt%3Drss" pluginspage="http://www.macromedia.com/go/getflashplayer" height="267" width="400"></embed></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.leafduo.com/26/back-from-rizhao/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>终于放假了</title>
		<link>http://blog.leafduo.com/46/holiday-come</link>
		<comments>http://blog.leafduo.com/46/holiday-come#comments</comments>
		<pubDate>Thu, 05 Jul 2007 14:03:46 +0000</pubDate>
		<dc:creator>Leaf Duo</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[holiday]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://leafduo.com/blog/?p=89</guid>
		<description><![CDATA[今天终于放假了，虽然正式放假的时间是5月8日，但是从现在开始的相当长的时间里我们就不用去学校了，所以就算是放假了吧。
先说一下假期的安排吧。这个假期是高中唯一一个完整的暑假，所以一定要珍惜啊，直接结果就是这个暑假会很忙。7月14日到26日要到日照一中东校区参加信息学夏令营，其实就是去上课，为11月的比赛做准备。除了去夏令营，我自己也应该为比赛做好准备，自己在家多看看说，多写写代码，提高一下水平，争取考个好成绩。除了搞竞赛，跟计算机相关的事情还有不少，例如说学习一下LAMP（Linux、Apache、MySQL、PHP），学习一下python或者perl，学习一下Photoshop……这个假期作业也不少，语文、数学、英语、物理、化学每科有一本作业，着实比较恐怖。而且还得复习和预习，虽然说没有历史和地理之后减少了很大负担，但是数学、物理、化学就够忙得了，还有语文、英语得看，还得背，真的比较多啊。总之，这个假期就是计算机和学习两件事了。（of course, enjoying is necessary.）
在说一下前几天的事。前几天光忙着准备期末考试了，Blog上没写多少东西，写了的也都没什么内容，现在一看，这都是什么啊……然后，考试完了，第二天就出了成绩，考的还行，班里第5，级部407，比较正常，可能是文科考的少的关系吧。然后，跟着英卓社开了个会，说开blog，要求有办blog和Photoshop的能力，做blog没问题，但是Photoshop就比较悬了，我来了个速成，交了一个作品，水平显然是不够了，可能英卓社的老大正看着我的blog呢，呵呵。
好了，今天就到这里吧。
]]></description>
			<content:encoded><![CDATA[<p>今天终于放假了，虽然正式放假的时间是5月8日，但是从现在开始的相当长的时间里我们就不用去学校了，所以就算是放假了吧。</p>
<p>先说一下假期的安排吧。这个假期是高中唯一一个完整的暑假，所以一定要珍惜啊，直接结果就是这个暑假会很忙。7月14日到26日要到日照一中东校区参加信息学夏令营，其实就是去上课，为11月的比赛做准备。除了去夏令营，我自己也应该为比赛做好准备，自己在家多看看说，多写写代码，提高一下水平，争取考个好成绩。除了搞竞赛，跟计算机相关的事情还有不少，例如说学习一下LAMP（Linux、Apache、MySQL、PHP），学习一下python或者perl，学习一下Photoshop……这个假期作业也不少，语文、数学、英语、物理、化学每科有一本作业，着实比较恐怖。而且还得复习和预习，虽然说没有历史和地理之后减少了很大负担，但是数学、物理、化学就够忙得了，还有语文、英语得看，还得背，真的比较多啊。总之，这个假期就是计算机和学习两件事了。（of course, enjoying is necessary.）</p>
<p>在说一下前几天的事。前几天光忙着准备期末考试了，Blog上没写多少东西，写了的也都没什么内容，现在一看，这都是什么啊……然后，考试完了，第二天就出了成绩，考的还行，班里第5，级部407，比较正常，可能是文科考的少的关系吧。然后，跟着英卓社开了个会，说开blog，要求有办blog和Photoshop的能力，做blog没问题，但是Photoshop就比较悬了，我来了个速成，交了一个作品，水平显然是不够了，可能英卓社的老大正看着我的blog呢，呵呵。</p>
<p>好了，今天就到这里吧。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.leafduo.com/46/holiday-come/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>今天改进了一下Firefox</title>
		<link>http://blog.leafduo.com/00/improve-firefox</link>
		<comments>http://blog.leafduo.com/00/improve-firefox#comments</comments>
		<pubDate>Sun, 27 May 2007 14:06:00 +0000</pubDate>
		<dc:creator>Leaf Duo</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://leafduo.com/blog/?p=84</guid>
		<description><![CDATA[今天给Firefox装了不少东西，一一说一下：
用这里的方法改进了firefox的表单按钮，效果挺好。看来css的力量是伟大的……不看改过的效果还真不知道原来的效果是ugly。
给Firefox装上了mplayer支持。方法是装上了mozilla-mplayer（ubuntu的软件包）。原来不能播放的声音、视频现在能播放了，比如我blog上的背景音乐（下图中sidebar中下部，）。
给Firefox装上了java支持，方法是装上了java-gcj-compat-plugin（也是ubuntu的软件包），下面是一个测试。都装好了之后发现，ubuntu的库里原来有这么多东西，好好研究一下。
]]></description>
			<content:encoded><![CDATA[<p>今天给Firefox装了不少东西，一一说一下：<br />
用<a href="http://osnovice.blogspot.com/2007/05/firefox-controls-are-ugly.html">这里</a>的方法改进了firefox的表单按钮，效果挺好。看来css的力量是伟大的……不看改过的效果还真不知道原来的效果是ugly。<a href="http://bp0.blogger.com/_yba6sgaqsTU/RlmRs-_KrcI/AAAAAAAAAnE/v71pMMjFKbg/s1600-h/Screenshot-OS+Novice:+Firefox+controls+are+ugly%21+-+Mozilla+Firefox.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img src="http://bp0.blogger.com/_yba6sgaqsTU/RlmRs-_KrcI/AAAAAAAAAnE/v71pMMjFKbg/s400/Screenshot-OS+Novice:+Firefox+controls+are+ugly%21+-+Mozilla+Firefox.png" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer" id="BLOGGER_PHOTO_ID_5069243057590414786" border="0" /></a><br />
给Firefox装上了<a href="http://www.mplayerhq.hu/">mplayer</a>支持。方法是装上了mozilla-mplayer（ubuntu的软件包）。原来不能播放的声音、视频现在能播放了，比如我blog上的背景音乐（下图中sidebar中下部，）。<a href="http://bp2.blogger.com/_yba6sgaqsTU/RlmRte_KrdI/AAAAAAAAAnM/_1FubHolLhs/s1600-h/Screenshot-Prism%27s+Blog+-+Mozilla+Firefox.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img src="http://bp2.blogger.com/_yba6sgaqsTU/RlmRte_KrdI/AAAAAAAAAnM/_1FubHolLhs/s400/Screenshot-Prism%27s+Blog+-+Mozilla+Firefox.png" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer" id="BLOGGER_PHOTO_ID_5069243066180349394" border="0" /></a><br />
给Firefox装上了java支持，方法是装上了java-gcj-compat-plugin（也是ubuntu的软件包），下面是一个测试。<a href="http://bp3.blogger.com/_yba6sgaqsTU/RlmRtu_KreI/AAAAAAAAAnU/gYUazHqrBDU/s1600-h/Screenshot-%E6%B5%8B%E8%AF%95+Java+%E8%99%9A%E6%8B%9F%E6%9C%BA+-+1.4.2_xx,+1.5.0,+1.3.0_xx,+1.3.1_xx,+1.4.0_xx,+1.4.1_xx+-+Mozilla+Firefox.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img src="http://bp3.blogger.com/_yba6sgaqsTU/RlmRtu_KreI/AAAAAAAAAnU/gYUazHqrBDU/s400/Screenshot-%E6%B5%8B%E8%AF%95+Java+%E8%99%9A%E6%8B%9F%E6%9C%BA+-+1.4.2_xx,+1.5.0,+1.3.0_xx,+1.3.1_xx,+1.4.0_xx,+1.4.1_xx+-+Mozilla+Firefox.png" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer" id="BLOGGER_PHOTO_ID_5069243070475316706" border="0" /></a>都装好了之后发现，ubuntu的库里原来有这么多东西，好好研究一下。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.leafduo.com/00/improve-firefox/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>今天装上了apache2</title>
		<link>http://blog.leafduo.com/00/apache2-installed</link>
		<comments>http://blog.leafduo.com/00/apache2-installed#comments</comments>
		<pubDate>Sun, 22 Apr 2007 12:10:00 +0000</pubDate>
		<dc:creator>Leaf Duo</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://leafduo.com/blog/?p=76</guid>
		<description><![CDATA[今天装上了apache2（中文就是阿帕奇，军用直升机，呵呵），开始踏入网络了，呵呵。
apache2是一个http服务程序，apt上是这样介绍的apache2 - Next generation, scalable, extendable web server（apache2，下一代可扩展的web服务器）。
又用花生壳搞了一个动态域名，是http://prism.eicp.net/，暂时还没放东西，不过大家也可以来看看。
PS：地理基本看完了，去看历史了。
]]></description>
			<content:encoded><![CDATA[<p>今天装上了apache2（中文就是阿帕奇，军用直升机，呵呵），开始踏入网络了，呵呵。<br />
apache2是一个http服务程序，apt上是这样介绍的apache2 - Next generation, scalable, extendable web server（apache2，下一代可扩展的web服务器）。<br />
又用花生壳搞了一个动态域名，是<a href="http://prism.eicp.net/">http://prism.eicp.net/</a>，暂时还没放东西，不过大家也可以来看看。<br />
PS：地理基本看完了，去看历史了。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.leafduo.com/00/apache2-installed/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>今天装上了ubuntu7.04</title>
		<link>http://blog.leafduo.com/00/ubuntu704-installed</link>
		<comments>http://blog.leafduo.com/00/ubuntu704-installed#comments</comments>
		<pubDate>Sat, 21 Apr 2007 14:17:00 +0000</pubDate>
		<dc:creator>Leaf Duo</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[nVidia]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://leafduo.com/blog/?p=75</guid>
		<description><![CDATA[今天装上了Ubuntu7.04(Feisty Fawn)，感觉还不错，有了许多新功能：新版内核，新版X，新版Gnome，新版OpenOffice，新版fcitx（小企鹅输入法，原来的源里是旧版的），3D桌面。（好像eva也是新的）系统变得更友好了（适合我们这些初学者），以前怎么也装不好的nvidia-glx（nvidia显卡的驱动，商业版）现在也装上了。
感觉有了很多变化，很不错，实在是举不完了。
14号的时候申请了3张ubuntu CD，大概一个多月之后会从欧洲（大概是，反正是国外）寄过来，拿来留作纪念，谁想要的话也可以跟我要（当然自己申请最好，反正是免费的）。
下一个版本的Ubuntu（ubuntu7.10）会在07年10月发布，开发代号是Gutsy Gibbon，不知道会有什么新变化，期待ing。
PS：ubuntu的版本号是按发布的日期定的，07年4月发布就是7.04版，开发代号是按字母表顺序定的，Feisty Fawn是第6个版本，Gutsy Gibbon是第7个。
另：下星期期中考试了，努力复习ing……（不过不考物理、化学，挺郁闷的……）
]]></description>
			<content:encoded><![CDATA[<p>今天装上了Ubuntu7.04(Feisty Fawn)，感觉还不错，有了许多新功能：新版内核，新版X，新版Gnome，新版OpenOffice，新版fcitx（小企鹅输入法，原来的源里是旧版的），3D桌面。（好像eva也是新的）系统变得更友好了（适合我们这些初学者），以前怎么也装不好的nvidia-glx（nvidia显卡的驱动，商业版）现在也装上了。<br />
感觉有了很多变化，很不错，实在是举不完了。<br />
14号的时候申请了3张ubuntu CD，大概一个多月之后会从欧洲（大概是，反正是国外）寄过来，拿来留作纪念，谁想要的话也可以跟我要（当然自己申请最好，反正是免费的）。<br />
下一个版本的Ubuntu（ubuntu7.10）会在07年10月发布，开发代号是Gutsy Gibbon，不知道会有什么新变化，期待ing。<br />
PS：ubuntu的版本号是按发布的日期定的，07年4月发布就是7.04版，开发代号是按字母表顺序定的，Feisty Fawn是第6个版本，Gutsy Gibbon是第7个。<br />
另：下星期期中考试了，努力复习ing……（不过不考物理、化学，挺郁闷的……）</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.leafduo.com/00/ubuntu704-installed/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>今天玩了一下GnuPG</title>
		<link>http://blog.leafduo.com/00/test-gnupg</link>
		<comments>http://blog.leafduo.com/00/test-gnupg#comments</comments>
		<pubDate>Sun, 15 Apr 2007 07:18:00 +0000</pubDate>
		<dc:creator>Leaf Duo</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[GnuPG]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://leafduo.com/blog/?p=74</guid>
		<description><![CDATA[今天玩了一下GnuPG，生成了一个密钥环，这里是公钥，谁要给我发东西的话可以用这个加密噢，当然www.keyserver.net上也有，用的是kzy.prism@gmail.com的邮箱。
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.3 (GNU/Linux)
mQGiBEYhyTQRBADaVM1Nk+4DDXR/DZ4wAUgA4DhXT4mIU/cYPDLdDEPjgLTPGEmc
ZOshzg3JXWlZUH5zAj93i08FBanjHqZaOozZhA17rIJWWCeLalefgH3Er39Va5nu
xqUzMPQKvX0jIyTuyywnYKrM4njQCTVjOHs7Vt4HDygdkyKe9IZHVtUEYwCg+YBg
k+baAZCo1oyM7JbO0YQjVU8D/2DR4cuRUE2ctwU569fKa1HyH3NDDJXxrssD6Ztd
oTpqbDwE+cNCgm/lGS8KSFbsAoCEIH7NgaCuMPCA62nLnReh3QcRoc0smZxOJZU/
Tpi3mRzeV8rX/OeV8SzgAi4GMp5rnTz1osY4G5fzOrx3aB0GX5nYm4UTVyiMFZ22
pxFZA/0d1Jr88MHO15pCUf3KyWzbuuOPGurTjcqbTkJIBSESAe/RP0q64kGs5tuH
BnJIvf/4GQCnI7BdH8auLSHULm/eg02J/q78JcL0BwPdo2Q7QAGM2m0nAH2FTDQH
SXNecuT4Tk0Cwtk+cP0LsgU5jSyT0pQHS8nme3RXwxtKLkRLN7QoS291IFp1eWFu
ZyAocHJpc20pIDxrenkucHJpc21AZ21haWwuY29tPohgBBMRAgAgBQJGIck0AhsD
BgsJCAcDAgQVAggDBBYCAwECHgECF4AACgkQpWQ8FPplq4ZJrQCgisGL7iK9Njl7
fNun9L38K0R7gqIAn1jg0sg/axiFb5wIUDgQhfkWh3vkuQINBEYhyVsQCACmFooM
NWeIC4TWSiGvGDhSQWEWtMJbZ35yxTwgyy8vx9UphGwlY2K2tXIYSl/JOIlmLMvT
Qzq++0EkrHG7wcZhSubhFvtxhrt35gXENJPwj9aLOlvyv+bilUcwMPUi2PUb3zO0
EBN0+x3T53MAmQSz6G4m3tPn//k3BPYfILxOxiGibfYo8A1HdEkwsUkKXBp0NF39
buvn6nIjx/vzfMir0BGgmt/NluaqYB8wHFvggv1yvaZBO+eEckbG8SpVjMYHhA9G
/NFlZU1VVR7EschVOzyziNNEdY3Ipdi5ELhH7rSNoaGvf6VYBp2K4TM0a39/fmmN
rRelJ0QfcDd8X2zvAAMHCACGyXaX3u1LzEunM7Q5dizUUw/Bzp0WmTv9opxtd5sS
6JQI8gTp0nkasP5/VsjF3/9pd0TDqHon1eaBO8MeljOusBbpcIbnf8/qicBUp/NG
V4z1ZEjLOm+0US3mK7pLOx/5sXWZnWXL16VlS0/CCnEi4M9s8bt6X/obaHQGuxEt
PjYxX+uocdOggTifBffvGCn2g5m/OOMmtX4rpc36vfRbiiwhmqM9AKFxXLRW4Oa+
COfQJ7udi4DBSBwcKU0hoXkhwnzUsDp0zKKeTi7I/mm++oc7+dqUqXeTtmMBAUiu
NfIacMKeOTIr3qPdISLsQ+7qSd/nYk1aNSO80h444I7qiEkEGBECAAkFAkYhyVsC
GwwACgkQpWQ8FPplq4bD7wCeKMDUSYAxprUAbI0+DdizYmb2QnwAn00K21bVJxzd
Jhpw/s8kNqFdfk8n
=nN6e
-----END PGP PUBLIC KEY BLOCK-----
]]></description>
			<content:encoded><![CDATA[<p>今天玩了一下GnuPG，生成了一个密钥环，这里是公钥，谁要给我发东西的话可以用这个加密噢，当然www.keyserver.net上也有，用的是kzy.prism@gmail.com的邮箱。</p>
<p>-----BEGIN PGP PUBLIC KEY BLOCK-----<br />
Version: GnuPG v1.4.3 (GNU/Linux)</p>
<p>mQGiBEYhyTQRBADaVM1Nk+4DDXR/DZ4wAUgA4DhXT4mIU/cYPDLdDEPjgLTPGEmc<br />
ZOshzg3JXWlZUH5zAj93i08FBanjHqZaOozZhA17rIJWWCeLalefgH3Er39Va5nu<br />
xqUzMPQKvX0jIyTuyywnYKrM4njQCTVjOHs7Vt4HDygdkyKe9IZHVtUEYwCg+YBg<br />
k+baAZCo1oyM7JbO0YQjVU8D/2DR4cuRUE2ctwU569fKa1HyH3NDDJXxrssD6Ztd<br />
oTpqbDwE+cNCgm/lGS8KSFbsAoCEIH7NgaCuMPCA62nLnReh3QcRoc0smZxOJZU/<br />
Tpi3mRzeV8rX/OeV8SzgAi4GMp5rnTz1osY4G5fzOrx3aB0GX5nYm4UTVyiMFZ22<br />
pxFZA/0d1Jr88MHO15pCUf3KyWzbuuOPGurTjcqbTkJIBSESAe/RP0q64kGs5tuH<br />
BnJIvf/4GQCnI7BdH8auLSHULm/eg02J/q78JcL0BwPdo2Q7QAGM2m0nAH2FTDQH<br />
SXNecuT4Tk0Cwtk+cP0LsgU5jSyT0pQHS8nme3RXwxtKLkRLN7QoS291IFp1eWFu<br />
ZyAocHJpc20pIDxrenkucHJpc21AZ21haWwuY29tPohgBBMRAgAgBQJGIck0AhsD<br />
BgsJCAcDAgQVAggDBBYCAwECHgECF4AACgkQpWQ8FPplq4ZJrQCgisGL7iK9Njl7<br />
fNun9L38K0R7gqIAn1jg0sg/axiFb5wIUDgQhfkWh3vkuQINBEYhyVsQCACmFooM<br />
NWeIC4TWSiGvGDhSQWEWtMJbZ35yxTwgyy8vx9UphGwlY2K2tXIYSl/JOIlmLMvT<br />
Qzq++0EkrHG7wcZhSubhFvtxhrt35gXENJPwj9aLOlvyv+bilUcwMPUi2PUb3zO0<br />
EBN0+x3T53MAmQSz6G4m3tPn//k3BPYfILxOxiGibfYo8A1HdEkwsUkKXBp0NF39<br />
buvn6nIjx/vzfMir0BGgmt/NluaqYB8wHFvggv1yvaZBO+eEckbG8SpVjMYHhA9G<br />
/NFlZU1VVR7EschVOzyziNNEdY3Ipdi5ELhH7rSNoaGvf6VYBp2K4TM0a39/fmmN<br />
rRelJ0QfcDd8X2zvAAMHCACGyXaX3u1LzEunM7Q5dizUUw/Bzp0WmTv9opxtd5sS<br />
6JQI8gTp0nkasP5/VsjF3/9pd0TDqHon1eaBO8MeljOusBbpcIbnf8/qicBUp/NG<br />
V4z1ZEjLOm+0US3mK7pLOx/5sXWZnWXL16VlS0/CCnEi4M9s8bt6X/obaHQGuxEt<br />
PjYxX+uocdOggTifBffvGCn2g5m/OOMmtX4rpc36vfRbiiwhmqM9AKFxXLRW4Oa+<br />
COfQJ7udi4DBSBwcKU0hoXkhwnzUsDp0zKKeTi7I/mm++oc7+dqUqXeTtmMBAUiu<br />
NfIacMKeOTIr3qPdISLsQ+7qSd/nYk1aNSO80h444I7qiEkEGBECAAkFAkYhyVsC<br />
GwwACgkQpWQ8FPplq4bD7wCeKMDUSYAxprUAbI0+DdizYmb2QnwAn00K21bVJxzd<br />
Jhpw/s8kNqFdfk8n<br />
=nN6e<br />
-----END PGP PUBLIC KEY BLOCK-----</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.leafduo.com/00/test-gnupg/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google BlogSpot再次无法访问</title>
		<link>http://blog.leafduo.com/00/blogspot-block-3</link>
		<comments>http://blog.leafduo.com/00/blogspot-block-3#comments</comments>
		<pubDate>Tue, 20 Mar 2007 14:09:00 +0000</pubDate>
		<dc:creator>Leaf Duo</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[GFW]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://leafduo.com/blog/?p=70</guid>
		<description><![CDATA[今天在月光上惊奇的发现，blogspot又不能访问了！GFW还真是有耐心，不说什么了，希望Google的公关做得好一些。
要想上blogspot的话，可以这样做：
要想继续访问，可以采用上次我介绍的方法：编辑WINDOWS\system32\drivers\etc\hosts 文件，然后加入72.14.219.190 xxx.blogspot.com ，其中xxx是你的用户名，即可访问到你自己的BlogSpot了。
——来自月光博客
如果是我的blog的话，就加入"72.14.219.190 kzy-prism.blogspot.com"（不含引号）就OK了。
还有就是可以用Tor，反正在Linux下Tor是比较快的，Windows下应该也不错吧。:)
]]></description>
			<content:encoded><![CDATA[<p>今天在月光上惊奇的发现，blogspot又不能访问了！GFW还真是有耐心，不说什么了，希望Google的公关做得好一些。<br />
要想上blogspot的话，可以这样做：</p>
<blockquote><p>要想继续访问，可以采用<a href="http://www.williamlong.info/archives/672.html" set="yes" target="_blank">上次我介绍的方法</a>：编辑WINDOWS\system32\drivers\etc\hosts 文件，然后加入72.14.219.190 xxx.blogspot.com ，其中xxx是你的用户名，即可访问到你自己的BlogSpot了。</p></blockquote>
<p style="text-align: right">——来自月光博客</p>
<p style="text-align: left">如果是我的blog的话，就加入"72.14.219.190 kzy-prism.blogspot.com"（不含引号）就OK了。</p>
<p style="text-align: left">还有就是可以用Tor，反正在Linux下Tor是比较快的，Windows下应该也不错吧。:)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.leafduo.com/00/blogspot-block-3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Distro Timeline 1991-2006</title>
		<link>http://blog.leafduo.com/00/linux-distro-timeline-1991-2006</link>
		<comments>http://blog.leafduo.com/00/linux-distro-timeline-1991-2006#comments</comments>
		<pubDate>Mon, 18 Dec 2006 14:25:00 +0000</pubDate>
		<dc:creator>Leaf Duo</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://leafduo.com/blog/?p=61</guid>
		<description><![CDATA[点击放大原图来自http://httwww.kde-look.org/content/files/44218-linuxdistrotimeline-6.9.png
了解一下Linux的历史，呵呵。
]]></description>
			<content:encoded><![CDATA[<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_yba6sgaqsTU/RYalfTPA82I/AAAAAAAAAAY/KZKCFHpQWRQ/s1600-h/44218-linuxdistrotimeline-6.9.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_yba6sgaqsTU/RYalfTPA82I/AAAAAAAAAAY/KZKCFHpQWRQ/s400/44218-linuxdistrotimeline-6.9.png" alt="" id="BLOGGER_PHOTO_ID_5009873592654033762" border="0" /></a><br />点击放大<br />原图来自<a href="http://httwww.kde-look.org/content/files/44218-linuxdistrotimeline-6.9.png">http://httwww.kde-look.org/content/files/44218-linuxdistrotimeline-6.9.png</a></p>
<p>了解一下Linux的历史，呵呵。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.leafduo.com/00/linux-distro-timeline-1991-2006/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ten reasons why every programmer should learn C</title>
		<link>http://blog.leafduo.com/00/ten-reasons-why-every-programmer-should-learn-c</link>
		<comments>http://blog.leafduo.com/00/ten-reasons-why-every-programmer-should-learn-c#comments</comments>
		<pubDate>Mon, 27 Nov 2006 13:45:00 +0000</pubDate>
		<dc:creator>Leaf Duo</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[reference]]></category>

		<guid isPermaLink="false">http://leafduo.com/blog/?p=58</guid>
		<description><![CDATA[每个程序员都应该学习C的十个理由引自：http://www.jubling.com/ten-reasons-why-every-programmer-should-learn-c.htmlEvery programmer should learn C during their programming career. Its benefits are to numerous to ignore. Not only will it open many more job opportunities, but it will teach you more about computers as a whole.
1) C is lower level then other programming languages (C++, Java). Programming at a lower level allows you to further [...]]]></description>
			<content:encoded><![CDATA[<p>每个程序员都应该学习C的十个理由<br /><a href="http://www.jubling.com/ten-reasons-why-every-programmer-should-learn-c.html">引自：http://www.jubling.com/ten-reasons-why-every-programmer-should-learn-c.html</a><br />Every programmer should learn C during their programming career. Its benefits are to numerous to ignore. Not only will it open many more job opportunities, but it will teach you more about computers as a whole.</p>
<p>1) C is lower level then other programming languages (C++, Java). Programming at a lower level allows you to further your understanding of computers, as a whole.</p>
<p>2) Device drivers and operating systems are written exclusively in C. Now, you may never write a device driver or an operating system, but what if you are ever required to modify one?</p>
<p>3) What if you ever want to get a job programming microcontrollers? They are programmed in C. Are you going to limit your possible list of jobs because you didn't want to learn a new language?</p>
<p>4) C programs are smaller and faster then any other program created in a different language. Sometimes your program needs that speed boost that only C can give it.</p>
<p>5) If you have learned C, you can learn any modern programming language. The reason behind this is that all modern programming languages are based on C (Java, C++, C#, etc).</p>
<p>6) Because C has been around for many years, it has a large community and collective code base. This allows you to quickly and efficiently implement new algorithms or functions that have been programmed before.</p>
<p>7) C is the language of the Open Source community. The Open Source poster child, Linux, was coded in C. If you know C, you can participate in and contribute to numerous Open Source communities like <a href="http://www.sourceforge.net/">Source Forge</a>.   </p>
<p> <img src='http://blog.leafduo.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> C is the only language that teaches you what pointers really are. C# and Java skip the subject completely. It is pointers that give C its power.</p>
<p>   9) C is still the most commonly required language for programming jobs. It is well worth your time to get C under your belt.   </p>
<p>   10) Anything that has a microprocessor in it has support for C. From your microwave to your cell phone, C powers technology.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.leafduo.com/00/ten-reasons-why-every-programmer-should-learn-c/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
