<?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>易水博客</title>
	<atom:link href="http://easwy.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://easwy.com/blog</link>
	<description>关注Linux, Scala, Android, Java, 开源软件和嵌入式系统</description>
	<lastBuildDate>Tue, 31 Jan 2012 02:58:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WP-PostURL 2.1.0发布</title>
		<link>http://easwy.com/blog/archives/add-post-url-2-1-0-published/</link>
		<comments>http://easwy.com/blog/archives/add-post-url-2-1-0-published/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 02:48:09 +0000</pubDate>
		<dc:creator>Easwy</dc:creator>
				<category><![CDATA[建站手记]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://easwy.com/blog/?p=1144</guid>
		<description><![CDATA[WP-PostURL插件2.1.0正式发布，欢迎大家使用。2.x系列版本主要增加了一个新功能，允许用户针对单篇文章进行控制，决定哪篇文章显示/不显示Header及Footer文本。这一功能在转载文章会比较有用。<div class="fixed"></div><div id="related_posts"><h3  class="related_post_title">相关文章</h3><ul class="related_post">
<li><a href='http://easwy.com/blog/archives/wp-posturl-release-1-1-is-published/' rel='bookmark' title='WP-PostURL 1.1发布：在文章尾部增加版本声明和站点/文章链接'>WP-PostURL 1.1发布：在文章尾部增加版本声明和站点/文章链接</a></li>
<li><a href='http://easwy.com/blog/archives/fix_short_meta_descriptions/' rel='bookmark' title='解决Google中短的元说明问题'>解决Google中短的元说明问题</a></li>
<li><a href='http://easwy.com/blog/archives/select-permalinks-structure/' rel='bookmark' title='如何设置博客的永久链接最好'>如何设置博客的永久链接最好</a></li>
</div><div class="fixed"></div>]]></description>
			<content:encoded><![CDATA[<p>
  WP-PostURL插件2.1.0正式发布，欢迎大家使用。2.x系列版本主要增加了一个新功能，允许用户针对单篇文章进行控制，决定哪篇文章显示/不显示Header及Footer文本。这一功能在转载文章会比较有用。你在新建或编辑文章时，会看到“是否添加链接？”选项，设置此选项为“是”，则为此篇文章添加Header及Footer文本；反之，则不显示。这个选项会为你的文章增加一个名为”posturl_add_url”的自定义字段，其值是”yes”或”no”。
</p>
<p>
  对那些以前发表的文章，由于没有这个自定义字段，所以在2.1.0版本新增了一个名为“给以前发表的文章添加自定义文本”的选项。如果你选中此选项，那么所有未定义”posturl_add_url”字段的文章，都会显示Header/Footer文本。如果你不想为其中的某些文章显示Header/Footer文本，你需要手动设置一下这些文章的“是否添加链接？”选项。如果你没有选中“给以前发表的文章添加自定义文本”选项，那么没有”posturl_add_url”的自定义字段的文章，都不会显示Header/Footer，如果你想用其中的某些文章显示，也需要手动设置一下该文章的“是否添加链接？”选项。
</p>
<p>
  由于WordPress在最近的修改中，<a href="http://wpdevel.wordpress.com/2010/10/27/plugin-activation-hooks-no-longer-fire-for-updates/">升级插件时不再调用Activation Hook</a>，导致整个2.0.x版本中，“给以前发表的文章添加自定义文本”这一选项的值未设定，这也是很多人升级后发现链接显示不出来的原因。如果你遇到了这个问题，请尽快升级到最新的2.1.0版本。另外一个解决办法是，你可以先停用“添加文章链接”插件，然后再次手动激活；或者直接修改插件的配置，选中“给以前发表的文章添加自定义文本”选项(在2.0和2.0.1中，这一选项的名称为“缺省添加文章链接”)。
</p>
<p>
  如果大家还有什么新的需求，请在<a href="http://easwy.com/blog/wordpress/wp-posturl/">Add Post URL插件</a>主页上留言。如果在使用中有什么疑惑，也请留言。
</p>
<p>
  有兴趣大家可以阅读一下这两篇文章，<a href="http://www.superforever.com/html/y2011/347.html">充分发挥Add Post URL的强大功能</a>这篇文章介绍了如何用Add Post URL插件来为你的文章添加一个订阅地址，<a href="http://blog.sina.com.cn/s/blog_65a259330100ixkw.html">利用WP-PostURL插件对博客添加多语言支持</a>则巧用Add Port URL插件，利用Google的在线翻译，为文章添加多种语言的支持。
</p>
<p>
  另外，对大家帮助推广WP-PostURL插件表示感谢，希望大家喜欢这个插件。
</p>
<p>
  顺祝大家新年快乐，龙年吉祥！
</p>
<div class="posturl">
<p><span class="bold"><strong>原创文章，请阅读页脚的<a href="#license">许可方式</a>，转载请注明：</strong></span>转载自<a class="link" href="http://easwy.com/blog/" target="_top">易水博客</a> [ <a class="link" href="http://easwy.com/blog/" target="_top">http://easwy.com/blog/</a> ]</p>
<p><span class="bold"><strong>本文链接地址:</strong></span> <a class="link" href="http://easwy.com/blog/archives/add-post-url-2-1-0-published/" target="_top">http://easwy.com/blog/archives/add-post-url-2-1-0-published/</a></p>
</div>
<p style="margin-top: 0; margin-bottom: 15px; color: #888888; font-size: 80%; font-style: italic">文章的脚注信息由WordPress的<a href="http://easwy.com/blog/wordpress/wp-posturl/" style="color: #8888FF; text-decoration: underline;">wp-posturl插件</a>自动生成</p>
<div class="fixed"></div><div id="related_posts"><h3  class="related_post_title">相关文章</h3><ul class="related_post">
<li><a href='http://easwy.com/blog/archives/wp-posturl-release-1-1-is-published/' rel='bookmark' title='WP-PostURL 1.1发布：在文章尾部增加版本声明和站点/文章链接'>WP-PostURL 1.1发布：在文章尾部增加版本声明和站点/文章链接</a></li>
<li><a href='http://easwy.com/blog/archives/fix_short_meta_descriptions/' rel='bookmark' title='解决Google中短的元说明问题'>解决Google中短的元说明问题</a></li>
<li><a href='http://easwy.com/blog/archives/select-permalinks-structure/' rel='bookmark' title='如何设置博客的永久链接最好'>如何设置博客的永久链接最好</a></li>
</div><div class="fixed"></div>]]></content:encoded>
			<wfw:commentRss>http://easwy.com/blog/archives/add-post-url-2-1-0-published/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Linux上使用adb访问魅族M9手机</title>
		<link>http://easwy.com/blog/archives/connect-meizu-m9-to-linux/</link>
		<comments>http://easwy.com/blog/archives/connect-meizu-m9-to-linux/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 07:06:46 +0000</pubDate>
		<dc:creator>Easwy</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[m9]]></category>

		<guid isPermaLink="false">http://easwy.com/blog/?p=1125</guid>
		<description><![CDATA[<p>
    在windows上通过adb访问M9很简单，WinXP用户到<a class="ulink" href="http://www.meizu.com/services/M9.html" target="_top">魅族 M9 产品支持 </a>下载USB驱动，安装后就可以通过adb访问M9了。似乎Win 7能直接识别M9，不需要手动安装驱动。
  </p>
  <p>
    要在Linux上访问魅族M9手机，并不需要安装驱动，不过需要设置一下udev。以root身份增加一个文件<span class="emphasis"><em>/etc/udev/rules.d/51-android.rules</em></span>，内容如下:<div class="fixed"></div><div id="related_posts"><h3  class="related_post_title">相关文章</h3><ul class="related_post">
<li><a href='http://easwy.com/blog/archives/set-file-directory-attribute-for-linux-samba/' rel='bookmark' title='Linux使用笔记: 设置Samba服务器中新建文件/目录的权限'>Linux使用笔记: 设置Samba服务器中新建文件/目录的权限</a></li>
<li><a href='http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-04-11-2/' rel='bookmark' title='Easwy的Twitter微博(2010-04-11)'>Easwy的Twitter微博(2010-04-11)</a></li>
<li><a href='http://easwy.com/blog/archives/compile-android-gingerbread-2-3-1/' rel='bookmark' title='在Ubuntu上编译Android Gingerbread 2.3.1'>在Ubuntu上编译Android Gingerbread 2.3.1</a></li>
</div><div class="fixed"></div>]]></description>
			<content:encoded><![CDATA[<p>
    在windows上通过adb访问M9很简单，WinXP用户到<a class="ulink" href="http://www.meizu.com/services/M9.html" target="_top">魅族 M9 产品支持 </a>下载USB驱动，安装后就可以通过adb访问M9了。似乎Win 7能直接识别M9，不需要手动安装驱动。
  </p>
<p>
    要在Linux上访问魅族M9手机，并不需要安装驱动，不过需要设置一下udev。以root身份增加一个文件<span class="emphasis"><em>/etc/udev/rules.d/51-android.rules</em></span>，内容如下：
  </p>
<pre class="programlisting">
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="18d1", MODE="0666" </pre>
<p>
    这个文件需要对所有用户可读，执行一下下面的命令：
  </p>
<pre class="programlisting">
chmod a+r /etc/udev/rules.d/51-android.rules</pre>
<p>
    然后就可以通过USB线把M9手机连接到Linux，通过adb可以检测到M9：
  </p>
<pre class="programlisting">
$ platform-tools&gt; ./adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
M9W1B00AKAP5NU1064	device</pre>
<p>
    这种方法在Ubuntu 10.04及Centos 5.3上都可以正常工作，不过似乎是第一句在Ubuntu中生效，第二句在CentOS中生效。我比较奇怪的一点是，18d1是Google公司的USB vendor ID，为什么魅族不用自己的vendor ID呢？
  </p>
<p>
    更多文章，请访问<a class="ulink" href="http://easwy.com/blog/" target="_top">易水博客</a>。</p>
<p><span class="bold"><strong>[ 参考文档 ]</strong></span></p>
<div class="itemizedlist">
<ul class="itemizedlist" type="disc">
<li class="listitem">
      <a class="ulink" href="http://developer.android.com/guide/developing/device.html" target="_top">Developing on a Device</a>
    </li>
<li class="listitem">
      <a class="ulink" href="http://www.linux-usb.org/usb.ids" target="_top">List of USB ID&#8217;s</a>
    </li>
</ul>
</div>
<div class="posturl">
<p><span class="bold"><strong>原创文章，请阅读页脚的<a href="#license">许可方式</a>，转载请注明：</strong></span>转载自<a class="link" href="http://easwy.com/blog/" target="_top">易水博客</a> [ <a class="link" href="http://easwy.com/blog/" target="_top">http://easwy.com/blog/</a> ]</p>
<p><span class="bold"><strong>本文链接地址:</strong></span> <a class="link" href="http://easwy.com/blog/archives/connect-meizu-m9-to-linux/" target="_top">http://easwy.com/blog/archives/connect-meizu-m9-to-linux/</a></p>
</div>
<p style="margin-top: 0; margin-bottom: 15px; color: #888888; font-size: 80%; font-style: italic">文章的脚注信息由WordPress的<a href="http://easwy.com/blog/wordpress/wp-posturl/" style="color: #8888FF; text-decoration: underline;">wp-posturl插件</a>自动生成</p>
<div class="fixed"></div><div id="related_posts"><h3  class="related_post_title">相关文章</h3><ul class="related_post">
<li><a href='http://easwy.com/blog/archives/set-file-directory-attribute-for-linux-samba/' rel='bookmark' title='Linux使用笔记: 设置Samba服务器中新建文件/目录的权限'>Linux使用笔记: 设置Samba服务器中新建文件/目录的权限</a></li>
<li><a href='http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-04-11-2/' rel='bookmark' title='Easwy的Twitter微博(2010-04-11)'>Easwy的Twitter微博(2010-04-11)</a></li>
<li><a href='http://easwy.com/blog/archives/compile-android-gingerbread-2-3-1/' rel='bookmark' title='在Ubuntu上编译Android Gingerbread 2.3.1'>在Ubuntu上编译Android Gingerbread 2.3.1</a></li>
</div><div class="fixed"></div>]]></content:encoded>
			<wfw:commentRss>http://easwy.com/blog/archives/connect-meizu-m9-to-linux/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Easwy的网摘(2010-11-18)</title>
		<link>http://easwy.com/blog/archives/bookmark-of-delicious-2010-11-18/</link>
		<comments>http://easwy.com/blog/archives/bookmark-of-delicious-2010-11-18/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 01:33:18 +0000</pubDate>
		<dc:creator>Easwy</dc:creator>
				<category><![CDATA[网络书签]]></category>
		<category><![CDATA[delicious]]></category>

		<guid isPermaLink="false">http://easwy.com/blog/?p=1097</guid>
		<description><![CDATA[<p>本文是Easwy的网摘(2010-11-18)，根据<a href="http://delicious.com/easwy">Delicious</a>中的收藏自动生成。</p>
<div class="fixed"></div><div id="related_posts"><h3  class="related_post_title">相关文章</h3><ul class="related_post">
<li><a href='http://easwy.com/blog/archives/compile-android-gingerbread-2-3-1/' rel='bookmark' title='在Ubuntu上编译Android Gingerbread 2.3.1'>在Ubuntu上编译Android Gingerbread 2.3.1</a></li>
<li><a href='http://easwy.com/blog/archives/samsungs-first-android-handset-revealed/' rel='bookmark' title='三星发布首款Android手机'>三星发布首款Android手机</a></li>
<li><a href='http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-03-14-2/' rel='bookmark' title='Easwy的Twitter微博(2010-03-14)'>Easwy的Twitter微博(2010-03-14)</a></li>
</div><div class="fixed"></div>]]></description>
			<content:encoded><![CDATA[<p>本文是Easwy的网摘(2010-11-18)，根据<a href="http://delicious.com/easwy">Delicious</a>中的收藏自动生成：</p>
<ul class="delicious">
<li  class="delicious"><a href="http://feeds.delicious.com/v2/rss/easwy" rel="nofollow">500 Internal Server Error</a>
<p>&nbsp;&nbsp;&nbsp;500 Internal Server Error</p>
</li>
<li  class="delicious"><a href="http://feeds.delicious.com/v2/rss/easwy" rel="nofollow">500 Internal Server Error</a>
<p>&nbsp;&nbsp;&nbsp;500 Internal Server Error</p>
</li>
<li  class="delicious"><a href="https://wiki.ubuntu.com/Backtrace" rel="nofollow">Backtrace</a>
<p>&nbsp;&nbsp;&nbsp;里面有一些GDB的使用技巧</p>
</li>
<li  class="delicious"><a href="http://forum.xda-developers.com/showthread.php?t=619153" rel="nofollow">[Newbie Guide] adb/fastboot/bootloader/android 101</a>
<p>&nbsp;&nbsp;&nbsp;关于android中adb/fastboot/bootloader的入门贴</p>
</li>
<li  class="delicious"><a href="http://www.gotontheinter.net/content/fastboot-cheat-sheet" rel="nofollow">Fastboot Cheat Sheet</a>
<p>&nbsp;&nbsp;&nbsp;Android的Fastboot模式，包含G1的分区</p>
</li>
<li  class="delicious"><a href="http://android-dls.com/wiki/index.php?title=Fastboot" rel="nofollow">Fastboot</a>
<p>&nbsp;&nbsp;&nbsp;关于Android的Fastboot模式</p>
</li>
<li  class="delicious"><a href="http://feeds.delicious.com/v2/rss/easwy" rel="nofollow">500 Internal Server Error</a>
<p>&nbsp;&nbsp;&nbsp;500 Internal Server Error</p>
</li>
<li  class="delicious"><a href="http://feeds.delicious.com/v2/rss/easwy" rel="nofollow">500 Internal Server Error</a>
<p>&nbsp;&nbsp;&nbsp;500 Internal Server Error</p>
</li>
<li  class="delicious"><a href="http://www.cocoachina.com/bbs/read.php?tid-44021.html" rel="nofollow">新年感言9－大众与小众</a>
<p>&nbsp;&nbsp;&nbsp;一个iphone开发者的感言，值得一读</p>
</li>
<li  class="delicious"><a href="http://feeds.delicious.com/v2/rss/easwy" rel="nofollow">500 Internal Server Error</a>
<p>&nbsp;&nbsp;&nbsp;500 Internal Server Error</p>
</li>
<li  class="delicious"><a href="http://feeds.delicious.com/v2/rss/easwy" rel="nofollow">500 Internal Server Error</a>
<p>&nbsp;&nbsp;&nbsp;500 Internal Server Error</p>
</li>
<li  class="delicious"><a href="http://feeds.delicious.com/v2/rss/easwy" rel="nofollow">500 Internal Server Error</a>
<p>&nbsp;&nbsp;&nbsp;500 Internal Server Error</p>
</li>
<li  class="delicious"><a href="http://hi.baidu.com/yulanding/blog/item/71ccaa3d67fc71ce7d1e71d8.html" rel="nofollow">系统管理：update-alternatives</a>
<p>&nbsp;&nbsp;&nbsp;介绍如何使用Debian/Ubuntu中的update-alternative程序</p>
</li>
<li  class="delicious"><a href="http://www.webdesignerdepot.com/" rel="nofollow">Web Design Blog &#8211; Webdesigner Depot</a>
<p>&nbsp;&nbsp;&nbsp;web设计网站，有很多非常好的文章</p>
</li>
<li  class="delicious"><a href="http://www.thinkwiki.org/wiki/Category:T400" rel="nofollow">Category:T400 &#8211; ThinkWiki</a>
<p>&nbsp;&nbsp;&nbsp;Thinkwiki上关于Thinkpad T400的资源</p>
</li>
<li  class="delicious"><a href="http://www.thinkwiki.org/wiki/Maintenance#Battery_treatment" rel="nofollow">Maintenance &#8211; ThinkWiki</a>
<p>&nbsp;&nbsp;&nbsp;如何维护Thinkpad的电池</p>
</li>
<li  class="delicious"><a href="http://progit.org/book/" rel="nofollow">Pro Git &#8211; Table of Contents</a>
<p>&nbsp;&nbsp;&nbsp;一本git的书，有中文版本。使用git必读</p>
</li>
<li  class="delicious"><a href="http://www.thinkwiki.org/wiki/Tp_smapi" rel="nofollow">Tp smapi &#8211; ThinkWiki</a>
<p>&nbsp;&nbsp;&nbsp;How to manage battery of Thinkpad in Linux</p>
</li>
<li  class="delicious"><a href="http://www.androidenea.com/2009/06/android-boot-process-from-power-on.html" rel="nofollow">The Android boot process from power on</a>
<p>&nbsp;&nbsp;&nbsp;介绍android启动的过程</p>
</li>
<li  class="delicious"><a href="http://forum.xda-developers.com/showthread.php?t=736271" rel="nofollow">[Tutorial] Root Without Unlocking</a>
<p>&nbsp;&nbsp;&nbsp;介绍如何获得android的root权限，利用了漏洞</p>
</li>
<li  class="delicious"><a href="http://feeds.delicious.com/v2/rss/easwy" rel="nofollow">500 Internal Server Error</a>
<p>&nbsp;&nbsp;&nbsp;500 Internal Server Error</p>
</li>
<li  class="delicious"><a href="https://github.com/CyanogenMod" rel="nofollow">CyanogenMod&#8217;s Profile &#8211; GitHub</a>
<p>&nbsp;&nbsp;&nbsp;CyanogenMod项目代码库</p>
</li>
<li  class="delicious"><a href="http://forum.xda-developers.com/" rel="nofollow">xda-developers</a>
<p>&nbsp;&nbsp;&nbsp;xda开发者论坛</p>
</li>
<li  class="delicious"><a href="http://www.cyanogenmod.com/" rel="nofollow">CyanogenMod | Android Community Rom based on FroYo.</a>
<p>&nbsp;&nbsp;&nbsp;CyanogenMod是一个第三方的Android ROM</p>
</li>
<li  class="delicious"><a href="http://feeds.delicious.com/v2/rss/easwy" rel="nofollow">500 Internal Server Error</a>
<p>&nbsp;&nbsp;&nbsp;500 Internal Server Error</p>
</li>
<li  class="delicious"><a href="http://blog.csdn.net/DL88250/archive/2010/01/14/5191092.aspx" rel="nofollow">了解 NoSQL 的必读资料</a>
<p>&nbsp;&nbsp;&nbsp;该文列出了学习NoSQL技术的一些资料</p>
</li>
<li  class="delicious"><a href="http://feeds.delicious.com/v2/rss/easwy" rel="nofollow">500 Internal Server Error</a>
<p>&nbsp;&nbsp;&nbsp;500 Internal Server Error</p>
</li>
<li  class="delicious"><a href="http://net.tutsplus.com/tutorials/site-builds/from-psd-to-html-building-a-set-of-website-designs-step-by-step/" rel="nofollow">From PSD to HTML: Building a Set of Website Designs Step by Step</a>
<p>&nbsp;&nbsp;&nbsp;网页设计过程实例</p>
</li>
<li  class="delicious"><a href="http://24ways.org/" rel="nofollow">24 ways &#8211; web design and development articles and tutorials for advent</a>
<p>&nbsp;&nbsp;&nbsp;WEB前端设计相关的文章</p>
</li>
<li  class="delicious"><a href="http://feeds.delicious.com/v2/rss/easwy" rel="nofollow">500 Internal Server Error</a>
<p>&nbsp;&nbsp;&nbsp;500 Internal Server Error</p>
</li>
<li  class="delicious"><a href="http://jonasboner.com/2008/10/01/real-world-scala-introduction.html" rel="nofollow">Real-World Scala: Introduction</a>
<p>&nbsp;&nbsp;&nbsp;在实际项目中使用scala的经验总结</p>
</li>
<li  class="delicious"><a href="http://calon.weblogs.us/vim_sucha_shouce/" rel="nofollow">滯銷書 &raquo; Blog Archive &raquo; Vim 速查手册</a>
<p>&nbsp;&nbsp;&nbsp;以图形的方式组织的vim命令速查手册，vi初学者可以看看</p>
</li>
<li  class="delicious"><a href="http://feeds.delicious.com/v2/rss/easwy" rel="nofollow">500 Internal Server Error</a>
<p>&nbsp;&nbsp;&nbsp;500 Internal Server Error</p>
</li>
<li  class="delicious"><a href="http://feeds.delicious.com/v2/rss/easwy" rel="nofollow">500 Internal Server Error</a>
<p>&nbsp;&nbsp;&nbsp;500 Internal Server Error</p>
</li>
<li  class="delicious"><a href="http://feeds.delicious.com/v2/rss/easwy" rel="nofollow">500 Internal Server Error</a>
<p>&nbsp;&nbsp;&nbsp;500 Internal Server Error</p>
</li>
</ul>
<div class="posturl">
<p><span class="bold"><strong>原创文章，请阅读页脚的<a href="#license">许可方式</a>，转载请注明：</strong></span>转载自<a class="link" href="http://easwy.com/blog/" target="_top">易水博客</a> [ <a class="link" href="http://easwy.com/blog/" target="_top">http://easwy.com/blog/</a> ]</p>
<p><span class="bold"><strong>本文链接地址:</strong></span> <a class="link" href="http://easwy.com/blog/archives/bookmark-of-delicious-2010-11-18/" target="_top">http://easwy.com/blog/archives/bookmark-of-delicious-2010-11-18/</a></p>
</div>
<p style="margin-top: 0; margin-bottom: 15px; color: #888888; font-size: 80%; font-style: italic">文章的脚注信息由WordPress的<a href="http://easwy.com/blog/wordpress/wp-posturl/" style="color: #8888FF; text-decoration: underline;">wp-posturl插件</a>自动生成</p>
<div class="fixed"></div><div id="related_posts"><h3  class="related_post_title">相关文章</h3><ul class="related_post">
<li><a href='http://easwy.com/blog/archives/compile-android-gingerbread-2-3-1/' rel='bookmark' title='在Ubuntu上编译Android Gingerbread 2.3.1'>在Ubuntu上编译Android Gingerbread 2.3.1</a></li>
<li><a href='http://easwy.com/blog/archives/samsungs-first-android-handset-revealed/' rel='bookmark' title='三星发布首款Android手机'>三星发布首款Android手机</a></li>
<li><a href='http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-03-14-2/' rel='bookmark' title='Easwy的Twitter微博(2010-03-14)'>Easwy的Twitter微博(2010-03-14)</a></li>
</div><div class="fixed"></div>]]></content:encoded>
			<wfw:commentRss>http://easwy.com/blog/archives/bookmark-of-delicious-2010-11-18/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easwy的Twitter微博(2011-01-23)</title>
		<link>http://easwy.com/blog/archives/easwy-twitter-2011-01-23/</link>
		<comments>http://easwy.com/blog/archives/easwy-twitter-2011-01-23/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 01:31:07 +0000</pubDate>
		<dc:creator>Easwy</dc:creator>
				<category><![CDATA[网络微博]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://easwy.com/blog/?p=1123</guid>
		<description><![CDATA[[m9] 拿到m9了。总体感觉不错，不过软件的使用感受要比iphone差。似乎没有充分利用触摸屏的优势，很多操作还需要按屏幕下方的菜单键，其实可以做的更简单易用的。 # [生活] m9还没到手。同事比我早预定两天，已经拿到了。他玩了两天后告诉我，&#34;m9没买错，网上说的问题都没出。&#34; 好吧，继续等m9！ # 貌似配置的有问题，同步失败&#8230;.debuging # 设置了#tw2other程序同步twitter到新浪围脖，发一条tweet测试一下 :) # 原创文章，请阅读页脚的许可方式，转载请注明：转载自易水博客 [ http://easwy.com/blog/ ] 本文链接地址: http://easwy.com/blog/archives/easwy-twitter-2011-01-23/ 文章的脚注信息由WordPress的wp-posturl插件自动生成 相关文章 Easwy的Twitter微博(2011-01-02) 在文章末尾添加版本声明和文章的链接 Easwy的Twitter微博(2010-09-05)<div class="fixed"></div><div id="related_posts"><h3  class="related_post_title">相关文章</h3><ul class="related_post">
<li><a href='http://easwy.com/blog/archives/easwy-twitter-tweets-2011-01-02/' rel='bookmark' title='Easwy的Twitter微博(2011-01-02)'>Easwy的Twitter微博(2011-01-02)</a></li>
<li><a href='http://easwy.com/blog/archives/add_post_copyright_url/' rel='bookmark' title='在文章末尾添加版本声明和文章的链接'>在文章末尾添加版本声明和文章的链接</a></li>
<li><a href='http://easwy.com/blog/archives/easwy-twitter-2010-09-05/' rel='bookmark' title='Easwy的Twitter微博(2010-09-05)'>Easwy的Twitter微博(2010-09-05)</a></li>
</div><div class="fixed"></div>]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>[m9] 拿到m9了。总体感觉不错，不过软件的使用感受要比iphone差。似乎没有充分利用触摸屏的优势，很多操作还需要按屏幕下方的菜单键，其实可以做的更简单易用的。 <a href="http://twitter.com/Easwy/statuses/28358983341314049" class="aktt_tweet_time">#</a></li>
<li>[生活] m9还没到手。同事比我早预定两天，已经拿到了。他玩了两天后告诉我，&quot;m9没买错，网上说的问题都没出。&quot; 好吧，继续等m9！ <a href="http://twitter.com/Easwy/statuses/28287308088217600" class="aktt_tweet_time">#</a></li>
<li>貌似配置的有问题，同步失败&#8230;.debuging <a href="http://twitter.com/Easwy/statuses/23569007160328192" class="aktt_tweet_time">#</a></li>
<li>设置了#tw2other程序同步twitter到新浪围脖，发一条tweet测试一下 :) <a href="http://twitter.com/Easwy/statuses/23566704982360065" class="aktt_tweet_time">#</a></li>
</ul>
<div class="posturl">
<p><span class="bold"><strong>原创文章，请阅读页脚的<a href="#license">许可方式</a>，转载请注明：</strong></span>转载自<a class="link" href="http://easwy.com/blog/" target="_top">易水博客</a> [ <a class="link" href="http://easwy.com/blog/" target="_top">http://easwy.com/blog/</a> ]</p>
<p><span class="bold"><strong>本文链接地址:</strong></span> <a class="link" href="http://easwy.com/blog/archives/easwy-twitter-2011-01-23/" target="_top">http://easwy.com/blog/archives/easwy-twitter-2011-01-23/</a></p>
</div>
<p style="margin-top: 0; margin-bottom: 15px; color: #888888; font-size: 80%; font-style: italic">文章的脚注信息由WordPress的<a href="http://easwy.com/blog/wordpress/wp-posturl/" style="color: #8888FF; text-decoration: underline;">wp-posturl插件</a>自动生成</p>
<div class="fixed"></div><div id="related_posts"><h3  class="related_post_title">相关文章</h3><ul class="related_post">
<li><a href='http://easwy.com/blog/archives/easwy-twitter-tweets-2011-01-02/' rel='bookmark' title='Easwy的Twitter微博(2011-01-02)'>Easwy的Twitter微博(2011-01-02)</a></li>
<li><a href='http://easwy.com/blog/archives/add_post_copyright_url/' rel='bookmark' title='在文章末尾添加版本声明和文章的链接'>在文章末尾添加版本声明和文章的链接</a></li>
<li><a href='http://easwy.com/blog/archives/easwy-twitter-2010-09-05/' rel='bookmark' title='Easwy的Twitter微博(2010-09-05)'>Easwy的Twitter微博(2010-09-05)</a></li>
</div><div class="fixed"></div>]]></content:encoded>
			<wfw:commentRss>http://easwy.com/blog/archives/easwy-twitter-2011-01-23/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easwy的Twitter微博(2011-01-02)</title>
		<link>http://easwy.com/blog/archives/easwy-twitter-tweets-2011-01-02/</link>
		<comments>http://easwy.com/blog/archives/easwy-twitter-tweets-2011-01-02/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 01:46:31 +0000</pubDate>
		<dc:creator>Easwy</dc:creator>
				<category><![CDATA[网络微博]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://easwy.com/blog/?p=1117</guid>
		<description><![CDATA[[生活] 魅9卖的真是火爆，早上收到魅族专卖店的信息，说第一批货已经售謦 :-( 好消息是如果第一批客户在1月5日后取货的话，可以加送一块原装电池 ^_^ # [生活] 收到魅族专卖站发来的短信，说魅9于一月一日正式发布&#8230;..希望魅9能不负众望！ # [Linux] 这篇文章介绍了Debian/Ubuntu中update-alternatives的用法：http://hi.baidu.com/yulanding/blog/item/71ccaa3d67fc71ce7d1e71d8.html # [网络]太好了，xMarks不会关闭服务了，之前还在考虑到底换用哪种书签同步服务呢 # [生活] 周末看了“让子弹飞”，找到一篇好影评 http://movie.douban.com/review/4534425/ # 刚才看到一个图形化的编程语言：KODU，专门用于游戏开发，似乎是微软开发的 http://fuse.microsoft.com/project/kodu.aspx 现在编程语言的发展正在逐渐降低开发门槛、提高编程效率 # 原创文章，请阅读页脚的许可方式，转载请注明：转载自易水博客 [ http://easwy.com/blog/ ] 本文链接地址: http://easwy.com/blog/archives/easwy-twitter-tweets-2011-01-02/ 文章的脚注信息由WordPress的wp-posturl插件自动生成 相关文章 Easwy的Twitter微博(2011-01-23) Easwy的Twitter微博(2010-03-04) Easwy的Twitter微博(2010-03-21)<div class="fixed"></div><div id="related_posts"><h3  class="related_post_title">相关文章</h3><ul class="related_post">
<li><a href='http://easwy.com/blog/archives/easwy-twitter-2011-01-23/' rel='bookmark' title='Easwy的Twitter微博(2011-01-23)'>Easwy的Twitter微博(2011-01-23)</a></li>
<li><a href='http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-03-04/' rel='bookmark' title='Easwy的Twitter微博(2010-03-04)'>Easwy的Twitter微博(2010-03-04)</a></li>
<li><a href='http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-03-21/' rel='bookmark' title='Easwy的Twitter微博(2010-03-21)'>Easwy的Twitter微博(2010-03-21)</a></li>
</div><div class="fixed"></div>]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>[生活] 魅9卖的真是火爆，早上收到魅族专卖店的信息，说第一批货已经售謦 :-( 好消息是如果第一批客户在1月5日后取货的话，可以加送一块原装电池 ^_^ <a href="http://twitter.com/Easwy/statuses/21392448408260608" class="aktt_tweet_time">#</a></li>
<li>[生活] 收到魅族专卖站发来的短信，说魅9于一月一日正式发布&#8230;..希望魅9能不负众望！ <a href="http://twitter.com/Easwy/statuses/20418369249349632" class="aktt_tweet_time">#</a></li>
<li>[Linux] 这篇文章介绍了Debian/Ubuntu中update-alternatives的用法：http://hi.baidu.com/yulanding/blog/item/71ccaa3d67fc71ce7d1e71d8.html <a href="http://twitter.com/Easwy/statuses/20286232403648512" class="aktt_tweet_time">#</a></li>
<li>[网络]太好了，xMarks不会关闭服务了，之前还在考虑到底换用哪种书签同步服务呢 <a href="http://twitter.com/Easwy/statuses/16682234039771136" class="aktt_tweet_time">#</a></li>
<li>[生活] 周末看了“让子弹飞”，找到一篇好影评 <a href="http://movie.douban.com/review/4534425/" rel="nofollow">http://movie.douban.com/review/4534425/</a> <a href="http://twitter.com/Easwy/statuses/16678881410949120" class="aktt_tweet_time">#</a></li>
<li>刚才看到一个图形化的编程语言：KODU，专门用于游戏开发，似乎是微软开发的 <a href="http://fuse.microsoft.com/project/kodu.aspx" rel="nofollow">http://fuse.microsoft.com/project/kodu.aspx</a> 现在编程语言的发展正在逐渐降低开发门槛、提高编程效率 <a href="http://twitter.com/Easwy/statuses/10151750619111424" class="aktt_tweet_time">#</a></li>
</ul>
<div class="posturl">
<p><span class="bold"><strong>原创文章，请阅读页脚的<a href="#license">许可方式</a>，转载请注明：</strong></span>转载自<a class="link" href="http://easwy.com/blog/" target="_top">易水博客</a> [ <a class="link" href="http://easwy.com/blog/" target="_top">http://easwy.com/blog/</a> ]</p>
<p><span class="bold"><strong>本文链接地址:</strong></span> <a class="link" href="http://easwy.com/blog/archives/easwy-twitter-tweets-2011-01-02/" target="_top">http://easwy.com/blog/archives/easwy-twitter-tweets-2011-01-02/</a></p>
</div>
<p style="margin-top: 0; margin-bottom: 15px; color: #888888; font-size: 80%; font-style: italic">文章的脚注信息由WordPress的<a href="http://easwy.com/blog/wordpress/wp-posturl/" style="color: #8888FF; text-decoration: underline;">wp-posturl插件</a>自动生成</p>
<div class="fixed"></div><div id="related_posts"><h3  class="related_post_title">相关文章</h3><ul class="related_post">
<li><a href='http://easwy.com/blog/archives/easwy-twitter-2011-01-23/' rel='bookmark' title='Easwy的Twitter微博(2011-01-23)'>Easwy的Twitter微博(2011-01-23)</a></li>
<li><a href='http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-03-04/' rel='bookmark' title='Easwy的Twitter微博(2010-03-04)'>Easwy的Twitter微博(2010-03-04)</a></li>
<li><a href='http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-03-21/' rel='bookmark' title='Easwy的Twitter微博(2010-03-21)'>Easwy的Twitter微博(2010-03-21)</a></li>
</div><div class="fixed"></div>]]></content:encoded>
			<wfw:commentRss>http://easwy.com/blog/archives/easwy-twitter-tweets-2011-01-02/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Ubuntu上编译Android Gingerbread 2.3.1</title>
		<link>http://easwy.com/blog/archives/compile-android-gingerbread-2-3-1/</link>
		<comments>http://easwy.com/blog/archives/compile-android-gingerbread-2-3-1/#comments</comments>
		<pubDate>Sat, 01 Jan 2011 16:57:46 +0000</pubDate>
		<dc:creator>Easwy</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[android]]></category>

		<guid isPermaLink="false">http://easwy.com/blog/?p=1115</guid>
		<description><![CDATA[前几天下载了Android 2.3.1的源代码并在Ubuntu 10.04(32位)上编译通过。这篇文章简要记录了下载、编译的过程。

关于搭建Android开发环境的文章已经有很多，本文只简要介绍一下，做为备忘。

[ 编译前的准备 ]

这一步安装获取源代码以及编译所需要的软件，使用如下命令：

 $ sudo aptitude install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev 

另外，参考别人编译Android 2.3的经验，安装了下列软件包：

$ sudo apt-get install lib64z1-dev libc6-dev-amd64 g++-multilib lib64stdc++6 

虽然Android官方网站上讲不支持Java 6，不过我使用Java 6也可以编译通过，所以在这里Easwy安装的是Java 6...<div class="fixed"></div><div id="related_posts"><h3  class="related_post_title">相关文章</h3><ul class="related_post">
<li><a href='http://easwy.com/blog/archives/samsungs-first-android-handset-revealed/' rel='bookmark' title='三星发布首款Android手机'>三星发布首款Android手机</a></li>
<li><a href='http://easwy.com/blog/archives/connect-meizu-m9-to-linux/' rel='bookmark' title='在Linux上使用adb访问魅族M9手机'>在Linux上使用adb访问魅族M9手机</a></li>
<li><a href='http://easwy.com/blog/archives/android-sdk-15-update-release/' rel='bookmark' title='Android SDK 1.5预览版发布'>Android SDK 1.5预览版发布</a></li>
</div><div class="fixed"></div>]]></description>
			<content:encoded><![CDATA[<p>
    前几天下载了Android 2.3.1的源代码并在Ubuntu 10.04(32位)上编译通过。这篇文章简要记录了下载、编译的过程。
  </p>
<p>
    关于搭建Android开发环境的文章已经有很多，本文只简要介绍一下，做为备忘。
  </p>
<p><span class="bold"><strong>[ 编译前的准备 ]</strong></span></p>
<p>
    这一步安装获取源代码以及编译所需要的软件，使用如下命令：
  </p>
<pre class="programlisting">
 $ sudo aptitude install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev </pre>
<p>
    另外，参考别人编译Android 2.3的经验，安装了下列软件包：
  </p>
<pre class="programlisting">
$ sudo apt-get install lib64z1-dev libc6-dev-amd64 g++-multilib lib64stdc++6 </pre>
<p>
    虽然Android官方网站上讲不支持Java 6，不过我使用Java 6也可以编译通过，所以在这里<a class="ulink" href="http://easwy.com/" target="_top">Easwy</a>安装的是Java 6。首先去掉<span class="emphasis"><em>/etc/apt/sources.list</em></span>中这两行的注释，使能Java 6源：
  </p>
<pre class="programlisting">
deb http://archive.canonical.com/ubuntu lucid partner
deb-src http://archive.canonical.com/ubuntu lucid partner </pre>
<p>
    然后安装Java 6 JDK：
  </p>
<pre class="programlisting">
$ sudo aptitude install sun-java6-jdk </pre>
<p>
    接下来下载<span class="command"><strong>repo</strong></span>工具，这是Google提供的一个Python脚本，方便管理多个Git版本库：
  </p>
<pre class="programlisting">
$ cd ~
$ mkdir bin
$ curl http://android.git.kernel.org/repo &gt;~/bin/repo
$ chmod a+x ~/bin/repo </pre>
<p>
    记得把<span class="command"><strong>repo</strong></span>加到你的路径中，方便以后使用。编辑<span class="emphasis"><em>~/.bashrc</em></span>，加入下面一行：
  </p>
<pre class="programlisting">
PATH=$PATH:~/bin
export PATH </pre>
<p>
    然后用命令<span class="command"><strong>. ~/.bashrc</strong></span>，以后就可以直接使用<span class="command"><strong>repo</strong></span>命令了。
  </p>
<p>
    接下来获取<a class="ulink" href="http://easwy.com/blog/archives/tag/android/" target="_top">Android</a> 2.3.1的源代码：
  </p>
<pre class="programlisting">
$ mkdir mydroid
$ cd mydroid
$ repo init -u git://android.git.kernel.org/platform/manifest.git -b android-2.3.1_r1
$ repo sync </pre>
<p> <span class="bold"><strong>[ 编译Android ]</strong></span></p>
<p>
    接下来开始编译：
  </p>
<pre class="programlisting">
$ make -j`grep '^processor' /proc/cpuinfo | wc -l` </pre>
<p>
    上面的命令中，<span class="emphasis"><em>-j</em></span>参数告诉make启动多个并行任务进行编译，在支持多核的CPU上能加快编译速度。如果你知道你CPU是几核的，可以直接把这部分替换成<span class="emphasis"><em>-j2</em></span>(双核)。
  </p>
<p>
    我在编译的过程中遇到下面的错误：
  </p>
<div class="blockquote">
<blockquote class="blockquote">
<p>************************************************************</p>
<p>You are attempting to build on a 32-bit system.</p>
<p>Only 64-bit build environments are supported beyond froyo/2.2.</p>
<p>************************************************************ </p>
</blockquote>
</div>
<p>
    这是因为在Makefile中检测了CPU的字长。我直接把<span class="emphasis"><em>build/core/main.mk</em></span>中下面的话注释掉：
  </p>
<pre class="programlisting">
#ifneq (64,$(findstring 64,$(build_arch)))
#$(warning ************************************************************)
#$(warning You are attempting to build on a 32-bit system.)
#$(warning Only 64-bit build environments are supported beyond froyo/2.2.)
#$(warning ************************************************************)
#$(error stop)
#endif </pre>
<p>
    接下来又遇到下面的错误：
  </p>
<div class="blockquote">
<blockquote class="blockquote">
<p>Docs droiddoc: out/target/common/docs/api-stubs</p>
<p>Could not load &#8216;clearsilver-jni&#8217;</p>
<p>java.library.path = out/host/linux-x86/lib</p>
<p>make: *** [out/target/common/docs/api-stubs-timestamp] Error 45</p>
<p>make: *** Waiting for unfinished jobs&#8230;.</p>
<p>Could not load &#8216;clearsilver-jni&#8217;</p>
<p>java.library.path = out/host/linux-x86/lib</p>
<p>make: *** [out/target/common/docs/doc-comment-check-timestamp] Error 45 </p>
</blockquote>
</div>
<p>
    这是由于clearsilver在编译时如果检测到使用Java JDK 6，就使用64位编译。要避开此错误，需要修改下面四个文件：
  </p>
<div class="itemizedlist">
<ul class="itemizedlist" type="disc">
<li class="listitem">
    external/clearsilver/cgi/Android.mk
    </li>
<li class="listitem">
    external/clearsilver/java-jni/Android.mk
    </li>
<li class="listitem">
    external/clearsilver/util/Android.mk
    </li>
<li class="listitem">
    external/clearsilver/cs/Android.mk
    </li>
</ul>
</div>
<p>    把这四个Makefile中的下列语句注掉即可：</p>
<pre class="programlisting">
# This forces a 64-bit build for Java6
# Comment by Easwy
# LOCAL_CFLAGS += -m64
# LOCAL_LDFLAGS += -m64 </pre>
<p>
    然后在<span class="emphasis"><em>external/clearsilver</em></span>目录中执行一下<span class="command"><strong>make clean</strong></span>，然后回到项目根目录，继续make即可。
  </p>
<p>
    当编译完成时，生成的image文件放在<span class="emphasis"><em>out/target/product/generic</em></span>目录中。
  </p>
<p>
    更多内容，请阅读<a class="ulink" href="http://easwy.com/blog/" target="_top">易水博客</a>上的其它文章。
  </p>
<p><span class="bold"><strong>[ 参考文档 ]</strong></span></p>
<div class="itemizedlist">
<ul class="itemizedlist" type="disc">
<li class="listitem">
      <a class="ulink" href="http://blog.csdn.net/tuhuolong/archive/2010/12/16/6079661.aspx" target="_top">Android 2.3编译</a>
    </li>
<li class="listitem">
      <a class="ulink" href="http://li53262182.blog.163.com/blog/static/128393387201092010418620/" target="_top">Could not load &#8216;clearsilver-jni&#8217; java</a>
    </li>
</ul>
</div>
<div class="posturl">
<p><span class="bold"><strong>原创文章，请阅读页脚的<a href="#license">许可方式</a>，转载请注明：</strong></span>转载自<a class="link" href="http://easwy.com/blog/" target="_top">易水博客</a> [ <a class="link" href="http://easwy.com/blog/" target="_top">http://easwy.com/blog/</a> ]</p>
<p><span class="bold"><strong>本文链接地址:</strong></span> <a class="link" href="http://easwy.com/blog/archives/compile-android-gingerbread-2-3-1/" target="_top">http://easwy.com/blog/archives/compile-android-gingerbread-2-3-1/</a></p>
</div>
<p style="margin-top: 0; margin-bottom: 15px; color: #888888; font-size: 80%; font-style: italic">文章的脚注信息由WordPress的<a href="http://easwy.com/blog/wordpress/wp-posturl/" style="color: #8888FF; text-decoration: underline;">wp-posturl插件</a>自动生成</p>
<div class="fixed"></div><div id="related_posts"><h3  class="related_post_title">相关文章</h3><ul class="related_post">
<li><a href='http://easwy.com/blog/archives/samsungs-first-android-handset-revealed/' rel='bookmark' title='三星发布首款Android手机'>三星发布首款Android手机</a></li>
<li><a href='http://easwy.com/blog/archives/connect-meizu-m9-to-linux/' rel='bookmark' title='在Linux上使用adb访问魅族M9手机'>在Linux上使用adb访问魅族M9手机</a></li>
<li><a href='http://easwy.com/blog/archives/android-sdk-15-update-release/' rel='bookmark' title='Android SDK 1.5预览版发布'>Android SDK 1.5预览版发布</a></li>
</div><div class="fixed"></div>]]></content:encoded>
			<wfw:commentRss>http://easwy.com/blog/archives/compile-android-gingerbread-2-3-1/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>在Ubuntu上编译vim 7.3</title>
		<link>http://easwy.com/blog/archives/compile-vim73-on-ubuntu/</link>
		<comments>http://easwy.com/blog/archives/compile-vim73-on-ubuntu/#comments</comments>
		<pubDate>Tue, 28 Dec 2010 16:13:13 +0000</pubDate>
		<dc:creator>Easwy</dc:creator>
				<category><![CDATA[开源软件]]></category>
		<category><![CDATA[文本处理]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://easwy.com/blog/?p=1113</guid>
		<description><![CDATA[本文介绍了在Ubuntu中编译vim 7.3的方法。<div class="fixed"></div><div id="related_posts"><h3  class="related_post_title">相关文章</h3><ul class="related_post">
<li><a href='http://easwy.com/blog/archives/install_apache_php_mysql_wordpress_on_debian_lenny/' rel='bookmark' title='在Debian Lenny上安装Apache2，PHP5，MySQL5, WordPress&#8230;'>在Debian Lenny上安装Apache2，PHP5，MySQL5, WordPress&#8230;</a></li>
<li><a href='http://easwy.com/blog/archives/compile-android-gingerbread-2-3-1/' rel='bookmark' title='在Ubuntu上编译Android Gingerbread 2.3.1'>在Ubuntu上编译Android Gingerbread 2.3.1</a></li>
<li><a href='http://easwy.com/blog/archives/chinese_in_debian_lenny/' rel='bookmark' title='在Debian Lenny中配置中文'>在Debian Lenny中配置中文</a></li>
</div><div class="fixed"></div>]]></description>
			<content:encoded><![CDATA[<p>
    <a class="ulink" href="http://easwy.com/blog/archives/install-ubuntu-on-thinkpad-t400-aa1/" target="_top">在Thinkpad T400上安装完Ubuntu 10.04 LTS</a>后，就开始搭建<a class="ulink" href="http://easwy.com/blog/archives/tag/android/" target="_top">Android</a>开发环境，第一步当然是编译vim。
  </p>
<p>
    目前最新的vim版本是7.3，因为从vim 7.3开始已经换用Mercurial做为版本管理工具，我们在下载vim 7.3源代码前，先要安装Mercurial:
  </p>
<pre class="programlisting">
sudo aptitude install mercurial
cd ~
hg clone https://vim.googlecode.com/hg/ vim73</pre>
<p>
    执行完上面的命令后，我们就取得了vim 7.3的最新代码，放在目录<span class="emphasis"><em>~/vim73</em></span>中，接下来准备编译。在编译前，需要安装编译时需要的包，在<a class="ulink" href="http://easwy.com/blog/archives/tag/ubuntu/" target="_top">Ubuntu</a>上用如下命令：
  </p>
<pre class="programlisting">
sudo aptitude install xorg-dev libx11-dev libgtk2.0-dev libncurses5-dev </pre>
<p>
    上面是<a class="ulink" href="http://easwy.com/" target="_top">Easwy</a>在编译前所安装的依赖文件。后来在一篇帖子中看到另一种方法安装依赖文件，可能更方便(未测试)：
  </p>
<pre class="programlisting">
sudo aptitude install build-essential
sudo aptitude build-dep vim-gtk </pre>
<p>
    接下来修改<span class="emphasis"><em>~/vim73/src/Makefile</em></span>，打开自己所需要的功能，Easwy打开了下面这些特性：
  </p>
<div class="itemizedlist">
<ul class="itemizedlist" type="disc">
<li class="listitem">
      CONF_OPT_CSCOPE = &#8211;enable-cscope
    </li>
<li class="listitem">
      CONF_OPT_MULTIBYTE = &#8211;enable-multibyte
    </li>
<li class="listitem">
      CONF_OPT_INPUT = &#8211;enable-xim
    </li>
<li class="listitem">
      CONF_OPT_OUTPUT = &#8211;enable-fontset
    </li>
<li class="listitem">
      CONF_OPT_FEAT = &#8211;with-features=big
    </li>
<li class="listitem">
      CONF_OPT_COMPBY = “&#8211;with-compiledby=Easwy Yang &lt;easwy.mail@gmail.com&gt;”
    </li>
</ul>
</div>
<p>
    接下来编译安装：
  </p>
<pre class="programlisting">
cd ~/vim73/src
make &amp;&amp; make install </pre>
<p>
    执行完后编译好的vim以及gvim就安装在<span class="emphasis"><em>/usr/local/bin</em></span>目录中了。将此目录加入PATH即可。
  </p>
<p>
    Easwy在编译后，每次运行gvim都会提示：
  </p>
<pre class="screen">
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
Error: Aborting: no fontset found </pre>
<p>
    后来在网上查了一下，是因为没有安装<span class="emphasis"><em>libgtk2.0-dev</em></span>包造成后，安装此包再重新编译后问题解决。
  </p>
<p>
    如果你在编译gvim时遇到了问题，可以参考我以前写的一篇文章：<a class="ulink" href="http://easwy.com/blog/archives/advanced-vim-skills-solve-compile-problem/" target="_top">vi/vim使用进阶: vim编译中遇到的问题及解决方法</a>。
  </p>
<p>
    最后，把我们编译的vim 7.3做为Ubuntu中的缺省编辑器，执行如下命令：
  </p>
<pre class="programlisting">
sudo update-alternatives --install /usr/bin/editor editor /usr/local/bin/vim 50 --slave /usr/share/man/man1/editor.1.gz editor.1.gz /usr/local/man/man1/vim.1.gz
sudo update-alternatives --install /usr/bin/vi vi /usr/local/bin/vim 50 --slave /usr/share/man/man1/vi.1.gz vi.1.gz /usr/local/man/man1/vim.1.gz </pre>
<p>
    Happy viming!
  </p>
<p>
    更多内容，请阅读<a class="ulink" href="http://easwy.com/blog/" target="_top">易水博客</a>上的其它文章。
  </p>
<p><span class="bold"><strong>[ 参考文档 ]</strong></span></p>
<div class="itemizedlist">
<ul class="itemizedlist" type="disc">
<li class="listitem">
      <a class="ulink" href="http://www.vim.org/mercurial.php" target="_top">The Vim Mercurial repository</a>
    </li>
<li class="listitem">
      <a class="ulink" href="http://forum.ubuntu.org.cn/viewtopic.php?t=11432&amp;highlight=vim7" target="_top">ubuntu编译VIM7指南</a>
    </li>
<li class="listitem">
      <a class="ulink" href="http://hi.baidu.com/yulanding/blog/item/71ccaa3d67fc71ce7d1e71d8.html" target="_top">系统管理：update-alternatives</a>
    </li>
</ul>
</div>
<div class="posturl">
<p><span class="bold"><strong>原创文章，请阅读页脚的<a href="#license">许可方式</a>，转载请注明：</strong></span>转载自<a class="link" href="http://easwy.com/blog/" target="_top">易水博客</a> [ <a class="link" href="http://easwy.com/blog/" target="_top">http://easwy.com/blog/</a> ]</p>
<p><span class="bold"><strong>本文链接地址:</strong></span> <a class="link" href="http://easwy.com/blog/archives/compile-vim73-on-ubuntu/" target="_top">http://easwy.com/blog/archives/compile-vim73-on-ubuntu/</a></p>
</div>
<p style="margin-top: 0; margin-bottom: 15px; color: #888888; font-size: 80%; font-style: italic">文章的脚注信息由WordPress的<a href="http://easwy.com/blog/wordpress/wp-posturl/" style="color: #8888FF; text-decoration: underline;">wp-posturl插件</a>自动生成</p>
<div class="fixed"></div><div id="related_posts"><h3  class="related_post_title">相关文章</h3><ul class="related_post">
<li><a href='http://easwy.com/blog/archives/install_apache_php_mysql_wordpress_on_debian_lenny/' rel='bookmark' title='在Debian Lenny上安装Apache2，PHP5，MySQL5, WordPress&#8230;'>在Debian Lenny上安装Apache2，PHP5，MySQL5, WordPress&#8230;</a></li>
<li><a href='http://easwy.com/blog/archives/compile-android-gingerbread-2-3-1/' rel='bookmark' title='在Ubuntu上编译Android Gingerbread 2.3.1'>在Ubuntu上编译Android Gingerbread 2.3.1</a></li>
<li><a href='http://easwy.com/blog/archives/chinese_in_debian_lenny/' rel='bookmark' title='在Debian Lenny中配置中文'>在Debian Lenny中配置中文</a></li>
</div><div class="fixed"></div>]]></content:encoded>
			<wfw:commentRss>http://easwy.com/blog/archives/compile-vim73-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>在Thinkpad T400上安装Ubuntu</title>
		<link>http://easwy.com/blog/archives/install-ubuntu-on-thinkpad-t400-aa1/</link>
		<comments>http://easwy.com/blog/archives/install-ubuntu-on-thinkpad-t400-aa1/#comments</comments>
		<pubDate>Mon, 27 Dec 2010 16:05:29 +0000</pubDate>
		<dc:creator>Easwy</dc:creator>
				<category><![CDATA[开源软件]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://easwy.com/blog/?p=1112</guid>
		<description><![CDATA[利用周末的时间在自己的Thinkpad T400 AA1上安装了Ubuntu 10.04 LTS版本，这篇文章做为安装Ubuntu的一个小结。
首先在Ubuntu官网上下载了Ubuntu 10.04 LTS Desktop版，刻录后使用光盘启动。整个的安装过程很顺利，不得不说Ubuntu在易用性和用户界面方面下了很大的工夫，它的安装过程以及界面已经可以和Windows相媲美了。感谢Ubuntu把Linux从专业人士的工具变成了普通大众能接受的操作系统，相信在不远的将来，Linux在桌面领域会有更长足的进步。
安装完后，登录Gnome，有一种眼前一亮的感觉，曾几何时，Linux的图形界面已经做的美观如斯。并且现在Linux也非常的易用，已经不再需要费心的去安装/配置各种驱动。对Thinkpad T400的硬件，Ubuntu都能正确的识别出来：显卡(集成)正常、声卡正常、网卡以及无线网卡都可以正常工作，电源管理工作正常(能够正常待机)......
在接下来的篇幅中，Easwy将简要介绍一下自己所做的一些配置。 <div class="fixed"></div><div id="related_posts"><h3  class="related_post_title">相关文章</h3><ul class="related_post">
<li><a href='http://easwy.com/blog/archives/thinkpad_trackpoint_on_linux/' rel='bookmark' title='在Linux中使用thinkpad的小红点+中键'>在Linux中使用thinkpad的小红点+中键</a></li>
<li><a href='http://easwy.com/blog/archives/debian-lenny-installation-on-thinkpad-t400/' rel='bookmark' title='在thinkpad t400上安装debian lenny'>在thinkpad t400上安装debian lenny</a></li>
<li><a href='http://easwy.com/blog/archives/compile-vim73-on-ubuntu/' rel='bookmark' title='在Ubuntu上编译vim 7.3'>在Ubuntu上编译vim 7.3</a></li>
</div><div class="fixed"></div>]]></description>
			<content:encoded><![CDATA[<p>
    一直以来，Easwy所使用的Linux发行版都是<a class="ulink" href="http://easwy.com/blog/archives/tag/debian/" target="_top">Debian</a>。因为Easwy喜欢Debian上丰富的软件、便捷的安装/升级方式，以及它所代表的自由精神。前些天，Easwy预定了一部魅9手机，为了充分体验DIY的乐趣，Easwy决定自己为魅9手机编译一个ROM。因为魅9基于Android系统，为了编译<a class="ulink" href="http://easwy.com/blog/archives/tag/android/" target="_top">Android</a>，Easwy利用周末的时间在自己的Thinkpad T400 AA1上安装了Ubuntu 10.04 LTS版本，这篇文章做为安装Ubuntu的一个小结。
  </p>
<p>
    首先在Ubuntu官网上下载了Ubuntu 10.04 LTS Desktop版，刻录后使用光盘启动，我的Ubuntu之旅就开始。整个的安装过程很顺利，不得不说Ubuntu在易用性和用户界面方面下了很大的工夫，它的安装过程以及界面已经可以和Windows相媲美了。感谢Ubuntu把Linux从专业人士的工具变成了普通大众能接受的操作系统，相信在不远的将来，Linux在桌面领域会有更长足的进步。
  </p>
<p>
    安装完后，登录Gnome，有一种眼前一亮的感觉，曾几何时，Linux的图形界面已经做的美观如斯。并且现在Linux也非常的易用，已经不再需要费心的去安装/配置各种驱动。对Thinkpad T400的硬件，Ubuntu都能正确的识别出来：显卡(集成)正常、声卡正常、网卡以及无线网卡都可以正常工作，电源管理工作正常(能够正常待机)&#8230;&#8230;
  </p>
<p>
    因为<a class="ulink" href="http://easwy.com/blog/archives/tag/ubuntu/" target="_top">Ubuntu</a>以Debian Unstable版本为基础，所以对于拥有Debian使用经验的Easwy来说有一种天然的熟悉感。在接下来的篇幅中，Easwy将简要介绍一下自己所做的一些配置。
  </p>
<p><span class="bold"><strong>[ sudo不需要输入密码 ]</strong></span></p>
<p>
    Ubuntu缺省禁止root用户登录。在需要root权限执行命令时，用户需要使用sudo来执行相应的命令。为了在sudo时不需要输入密码，我们首先执行命令<span class="command"><strong>sudo visudo</strong></span>，这条命令会用缺省编辑器打开一个文件，找到下面这一行内容：
  </p>
<pre class="programlisting">
%admin ALL=(ALL) ALL </pre>
<p>
    将其改为：
  </p>
<pre class="programlisting">
%admin ALL=(ALL) NOPASSWD: ALL </pre>
<p>
    保存退出后，以后再使用sudo就不需要再输入密码了。
  </p>
<p><span class="bold"><strong>[ 修改更新源 ]</strong></span></p>
<p>
    在Debian/Ubuntu中安装或升级软件时，都会自动从你配置的服务器上下载相应的软件，因此选择一个下载速度较快的源就非常重要。
  </p>
<p>
    在<a class="ulink" href="http://wiki.ubuntu.org.cn/%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E6%88%91%E4%BB%AC%E6%8E%A8%E8%8D%90%E7%9A%84%E6%BA%90" target="_top">Ubuntu中文Wiki</a>上列出了国内用户常用的源，你可以为自己选择一个最快的源。使用文本编辑器打开文件<span class="emphasis"><em>/etc/apt/source.list</em></span>，将你所用的源加进去就行了。在这里，Easwy所用的源是台湾的官方源：
  </p>
<pre class="programlisting">
$ sudo vi /etc/apt/source.list

# Add your source here...

deb http://tw.archive.ubuntu.com/ubuntu lucid main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu lucid-security main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu lucid-proposed main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu lucid main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu lucid-security main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu lucid-proposed main restricted universe multiverse </pre>
<p>
    需要注意的是在添加源时，需要使用正确的版本名。上面源中的<span class="emphasis"><em>lucid</em></span>就是Easwy所安装的10.04 LTS版本。可以在中文Wiki中找到你所用的版本名称。
  </p>
<p><span class="bold"><strong>配置Thinkpad的小红点</strong></span></p>
<p>
    小红点是Thinkpad系列电脑的特色了，想让小红点在Ubuntu下正常工作，需要新建一个文件：
  </p>
<pre class="programlisting">
sudo vi /usr/lib/X11/xorg.conf.d/20-thinkpad.conf

# Add following lines...

Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
EndSection </pre>
<p>
    然后重启一下电脑，小红点就可以正常工作了。 在Ubuntu 10.10版本中需要把文件保存为<span class="emphasis"><em>/usr/share/X11/xorg.conf.d/20-thinkpad.conf</em></span>。
  </p>
<p>
    至此，Easwy的Ubuntu环境就基本完成了。更多内容，请阅读<a class="ulink" href="http://easwy.com/blog/" target="_top">易水博客</a>上的其它文章。
  </p>
<p><span class="bold"><strong>[ 参考文档 ]</strong></span></p>
<div class="itemizedlist">
<ul class="itemizedlist" type="disc">
<li class="listitem">
      <a class="ulink" href="http://www.eastwoodzhao.com/thinkpad-middle-button-scroll-ubuntu-linux-10-04-lucid-lynx/" target="_top">ThinkPad Middle Button Scroll – Ubuntu Linux Maverick Meerkat 10.10 &amp; Lucid Lynx 10.04</a>
    </li>
<li class="listitem">
      <a class="ulink" href="http://wiki.ubuntu.org.cn/%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E6%88%91%E4%BB%AC%E6%8E%A8%E8%8D%90%E7%9A%84%E6%BA%90" target="_top">Ubuntu国内常用源服务器</a>
    </li>
</ul>
</div>
<div class="posturl">
<p><span class="bold"><strong>原创文章，请阅读页脚的<a href="#license">许可方式</a>，转载请注明：</strong></span>转载自<a class="link" href="http://easwy.com/blog/" target="_top">易水博客</a> [ <a class="link" href="http://easwy.com/blog/" target="_top">http://easwy.com/blog/</a> ]</p>
<p><span class="bold"><strong>本文链接地址:</strong></span> <a class="link" href="http://easwy.com/blog/archives/install-ubuntu-on-thinkpad-t400-aa1/" target="_top">http://easwy.com/blog/archives/install-ubuntu-on-thinkpad-t400-aa1/</a></p>
</div>
<p style="margin-top: 0; margin-bottom: 15px; color: #888888; font-size: 80%; font-style: italic">文章的脚注信息由WordPress的<a href="http://easwy.com/blog/wordpress/wp-posturl/" style="color: #8888FF; text-decoration: underline;">wp-posturl插件</a>自动生成</p>
<div class="fixed"></div><div id="related_posts"><h3  class="related_post_title">相关文章</h3><ul class="related_post">
<li><a href='http://easwy.com/blog/archives/thinkpad_trackpoint_on_linux/' rel='bookmark' title='在Linux中使用thinkpad的小红点+中键'>在Linux中使用thinkpad的小红点+中键</a></li>
<li><a href='http://easwy.com/blog/archives/debian-lenny-installation-on-thinkpad-t400/' rel='bookmark' title='在thinkpad t400上安装debian lenny'>在thinkpad t400上安装debian lenny</a></li>
<li><a href='http://easwy.com/blog/archives/compile-vim73-on-ubuntu/' rel='bookmark' title='在Ubuntu上编译vim 7.3'>在Ubuntu上编译vim 7.3</a></li>
</div><div class="fixed"></div>]]></content:encoded>
			<wfw:commentRss>http://easwy.com/blog/archives/install-ubuntu-on-thinkpad-t400-aa1/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Easwy的Twitter微博(2010-11-28)</title>
		<link>http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-11-28/</link>
		<comments>http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-11-28/#comments</comments>
		<pubDate>Sun, 28 Nov 2010 15:00:00 +0000</pubDate>
		<dc:creator>Easwy</dc:creator>
				<category><![CDATA[网络微博]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-11-28/</guid>
		<description><![CDATA[[Scala] Real-World Scala：很好的系列文章，讲述在真实项目中使用Scala的经历 http://bit.ly/hzTtFL # Real-World Scala: Dependency Injection (DI): http://disq.us/t2iix (@jboner) # [Scala] 很好的系列文章，讲述在真实项目中使用Scala的经历：Real-World Scala(http://jonasboner.com/2008/10/01/real-world-scala-introduction.html) # 原创文章，请阅读页脚的许可方式，转载请注明：转载自易水博客 [ http://easwy.com/blog/ ] 本文链接地址: http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-11-28/ 文章的脚注信息由WordPress的wp-posturl插件自动生成 相关文章 Easwy的Twitter微博(2010-03-21) Easwy的Twitter微博(2010-11-14) Easwy的Twitter微博(2010-03-28)<div class="fixed"></div><div id="related_posts"><h3  class="related_post_title">相关文章</h3><ul class="related_post">
<li><a href='http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-03-21/' rel='bookmark' title='Easwy的Twitter微博(2010-03-21)'>Easwy的Twitter微博(2010-03-21)</a></li>
<li><a href='http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-11-14/' rel='bookmark' title='Easwy的Twitter微博(2010-11-14)'>Easwy的Twitter微博(2010-11-14)</a></li>
<li><a href='http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-03-28/' rel='bookmark' title='Easwy的Twitter微博(2010-03-28)'>Easwy的Twitter微博(2010-03-28)</a></li>
</div><div class="fixed"></div>]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>[Scala] Real-World Scala：很好的系列文章，讲述在真实项目中使用Scala的经历 <a href="http://bit.ly/hzTtFL" rel="nofollow">http://bit.ly/hzTtFL</a> <a href="http://twitter.com/Easwy/statuses/8003854419365888" class="aktt_tweet_time">#</a></li>
<li>Real-World Scala: Dependency Injection (DI):  <a href="http://disq.us/t2iix" rel="nofollow">http://disq.us/t2iix</a> (@jboner) <a href="http://twitter.com/Easwy/statuses/7998875524665344" class="aktt_tweet_time">#</a></li>
<li>[Scala] 很好的系列文章，讲述在真实项目中使用Scala的经历：Real-World Scala(http://jonasboner.com/2008/10/01/real-world-scala-introduction.html) <a href="http://twitter.com/Easwy/statuses/7997334868725760" class="aktt_tweet_time">#</a></li>
</ul>
<div class="posturl">
<p><span class="bold"><strong>原创文章，请阅读页脚的<a href="#license">许可方式</a>，转载请注明：</strong></span>转载自<a class="link" href="http://easwy.com/blog/" target="_top">易水博客</a> [ <a class="link" href="http://easwy.com/blog/" target="_top">http://easwy.com/blog/</a> ]</p>
<p><span class="bold"><strong>本文链接地址:</strong></span> <a class="link" href="http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-11-28/" target="_top">http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-11-28/</a></p>
</div>
<p style="margin-top: 0; margin-bottom: 15px; color: #888888; font-size: 80%; font-style: italic">文章的脚注信息由WordPress的<a href="http://easwy.com/blog/wordpress/wp-posturl/" style="color: #8888FF; text-decoration: underline;">wp-posturl插件</a>自动生成</p>
<div class="fixed"></div><div id="related_posts"><h3  class="related_post_title">相关文章</h3><ul class="related_post">
<li><a href='http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-03-21/' rel='bookmark' title='Easwy的Twitter微博(2010-03-21)'>Easwy的Twitter微博(2010-03-21)</a></li>
<li><a href='http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-11-14/' rel='bookmark' title='Easwy的Twitter微博(2010-11-14)'>Easwy的Twitter微博(2010-11-14)</a></li>
<li><a href='http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-03-28/' rel='bookmark' title='Easwy的Twitter微博(2010-03-28)'>Easwy的Twitter微博(2010-03-28)</a></li>
</div><div class="fixed"></div>]]></content:encoded>
			<wfw:commentRss>http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-11-28/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Easwy的Twitter微博(2010-11-21)</title>
		<link>http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-11-21/</link>
		<comments>http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-11-21/#comments</comments>
		<pubDate>Sun, 21 Nov 2010 15:00:00 +0000</pubDate>
		<dc:creator>Easwy</dc:creator>
				<category><![CDATA[网络微博]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-11-21/</guid>
		<description><![CDATA[[生活] 昨天下午深圳地震了，居然一点感觉都没有&#8230;刚才在网上查了一下，有三条断裂带穿过深圳市区，深圳具备发生中级地震的地质构造。 # [Vim] 如果想把cscope的输出放到quickfix列表，需要修改cscopequickfix选项的值 (:help cscopequickfix) # [社会] 尽管相当多的中国人对民主有着高度的热情，但是，作为一个具有两千多年帝制历史的古老大国，建设民主体制，路还是相当长。在经历了高度的专制的过程之后，社会极度萎缩，民众是以原子状态生存的，在这样的情况下，不经历一个比较长的公民社会发育期，民主制度即使建立了，民主也难以实现。 # [Scala] 在邮件列表中看到的，返回Seq中所有属于类型T的元素： seq collect { case e : T =&#62; e} 感慨：Pattern match太强大了！ # 原创文章，请阅读页脚的许可方式，转载请注明：转载自易水博客 [ http://easwy.com/blog/ ] 本文链接地址: http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-11-21/ 文章的脚注信息由WordPress的wp-posturl插件自动生成 相关文章 在文章末尾添加版本声明和文章的链接 Easwy的Twitter微博(2010-09-05) Easwy的Twitter微博(2010-03-21)<div class="fixed"></div><div id="related_posts"><h3  class="related_post_title">相关文章</h3><ul class="related_post">
<li><a href='http://easwy.com/blog/archives/add_post_copyright_url/' rel='bookmark' title='在文章末尾添加版本声明和文章的链接'>在文章末尾添加版本声明和文章的链接</a></li>
<li><a href='http://easwy.com/blog/archives/easwy-twitter-2010-09-05/' rel='bookmark' title='Easwy的Twitter微博(2010-09-05)'>Easwy的Twitter微博(2010-09-05)</a></li>
<li><a href='http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-03-21/' rel='bookmark' title='Easwy的Twitter微博(2010-03-21)'>Easwy的Twitter微博(2010-03-21)</a></li>
</div><div class="fixed"></div>]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>[生活] 昨天下午深圳地震了，居然一点感觉都没有&#8230;刚才在网上查了一下，有三条断裂带穿过深圳市区，深圳具备发生中级地震的地质构造。 <a href="http://twitter.com/Easwy/statuses/5835708719693825" class="aktt_tweet_time">#</a></li>
<li>[Vim] 如果想把cscope的输出放到quickfix列表，需要修改cscopequickfix选项的值 (:help cscopequickfix) <a href="http://twitter.com/Easwy/statuses/5111322605785088" class="aktt_tweet_time">#</a></li>
<li>[社会] 尽管相当多的中国人对民主有着高度的热情，但是，作为一个具有两千多年帝制历史的古老大国，建设民主体制，路还是相当长。在经历了高度的专制的过程之后，社会极度萎缩，民众是以原子状态生存的，在这样的情况下，不经历一个比较长的公民社会发育期，民主制度即使建立了，民主也难以实现。 <a href="http://twitter.com/Easwy/statuses/4734535275122688" class="aktt_tweet_time">#</a></li>
<li>[Scala] 在邮件列表中看到的，返回Seq中所有属于类型T的元素：<br />
 seq collect { case e : T =&gt; e}       感慨：Pattern match太强大了！ <a href="http://twitter.com/Easwy/statuses/3993483224285184" class="aktt_tweet_time">#</a></li>
</ul>
<div class="posturl">
<p><span class="bold"><strong>原创文章，请阅读页脚的<a href="#license">许可方式</a>，转载请注明：</strong></span>转载自<a class="link" href="http://easwy.com/blog/" target="_top">易水博客</a> [ <a class="link" href="http://easwy.com/blog/" target="_top">http://easwy.com/blog/</a> ]</p>
<p><span class="bold"><strong>本文链接地址:</strong></span> <a class="link" href="http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-11-21/" target="_top">http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-11-21/</a></p>
</div>
<p style="margin-top: 0; margin-bottom: 15px; color: #888888; font-size: 80%; font-style: italic">文章的脚注信息由WordPress的<a href="http://easwy.com/blog/wordpress/wp-posturl/" style="color: #8888FF; text-decoration: underline;">wp-posturl插件</a>自动生成</p>
<div class="fixed"></div><div id="related_posts"><h3  class="related_post_title">相关文章</h3><ul class="related_post">
<li><a href='http://easwy.com/blog/archives/add_post_copyright_url/' rel='bookmark' title='在文章末尾添加版本声明和文章的链接'>在文章末尾添加版本声明和文章的链接</a></li>
<li><a href='http://easwy.com/blog/archives/easwy-twitter-2010-09-05/' rel='bookmark' title='Easwy的Twitter微博(2010-09-05)'>Easwy的Twitter微博(2010-09-05)</a></li>
<li><a href='http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-03-21/' rel='bookmark' title='Easwy的Twitter微博(2010-03-21)'>Easwy的Twitter微博(2010-03-21)</a></li>
</div><div class="fixed"></div>]]></content:encoded>
			<wfw:commentRss>http://easwy.com/blog/archives/easwy%e7%9a%84twitter%e5%be%ae%e5%8d%9a2010-11-21/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

