<?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>男单 618 &#187; linux</title>
	<atom:link href="http://www.ai7.org/wp/html/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ai7.org/wp</link>
	<description>生活象筒装的卫生纸，开始的时候怎么扯都不觉得在转，后来转的越来越快。</description>
	<lastBuildDate>Sun, 11 Dec 2011 12:22:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>KDE回收站没有空间的解决方法</title>
		<link>http://www.ai7.org/wp/html/932.html</link>
		<comments>http://www.ai7.org/wp/html/932.html#comments</comments>
		<pubDate>Thu, 03 Nov 2011 02:24:33 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[软件]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/html/932.html</guid>
		<description><![CDATA[症状：无法删除文件，删除文件时提示“回收站已到达其最大容量！ 请手动清理回收站。”用Dolphin打开回收站，没有任何文件，并且回收站所在的分区有足够空间。 一种可能的原因是：~/.local/share/Trash/metadata文件中Size选项所对应的数值太大。 解决方法：将~/.local/share/Trash/metadata文件备份后删除。<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="盘古网络空间优惠码" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F387.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F932.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">盘古网络空间优惠码</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Picasa 网络相册免费空间已增容至1G" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F181.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F932.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Picasa 网络相册免费空间已增容至1G</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="转载：在Google Reader中搜索你的Feeds" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F241.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F932.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/01/18/2166423.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">转载：在Google Reader中搜索你的Feeds</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="计算科学大事记" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F516.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F932.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/29/1637004.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">计算科学大事记</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>症状：无法删除文件，删除文件时提示“回收站已到达其最大容量！ 请手动清理回收站。”用Dolphin打开回收站，没有任何文件，并且回收站所在的分区有足够空间。</p>
<p>一种可能的原因是：~/.local/share/Trash/metadata文件中Size选项所对应的数值太大。</p>
<p>解决方法：将~/.local/share/Trash/metadata文件备份后删除。</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="盘古网络空间优惠码" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F387.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F932.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">盘古网络空间优惠码</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Picasa 网络相册免费空间已增容至1G" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F181.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F932.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Picasa 网络相册免费空间已增容至1G</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="看图不说话20091224" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F664.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F932.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/29/1636815.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">看图不说话20091224</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="10分钟邮箱——学会保护自己" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F296.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F932.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/29/1637023.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">10分钟邮箱——学会保护自己</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/932.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arch Linux升级系统内核后无法启动的处理</title>
		<link>http://www.ai7.org/wp/html/921.html</link>
		<comments>http://www.ai7.org/wp/html/921.html#comments</comments>
		<pubDate>Thu, 09 Jun 2011 04:47:28 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[arch linux]]></category>
		<category><![CDATA[内核]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/html/921.html</guid>
		<description><![CDATA[个人感觉Arch Linux是比较激进的一个发行版。早早将Python的默认版本升级到3.0，对待内核也是不留余地。内核文件不区分版本号，都叫kernel26.img，因此每次升级内核，都会将老内核文件覆盖。一旦新内核有问题，麻烦就大了。 今天一开机，习惯性的pacman -Syu，和往常一样，有若干软件包需要升级，直接确认升级。最后才注意到内核也升级了。重启后，卡在加载Alsa的那一步，无法进入系统。折腾了一上午，以下方法可以避免重装。 Arch Linux还是给自己留了一条后路。系统一般安装了lts版（应该是长期支持版本）的内核，也就是kernel-lts.img和vmlinuz26-lts，都在/boot目录下。如果没有安装这个包，建议立即安装，以备不时之需。可以在系统启动时，修改启动参数，选择使用lts版内核。Grub菜单出现后，按e修改启动参数，将kernel26.img换成kernel26-lts.img，将vmlinuz26换成vmlinuz26-lts，按b启动即可。或者在系统还是正常的时候，修改/boot/grub/menu.lst文件增加一个使用lts内核的启动项。 如果已经进不了系统，也没有安装lts内核，用Arch Linux系统盘启动或者其他方式启动，想办法加载原系统的/分区，修改/etc/rc.conf文件，将启动时报错的服务禁用后重启。我这次是alsa和hal与新内核不兼容，重启后进入系统。 后来在Arch Linux的wiki上看到另外一个方法：https://wiki.archlinux.org/index.php/Kernel_Panics_(%e7%ae%80%e4%bd%93%e4%b8%ad%e6%96%87)，但是我自己还没有尝试。 为了防止以后出现类似问题，可以将kernel26和kernel26-headers加入pacman.conf的忽略包列表，这样在使用pacman -Syu时，这两个包就不会被升级了。<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F479.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F921.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux下计算程序的运行时间</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F920.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F921.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Archlinux下安装HP LaserJet P1505打印机</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F826.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F921.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">备忘：ydict, garlicsim, funtoo</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F845.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F921.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Linux Documentation Project</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>个人感觉Arch Linux是比较激进的一个发行版。早早将Python的默认版本升级到3.0，对待内核也是不留余地。内核文件不区分版本号，都叫kernel26.img，因此每次升级内核，都会将老内核文件覆盖。一旦新内核有问题，麻烦就大了。</p>
<p>今天一开机，习惯性的pacman -Syu，和往常一样，有若干软件包需要升级，直接确认升级。最后才注意到内核也升级了。重启后，卡在加载Alsa的那一步，无法进入系统。折腾了一上午，以下方法可以避免重装。</p>
<ul>
<li>
<p>Arch Linux还是给自己留了一条后路。系统一般安装了lts版（应该是长期支持版本）的内核，也就是kernel-lts.img和vmlinuz26-lts，都在/boot目录下。如果没有安装这个包，建议立即安装，以备不时之需。可以在系统启动时，修改启动参数，选择使用lts版内核。Grub菜单出现后，按e修改启动参数，将kernel26.img换成kernel26-lts.img，将vmlinuz26换成vmlinuz26-lts，按b启动即可。或者在系统还是正常的时候，修改/boot/grub/menu.lst文件增加一个使用lts内核的启动项。</p>
</li>
<li>
<p>如果已经进不了系统，也没有安装lts内核，用Arch Linux系统盘启动或者其他方式启动，想办法加载原系统的/分区，修改/etc/rc.conf文件，将启动时报错的服务禁用后重启。我这次是alsa和hal与新内核不兼容，重启后进入系统。</p>
</li>
<li>
<p>后来在Arch Linux的wiki上看到另外一个方法：<a href="https://wiki.archlinux.org/index.php/Kernel_Panics_(%e7%ae%80%e4%bd%93%e4%b8%ad%e6%96%87)">https://wiki.archlinux.org/index.php/Kernel_Panics_(%e7%ae%80%e4%bd%93%e4%b8%ad%e6%96%87)</a>，但是我自己还没有尝试。</p>
</li>
</ul>
<p>为了防止以后出现类似问题，可以将kernel26和kernel26-headers加入pacman.conf的忽略包列表，这样在使用pacman -Syu时，这两个包就不会被升级了。</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F479.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F921.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux下计算程序的运行时间</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F920.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F921.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Archlinux下安装HP LaserJet P1505打印机</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F826.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F921.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">备忘：ydict, garlicsim, funtoo</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F845.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F921.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Linux Documentation Project</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/921.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Archlinux下安装HP LaserJet P1505打印机</title>
		<link>http://www.ai7.org/wp/html/920.html</link>
		<comments>http://www.ai7.org/wp/html/920.html#comments</comments>
		<pubDate>Sun, 05 Jun 2011 04:18:45 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[arch linux]]></category>
		<category><![CDATA[archlinux]]></category>
		<category><![CDATA[cups]]></category>
		<category><![CDATA[HP LaserJet P1505]]></category>
		<category><![CDATA[hplip]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/html/920.html</guid>
		<description><![CDATA[1) 安装cups 123sudo pacman -S cups 修改/etc/rc.conf，在DAEMONS中添加cups 2) 安装hplip和hplip-plugin 123yaourt -S hplip-plugin （注：以上命令运行时，会自动安装hplip） 3) 启动cups 123重启计算机或运行如下命令： sudo /etc/rc.d/cups start 4) 添加打印机 1234567- 将打印机连接到电脑上，打开电源 - 通过浏览器访问http://localhost:631 - 进入Administration --&#38;gt; Add Printer，按提示输入系统管理员账号密码 - 选择&#34;HP LaserJet P1505 USB CA2988Z HPLIP (HP LaserJet P1505)&#34;（其中的编号有可能不同），点击&#34;Continue&#34; - 修改打印机名称等信息后点击&#34;Continue&#34; - 在Model中，选择&#34;HP LaserJet p1505, hpcups 3.11.3, requires proprietary plugin (en)&#34;，点击&#34;Add Printer&#34; - 选择打印机默认设置选项后，点击&#34;Set <a href="http://www.ai7.org/wp/html/920.html"> read more <span class="meta-nav">&#187;</span></a><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F921.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F920.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Arch Linux升级系统内核后无法启动的处理</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F479.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F920.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux下计算程序的运行时间</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F826.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F920.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">备忘：ydict, garlicsim, funtoo</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F739.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F920.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">KDD Cup2010:教育方面的数据挖掘竞赛</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>1) 安装cups</p>
<pre>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo pacman -S cups<br />
<br />
修改/etc/rc.conf，在DAEMONS中添加cups</div></td></tr></tbody></table></div>
</pre>
<p>2) 安装hplip和hplip-plugin</p>
<pre>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">yaourt -S hplip-plugin<br />
<br />
（注：以上命令运行时，会自动安装hplip）</div></td></tr></tbody></table></div>
</pre>
<p>3) 启动cups</p>
<pre>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">重启计算机或运行如下命令：<br />
<br />
sudo /etc/rc.d/cups start</div></td></tr></tbody></table></div>
</pre>
<p>4) 添加打印机</p>
<pre>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">- 将打印机连接到电脑上，打开电源<br />
- 通过浏览器访问http://localhost:631<br />
- 进入Administration --&amp;gt; Add Printer，按提示输入系统管理员账号密码<br />
- 选择&quot;HP LaserJet P1505 USB CA2988Z HPLIP (HP LaserJet P1505)&quot;（其中的编号有可能不同），点击&quot;Continue&quot;<br />
- 修改打印机名称等信息后点击&quot;Continue&quot;<br />
- 在Model中，选择&quot;HP LaserJet p1505, hpcups 3.11.3, requires proprietary plugin (en)&quot;，点击&quot;Add Printer&quot;<br />
- 选择打印机默认设置选项后，点击&quot;Set Default Options&quot;</div></td></tr></tbody></table></div>
</pre>
<p>5) 下载Firmware</p>
<pre>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">运行<br />
<br />
hp-toolbox<br />
<br />
（或在程序菜单选择HP打印机管理程序）<br />
<br />
在左边选择正确的设备，点击&quot;Download Firmware&quot;，再点击&quot;Download Firmware&quot;</div></td></tr></tbody></table></div>
</pre>
<p>6) 打印测试页</p>
<pre>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">如果以上步骤正确，应该能够输出正确的打印结果。（我的机子上，使用cups的web管理界面打印出的测试页有方块，不知道是不是缺字体的原因。）</div></td></tr></tbody></table></div>
</pre>
<p>注：如果有问题，可以尝试将用户加入到lp组：sudo gpasswd -a yourusername lp</p>
<p>===========================</p>
<p>English Version</p>
<p>Install HP LaserJet P1505 printer under Archlinux</p>
<p>1) Install cups</p>
<pre>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo pacman -S cups<br />
<br />
Modify /etc/rc.conf, add cups to DAEMONS.</div></td></tr></tbody></table></div>
</pre>
<p>2) Install hplip and hplip-plugin</p>
<pre>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">yaourt -S hplip-plugin<br />
<br />
(Note: hplip will be installed automatically with this command)</div></td></tr></tbody></table></div>
</pre>
<p>3) Start cups</p>
<pre>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Reboot your pc or run this command in command-line window:<br />
<br />
sudo /etc/rc.d/cups start</div></td></tr></tbody></table></div>
</pre>
<p>4) Add printer</p>
<pre>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">- Connect the printer and power on.<br />
- Using web browser to access http://localhost:631<br />
- Click Administration --&amp;gt; Add Printer，and input root's information.<br />
- Select &quot;HP LaserJet P1505 USB CA2988Z HPLIP (HP LaserJet P1505)&quot; (the number may be diffenent), click &quot;Continue&quot;.<br />
- Modify the information or not and click &quot;Continue&quot;.<br />
- In &quot;Model&quot;, select &quot;HP LaserJet p1505, hpcups 3.11.3, requires proprietary plugin (en)&quot;, click &quot;Add Printer&quot;.<br />
- Select the default options, and click &quot;Set Default Options&quot;</div></td></tr></tbody></table></div>
</pre>
<p>5) Download Firmware</p>
<pre>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">run this command<br />
<br />
hp-toolbox<br />
<br />
or select from the program menu.<br />
<br />
Select right device in the left coloum, click &quot;Download Firmware&quot;, and click &quot;Download Firmware&quot; again.</div></td></tr></tbody></table></div>
</pre>
<p>6) Print test paper</p>
<pre>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">It's done.</div></td></tr></tbody></table></div>
</pre>
<p>Note: can anyone help me to improve my poor English?</p>
<p>=============================</p>
<p>周五晚将ubuntu 11.04换成Archlinux，速度有提升，但是太折腾。每项设置都要看着wiki，开着google。目前感觉最困难的是声音和打印机。</p>
<p>alsa折腾很久都没有声音，换oss。有声音了，还挺大，但是插上耳机没有用，还是用喇叭放。又换回alsa，莫明其妙好了，也不知道是哪个地方的设置起作用了。</p>
<p>打印机也很麻烦，什么hplip了，foo2zjs了，直接安装了，自己编译了，反正能查到的，能折腾的，都试了一遍。周六凌晨终于能够打印了。睡了一觉起来，打印机又不干活了。又折腾了一天，总算成功了。为了保险，将所有相关的程序都删除，再重新安装，确认没有问题。</p>
<p>关键的步骤有三点：1、第4步添加打印机时，只能用cups的web管理界面添加，不能用HP的管理程序添加。用HP的程序添加时，总是会卡在下载plugin那一步，无法下载。2、Model一定要选对，其他的不行，至少在我的机子上不行。3、第5步，Firmware一定要下载，不下载打印机不干活。</p>
<p>相信以上步骤对于其他发行版下安装HP打印机也有一定的参考价值。</p>
<p>PS：知道第一次安装、配置会很难，但是没想到这么难！现在我知道为什么装了Archlinux的人都说，装了一次，就不用重装了，折腾不起啊！</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F921.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F920.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Arch Linux升级系统内核后无法启动的处理</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F479.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F920.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux下计算程序的运行时间</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F826.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F920.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">备忘：ydict, garlicsim, funtoo</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F739.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F920.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">KDD Cup2010:教育方面的数据挖掘竞赛</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/920.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Linux Documentation Project</title>
		<link>http://www.ai7.org/wp/html/845.html</link>
		<comments>http://www.ai7.org/wp/html/845.html#comments</comments>
		<pubDate>Tue, 25 Jan 2011 05:45:01 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[LDP]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/html/845.html</guid>
		<description><![CDATA[Linux Documentation Project (LDP) 是一个关于Linux系统相关文档的项目。详细信息请参考项目指南The Linux Documentation Project: Guides。<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="20091111" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F590.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F845.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/29/1636969.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">20091111</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="解决apt依赖问题" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F560.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F845.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/29/1636887.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">解决apt依赖问题</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="12张流程图讲述我们的一生" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F589.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F845.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/08/12/22369878.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">12张流程图讲述我们的一生</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="FFT雕塑" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F579.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F845.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/29/1636987.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">FFT雕塑</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>Linux Documentation Project (LDP) 是一个关于Linux系统相关文档的项目。详细信息请参考项目指南<a href="http://tldp.org/guides.html">The Linux Documentation Project: Guides</a>。</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=2be3f12b-aaa0-86b7-81e6-cac3ca7b8770" /></div>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="10分钟邮箱——学会保护自己" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F296.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F845.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/29/1637023.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">10分钟邮箱——学会保护自己</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Yupoo不识数？" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F229.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F845.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/29/1637437.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Yupoo不识数？</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="现在的桌面" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F153.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F845.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/29/1637448.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">现在的桌面</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="令人敬畏的数学：整系数多项式的根在复平面上的图像" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F637.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F845.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/09/12/30373896.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">令人敬畏的数学：整系数多项式的根在复平面上的图像</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/845.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>备忘：ydict, garlicsim, funtoo</title>
		<link>http://www.ai7.org/wp/html/826.html</link>
		<comments>http://www.ai7.org/wp/html/826.html#comments</comments>
		<pubDate>Fri, 24 Dec 2010 15:59:19 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/html/826.html</guid>
		<description><![CDATA[ydict: 是使用Yahoo在线字典查单词的命令行工具，其实就是一个Python脚本。和那个调用dict.cn的脚本是类似的，功能更完善。 GarlicSim: 是一个开源的计算机仿真平台。 funtoo: 是一个基于Gentoo的Linux发行版。这不是重点，我感兴趣的是它的主页上有一个Linux Core Concepts的教程，包括Linux核心概念，Bash，Awk，Sed等，看上去很不错不错。<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F750.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F826.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">基于Python的针对科学家和工程师的软件工程</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F479.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F826.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux下计算程序的运行时间</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F571.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F826.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">几个值得深入学习的工具</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F921.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F826.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Arch Linux升级系统内核后无法启动的处理</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<ul>
<li><a target="_blank" href="http://code.google.com/p/ydict/">ydict</a>: 是使用Yahoo在线字典查单词的命令行工具，其实就是一个Python脚本。和那个调用dict.cn的<a target="_blank" href="http://fayaa.com/code/view/3097/">脚本</a>是类似的，功能更完善。</li>
<li><a target="_blank" href="http://garlicsim.org/">GarlicSim</a>: 是一个开源的计算机仿真平台。</li>
<li><a target="_blank" href="http://www.funtoo.org/en/articles/linux/lpi/1/">funtoo</a>: 是一个基于Gentoo的Linux发行版。这不是重点，我感兴趣的是它的主页上有一个Linux Core Concepts的教程，包括Linux核心概念，Bash，Awk，Sed等，看上去很不错不错。</li>
</ul>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=0746c7fc-e047-8a42-ac5c-69121e345af9" /></div>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F750.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F826.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">基于Python的针对科学家和工程师的软件工程</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F479.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F826.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux下计算程序的运行时间</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F571.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F826.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">几个值得深入学习的工具</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F921.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F826.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Arch Linux升级系统内核后无法启动的处理</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/826.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fcitx 4.0 郑码码表</title>
		<link>http://www.ai7.org/wp/html/799.html</link>
		<comments>http://www.ai7.org/wp/html/799.html#comments</comments>
		<pubDate>Fri, 19 Nov 2010 17:02:07 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[软件]]></category>
		<category><![CDATA[fcitx]]></category>
		<category><![CDATA[郑码]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/?p=799</guid>
		<description><![CDATA[下载： 官方网站上那个zm.mb中，词序比较乱，很多词的编码是错的，比如“浏览”的编码应该是vskm，而不是vskd，组词规则也是错的。 我修改这个是以winzm为基础，并添加了fcitx 4.0中自带的wbx中的词组。 btw: 2005年前后，用pascal写过一个win码表转到scim码表的mb2scim，花了不少时间，这次用的是python，轻松+愉快。上次差不多400多行代码，这次不到60行，当然完成的功能略有不同。 另外，如果3.6用着没啥毛病的朋友，就不要折腾了，4.0似乎还不是特别稳定。<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F466.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F799.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Nokia N800 网页输入法-郑码</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F678.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F799.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ubuntu 9.10下unzip的乱码问题</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F133.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F799.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">郑码码表 for 掌易 2.0 beta</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F83.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F799.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">基于SCIM 1.0.2的郑码输入法码表</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>下载：<a href="http://www.ai7.org/wp/wp-content/plugins/download-monitor/download.php?id=1" title="Downloaded 227 times">Fcitx 4.0 郑码码表</a></p>
<p>官方网站上那个zm.mb中，词序比较乱，很多词的编码是错的，比如“浏览”的编码应该是vskm，而不是vskd，组词规则也是错的。</p>
<p>我修改这个是以winzm为基础，并添加了fcitx 4.0中自带的wbx中的词组。</p>
<p>btw: 2005年前后，用pascal写过一个win码表转到scim码表的mb2scim，花了不少时间，这次用的是python，轻松+愉快。上次差不多400多行代码，这次不到60行，当然完成的功能略有不同。<br />
另外，如果3.6用着没啥毛病的朋友，就不要折腾了，4.0似乎还不是特别稳定。</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F466.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F799.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Nokia N800 网页输入法-郑码</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F678.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F799.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ubuntu 9.10下unzip的乱码问题</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F133.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F799.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">郑码码表 for 掌易 2.0 beta</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F83.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F799.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">基于SCIM 1.0.2的郑码输入法码表</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/799.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>一句话实现PDF文件减肥</title>
		<link>http://www.ai7.org/wp/html/785.html</link>
		<comments>http://www.ai7.org/wp/html/785.html#comments</comments>
		<pubDate>Tue, 19 Oct 2010 15:42:22 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[软件]]></category>
		<category><![CDATA[compress]]></category>
		<category><![CDATA[ghostscript]]></category>
		<category><![CDATA[pdf]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/?p=785</guid>
		<description><![CDATA[gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/default -dNOPAUSE -dQUIET -dBATCH -sOutputFile=&#8221;outfile.pdf&#8221; &#8220;infile.pdf&#8221; 其中infile.pdf和outfile.pdf分别是输入、输出文件名。 还可以将其写成一个脚本，比如叫compresspdf gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/default -dNOPAUSE -dQUIET -dBATCH -sOutputFile=&#8221;$2&#8243; &#8220;$1&#8243; 添加可执行权限，放入执行文件目录 compress infile.pdf outfile.pdf 注：参考了nautilus的PDF压缩脚本，参见http://www.ubuntuhome.com/compress-pdf.html<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F916.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F785.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Python处理pdf文件的包</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F754.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F785.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">pdf文件自动剪裁（自动切白边）</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F473.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F785.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Beamer文档中添加PDF文档信息(PDF document information)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F623.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F785.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">用Imagemagick将PDF文件转为图片</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/default -dNOPAUSE -dQUIET -dBATCH -sOutputFile=&#8221;outfile.pdf&#8221; &#8220;infile.pdf&#8221;</p>
<p>其中infile.pdf和outfile.pdf分别是输入、输出文件名。</p>
<p>还可以将其写成一个脚本，比如叫compresspdf<br />
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/default -dNOPAUSE -dQUIET -dBATCH -sOutputFile=&#8221;$2&#8243; &#8220;$1&#8243;<br />
添加可执行权限，放入执行文件目录<br />
compress infile.pdf outfile.pdf</p>
<p>注：参考了nautilus的PDF压缩脚本，参见<a href="http://www.ubuntuhome.com/compress-pdf.html">http://www.ubuntuhome.com/compress-pdf.html</a></p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F916.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F785.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Python处理pdf文件的包</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F754.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F785.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">pdf文件自动剪裁（自动切白边）</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F473.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F785.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Beamer文档中添加PDF文档信息(PDF document information)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F623.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F785.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">用Imagemagick将PDF文件转为图片</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/785.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pdf文件自动剪裁（自动切白边）</title>
		<link>http://www.ai7.org/wp/html/754.html</link>
		<comments>http://www.ai7.org/wp/html/754.html#comments</comments>
		<pubDate>Mon, 24 May 2010 16:43:52 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[软件]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[切白边]]></category>
		<category><![CDATA[剪裁]]></category>
		<category><![CDATA[自动]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/html/754.html</guid>
		<description><![CDATA[可能用到的环境、工具：Ubuntu 10.04+TeXLive 2008+pdfcrop+CUPS打印驱动，用Windows的兄弟就不用看了，这些工具理论上在Windows下也有，但是还要另外装不少东西。 下面假设原文件（也就是打算切白边的文件）叫abc.pdf pdfcrop abc.pdf，默认会生成abc-crop.pdf文件，这个已经是切掉白边的了，要是你不嫌它大（或者它确实不大）的话，就完成了。 用阅读器（如evince）打开abc-crop.pdf，并通过CUPS打印到文件，打印时注意关闭所有和页面缩放有关的命令，并选中“使用文档的页面尺寸作为页面尺寸”。打印，完成。 说明： pdfcrop其实是TeXLive自带的。本质上是一个perl脚本。 pdfcrop要调用gs(ghostscript)确定每页的白边大小。对于空白页，会报错，忽略即可。 pdfcrop还可以在切的时候留若干像素，具体请&#8211;help。 pdfcrop要调用pdftex以生成切白边后的文件。 pdfcrop本质上（猜想，没有阅读源码）是先将abc.pdf展开成单页的pdf，调用gs切白边，再用tex文件直接调用pdf页面，最后用pdftex生成输出。 pdfcrop直接生成的文件一般是原文件的20倍以上（本人测试的几个文件均是如此），虚拟打印到新的文件后，基本可以恢复到与原文件同样数量级的尺寸。 测试都是使用的内嵌字体的中英文PDF。扫描版的没试，估计够呛。 5月27日更新： 使用这个脚本PDF压缩脚本-Compress PDF，代替上面的第2步。简单，效果不错。<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F916.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F754.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Python处理pdf文件的包</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F785.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F754.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">一句话实现PDF文件减肥</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F473.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F754.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Beamer文档中添加PDF文档信息(PDF document information)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F623.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F754.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">用Imagemagick将PDF文件转为图片</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>可能用到的环境、工具：Ubuntu 10.04+TeXLive 2008+pdfcrop+CUPS打印驱动，用Windows的兄弟就不用看了，这些工具理论上在Windows下也有，但是还要另外装不少东西。</p>
<p>下面假设原文件（也就是打算切白边的文件）叫abc.pdf</p>
<ol>
<li>pdfcrop abc.pdf，默认会生成abc-crop.pdf文件，这个已经是切掉白边的了，要是你不嫌它大（或者它确实不大）的话，就完成了。</li>
<li>用阅读器（如evince）打开abc-crop.pdf，并通过CUPS打印到文件，打印时注意关闭所有和页面缩放有关的命令，并选中“使用文档的页面尺寸作为页面尺寸”。打印，完成。</li>
</ol>
<p>说明：</p>
<ol>
<li>pdfcrop其实是TeXLive自带的。本质上是一个perl脚本。</li>
<li>pdfcrop要调用gs(ghostscript)确定每页的白边大小。对于空白页，会报错，忽略即可。</li>
<li>pdfcrop还可以在切的时候留若干像素，具体请&#8211;help。</li>
<li>pdfcrop要调用pdftex以生成切白边后的文件。</li>
<li>pdfcrop本质上（猜想，没有阅读源码）是先将abc.pdf展开成单页的pdf，调用gs切白边，再用tex文件直接调用pdf页面，最后用pdftex生成输出。</li>
<li>pdfcrop直接生成的文件一般是原文件的20倍以上（本人测试的几个文件均是如此），虚拟打印到新的文件后，基本可以恢复到与原文件同样数量级的尺寸。</li>
<li>测试都是使用的内嵌字体的中英文PDF。扫描版的没试，估计够呛。</li>
</ol>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=e4f182aa-766f-85f9-a535-5542816210e4" alt="" /></div>
<p>5月27日更新：<br />
使用这个脚本<a href="http://www.ubuntuhome.com/compress-pdf.html">PDF压缩脚本-Compress PDF</a>，代替上面的第2步。简单，效果不错。</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F916.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F754.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Python处理pdf文件的包</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F785.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F754.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">一句话实现PDF文件减肥</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F473.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F754.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Beamer文档中添加PDF文档信息(PDF document information)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F623.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F754.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">用Imagemagick将PDF文件转为图片</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/754.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Android on Nokia N800</title>
		<link>http://www.ai7.org/wp/html/747.html</link>
		<comments>http://www.ai7.org/wp/html/747.html#comments</comments>
		<pubDate>Wed, 19 May 2010 04:06:40 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[N800]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/?p=747</guid>
		<description><![CDATA[根据 http://talk.maemo.org/showthread.php?t=25736 这篇文章，将Android刷到N800上。需要注意两点： 1、作者用的是2G的SD卡，我自己用的是1G的SD卡，所以 sudo sfdisk -uM /dev/sdc ,1024,C ,1,L ,, ,, 这一步需要改一下参数。 2、刷Flash这步，我这里出错：Error claiming USB interface: Device or resource busy 需要参考http://forums.internettablettalk.com/showthread.php?t=33543&#38;page=2这篇文章解决。<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Nokia N800 网页输入法-郑码" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F466.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F747.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Nokia N800 网页输入法-郑码</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="雅虎娱乐－首页" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F262.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F747.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/29/1637419.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">雅虎娱乐－首页</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="转载：最适合一个人玩的视觉游戏" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F272.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F747.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/05/08/8023635.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">转载：最适合一个人玩的视觉游戏</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="转载：告別等候公交車的時代！ （試用“杭州公交GPS”）" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F640.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F747.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/29/1637090.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">转载：告別等候公交車的時代！ （試用“杭州公交GPS”）</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>根据 <a href="http://talk.maemo.org/showthread.php?t=25736">http://talk.maemo.org/showthread.php?t=25736</a> 这篇文章，将Android刷到N800上。需要注意两点：</p>
<p>1、作者用的是2G的SD卡，我自己用的是1G的SD卡，所以</p>
<pre dir="ltr">sudo sfdisk -uM /dev/sdc
,1024,C
,1,L
,,
,,
这一步需要改一下参数。
2、刷Flash这步，我这里出错：Error claiming USB interface: Device or resource busy
需要参考<a href="http://forums.internettablettalk.com/showthread.php?t=33543&amp;page=2">http://forums.internettablettalk.com/showthread.php?t=33543&amp;page=2</a>这篇文章解决。
</pre>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Nokia N800 网页输入法-郑码" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F466.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F747.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Nokia N800 网页输入法-郑码</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[转]SAGE tip: Graphs of Elementary Numerical Integrals" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F860.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F747.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/03/2530535.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[转]SAGE tip: Graphs of Elementary Numerical Integrals</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Page2RSS——为任何网站生成RSS" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F302.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F747.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/29/1637483.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Page2RSS——为任何网站生成RSS</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Science Toys—可以与孩子一起制作的科学玩具" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F314.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F747.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/29/1637372.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Science Toys—可以与孩子一起制作的科学玩具</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/747.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>终于在ubuntu 9.10装上了nvidia显卡驱动</title>
		<link>http://www.ai7.org/wp/html/730.html</link>
		<comments>http://www.ai7.org/wp/html/730.html#comments</comments>
		<pubDate>Mon, 08 Mar 2010 06:42:00 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[vaio]]></category>
		<category><![CDATA[VGN-Z25]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/html/730.html</guid>
		<description><![CDATA[Sony VAIO VGN-Z系列的笔记本都是双显卡，需要使用软件切换。之前在我的Z25上多次尝试安装NV显卡驱动，论坛上能看到的方法都用过了，均没有成功。无论是源中的驱动还是官方的驱动，都不行，重起后黑屏。今天用了 http://global-social.net/VGN-Z 这里的一个脚本，问题基本解决。只是我在用那个脚本时，下载了官方驱动后，又进行了一个什么检测，需要从网上下载包，但是不知道什么原因没有成功，脚本退出。再次运行脚本，在测试过OS版本后，没有反应，只能中止。手工安装了官方驱动，设置了LCD亮度与Fn键的关联。<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F577.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F730.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ubuntu下批量重命名</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F606.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F730.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ubuntu下使用md5sum计算字符串的MD5值</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F533.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F730.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">SD卡续</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F538.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F730.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">SD卡续2</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>Sony VAIO VGN-Z系列的笔记本都是双显卡，需要使用软件切换。之前在我的Z25上多次尝试安装NV显卡驱动，论坛上能看到的方法都用过了，均没有成功。无论是源中的驱动还是官方的驱动，都不行，重起后黑屏。<br />今天用了 <a target="_blank" href="http://global-social.net/VGN-Z">http://global-social.net/VGN-Z</a> 这里的一个脚本，问题基本解决。<br />只是我在用那个脚本时，下载了官方驱动后，又进行了一个什么检测，需要从网上下载包，但是不知道什么原因没有成功，脚本退出。再次运行脚本，在测试过OS版本后，没有反应，只能中止。手工安装了官方驱动，设置了LCD亮度与Fn键的关联。</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F577.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F730.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ubuntu下批量重命名</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F606.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F730.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ubuntu下使用md5sum计算字符串的MD5值</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F533.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F730.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">SD卡续</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F538.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F730.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">SD卡续2</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/730.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mysql乱码问题（备忘）</title>
		<link>http://www.ai7.org/wp/html/692.html</link>
		<comments>http://www.ai7.org/wp/html/692.html#comments</comments>
		<pubDate>Fri, 15 Jan 2010 17:52:41 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[软件]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/html/692.html</guid>
		<description><![CDATA[升级网站的时候，php版本高了，mysql的版本也高了，再加上原来没经验，用的都是GBK，没用UTF8，数据库导过去经常乱码。 两次成功的经验如下。 先保证phpmyadmin中看到的字符是正确的，再在mysql_connect语句之后加一句mysql_query(&#8220;SET NAMES &#8216;GBK&#8217;&#8221;)，差不多就可以了。<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F735.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F692.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">MySql数据库导出时指定编码</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F551.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F692.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">google docs是不是有问题？</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F560.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F692.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">解决apt依赖问题</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F45.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F692.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">虚拟主机上的MySQL数据库的备份</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>升级网站的时候，php版本高了，mysql的版本也高了，再加上原来没经验，用的都是GBK，没用UTF8，数据库导过去经常乱码。<br />
两次成功的经验如下。<br />
先保证phpmyadmin中看到的字符是正确的，再在mysql_connect语句之后加一句mysql_query(&#8220;SET NAMES &#8216;GBK&#8217;&#8221;)，差不多就可以了。</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=6c1d8054-ecef-80d0-a94b-9fc59df71b43" /></div>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F735.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F692.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">MySql数据库导出时指定编码</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F551.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F692.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">google docs是不是有问题？</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F560.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F692.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">解决apt依赖问题</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F45.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F692.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">虚拟主机上的MySQL数据库的备份</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/692.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sage Tutorial中文版</title>
		<link>http://www.ai7.org/wp/html/682.html</link>
		<comments>http://www.ai7.org/wp/html/682.html#comments</comments>
		<pubDate>Sat, 09 Jan 2010 02:43:34 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[sage]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/?p=682</guid>
		<description><![CDATA[Sage Tutorial是一份快速了解Sage的入门文档，花了两周多的时间将其翻译为中文。但是“Some more advanced mathematics”一节没有翻译，因为完全不熟悉这一节所涉及到的内容。 第一次翻译开源软件的技术文档，水平有限，希望各位多提意见，任何方面的都可以。如果没有大的问题，大概一周后会向Sage开发组提交。 源文件使用Sphinx管理，PDF文件是由自动转换而来的LaTeX文件编译的，因此其中很多格式不符合中文的习惯。所以请大家先以HTML文件为准，最后发布前，我会手工调整LaTeX文件后再编译。 Email: amao@ai7.org 相关内容：翻译Sage文档的准备工作 Sage Tutorial 中文版rst源文件 Sage Tutorial 中文版（HTML） Sage Tutorial 中文版（PDF）<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F688.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F682.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">使用Sage绘制动画的一个例子</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F668.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F682.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Sage 4.3今日发布</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F658.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F682.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">翻译Sage文档的准备工作</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F909.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F682.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Sage-多项式插值</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sagemath.org/doc/tutorial/index.html" target="_blank">Sage Tutorial</a>是一份快速了解<a href="http://www.sagemath.org" target="_blank">Sage</a>的入门文档，花了两周多的时间将其翻译为中文。但是“<a href="http://www.sagemath.org/doc/tutorial/tour_advanced.html" target="_blank">Some more advanced mathematics</a>”一节没有翻译，因为完全不熟悉这一节所涉及到的内容。</p>
<p>第一次翻译开源软件的技术文档，水平有限，希望各位多提意见，任何方面的都可以。如果没有大的问题，大概一周后会向Sage开发组提交。</p>
<p>源文件使用Sphinx管理，PDF文件是由自动转换而来的LaTeX文件编译的，因此其中很多格式不符合中文的习惯。所以请大家先以HTML文件为准，最后发布前，我会手工调整LaTeX文件后再编译。</p>
<p>Email: amao@ai7.org</p>
<p>相关内容：<a href="../html/658.html">翻译Sage文档的准备工作</a></p>
<p><a href="http://www.ai7.org/wp/wp-content/uploads/2010/01/rst.zip">Sage Tutorial 中文版rst源文件</a></p>
<p><a href="http://www.ai7.org/wp/wp-content/uploads/2010/01/html.zip">Sage Tutorial 中文版（HTML）</a></p>
<p><a href="http://www.ai7.org/wp/wp-content/uploads/2010/01/pdf.zip">Sage Tutorial 中文版（PDF）</a></p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F688.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F682.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">使用Sage绘制动画的一个例子</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F668.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F682.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Sage 4.3今日发布</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F658.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F682.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">翻译Sage文档的准备工作</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F909.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F682.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Sage-多项式插值</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/682.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.10下unzip的乱码问题</title>
		<link>http://www.ai7.org/wp/html/678.html</link>
		<comments>http://www.ai7.org/wp/html/678.html#comments</comments>
		<pubDate>Fri, 01 Jan 2010 09:56:45 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[zip]]></category>
		<category><![CDATA[乱码]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/?p=678</guid>
		<description><![CDATA[Ubuntu 9.10中unzip升级为6.0，结果原来的-O参数没有了，解压缩Win平台来的带中文文件名的文件时，会有乱码。Google，Baidu无果后，自行使用Python解决。 01 #!/usr/bin/python 02 #coding=utf8 03 04 import zipfile 05 import sys 06 07 if len(sys.argv)&#60;2: 08     print u&#8217;punzip zipfilename&#8217; 09 else: 10     f=zipfile.ZipFile(sys.argv[1]) 11     nlist=f.namelist() 12     for n in nlist: 13         m=unicode(n,&#8217;gb2312&#8242;).encode(&#8216;utf8&#8242;) 14         file(m,&#8217;wb&#8217;).write(f.read(n)) 15     f.close() 只有基本功能，解压缩到当前目录下，不能新建目录…… 请自行修改。<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F577.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F678.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ubuntu下批量重命名</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F419.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F678.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">解决ubuntu下truecrypt乱码问题</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F692.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F678.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Mysql乱码问题（备忘）</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F799.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F678.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Fcitx 4.0 郑码码表</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>Ubuntu 9.10中unzip升级为6.0，结果原来的-O参数没有了，解压缩Win平台来的带中文文件名的文件时，会有乱码。Google，Baidu无果后，自行使用Python解决。</p>
<p>01 #!/usr/bin/python<br />
02 #coding=utf8<br />
03<br />
04 import zipfile<br />
05 import sys<br />
06<br />
07 if len(sys.argv)&lt;2:<br />
08     print u&#8217;punzip zipfilename&#8217;<br />
09 else:<br />
10     f=zipfile.ZipFile(sys.argv[1])<br />
11     nlist=f.namelist()<br />
12     for n in nlist:<br />
13         m=unicode(n,&#8217;gb2312&#8242;).encode(&#8216;utf8&#8242;)<br />
14         file(m,&#8217;wb&#8217;).write(f.read(n))<br />
15     f.close()</p>
<div class="source" style="font-family: &amp;amp;amp;"><span class="_p">只有基本功能，解压缩到当前目录下，不能新建目录……</span></div>
<div class="source" style="font-family: &amp;amp;amp;"><span class="_p">请自行修改。<br />
</span></div>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F577.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F678.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ubuntu下批量重命名</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F419.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F678.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">解决ubuntu下truecrypt乱码问题</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F692.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F678.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Mysql乱码问题（备忘）</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F799.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F678.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Fcitx 4.0 郑码码表</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/678.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>用Imagemagick将PDF文件转为图片</title>
		<link>http://www.ai7.org/wp/html/623.html</link>
		<comments>http://www.ai7.org/wp/html/623.html#comments</comments>
		<pubDate>Sat, 21 Nov 2009 15:05:28 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[软件]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/?p=623</guid>
		<description><![CDATA[convert -density 150  aaa.pdf aaa.png -density 参数指定的是DPI，也就是分辩率。一般屏幕显示用72就足够了，150适用于大多数场合，300以上的分辩率就很高了。不清楚最高可以到多少。当然了，这些都只在原PDF是矢量的情况下才有比较好的效果，如果原PDF是点阵的，比如扫描的图书，那么更大的DPI造成的结果就是颗粒变大。 如果PDF有多页，那么上述命令会将所有的页都转出来，存成多个文件。如果只想转其中某几页，可以在PDF文件名后加页码范围，象这样： convert -density 150  aaa.pdf[0-3,20-25] aaa.png 注意，convert都是从0计数的，也就是说Imagemagick把PDF文件的第一页叫作第0页。不管上面哪种情况，只要是转换多页，Imagemagick都会自动在原文件名中加序号，以0开始，连续编号，形如aaa-0.png、aaa-1.png、aaa-2.png……，而与原页码没有任何联系。 当然了，转换的时候，还可以指定-resize这些参数。<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F635.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F623.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Imagemagick 合并两个图像</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F916.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F623.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Python处理pdf文件的包</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F785.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F623.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">一句话实现PDF文件减肥</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F576.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F623.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">一句话减肥JPEG文件</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>convert -density 150  aaa.pdf aaa.png</p>
<p>-density 参数指定的是DPI，也就是分辩率。一般屏幕显示用72就足够了，150适用于大多数场合，300以上的分辩率就很高了。不清楚最高可以到多少。当然了，这些都只在原PDF是矢量的情况下才有比较好的效果，如果原PDF是点阵的，比如扫描的图书，那么更大的DPI造成的结果就是颗粒变大。</p>
<p>如果PDF有多页，那么上述命令会将所有的页都转出来，存成多个文件。如果只想转其中某几页，可以在PDF文件名后加页码范围，象这样：</p>
<p>convert -density 150  aaa.pdf[0-3,20-25] aaa.png</p>
<p>注意，convert都是从0计数的，也就是说Imagemagick把PDF文件的第一页叫作第0页。不管上面哪种情况，只要是转换多页，Imagemagick都会自动在原文件名中加序号，以0开始，连续编号，形如aaa-0.png、aaa-1.png、aaa-2.png……，而与原页码没有任何联系。</p>
<p>当然了，转换的时候，还可以指定-resize这些参数。</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F635.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F623.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Imagemagick 合并两个图像</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F916.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F623.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Python处理pdf文件的包</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F785.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F623.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">一句话实现PDF文件减肥</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F576.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F623.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">一句话减肥JPEG文件</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/623.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu下使用黑莓8310拨号上网</title>
		<link>http://www.ai7.org/wp/html/608.html</link>
		<comments>http://www.ai7.org/wp/html/608.html#comments</comments>
		<pubDate>Wed, 18 Nov 2009 15:50:30 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[8310]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/?p=608</guid>
		<description><![CDATA[参考页面： http://bbs.maxpda.com/thread-327579-1-2.html http://bbs.maxpda.com/viewthread.php?tid=240390&#38;page=1&#38;extra=page%3D1#pid4918836 http://forum.ubuntu.org.cn/viewtopic.php?f=116&#38;t=215635&#38;start=0 http://hi.baidu.com/icej/blog/item/b5061ffa5a30229e58ee9064.html 综合以上页面的信息，考虑到相关软件的更新以及不同用户的需求，再整理一下。 1、用到的软件就是Berry4All，原名叫BBtether。到http://www.berry4all.com/下载压缩包。软件是用Python写的，因此不需要编译，但是需要安装相关的依赖库。 sudo apt-get install python libusb-dev ppp python-usb 以上4个包是必须装的，如果希望使用GUI界面，就还要安装wxgtk的库文件： sudo apt-get install python-wxgtk2.8 因为在我的机子上wxgtk这个包没有装过，需要额外的43M空间，就没有安装，事实证明也不需要，用命令行足够了。 2、安装好依赖包之后，将Berry4All解压缩，默认有一个bbtether目录。进入bbtether目录下的conf目录，编辑att-conf文件： 将wap.cingular替换为cmnet，其他内容保持不变。 3、停掉已有的网卡： sudo ifconfig eth0 down eth0是第一块网卡的编号。可以用ifconfig命令查看当前活动的网卡，确认全部网卡都已经停掉之后，再进行下一步。 4、回到bbtether目录，使用下面的命令拨号： sudo python bbtether.py att 如果是使用GUI界面，则运行berry4all.sh即可，在菜单中选择att网络。 5、如果一切正常，拨号成功后，最后会显示当前的IP和DNS地址。现在就可以上网了！产生流量后，也会有相应显示。 ===================================== 注： 这些天用Ubuntu远多于Vista，特别是用VirtualBox虚拟了个XP之后。但是外出时上网的问题一直没有解决。根据Vista下用BB拨号经验，前天尝试在虚拟的XP中安装DM并拨号，一直没有成功，每次的错误信息还都不一样，搞到2点多，最后还是放弃了。今天突然想到应该直接搜索一下Linux+BB上网的信息……爽！<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F690.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F608.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">8310一周年</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F577.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F608.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ubuntu下批量重命名</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F606.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F608.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ubuntu下使用md5sum计算字符串的MD5值</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F730.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F608.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">终于在ubuntu 9.10装上了nvidia显卡驱动</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>参考页面：</p>
<ol>
<li><a href="http://bbs.maxpda.com/thread-327579-1-2.html" target="_blank">http://bbs.maxpda.com/thread-327579-1-2.html</a></li>
<li><a href="http://bbs.maxpda.com/viewthread.php?tid=240390&amp;page=1&amp;extra=page%3D1#pid4918836" target="_blank">http://bbs.maxpda.com/viewthread.php?tid=240390&amp;page=1&amp;extra=page%3D1#pid4918836</a></li>
<li><a href="http://forum.ubuntu.org.cn/viewtopic.php?f=116&amp;t=215635&amp;start=0" target="_blank">http://forum.ubuntu.org.cn/viewtopic.php?f=116&amp;t=215635&amp;start=0</a></li>
<li><a href="http://hi.baidu.com/icej/blog/item/b5061ffa5a30229e58ee9064.html" target="_blank">http://hi.baidu.com/icej/blog/item/b5061ffa5a30229e58ee9064.html</a></li>
</ol>
<p>综合以上页面的信息，考虑到相关软件的更新以及不同用户的需求，再整理一下。</p>
<p>1、用到的软件就是Berry4All，原名叫BBtether。到<a href="http://www.berry4all.com/" target="_blank">http://www.berry4all.com/</a>下载<a href="http://www.colar.net/websvn/filedetails.php?repname=src&amp;path=%2Fbbtether%2Fbbtether.tgz" target="_blank">压缩包</a>。软件是用Python写的，因此不需要编译，但是需要安装相关的依赖库。</p>
<p>sudo apt-get install python libusb-dev ppp python-usb</p>
<p>以上4个包是必须装的，如果希望使用GUI界面，就还要安装wxgtk的库文件：</p>
<p>sudo apt-get install python-wxgtk2.8</p>
<p>因为在我的机子上wxgtk这个包没有装过，需要额外的43M空间，就没有安装，事实证明也不需要，用命令行足够了。</p>
<p>2、安装好依赖包之后，将Berry4All解压缩，默认有一个bbtether目录。进入bbtether目录下的conf目录，编辑att-conf文件：</p>
<p>将wap.cingular替换为cmnet，其他内容保持不变。</p>
<p>3、停掉已有的网卡：</p>
<p>sudo ifconfig eth0 down</p>
<p>eth0是第一块网卡的编号。可以用ifconfig命令查看当前活动的网卡，确认全部网卡都已经停掉之后，再进行下一步。</p>
<p>4、回到bbtether目录，使用下面的命令拨号：</p>
<p>sudo python bbtether.py att</p>
<p>如果是使用GUI界面，则运行berry4all.sh即可，在菜单中选择att网络。</p>
<p>5、如果一切正常，拨号成功后，最后会显示当前的IP和DNS地址。现在就可以上网了！产生流量后，也会有相应显示。</p>
<p>=====================================</p>
<p>注：</p>
<p>这些天用Ubuntu远多于Vista，特别是用VirtualBox虚拟了个XP之后。但是外出时上网的问题一直没有解决。根据Vista下用BB拨号经验，前天尝试在虚拟的XP中安装DM并拨号，一直没有成功，每次的错误信息还都不一样，搞到2点多，最后还是放弃了。今天突然想到应该直接搜索一下Linux+BB上网的信息……爽！</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F690.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F608.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">8310一周年</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F577.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F608.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ubuntu下批量重命名</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F606.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F608.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ubuntu下使用md5sum计算字符串的MD5值</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F730.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F608.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">终于在ubuntu 9.10装上了nvidia显卡驱动</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/608.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu下使用md5sum计算字符串的MD5值</title>
		<link>http://www.ai7.org/wp/html/606.html</link>
		<comments>http://www.ai7.org/wp/html/606.html#comments</comments>
		<pubDate>Tue, 17 Nov 2009 15:22:09 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[软件]]></category>
		<category><![CDATA[md5]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/?p=606</guid>
		<description><![CDATA[echo -n string&#124;md5sum 注：之前只会用md5sum计算文件的MD5值，想计算个字符串的MD5值，试了很多办法都不行，今天无意中看到。看来对Linux的软件哲学理解的还是不到位。<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F577.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F606.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ubuntu下批量重命名</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F730.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F606.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">终于在ubuntu 9.10装上了nvidia显卡驱动</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F419.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F606.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">解决ubuntu下truecrypt乱码问题</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F678.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F606.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ubuntu 9.10下unzip的乱码问题</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>echo -n string|md5sum</p>
<p>注：之前只会用md5sum计算文件的MD5值，想计算个字符串的MD5值，试了很多办法都不行，今天无意中看到。看来对Linux的软件哲学理解的还是不到位。</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F577.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F606.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ubuntu下批量重命名</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F730.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F606.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">终于在ubuntu 9.10装上了nvidia显卡驱动</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F419.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F606.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">解决ubuntu下truecrypt乱码问题</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F678.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F606.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ubuntu 9.10下unzip的乱码问题</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/606.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu下批量重命名</title>
		<link>http://www.ai7.org/wp/html/577.html</link>
		<comments>http://www.ai7.org/wp/html/577.html#comments</comments>
		<pubDate>Sun, 01 Nov 2009 12:22:56 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/html/577.html</guid>
		<description><![CDATA[以下命令将当前目录下所有文件文件名中的前缀“sm-”删除，也即原sm-ABC.jpg，改为ABC.jpg： for i in *; do mv $i `echo $i &#124; sed -e &#8216;s/sm-//&#8217;`; done btw：原来一直认为Ubuntu下的几个仿TotalCommander的软件都有这样那样的缺陷，现在才知道原来Linux不需要TotalCommander，默认的小工具非常好用，只有Win这种平台才需要TC。 2011年4月19日补充： 另外一个for循环的例子，解压缩zip文件到相应的目录中去： for i in *.zip; do mkdir `echo $i&#124;sed -e &#8216;s/\.zip//&#8217;`;unzip -O gbk $i -d `echo $i&#124;sed -e &#8216;s/\.zip//&#8217;`;done<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F606.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F577.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ubuntu下使用md5sum计算字符串的MD5值</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F730.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F577.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">终于在ubuntu 9.10装上了nvidia显卡驱动</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F419.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F577.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">解决ubuntu下truecrypt乱码问题</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F608.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F577.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ubuntu下使用黑莓8310拨号上网</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>以下命令将当前目录下所有文件文件名中的前缀“sm-”删除，也即原sm-ABC.jpg，改为ABC.jpg：<br />
for i in *; do mv $i `echo $i | sed -e &#8216;s/sm-//&#8217;`; done</p>
<p>btw：原来一直认为Ubuntu下的几个仿TotalCommander的软件都有这样那样的缺陷，现在才知道原来Linux不需要TotalCommander，默认的小工具非常好用，只有Win这种平台才需要TC。</p>
<p>2011年4月19日补充：</p>
<p>另外一个for循环的例子，解压缩zip文件到相应的目录中去：</p>
<p>for i in *.zip; do mkdir `echo $i|sed -e &#8216;s/\.zip//&#8217;`;unzip -O gbk $i -d `echo $i|sed -e &#8216;s/\.zip//&#8217;`;done</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=4ec260e5-a576-8d2d-bbf7-3b32e2e3beef" alt="" /></div>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F606.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F577.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ubuntu下使用md5sum计算字符串的MD5值</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F730.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F577.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">终于在ubuntu 9.10装上了nvidia显卡驱动</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F419.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F577.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">解决ubuntu下truecrypt乱码问题</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F608.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F577.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ubuntu下使用黑莓8310拨号上网</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/577.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>一句话减肥JPEG文件</title>
		<link>http://www.ai7.org/wp/html/576.html</link>
		<comments>http://www.ai7.org/wp/html/576.html#comments</comments>
		<pubDate>Sun, 01 Nov 2009 12:10:54 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[软件]]></category>
		<category><![CDATA[imagemagick]]></category>
		<category><![CDATA[jpeg]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/html/576.html</guid>
		<description><![CDATA[使用Imagemagick。convert -quality 80 org.jpg&#160; new.jpg如果还想同时调整一下大小：convert -quality 80 -resize 50%x50% org.jpg new.jpg如果是想处理目录下的所有jpg文件（如果是Win平台，可以写个bat文件）：for i in *.jpg; do convert -quality 80 &#8220;$i&#8221; &#8220;sm-$i&#8221;; done<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F635.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F576.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Imagemagick 合并两个图像</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F623.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F576.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">用Imagemagick将PDF文件转为图片</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F228.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F576.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">使用Imagemagick调整相片尺寸，加框，加文字</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F916.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F576.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Python处理pdf文件的包</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>使用Imagemagick。<br />convert -quality 80 org.jpg&nbsp; new.jpg<br />如果还想同时调整一下大小：<br />convert -quality 80 -resize 50%x50% org.jpg new.jpg<br />如果是想处理目录下的所有jpg文件（如果是Win平台，可以写个bat文件）：<br />for i in *.jpg; do convert -quality 80 &#8220;$i&#8221; &#8220;sm-$i&#8221;; done</p>
<p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=528c6ef5-94ff-8c52-a66d-a25fbc306e71" /></div>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F635.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F576.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Imagemagick 合并两个图像</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F623.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F576.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">用Imagemagick将PDF文件转为图片</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F228.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F576.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">使用Imagemagick调整相片尺寸，加框，加文字</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F916.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F576.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Python处理pdf文件的包</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/576.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用cos-html-cache插件后的两个问题</title>
		<link>http://www.ai7.org/wp/html/569.html</link>
		<comments>http://www.ai7.org/wp/html/569.html#comments</comments>
		<pubDate>Tue, 20 Oct 2009 09:17:38 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[软件]]></category>
		<category><![CDATA[cos-html-cache]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/html/569.html</guid>
		<description><![CDATA[1、WordPress内置的搜索功能不能使用。2、搜索引擎没有更新，所收录的页面还是http://www.yoursite.com/?p=23这样的格式，无法正确跳转。 对于第一个问题，网上有一些讨论，主要是建议使用google搜索代替内置的搜索，或者修改源文件。使用Google搜索的话，当然有一些好处，但是搜索结果不如内置的准确。修改源文件的话，有几个地方都有可能涉及到这行代码，比如当前模板目录下的searchform.php，wp-includes下的general-template.php等，具体是哪一个文件在起作用，取决于使用的模板和WordPress版本。而且修改源文件这种方法在版本升级的时候，很容易失效，还要重新改一次。 而对于第二个问题，网上好象没有什么讨论。可能很多人不像我这么懒，一开始就将默认的永久链接格式改掉了。 其实这两个问题有一个共同解决方法，就是在.htaccess文件中加一句:DirectoryIndex index.php index.html 这句话的作用是指定index.php的优先级比index.html高，也就是说，如果访问http://www.yousite.com/的话，会先访问index.php文件。在使用cos-html-cache插件之前，由于没有index.html文件，所以不存在优先级的问题。使用了这个插件之后，index.html的优先级通常比较高，问题就来了。 btw: .htaccess是个好东西。<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F555.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F569.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">chrome对WordPress的编辑器支持不好</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F773.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F569.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">使用lxml解析html文件</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F63.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F569.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">解决了两个Opera的问题</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F551.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F569.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">google docs是不是有问题？</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>1、WordPress内置的搜索功能不能使用。<br />2、搜索引擎没有更新，所收录的页面还是http://www.yoursite.com/?p=23这样的格式，无法正确跳转。</p>
<p>对于第一个问题，网上有<a target="_blank" href="http://www.yysonline.com/html/y2009/m09/446.html">一些讨论</a>，主要是建议使用google搜索代替内置的搜索，或者修改源文件。使用Google搜索的话，当然有一些好处，但是搜索结果不如内置的准确。修改源文件的话，有几个地方都有可能涉及到这行代码，比如当前模板目录下的searchform.php，wp-includes下的general-template.php等，具体是哪一个文件在起作用，取决于使用的模板和WordPress版本。而且修改源文件这种方法在版本升级的时候，很容易失效，还要重新改一次。</p>
<p>而对于第二个问题，网上好象没有什么讨论。可能很多人不像我这么懒，一开始就将默认的永久链接格式改掉了。</p>
<p>其实这两个问题有一个共同解决方法，就是在.htaccess文件中加一句:<br />DirectoryIndex index.php index.html</p>
<p>这句话的作用是指定index.php的优先级比index.html高，也就是说，如果访问http://www.yousite.com/的话，会先访问index.php文件。在使用cos-html-cache插件之前，由于没有index.html文件，所以不存在优先级的问题。使用了这个插件之后，index.html的优先级通常比较高，问题就来了。</p>
<p>btw: .htaccess是个好东西。</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=1f58a6ba-be6c-87b9-bd23-0ae9fc60c7ef" /></div>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F555.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F569.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">chrome对WordPress的编辑器支持不好</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F773.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F569.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">使用lxml解析html文件</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F63.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F569.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">解决了两个Opera的问题</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F551.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F569.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">google docs是不是有问题？</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/569.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>解决apt依赖问题</title>
		<link>http://www.ai7.org/wp/html/560.html</link>
		<comments>http://www.ai7.org/wp/html/560.html#comments</comments>
		<pubDate>Mon, 19 Oct 2009 12:02:32 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[LaTeX相关]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[latex]]></category>
		<category><![CDATA[包依赖]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/html/560.html</guid>
		<description><![CDATA[在Ubuntu下一直是用国内朋友修改后的texlive，原来是2005，现在是2008。这样如果再要装kile这样的软件的话，就会有包依赖的问题，一直不知道怎么解决。今天在查另外一个问题的时候，无意中看到解决方案。总的来就，就是造一个假包装上。在这里，42楼：http://forum.ubuntu.org.cn/viewtopic.php?f=35&#038;t=168940。下面还是转一下原文。 引用: 另外我想重复再问一下，谁有解决 apt 包依赖问题的办法？ 手工安装 TeX Live 后，如果还要从源里安装依赖 texlive 的软件（一个明显的例子就是 LaTeX 的编辑器 kile），就又会要求你再装源里面的那个已经被分解得比较零碎的 texlive2007。似乎是需要做一个关于 texlive 的空的假包？哪里有相关的文档，似乎不好找。 装 dummy 包的办法很简单了，过程如下： 代码: sudo apt-get install equivs 它要装不少东西，好在不是很大，另外有我本来就需要的 MySQL。 在桌面上新建一 .ctl 个文件，比如：texlive-dummy.ctl 。 然后添加如下内容： 代码: Section: tex Package: texlive-dummy Provides: texlive, texlive-base-bin, texlive-base-bin-doc,texlive-bibtex-extra, texlive-common, texlive-doc-base, texlive-doc-bg,texlive-doc-cs+sk, texlive-doc-de, texlive-doc-el, texlive-doc-en,texlive-doc-es, texlive-doc-fi, texlive-doc-fr, texlive-doc-it,texlive-doc-ko, texlive-doc-mn, texlive-doc-nl, texlive-doc-pl,texlive-doc-pt, texlive-doc-ru, texlive-doc-th, <a href="http://www.ai7.org/wp/html/560.html"> read more <span class="meta-nav">&#187;</span></a><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F646.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F560.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">reStructuredTEXT输出为LaTeX以及公式的问题</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F899.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F560.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">[转]LaTeX技巧503：LaTeX的符号查找技巧</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F925.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F560.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">一个新的支持latex的vim插件</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F585.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F560.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">一种基于Latex语言的中文期刊双栏排版模板</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>在Ubuntu下一直是用国内朋友修改后的texlive，原来是2005，现在是2008。这样如果再要装kile这样的软件的话，就会有包依赖的问题，一直不知道怎么解决。今天在查另外一个问题的时候，无意中看到解决方案。总的来就，就是造一个假包装上。在这里，42楼：<a target="_blank" href="http://forum.ubuntu.org.cn/viewtopic.php?f=35&#038;t=168940">http://forum.ubuntu.org.cn/viewtopic.php?f=35&#038;t=168940</a>。下面还是转一下原文。</p>
<p><b>引用:</b>
<div class="quotecontent"><span style="color: rgb(0, 0, 255);">另外我想重复再问一下，谁有解决 apt 包依赖问题的办法？</p>
<p>手工安装 TeX Live 后，如果还要从源里安装依赖 texlive 的软件（一个明显的例子就是 LaTeX 的编辑器 kile），就又会要求你再装源里面的那个已经被分解得比较零碎的 texlive2007。似乎是需要做一个关于 texlive 的空的假包？哪里有相关的文档，似乎不好找。</span></div>
<p>装 dummy 包的办法很简单了，过程如下：</p>
<div class="codetitle"><b>代码:</b></div>
<div class="codecontent">sudo apt-get install equivs</div>
<p>它要装不少东西，好在不是很大，另外有我本来就需要的 MySQL。</p>
<p>在桌面上新建一 .ctl 个文件，比如：texlive-dummy.ctl 。</p>
<p>然后添加如下内容：</p>
<div class="codetitle"><b>代码:</b></div>
<div class="codecontent">Section: tex<br />
Package: texlive-dummy<br />
Provides: texlive, texlive-base-bin, texlive-base-bin-doc,texlive-bibtex-extra, texlive-common, texlive-doc-base, texlive-doc-bg,texlive-doc-cs+sk, texlive-doc-de, texlive-doc-el, texlive-doc-en,texlive-doc-es, texlive-doc-fi, texlive-doc-fr, texlive-doc-it,texlive-doc-ko, texlive-doc-mn, texlive-doc-nl, texlive-doc-pl,texlive-doc-pt, texlive-doc-ru, texlive-doc-th, texlive-doc-tr,texlive-doc-uk, texlive-doc-vi, texlive-doc-zh, texlive-extra-utils,texlive-font-utils, texlive-fonts-extra, texlive-fonts-extra-doc,texlive-fonts-recommended, texlive-fonts-recommended-doc,texlive-formats-extra, texlive-full, texlive-games,texlive-generic-extra, texlive-generic-recommended, texlive-humanities,texlive-humanities-doc, texlive-lang-african, texlive-lang-all,texlive-lang-arab, texlive-lang-armenian, texlive-lang-cyrillic,texlive-lang-czechslovak, texlive-lang-danish, texlive-lang-dutch,texlive-lang-finnish, texlive-lang-french, texlive-lang-german,texlive-lang-greek, texlive-lang-hebrew, texlive-lang-hungarian,texlive-lang-indic, texlive-lang-italian, texlive-lang-latin,texlive-lang-manju, texlive-lang-mongolian, texlive-lang-norwegian,texlive-lang-polish, texlive-lang-portuguese, texlive-lang-spanish,texlive-lang-swedish, texlive-lang-tibetan, texlive-lang-ukenglish,texlive-lang-vietnamese, texlive-latex-base, texlive-latex-base-doc,texlive-latex-extra, texlive-latex-extra-doc, texlive-latex-recommended,texlive-latex-recommended-doc, texlive-latex3, texlive-math-extra,texlive-metapost, texlive-metapost-doc, texlive-music, texlive-omega,texlive-pictures, texlive-pictures-doc, texlive-plain-extra,texlive-pstricks, texlive-pstricks-doc, texlive-publishers,texlive-publishers-doc, texlive-science, texlive-science-doc,texlive-xetex, texlive-lang-other, texlive-lang-croatian, texlive-base,texlive-doc-ja, cm-super, lmodern, latex-xcolor, latex-beamer, pgf,preview-latex-style<br />
Description: TeXlive dummy package<br />
 This package provides dpkg with the information that<br />
 there is a local TeXlive version installed. </div>
<p>保存后开始打包：</p>
<div class="codetitle"><b>代码:</b></div>
<div class="codecontent">sudo equivs-build texlive-dummy.ctl</div>
<p>然后可以看见一个 deb 文件，名为：texlive-dummy_1.0_all.deb</p>
<p>现在就可以安装它了：</p>
<div class="codetitle"><b>代码:</b></div>
<div class="codecontent">sudo dpkg -i texlive-dummy_1.0_all.deb</div>
<p>行了，下面就不用多说了，打开新立德，找到 kile 安装就是了，效果如下：</p>
<div class="attachtitle">附件:</div>
<div class="attachcontent">                <a href="http://forum.ubuntu.org.cn/download/file.php?id=55217&#038;t=1" id="" class="highslide" onclick="return hs.expand(this)"><img src="http://forum.ubuntu.org.cn/download/file.php?id=55217&#038;t=1" alt="Screenshot.png" title="Click to enlarge" /></a> </p>
<p><span class="gensmall">Screenshot.png [ 1002.93 KiB | 被浏览 738 次 ]</span></p></div>
<p>顺便把这两个文件也一并打包附赠：</p>
<div class="attachtitle">附件:</div>
<div class="attachcontent">			<span class="genmed"><br />
				<img src="./styles/UbuntuCN/imageset/icon_topic_attach.gif" alt="" title="" height="18" width="14" /> 				<a href="http://forum.ubuntu.org.cn/download/file.php?id=65674">texlive-dummy.tar.gz</a> [4.25 KiB]<br />
			</span></p>
<p>			<span class="gensmall">被下载 90 次</span> </p>
</div>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=a162c3f9-35d0-80f3-a2fe-117f1831e63c" /></div>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F646.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F560.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">reStructuredTEXT输出为LaTeX以及公式的问题</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F899.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F560.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">[转]LaTeX技巧503：LaTeX的符号查找技巧</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F925.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F560.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">一个新的支持latex的vim插件</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F585.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F560.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">一种基于Latex语言的中文期刊双栏排版模板</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/560.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hawkhost的svn服务设置</title>
		<link>http://www.ai7.org/wp/html/553.html</link>
		<comments>http://www.ai7.org/wp/html/553.html#comments</comments>
		<pubDate>Sat, 10 Oct 2009 02:47:08 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[hawkhost]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/html/553.html</guid>
		<description><![CDATA[Hawkhost的空间有SVN服务器，事先没想到。 如果曾经使用ssh在命令行中建立过版本库的话，先删除之，如果没有，则跳过该步； 在cPanel面板中将界面主题改为RVSkin（只有在这个主题下，才能看到 SVN/Trac 管理器选项）； 在 SVN/Trac 管理器中启用它； 一个默认的 repository 就已经建好了，可以添加一个子库，比如说叫repo： 在客户机上进入命令行环境，转到要提交的目录下，并输入如下命令：svn import -m &#8220;initial commit&#8221; svn://&#60;yourdomain&#62;/repo 要 checkout 的话，可以这样：svn co svn://&#60;yourdomain&#62;/repo 消息来源：http://forums.hawkhost.com/showthread.php?t=232<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="搬家" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F548.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F553.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">搬家</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Batch Commander–自动设置TeX文件的样式" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F759.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F553.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Batch Commander–自动设置TeX文件的样式</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Treo 680发布" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F147.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F553.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/29/1637458.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Treo 680发布</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="推荐一个免费强大的PDF阅读器——PDF-XChange View" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F275.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F553.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/29/1637492.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">推荐一个免费强大的PDF阅读器——PDF-XChange View</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<ol></ol>
<p><a href="http://my.hawkhost.com/aff.php?aff=270" target="_blank">Hawkhost</a>的空间有SVN服务器，事先没想到。</p>
<ol>
<li>如果曾经使用ssh在命令行中建立过版本库的话，先删除之，如果没有，则跳过该步；</li>
<li>在cPanel面板中将界面主题改为RVSkin（只有在这个主题下，才能看到 SVN/Trac 管理器选项）；</li>
<li>在 SVN/Trac 管理器中启用它；</li>
<li>一个默认的 repository 就已经建好了，可以添加一个子库，比如说叫repo：</li>
<li>在客户机上进入命令行环境，转到要提交的目录下，并输入如下命令：svn import -m &#8220;initial commit&#8221; svn://&lt;yourdomain&gt;/repo</li>
<li>要 checkout 的话，可以这样：svn co svn://&lt;yourdomain&gt;/repo</li>
</ol>
<p>消息来源：<a href="http://forums.hawkhost.com/showthread.php?t=232" target="_blank">http://forums.hawkhost.com/showthread.php?t=232</a></p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=a2699da1-8a93-8f06-80c5-067d5acd1bef" alt="" /></div>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="搬家" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F548.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F553.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">搬家</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Batch Commander–自动设置TeX文件的样式" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F759.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F553.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Batch Commander–自动设置TeX文件的样式</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="转载：How to win" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F367.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F553.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/06/13/12099348.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">转载：How to win</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="123，查！——123cha.com" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F299.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F553.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/29/1637486.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">123，查！——123cha.com</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/553.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linux下计算程序的运行时间</title>
		<link>http://www.ai7.org/wp/html/479.html</link>
		<comments>http://www.ai7.org/wp/html/479.html#comments</comments>
		<pubDate>Wed, 12 Aug 2009 14:57:54 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[time]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/?p=479</guid>
		<description><![CDATA[命令：time 程序名可以显示程序运行总时间，程序所用时间，以及系统所用时间比如time ls<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F921.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F479.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Arch Linux升级系统内核后无法启动的处理</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F826.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F479.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">备忘：ydict, garlicsim, funtoo</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F245.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F479.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">转载：世界需要Google Linux</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F845.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F479.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Linux Documentation Project</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>命令：<br />time 程序名<br />可以显示程序运行总时间，程序所用时间，以及系统所用时间<br />比如<br />time ls</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F921.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F479.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Arch Linux升级系统内核后无法启动的处理</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F826.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F479.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">备忘：ydict, garlicsim, funtoo</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F245.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F479.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">转载：世界需要Google Linux</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F845.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F479.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Linux Documentation Project</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/479.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

