<?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>ggarlic的blog &#187; Tips</title>
	<atom:link href="http://ggarlic.org/blog/category/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://ggarlic.org/blog</link>
	<description>cat ~ggarlic/life &#62; /dev/null</description>
	<lastBuildDate>Sat, 14 Jan 2012 13:34:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>恢复/var/lib/pacman</title>
		<link>http://ggarlic.org/blog/2010/07/restore_pacman/</link>
		<comments>http://ggarlic.org/blog/2010/07/restore_pacman/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 04:41:27 +0000</pubDate>
		<dc:creator>ggarlic</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[pacman]]></category>

		<guid isPermaLink="false">http://ggarlic.org/blog/?p=702</guid>
		<description><![CDATA[不小心把/var/lib/pacman删除了，别问我为什么，我到现在都不知道我当时脑子怎么抽抽了，大概是热得。

昨晚搞到3点多终于把被删除的玩意都恢复回来了，说说怎么做的吧。

先看看/var/lib/pacman里都是什么东西（恢复后的）：
<p style="padding-left: 30px;">local/    sync/    arc[......]</p><p class='read-more'><a href='http://ggarlic.org/blog/2010/07/restore_pacman/'>Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>不小心把/var/lib/pacman删除了，别问我为什么，我到现在都不知道我当时脑子怎么抽抽了，大概是热得。</p>
<p>昨晚搞到3点多终于把被删除的玩意都恢复回来了，说说怎么做的吧。</p>
<p>先看看/var/lib/pacman里都是什么东西（恢复后的）：</p>
<p style="padding-left: 30px;">local/    sync/    arc[......]</p>
<p class='read-more'><a href='http://ggarlic.org/blog/2010/07/restore_pacman/'>Read more</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ggarlic.org/blog/2010/07/restore_pacman/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>intel 3945网卡问题</title>
		<link>http://ggarlic.org/blog/2010/07/intel-3945-connection-problem/</link>
		<comments>http://ggarlic.org/blog/2010/07/intel-3945-connection-problem/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 01:57:28 +0000</pubDate>
		<dc:creator>ggarlic</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[autojump]]></category>
		<category><![CDATA[intel3945]]></category>
		<category><![CDATA[wifi]]></category>

		<guid isPermaLink="false">http://ggarlic.org/blog/?p=699</guid>
		<description><![CDATA[这个问题貌似已经出现很就了，因为一直没用wifi所以没太注意，直到昨天想用了。。。

我记得是某一天更新的时候提示网卡驱动被linux-firmware代替了，之后就一直提示我无限网卡被禁用。
强行ifconfig wlan0 up的话会提示:
<blockquote>SIOCSIFFLAGS: Operation[......]</blockquote><p class='read-more'><a href='http://ggarlic.org/blog/2010/07/intel-3945-connection-problem/'>Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>这个问题貌似已经出现很就了，因为一直没用wifi所以没太注意，直到昨天想用了。。。</p>
<p>我记得是某一天更新的时候提示网卡驱动被linux-firmware代替了，之后就一直提示我无限网卡被禁用。<br />
强行ifconfig wlan0 up的话会提示:</p>
<blockquote><p>SIOCSIFFLAGS: Operation[......]</p></blockquote>
<p class='read-more'><a href='http://ggarlic.org/blog/2010/07/intel-3945-connection-problem/'>Read more</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ggarlic.org/blog/2010/07/intel-3945-connection-problem/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>终于让chromium中文字体差不多正常了</title>
		<link>http://ggarlic.org/blog/2010/05/the-uglychinese-fonts-in-chromium/</link>
		<comments>http://ggarlic.org/blog/2010/05/the-uglychinese-fonts-in-chromium/#comments</comments>
		<pubDate>Sat, 15 May 2010 10:49:04 +0000</pubDate>
		<dc:creator>ggarlic</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[chromium]]></category>
		<category><![CDATA[fonts]]></category>

		<guid isPermaLink="false">http://ggarlic.org/blog/?p=665</guid>
		<description><![CDATA[不知道从什么时候起，chromium中文字体就变难看了，下面是我用的6.0.405.0(47356的效果)

<a href="http://ggarlic.org/blog/wp-content/uploads/2010/05/before.png"><img class="alignnone size-full wp-image-666" title="before" src="http://ggarlic.org/blog/wp-content/uploads/2010/05/before.png" alt="" width="631" height="348" /></a>

放大之后能看出来是文泉驿正黑，但我设置的chromium的默认字体是微米黑啊，系统默认字体是花纹黑体，囧

再来看一张163的效果

<a href="http://ggarlic.org/blog/wp-content/uploads/2010/05/2010-05-15-1273916502_426x212_scrot.png"><img class="alignnone size-full wp-image-668" title="2010-05-15--1273916502_426x212_scrot" src="http://ggarlic.org/blog/wp-content/uploads/2010/05/2010-05-15-1273916502_426x212_scrot.png" alt="" width="426" height="212" /></a>

放大之后可以看出来是宋体[......]<p class='read-more'><a href='http://ggarlic.org/blog/2010/05/the-uglychinese-fonts-in-chromium/'>Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>不知道从什么时候起，chromium中文字体就变难看了，下面是我用的6.0.405.0(47356的效果)</p>
<p><a href="http://ggarlic.org/blog/wp-content/uploads/2010/05/before.png" rel="lightbox[665]"><img class="alignnone size-full wp-image-666" title="before" src="http://ggarlic.org/blog/wp-content/uploads/2010/05/before.png" alt="" width="631" height="348" /></a></p>
<p>放大之后能看出来是文泉驿正黑，但我设置的chromium的默认字体是微米黑啊，系统默认字体是花纹黑体，囧</p>
<p>再来看一张163的效果</p>
<p><a href="http://ggarlic.org/blog/wp-content/uploads/2010/05/2010-05-15-1273916502_426x212_scrot.png" rel="lightbox[665]"><img class="alignnone size-full wp-image-668" title="2010-05-15--1273916502_426x212_scrot" src="http://ggarlic.org/blog/wp-content/uploads/2010/05/2010-05-15-1273916502_426x212_scrot.png" alt="" width="426" height="212" /></a></p>
<p>放大之后可以看出来是宋体[......]
<p class='read-more'><a href='http://ggarlic.org/blog/2010/05/the-uglychinese-fonts-in-chromium/'>Read more</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ggarlic.org/blog/2010/05/the-uglychinese-fonts-in-chromium/feed/</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
		<item>
		<title>QLOCKTWO in Conky</title>
		<link>http://ggarlic.org/blog/2010/04/qlocktwo-in-conky/</link>
		<comments>http://ggarlic.org/blog/2010/04/qlocktwo-in-conky/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 08:58:21 +0000</pubDate>
		<dc:creator>ggarlic</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[conky]]></category>
		<category><![CDATA[qlocktwo]]></category>

		<guid isPermaLink="false">http://ggarlic.org/blog/?p=598</guid>
		<description><![CDATA[<a href="http://ggarlic.org/blog/wp-content/uploads/2010/04/500x_quicktwo.jpg"><img class="alignnone size-full wp-image-599" title="qlocktwo" src="http://ggarlic.org/blog/wp-content/uploads/2010/04/500x_quicktwo.jpg" alt="" width="500" height="478" /></a>

请允许我火星一下，这已经是半年多以前的东西。

前两天在crunchbang的论坛里闲逛，发现了有人的conky显示时间的部分是qlocktwo。好奇地google了一下，发现了就是上面图里的东西，太有feel了。此图质量不好，点击<a href="http://www.qlocktwo.com/">官网</a>看各种色调高清无码图。

想买的童鞋可能要失望了[......]<p class='read-more'><a href='http://ggarlic.org/blog/2010/04/qlocktwo-in-conky/'>Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://ggarlic.org/blog/wp-content/uploads/2010/04/500x_quicktwo.jpg" rel="lightbox[598]"><img class="alignnone size-full wp-image-599" title="qlocktwo" src="http://ggarlic.org/blog/wp-content/uploads/2010/04/500x_quicktwo.jpg" alt="" width="500" height="478" /></a></p>
<p>请允许我火星一下，这已经是半年多以前的东西。</p>
<p>前两天在crunchbang的论坛里闲逛，发现了有人的conky显示时间的部分是qlocktwo。好奇地google了一下，发现了就是上面图里的东西，太有feel了。此图质量不好，点击<a href="http://www.qlocktwo.com/">官网</a>看各种色调高清无码图。</p>
<p>想买的童鞋可能要失望了[......]
<p class='read-more'><a href='http://ggarlic.org/blog/2010/04/qlocktwo-in-conky/'>Read more</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ggarlic.org/blog/2010/04/qlocktwo-in-conky/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>合并ext4分区</title>
		<link>http://ggarlic.org/blog/2010/02/merging-ext4-partitions/</link>
		<comments>http://ggarlic.org/blog/2010/02/merging-ext4-partitions/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 12:33:08 +0000</pubDate>
		<dc:creator>ggarlic</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[ext4]]></category>

		<guid isPermaLink="false">http://ggarlic.org/blog/?p=540</guid>
		<description><![CDATA[装arch的时候被wiki忽悠了,本来就15G空间,还把/跟/home分开了,恰好我最近养成了bt跟emule的习惯,成天看着/home空间不足而/剩着4G多空间很是不爽,所以准备合并他们.

其实过程很简单

1,备份/home(你要是不放心把/也备份了)

2,livecd启动,打开[......]<p class='read-more'><a href='http://ggarlic.org/blog/2010/02/merging-ext4-partitions/'>Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>装arch的时候被wiki忽悠了,本来就15G空间,还把/跟/home分开了,恰好我最近养成了bt跟emule的习惯,成天看着/home空间不足而/剩着4G多空间很是不爽,所以准备合并他们.</p>
<p>其实过程很简单</p>
<p>1,备份/home(你要是不放心把/也备份了)</p>
<p>2,livecd启动,打开[......]
<p class='read-more'><a href='http://ggarlic.org/blog/2010/02/merging-ext4-partitions/'>Read more</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ggarlic.org/blog/2010/02/merging-ext4-partitions/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>同头尾合十法</title>
		<link>http://ggarlic.org/blog/2009/12/math-trick/</link>
		<comments>http://ggarlic.org/blog/2009/12/math-trick/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 13:35:08 +0000</pubDate>
		<dc:creator>ggarlic</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[math]]></category>

		<guid isPermaLink="false">http://ggarlic.org/blog/?p=502</guid>
		<description><![CDATA[刚才无意中发现高中数学老师教的平法速算方法中，以5结尾的速算法竟然是“同头尾合十法”的特例。
<h3>同头尾合十：</h3>
<p style="padding-left: 30px;">两个数相乘，它们除了个位其余部分相同，并且个位之和是10，结果就是除了个位的部分乘以比其大一的数并在后面补上个位相乘的积。(注意个位为1和9的时候，要在前面补零)</p>
举个例子：
<p style="padding-left: 30px;">35x3[......]</p><p class='read-more'><a href='http://ggarlic.org/blog/2009/12/math-trick/'>Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>刚才无意中发现高中数学老师教的平法速算方法中，以5结尾的速算法竟然是“同头尾合十法”的特例。</p>
<h3>同头尾合十：</h3>
<p style="padding-left: 30px;">两个数相乘，它们除了个位其余部分相同，并且个位之和是10，结果就是除了个位的部分乘以比其大一的数并在后面补上个位相乘的积。(注意个位为1和9的时候，要在前面补零)</p>
<p>举个例子：</p>
<p style="padding-left: 30px;">35&#215;3[......]</p>
<p class='read-more'><a href='http://ggarlic.org/blog/2009/12/math-trick/'>Read more</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ggarlic.org/blog/2009/12/math-trick/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>装逼利器之irssi的nicklist插件的方便使用方法之绑定</title>
		<link>http://ggarlic.org/blog/2009/11/%e8%a3%85%e9%80%bc%e5%88%a9%e5%99%a8%e4%b9%8birssi%e7%9a%84nicklist%e6%8f%92%e4%bb%b6%e7%9a%84%e6%96%b9%e4%be%bf%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95%e4%b9%8b%e7%bb%91%e5%ae%9a/</link>
		<comments>http://ggarlic.org/blog/2009/11/%e8%a3%85%e9%80%bc%e5%88%a9%e5%99%a8%e4%b9%8birssi%e7%9a%84nicklist%e6%8f%92%e4%bb%b6%e7%9a%84%e6%96%b9%e4%be%bf%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95%e4%b9%8b%e7%bb%91%e5%ae%9a/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 04:23:31 +0000</pubDate>
		<dc:creator>ggarlic</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[irssi]]></category>
		<category><![CDATA[shortcuts]]></category>

		<guid isPermaLink="false">http://ggarlic.org/blog/?p=333</guid>
		<description><![CDATA[题目真拗口

本文不讲什么是irc，irssi，nicklist的安装启动什么的乱七八糟的内容

其实很简单

我用的ctrl F下翻 ctrl B上反


<strong>
<blockquote><code>/bind ^F /nicklist scroll +10

/bind ^B /nicklist scroll -10</code></blockquote></strong>



不放心的话再[......]<p class='read-more'><a href='http://ggarlic.org/blog/2009/11/%e8%a3%85%e9%80%bc%e5%88%a9%e5%99%a8%e4%b9%8birssi%e7%9a%84nicklist%e6%8f%92%e4%bb%b6%e7%9a%84%e6%96%b9%e4%be%bf%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95%e4%b9%8b%e7%bb%91%e5%ae%9a/'>Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>题目真拗口</p>
<p>本文不讲什么是irc，irssi，nicklist的安装启动什么的乱七八糟的内容</p>
<p>其实很简单</p>
<p>我用的ctrl F下翻 ctrl B上反</p>
<p><strong></p>
<blockquote><p><code>/bind ^F /nicklist scroll +10</p>
<p>/bind ^B /nicklist scroll -10</code></p></blockquote>
<p></strong></p>
<p>不放心的话再[......]
<p class='read-more'><a href='http://ggarlic.org/blog/2009/11/%e8%a3%85%e9%80%bc%e5%88%a9%e5%99%a8%e4%b9%8birssi%e7%9a%84nicklist%e6%8f%92%e4%bb%b6%e7%9a%84%e6%96%b9%e4%be%bf%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95%e4%b9%8b%e7%bb%91%e5%ae%9a/'>Read more</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ggarlic.org/blog/2009/11/%e8%a3%85%e9%80%bc%e5%88%a9%e5%99%a8%e4%b9%8birssi%e7%9a%84nicklist%e6%8f%92%e4%bb%b6%e7%9a%84%e6%96%b9%e4%be%bf%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95%e4%b9%8b%e7%bb%91%e5%ae%9a/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>just for convenience</title>
		<link>http://ggarlic.org/blog/2009/10/just-for-convenience/</link>
		<comments>http://ggarlic.org/blog/2009/10/just-for-convenience/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 07:57:40 +0000</pubDate>
		<dc:creator>ggarlic</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[ruijieclient]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://ggarlic.org/blog/?p=318</guid>
		<description><![CDATA[well, now i'm on my classmate's laptop with a newly installed ubuntu 9.04 and no chinese input method

just log something i always forget

1,for insta[......]<p class='read-more'><a href='http://ggarlic.org/blog/2009/10/just-for-convenience/'>Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>well, now i&#8217;m on my classmate&#8217;s laptop with a newly installed ubuntu 9.04 and no chinese input method</p>
<p>just log something i always forget</p>
<p>1,for insta[......]
<p class='read-more'><a href='http://ggarlic.org/blog/2009/10/just-for-convenience/'>Read more</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ggarlic.org/blog/2009/10/just-for-convenience/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>流水帐10-05-2009</title>
		<link>http://ggarlic.org/blog/2009/10/%e6%b5%81%e6%b0%b4%e5%b8%9010-05-2009/</link>
		<comments>http://ggarlic.org/blog/2009/10/%e6%b5%81%e6%b0%b4%e5%b8%9010-05-2009/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 08:55:04 +0000</pubDate>
		<dc:creator>ggarlic</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://ggarlic.org/blog/?p=312</guid>
		<description><![CDATA[1,去掉vim中的^M
<code>:%s/^M//</code>
或者
<code>:%s/&#60;ctrl-v return&#62;//</code>

2,优化ff的速度，6和8两条没执行，<a href="http://software.solidot.org/software/09/10/05/0656208.shtml">http://software.solidot.org/software/09/10/05/0656208.shtml</a>

3，昨晚睡晚了，早上去翠华山半路晕[......]<p class='read-more'><a href='http://ggarlic.org/blog/2009/10/%e6%b5%81%e6%b0%b4%e5%b8%9010-05-2009/'>Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>1,去掉vim中的^M<br />
<code>:%s/^M//</code><br />
或者<br />
<code>:%s/&lt;ctrl-v return&gt;//</code></p>
<p>2,优化ff的速度，6和8两条没执行，<a href="http://software.solidot.org/software/09/10/05/0656208.shtml">http://software.solidot.org/software/09/10/05/0656208.shtml</a></p>
<p>3，昨晚睡晚了，早上去翠华山半路晕[......]
<p class='read-more'><a href='http://ggarlic.org/blog/2009/10/%e6%b5%81%e6%b0%b4%e5%b8%9010-05-2009/'>Read more</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ggarlic.org/blog/2009/10/%e6%b5%81%e6%b0%b4%e5%b8%9010-05-2009/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>audacious的notify-osd效果</title>
		<link>http://ggarlic.org/blog/2009/09/audacious%e7%9a%84notify-osd%e6%95%88%e6%9e%9c/</link>
		<comments>http://ggarlic.org/blog/2009/09/audacious%e7%9a%84notify-osd%e6%95%88%e6%9e%9c/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 18:39:59 +0000</pubDate>
		<dc:creator>ggarlic</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[audacious]]></category>
		<category><![CDATA[libnotify]]></category>

		<guid isPermaLink="false">http://ggarlic.org/blog/?p=300</guid>
		<description><![CDATA[写完才发现这篇文章其实前面全是废话，心急的话直接看最后几段，写这么长不过是纯粹的寂寞，也顺便让各位见识一下我是多么废话连篇，跑题严重，指东打西[......]<p class='read-more'><a href='http://ggarlic.org/blog/2009/09/audacious%e7%9a%84notify-osd%e6%95%88%e6%9e%9c/'>Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>写完才发现这篇文章其实前面全是废话，心急的话直接看最后几段，写这么长不过是纯粹的寂寞，也顺便让各位见识一下我是多么废话连篇，跑题严重，指东打西[......]
<p class='read-more'><a href='http://ggarlic.org/blog/2009/09/audacious%e7%9a%84notify-osd%e6%95%88%e6%9e%9c/'>Read more</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ggarlic.org/blog/2009/09/audacious%e7%9a%84notify-osd%e6%95%88%e6%9e%9c/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

