<?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>Tin&#039;s Blog &#187; status</title>
	<atom:link href="http://www.diamondtin.com/category/status/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.diamondtin.com</link>
	<description>you are coming a long way...</description>
	<lastBuildDate>Wed, 11 Aug 2010 09:43:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>OpenParty的新网站的Django项目使用了South这个migratio&#8230;</title>
		<link>http://www.diamondtin.com/2010/openparty%e7%9a%84%e6%96%b0%e7%bd%91%e7%ab%99%e7%9a%84django%e9%a1%b9%e7%9b%ae%e4%bd%bf%e7%94%a8%e4%ba%86south%e8%bf%99%e4%b8%aamigratio/</link>
		<comments>http://www.diamondtin.com/2010/openparty%e7%9a%84%e6%96%b0%e7%bd%91%e7%ab%99%e7%9a%84django%e9%a1%b9%e7%9b%ae%e4%bd%bf%e7%94%a8%e4%ba%86south%e8%bf%99%e4%b8%aamigratio/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 09:42:48 +0000</pubDate>
		<dc:creator>tin</dc:creator>
				<category><![CDATA[status]]></category>
		<category><![CDATA[django south]]></category>

		<guid isPermaLink="false">http://www.diamondtin.com/2010/openparty%e7%9a%84%e6%96%b0%e7%bd%91%e7%ab%99%e7%9a%84django%e9%a1%b9%e7%9b%ae%e4%bd%bf%e7%94%a8%e4%ba%86south%e8%bf%99%e4%b8%aamigratio/</guid>
		<description><![CDATA[OpenParty的新网站的Django项目使用了South这个migration工具。可是刚才增加了一个Model以后却无论如何都无法生成这个migration。 ./manage.py schemamigration core --auto 上面这个命令每次都提示： Nothing seems to... ]]></description>
			<content:encoded><![CDATA[<p><a href="http://app.beijing-open-party.org">OpenParty的新网站</a>的Django项目使用了<a href="http://south.aeracode.org">South</a>这个migration工具。可是刚才增加了一个Model以后却无论如何都无法生成这个migration。</p>
<pre>./manage.py schemamigration core --auto</pre>
<p>上面这个命令每次都提示：</p>
<pre>Nothing seems to have changed.</pre>
<p>很郁闷。试验了看是否是South或者Django的版本问题，都升级到最新版依然有这个问题。看了google groups里面也没有人报有这个问题。于是仔细搜索问题的来源，最终发现是这个原因：</p>
<pre>
    class Meta:
        app_label = 'core'
</pre>
<p>上次我们Team重构项目的时候去掉了项目的openparty前缀，使用相对路径import，结果造成&#8221;core&#8221;项目实际上是存在&#8221;apps.core&#8221;下面的。所以，需要用Meta类告诉Django实际上对应的app名称。结绳记事。</p>]]></content:encoded>
			<wfw:commentRss>http://www.diamondtin.com/2010/openparty%e7%9a%84%e6%96%b0%e7%bd%91%e7%ab%99%e7%9a%84django%e9%a1%b9%e7%9b%ae%e4%bd%bf%e7%94%a8%e4%ba%86south%e8%bf%99%e4%b8%aamigratio/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>在Mac下的Pydev里面几个常用的快捷键 Cmd+e切换tab，配合输入tab&#8230;</title>
		<link>http://www.diamondtin.com/2010/%e5%9c%a8mac%e4%b8%8b%e7%9a%84pydev%e9%87%8c%e9%9d%a2%e5%87%a0%e4%b8%aa%e5%b8%b8%e7%94%a8%e7%9a%84%e5%bf%ab%e6%8d%b7%e9%94%ae-cmde%e5%88%87%e6%8d%a2tab%ef%bc%8c%e9%85%8d%e5%90%88%e8%be%93%e5%85%a5tab/</link>
		<comments>http://www.diamondtin.com/2010/%e5%9c%a8mac%e4%b8%8b%e7%9a%84pydev%e9%87%8c%e9%9d%a2%e5%87%a0%e4%b8%aa%e5%b8%b8%e7%94%a8%e7%9a%84%e5%bf%ab%e6%8d%b7%e9%94%ae-cmde%e5%88%87%e6%8d%a2tab%ef%bc%8c%e9%85%8d%e5%90%88%e8%be%93%e5%85%a5tab/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 07:19:20 +0000</pubDate>
		<dc:creator>tin</dc:creator>
				<category><![CDATA[status]]></category>
		<category><![CDATA[pydev mac shortcut python]]></category>

		<guid isPermaLink="false">http://www.diamondtin.com/2010/%e5%9c%a8mac%e4%b8%8b%e7%9a%84pydev%e9%87%8c%e9%9d%a2%e5%87%a0%e4%b8%aa%e5%b8%b8%e7%94%a8%e7%9a%84%e5%bf%ab%e6%8d%b7%e9%94%ae-cmde%e5%88%87%e6%8d%a2tab%ef%bc%8c%e9%85%8d%e5%90%88%e8%be%93%e5%85%a5tab/</guid>
		<description><![CDATA[在Mac下的Pydev里面几个常用的快捷键 Cmd+e 切换tab，配合输入tab文件的名字的前几个可以快速在上下文中切换tab Cmd+d 删除本行 Cmd+Option+上 复制本行一次（Duplicate this line） Cmd+Shift+R 快速打开文件... ]]></description>
			<content:encoded><![CDATA[<h2>在Mac下的Pydev里面几个常用的快捷键</h2>
<dl>
<dt>Cmd+e</dt>
<dd>切换tab，配合输入tab文件的名字的前几个可以快速在上下文中切换tab</dd>
<dt>Cmd+d</dt>
<dd>删除本行</dd>
<dt>Cmd+Option+上</dt>
<dd>复制本行一次（Duplicate this line）</dd>
<dt>Cmd+Shift+R</dt>
<dd>快速打开文件，注意没有通配符也不是smart匹配……</dd>
<dt>Cmd+Shift+F11</dt>
<dd>Rerun，常用在运行当前的单元测试</dd>
<dt>Cmd+Option+r
<dt>
<dd>Rename refactory，重命名重构，非常实用。不过少数情况下这个重构不安全，注意diff</dd>
<dt>Cmd+Shift+O</dt>
<dd>自动import，缺点是它会搅乱你精心设计的import顺序，不在乎的朋友非常方便，可以让你的coding工作变得非常流畅。不过如果你开启auto import以后这个快捷键就不需要了，但是auto import的副作用就是它经常import那些明明不需要import的东西，如self、len它都会傻傻的import。</dd>
<dt>Cmd+Shift+F</dt>
<dd>在当前Folder搜索，前提是你在文件浏览部分选中了一个Folder</dd>
</dl>]]></content:encoded>
			<wfw:commentRss>http://www.diamondtin.com/2010/%e5%9c%a8mac%e4%b8%8b%e7%9a%84pydev%e9%87%8c%e9%9d%a2%e5%87%a0%e4%b8%aa%e5%b8%b8%e7%94%a8%e7%9a%84%e5%bf%ab%e6%8d%b7%e9%94%ae-cmde%e5%88%87%e6%8d%a2tab%ef%bc%8c%e9%85%8d%e5%90%88%e8%be%93%e5%85%a5tab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>刚才写了一个识别网站charset的正则，因为目前写一个网页抓取的工具，里面对中&#8230;</title>
		<link>http://www.diamondtin.com/2010/%e5%88%9a%e6%89%8d%e5%86%99%e4%ba%86%e4%b8%80%e4%b8%aa%e8%af%86%e5%88%ab%e7%bd%91%e7%ab%99charset%e7%9a%84%e6%ad%a3%e5%88%99%ef%bc%8c%e5%9b%a0%e4%b8%ba%e7%9b%ae%e5%89%8d%e5%86%99%e4%b8%80%e4%b8%aa/</link>
		<comments>http://www.diamondtin.com/2010/%e5%88%9a%e6%89%8d%e5%86%99%e4%ba%86%e4%b8%80%e4%b8%aa%e8%af%86%e5%88%ab%e7%bd%91%e7%ab%99charset%e7%9a%84%e6%ad%a3%e5%88%99%ef%bc%8c%e5%9b%a0%e4%b8%ba%e7%9b%ae%e5%89%8d%e5%86%99%e4%b8%80%e4%b8%aa/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 05:32:20 +0000</pubDate>
		<dc:creator>tin</dc:creator>
				<category><![CDATA[status]]></category>
		<category><![CDATA[regexp]]></category>

		<guid isPermaLink="false">http://www.diamondtin.com/2010/%e5%88%9a%e6%89%8d%e5%86%99%e4%ba%86%e4%b8%80%e4%b8%aa%e8%af%86%e5%88%ab%e7%bd%91%e7%ab%99charset%e7%9a%84%e6%ad%a3%e5%88%99%ef%bc%8c%e5%9b%a0%e4%b8%ba%e7%9b%ae%e5%89%8d%e5%86%99%e4%b8%80%e4%b8%aa/</guid>
		<description><![CDATA[刚才写了一个识别网站charset的正则，因为目前写一个网页抓取的工具，里面对中文url做encoding的时候需要先识别页面的编码，可惜UrlEncoding没有强制使用UTF-8编码，真是烦人。下面是一个python下... ]]></description>
			<content:encoded><![CDATA[<p>刚才写了一个识别网站charset的正则，因为目前写一个网页抓取的工具，里面对中文url做encoding的时候需要先识别页面的编码，可惜UrlEncoding没有强制使用UTF-8编码，真是烦人。下面是一个python下的正则表达是的字面文本。</p>
<pre>
r'&lt;meta.*(?:(?:charset\s*=\s*["|\']?)|(?:charset.*content\s*=\s*["|\']\s*))([\d|\w|\-]+)[;|"|\'|\s]'
</pre>]]></content:encoded>
			<wfw:commentRss>http://www.diamondtin.com/2010/%e5%88%9a%e6%89%8d%e5%86%99%e4%ba%86%e4%b8%80%e4%b8%aa%e8%af%86%e5%88%ab%e7%bd%91%e7%ab%99charset%e7%9a%84%e6%ad%a3%e5%88%99%ef%bc%8c%e5%9b%a0%e4%b8%ba%e7%9b%ae%e5%89%8d%e5%86%99%e4%b8%80%e4%b8%aa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>我的.profile里面的alias，之前使用kill $(ps auwx &#124; &#8230;</title>
		<link>http://www.diamondtin.com/2010/%e6%88%91%e7%9a%84-profile%e9%87%8c%e9%9d%a2%e7%9a%84alias%ef%bc%8c%e4%b9%8b%e5%89%8d%e4%bd%bf%e7%94%a8kill-ps-auwx/</link>
		<comments>http://www.diamondtin.com/2010/%e6%88%91%e7%9a%84-profile%e9%87%8c%e9%9d%a2%e7%9a%84alias%ef%bc%8c%e4%b9%8b%e5%89%8d%e4%bd%bf%e7%94%a8kill-ps-auwx/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 01:19:35 +0000</pubDate>
		<dc:creator>tin</dc:creator>
				<category><![CDATA[status]]></category>
		<category><![CDATA[ssh proxy]]></category>

		<guid isPermaLink="false">http://www.diamondtin.com/2010/%e6%88%91%e7%9a%84-profile%e9%87%8c%e9%9d%a2%e7%9a%84alias%ef%bc%8c%e4%b9%8b%e5%89%8d%e4%bd%bf%e7%94%a8kill-ps-auwx/</guid>
		<description><![CDATA[我的.profile里面的alias，之前使用kill $(ps auwx &#124; grep qTfnNC &#124; grep -v grep &#124; awk &#8216;{ print $2 }&#8217;)的方法放在.profile里面就不好用了，所以最近就一直没有使用它。既然还是反复在用它（连... ]]></description>
			<content:encoded><![CDATA[<p>我的.profile里面的alias，之前使用kill $(ps auwx | grep qTfnNC | grep -v grep | awk &#8216;{ print $2 }&#8217;)的方法放在.profile里面就不好用了，所以最近就一直没有使用它。既然还是反复在用它（连接断开vpn以后经常需要重启ssh代理），所以还是修正它好了。<br />
<code><br />
alias px="ssh -qTfnNC -D 7777 yourdomain.com"<br />
alias kpx="(ps auwx | grep qTfnNC | grep -v grep | awk '{ print $2 }')|xargs kill;px"<br />
</code></p>]]></content:encoded>
			<wfw:commentRss>http://www.diamondtin.com/2010/%e6%88%91%e7%9a%84-profile%e9%87%8c%e9%9d%a2%e7%9a%84alias%ef%bc%8c%e4%b9%8b%e5%89%8d%e4%bd%bf%e7%94%a8kill-ps-auwx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>看到这段话，来自这里： Recently I discovered that l&#8230;</title>
		<link>http://www.diamondtin.com/2010/%e7%9c%8b%e5%88%b0%e8%bf%99%e6%ae%b5%e8%af%9d%ef%bc%8c%e6%9d%a5%e8%87%aa%e8%bf%99%e9%87%8c%ef%bc%9a-recently-i-discovered-that-l/</link>
		<comments>http://www.diamondtin.com/2010/%e7%9c%8b%e5%88%b0%e8%bf%99%e6%ae%b5%e8%af%9d%ef%bc%8c%e6%9d%a5%e8%87%aa%e8%bf%99%e9%87%8c%ef%bc%9a-recently-i-discovered-that-l/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 05:40:03 +0000</pubDate>
		<dc:creator>tin</dc:creator>
				<category><![CDATA[status]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.diamondtin.com/2010/%e7%9c%8b%e5%88%b0%e8%bf%99%e6%ae%b5%e8%af%9d%ef%bc%8c%e6%9d%a5%e8%87%aa%e8%bf%99%e9%87%8c%ef%bc%9a-recently-i-discovered-that-l/</guid>
		<description><![CDATA[看到这段话，来自这里： Recently I discovered that learning a foreign language teaches you two things: how to communicate in that language and how to communicate in your own language to non-native speakers. You learn that simple grammatical str... ]]></description>
			<content:encoded><![CDATA[<p>看到这段话，来自<a href="http://coderoom.wordpress.com/2010/03/26/on-the-fear-of-reading-code/">这里</a>：</p>
<blockquote><p>Recently I discovered that learning a foreign language teaches you two things: how to communicate in that language and how to communicate in your own language to non-native speakers. You learn that simple grammatical structures and shorter sentences are easier to understand. You get a feeling for when someone’s following you and which words in the sentence are most important to pronounce clearly.</p></blockquote>
<p>感觉说的很好。你需要知道如何和没有熟练掌握这门语言（或者领域）的人交流，你需要知道如用简单的表述，清晰的表达你的意思。</p>]]></content:encoded>
			<wfw:commentRss>http://www.diamondtin.com/2010/%e7%9c%8b%e5%88%b0%e8%bf%99%e6%ae%b5%e8%af%9d%ef%bc%8c%e6%9d%a5%e8%87%aa%e8%bf%99%e9%87%8c%ef%bc%9a-recently-i-discovered-that-l/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>看到那些背着书包穿着校服的中学生，感觉现在比那个时候自由和快乐了，而且也比那个时&#8230;</title>
		<link>http://www.diamondtin.com/2010/%e7%9c%8b%e5%88%b0%e9%82%a3%e4%ba%9b%e8%83%8c%e7%9d%80%e4%b9%a6%e5%8c%85%e7%a9%bf%e7%9d%80%e6%a0%a1%e6%9c%8d%e7%9a%84%e4%b8%ad%e5%ad%a6%e7%94%9f%ef%bc%8c%e6%84%9f%e8%a7%89%e7%8e%b0%e5%9c%a8%e6%af%94/</link>
		<comments>http://www.diamondtin.com/2010/%e7%9c%8b%e5%88%b0%e9%82%a3%e4%ba%9b%e8%83%8c%e7%9d%80%e4%b9%a6%e5%8c%85%e7%a9%bf%e7%9d%80%e6%a0%a1%e6%9c%8d%e7%9a%84%e4%b8%ad%e5%ad%a6%e7%94%9f%ef%bc%8c%e6%84%9f%e8%a7%89%e7%8e%b0%e5%9c%a8%e6%af%94/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 11:32:33 +0000</pubDate>
		<dc:creator>tin</dc:creator>
				<category><![CDATA[status]]></category>
		<category><![CDATA[life emotion]]></category>

		<guid isPermaLink="false">http://www.diamondtin.com/2010/%e7%9c%8b%e5%88%b0%e9%82%a3%e4%ba%9b%e8%83%8c%e7%9d%80%e4%b9%a6%e5%8c%85%e7%a9%bf%e7%9d%80%e6%a0%a1%e6%9c%8d%e7%9a%84%e4%b8%ad%e5%ad%a6%e7%94%9f%ef%bc%8c%e6%84%9f%e8%a7%89%e7%8e%b0%e5%9c%a8%e6%af%94/</guid>
		<description><![CDATA[看到那些背着书包穿着校服的中学生，感觉现在比那个时候自由和快乐了，而且也比那个时候富裕了很多。可代价是，我变老了... ]]></description>
			<content:encoded><![CDATA[<p>看到那些背着书包穿着校服的中学生，感觉现在比那个时候自由和快乐了，而且也比那个时候富裕了很多。可代价是，我变老了。</p>]]></content:encoded>
			<wfw:commentRss>http://www.diamondtin.com/2010/%e7%9c%8b%e5%88%b0%e9%82%a3%e4%ba%9b%e8%83%8c%e7%9d%80%e4%b9%a6%e5%8c%85%e7%a9%bf%e7%9d%80%e6%a0%a1%e6%9c%8d%e7%9a%84%e4%b8%ad%e5%ad%a6%e7%94%9f%ef%bc%8c%e6%84%9f%e8%a7%89%e7%8e%b0%e5%9c%a8%e6%af%94/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>给这个倒霉的G1装了一个Sunny_SenseV4.1 &#8211; “I&#8217;m Back&#8230;</title>
		<link>http://www.diamondtin.com/2010/%e7%bb%99%e8%bf%99%e4%b8%aa%e5%80%92%e9%9c%89%e7%9a%84g1%e8%a3%85%e4%ba%86%e4%b8%80%e4%b8%aasunny_sensev4-1-%e2%80%9cim-back/</link>
		<comments>http://www.diamondtin.com/2010/%e7%bb%99%e8%bf%99%e4%b8%aa%e5%80%92%e9%9c%89%e7%9a%84g1%e8%a3%85%e4%ba%86%e4%b8%80%e4%b8%aasunny_sensev4-1-%e2%80%9cim-back/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 09:21:17 +0000</pubDate>
		<dc:creator>tin</dc:creator>
				<category><![CDATA[status]]></category>
		<category><![CDATA[andriod g1]]></category>

		<guid isPermaLink="false">http://www.diamondtin.com/2010/%e7%bb%99%e8%bf%99%e4%b8%aa%e5%80%92%e9%9c%89%e7%9a%84g1%e8%a3%85%e4%ba%86%e4%b8%80%e4%b8%aasunny_sensev4-1-%e2%80%9cim-back/</guid>
		<description><![CDATA[给这个倒霉的G1装了一个Sunny_SenseV4.1 &#8211; “I&#8217;m Back”，这个Rom感觉还不错，作为2.1的Rom（Eclair on Hero），它的性能很好，它甚至比我刚才用的cm-4.2.15.1还要快一些... ]]></description>
			<content:encoded><![CDATA[<p>给这个倒霉的G1装了一个<a href="http://androidin.net/bbs/android-86771-1-1.html">Sunny_SenseV4.1 &#8211; “I&#8217;m Back”</a>，这个Rom感觉还不错，作为2.1的Rom（Eclair on Hero），它的性能很好，它甚至比我刚才用的cm-4.2.15.1还要快一些。</p>]]></content:encoded>
			<wfw:commentRss>http://www.diamondtin.com/2010/%e7%bb%99%e8%bf%99%e4%b8%aa%e5%80%92%e9%9c%89%e7%9a%84g1%e8%a3%85%e4%ba%86%e4%b8%80%e4%b8%aasunny_sensev4-1-%e2%80%9cim-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>今天在freebsd里面build一个“hadoop-gpl-compressi&#8230;</title>
		<link>http://www.diamondtin.com/2010/%e4%bb%8a%e5%a4%a9%e5%9c%a8freebsd%e9%87%8c%e9%9d%a2build%e4%b8%80%e4%b8%aa%e2%80%9chadoop-gpl-compressi/</link>
		<comments>http://www.diamondtin.com/2010/%e4%bb%8a%e5%a4%a9%e5%9c%a8freebsd%e9%87%8c%e9%9d%a2build%e4%b8%80%e4%b8%aa%e2%80%9chadoop-gpl-compressi/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 09:08:22 +0000</pubDate>
		<dc:creator>tin</dc:creator>
				<category><![CDATA[status]]></category>
		<category><![CDATA[hadoop lzo freebsd ports]]></category>

		<guid isPermaLink="false">http://www.diamondtin.com/2010/%e4%bb%8a%e5%a4%a9%e5%9c%a8freebsd%e9%87%8c%e9%9d%a2build%e4%b8%80%e4%b8%aa%e2%80%9chadoop-gpl-compressi/</guid>
		<description><![CDATA[今天在freebsd里面build一个“hadoop-gpl-compression”，里面依赖的lzo总是有问题。提示： configure: error: lzo headers were not found... 问题是我已经用ports装了lzo和lzo2（实际上装lzo2就可以了）。后来经过反... ]]></description>
			<content:encoded><![CDATA[<p>今天在freebsd里面build一个“hadoop-gpl-compression”，里面依赖的lzo总是有问题。提示：</p>
<pre>
configure: error: lzo headers were not found...
</pre>
<p>问题是我已经用ports装了lzo和lzo2（实际上装lzo2就可以了）。后来经过反复尝试，这样可以编译了：</p>
<pre>
env JAVA_HOME=/usr/local/diablo-jdk1.6.0 C_INCLUDE_PATH=/usr/local/include LIBRARY_PATH=/usr/local/lib ant clean compile-native tar
</pre>
<p>这样Hbase就可以开启LZO压缩了。</p>]]></content:encoded>
			<wfw:commentRss>http://www.diamondtin.com/2010/%e4%bb%8a%e5%a4%a9%e5%9c%a8freebsd%e9%87%8c%e9%9d%a2build%e4%b8%80%e4%b8%aa%e2%80%9chadoop-gpl-compressi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Mac (snow leopard)里面让你的ssh支持跳跃，需要ssh的fo&#8230;</title>
		<link>http://www.diamondtin.com/2010/%e5%9c%a8mac-snow-leopard%e9%87%8c%e9%9d%a2%e8%ae%a9%e4%bd%a0%e7%9a%84ssh%e6%94%af%e6%8c%81%e8%b7%b3%e8%b7%83%ef%bc%8c%e9%9c%80%e8%a6%81ssh%e7%9a%84fo/</link>
		<comments>http://www.diamondtin.com/2010/%e5%9c%a8mac-snow-leopard%e9%87%8c%e9%9d%a2%e8%ae%a9%e4%bd%a0%e7%9a%84ssh%e6%94%af%e6%8c%81%e8%b7%b3%e8%b7%83%ef%bc%8c%e9%9c%80%e8%a6%81ssh%e7%9a%84fo/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 07:13:52 +0000</pubDate>
		<dc:creator>tin</dc:creator>
				<category><![CDATA[status]]></category>
		<category><![CDATA[mac tips ssh]]></category>

		<guid isPermaLink="false">http://www.diamondtin.com/2010/%e5%9c%a8mac-snow-leopard%e9%87%8c%e9%9d%a2%e8%ae%a9%e4%bd%a0%e7%9a%84ssh%e6%94%af%e6%8c%81%e8%b7%b3%e8%b7%83%ef%bc%8c%e9%9c%80%e8%a6%81ssh%e7%9a%84fo/</guid>
		<description><![CDATA[在Mac (snow leopard)里面让你的ssh支持跳跃，需要ssh的forward agent。你可以实验一下在自己登录的服务器上面再ssh localhost一下，如果问你密码也就是说你的key没有生效，那么说明你的forward agent没有... ]]></description>
			<content:encoded><![CDATA[<p>在Mac (snow leopard)里面让你的ssh支持跳跃，需要ssh的forward agent。你可以实验一下在自己登录的服务器上面再ssh localhost一下，如果问你密码也就是说你的key没有生效，那么说明你的forward agent没有生效。那么首先：</p>
<pre>
ssh-add -K ~/.ssh/id_rsa
ssh-add -K ~/.ssh/id_dsa
</pre>
<p>然后修改你的/etc/ssh_config，将ForwardAgent no修改为：</p>
<pre>
ForwardAgent yes
</pre>
<p><a href="http://twitter.com/lixiaohong">@lixiaohong</a>同学还推荐在你登录的服务器上面也打开这个选项，这样你就可以顺利的跳来跳去了。</p>]]></content:encoded>
			<wfw:commentRss>http://www.diamondtin.com/2010/%e5%9c%a8mac-snow-leopard%e9%87%8c%e9%9d%a2%e8%ae%a9%e4%bd%a0%e7%9a%84ssh%e6%94%af%e6%8c%81%e8%b7%b3%e8%b7%83%ef%bc%8c%e9%9c%80%e8%a6%81ssh%e7%9a%84fo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Mac （snow leopard）上安装thrift： svn co htt&#8230;</title>
		<link>http://www.diamondtin.com/2010/%e5%9c%a8mac-%ef%bc%88snow-leopard%ef%bc%89%e4%b8%8a%e5%ae%89%e8%a3%85thrift%ef%bc%9a-svn-co-htt/</link>
		<comments>http://www.diamondtin.com/2010/%e5%9c%a8mac-%ef%bc%88snow-leopard%ef%bc%89%e4%b8%8a%e5%ae%89%e8%a3%85thrift%ef%bc%9a-svn-co-htt/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 02:09:24 +0000</pubDate>
		<dc:creator>tin</dc:creator>
				<category><![CDATA[status]]></category>
		<category><![CDATA[thrift python]]></category>

		<guid isPermaLink="false">http://www.diamondtin.com/2010/%e5%9c%a8mac-%ef%bc%88snow-leopard%ef%bc%89%e4%b8%8a%e5%ae%89%e8%a3%85thrift%ef%bc%9a-svn-co-htt/</guid>
		<description><![CDATA[在Mac （snow leopard）上安装thrift： svn co http://svn.apache.org/repos/asf/incubator/thrift/trunk thrift cd thrift ./bootstrap.sh ./configure make make install cd lib/py sudo python setup.py instal... ]]></description>
			<content:encoded><![CDATA[<p>在Mac （snow leopard）上安装thrift：</p>
<p><code><br />
svn co <a href="http://svn.apache.org/repos/asf/incubator/thrift/trunk" rel="nofollow">http://svn.apache.org/repos/asf/incubator/thrift/trunk</a> thrift<br />
cd thrift<br />
./bootstrap.sh<br />
./configure<br />
make<br />
make install<br />
cd lib/py<br />
sudo python setup.py install<br />
</code></p>]]></content:encoded>
			<wfw:commentRss>http://www.diamondtin.com/2010/%e5%9c%a8mac-%ef%bc%88snow-leopard%ef%bc%89%e4%b8%8a%e5%ae%89%e8%a3%85thrift%ef%bc%9a-svn-co-htt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
