<?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>Ruiking Mobile</title>
	<atom:link href="http://www.ruiking.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ruiking.com/blog</link>
	<description>iPhone, Python related.</description>
	<lastBuildDate>Mon, 19 Jul 2010 03:30:53 +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>Linux修改密码错误</title>
		<link>http://www.ruiking.com/blog/2010/07/19/linux%e4%bf%ae%e6%94%b9%e5%af%86%e7%a0%81%e9%94%99%e8%af%af/</link>
		<comments>http://www.ruiking.com/blog/2010/07/19/linux%e4%bf%ae%e6%94%b9%e5%af%86%e7%a0%81%e9%94%99%e8%af%af/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 03:30:53 +0000</pubDate>
		<dc:creator>Jun Du</dc:creator>
				<category><![CDATA[No-name]]></category>

		<guid isPermaLink="false">http://www.ruiking.com/blog/?p=704</guid>
		<description><![CDATA[test]]></description>
			<content:encoded><![CDATA[<p>test</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ruiking.com/blog/2010/07/19/linux%e4%bf%ae%e6%94%b9%e5%af%86%e7%a0%81%e9%94%99%e8%af%af/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>git tag和branch操作</title>
		<link>http://www.ruiking.com/blog/2010/07/05/git-tag%e5%92%8cbranch%e6%93%8d%e4%bd%9c/</link>
		<comments>http://www.ruiking.com/blog/2010/07/05/git-tag%e5%92%8cbranch%e6%93%8d%e4%bd%9c/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 07:14:09 +0000</pubDate>
		<dc:creator>Jun Du</dc:creator>
				<category><![CDATA[Git]]></category>

		<guid isPermaLink="false">http://www.ruiking.com/blog/?p=702</guid>
		<description><![CDATA[代码管理中不可避免的要涉及到tag和branch操作,git的方式跟svn等有些不同,最不同的就是远程删除tag和branch了: 远程tag操作, 想创建一个tag这样操作: git tag v2.4 git push origin v2.4 这样在远程端就有了一个名字为&#8221;v2.4&#8243;的tag, 如果想删除该tag,这样操作: git push origin :refs/tags/v2.4 Branch 操作跟tag相仿,现在本地创建一个branch: git branch test 然后push到远端: git push origin test 这样查看远端的branch列表: git branch -r 不加&#8221;-r&#8221;就显示本地的branch列表.删除一个branch操作如下: git push origin :heads/test]]></description>
			<content:encoded><![CDATA[<p>代码管理中不可避免的要涉及到tag和branch操作,git的方式跟svn等有些不同,最不同的就是远程删除tag和branch了:</p>
<p>远程tag操作, 想创建一个tag这样操作:</p>
<p>git tag v2.4</p>
<p>git push origin v2.4</p>
<p>这样在远程端就有了一个名字为&#8221;v2.4&#8243;的tag, 如果想删除该tag,这样操作:</p>
<p>git push origin :refs/tags/v2.4</p>
<p>Branch 操作跟tag相仿,现在本地创建一个branch:</p>
<p>git branch test</p>
<p>然后push到远端:</p>
<p>git push origin test</p>
<p>这样查看远端的branch列表:</p>
<p>git branch -r</p>
<p>不加&#8221;-r&#8221;就显示本地的branch列表.删除一个branch操作如下:</p>
<p>git push origin :heads/test</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ruiking.com/blog/2010/07/05/git-tag%e5%92%8cbranch%e6%93%8d%e4%bd%9c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>函数调用的参数检查</title>
		<link>http://www.ruiking.com/blog/2010/07/04/func_validator/</link>
		<comments>http://www.ruiking.com/blog/2010/07/04/func_validator/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 07:09:16 +0000</pubDate>
		<dc:creator>Jun Du</dc:creator>
				<category><![CDATA[No-name]]></category>

		<guid isPermaLink="false">http://www.ruiking.com/blog/?p=699</guid>
		<description><![CDATA[看&#8221;Reachability&#8221;的代码时发现的, 这样检查一个参数: Reachability* curReach = [note object]; NSParameterAssert([curReach isKindOfClass: [Reachability class]]); 这个NSParameterAssert其实就是一个简单的Assert,但名字很明确,这样写有助于代码维护.]]></description>
			<content:encoded><![CDATA[<p>看&#8221;Reachability&#8221;的代码时发现的, 这样检查一个参数:</p>
<p>Reachability* curReach = [note object];</p>
<p>NSParameterAssert([curReach isKindOfClass: [Reachability class]]);</p>
<p>这个NSParameterAssert其实就是一个简单的Assert,但名字很明确,这样写有助于代码维护.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ruiking.com/blog/2010/07/04/func_validator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>我回来了</title>
		<link>http://www.ruiking.com/blog/2010/07/04/%e6%88%91%e5%9b%9e%e6%9d%a5%e4%ba%86/</link>
		<comments>http://www.ruiking.com/blog/2010/07/04/%e6%88%91%e5%9b%9e%e6%9d%a5%e4%ba%86/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 07:05:18 +0000</pubDate>
		<dc:creator>Jun Du</dc:creator>
				<category><![CDATA[杂]]></category>

		<guid isPermaLink="false">http://www.ruiking.com/blog/?p=697</guid>
		<description><![CDATA[决定继续维护这个Blog&#8230;]]></description>
			<content:encoded><![CDATA[<p>决定继续维护这个Blog&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ruiking.com/blog/2010/07/04/%e6%88%91%e5%9b%9e%e6%9d%a5%e4%ba%86/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone Push Notification 调试步骤</title>
		<link>http://www.ruiking.com/blog/2009/11/04/iphone-push-notification-%e8%b0%83%e8%af%95%e6%ad%a5%e9%aa%a4/</link>
		<comments>http://www.ruiking.com/blog/2009/11/04/iphone-push-notification-%e8%b0%83%e8%af%95%e6%ad%a5%e9%aa%a4/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 08:00:15 +0000</pubDate>
		<dc:creator>Jun Du</dc:creator>
				<category><![CDATA[No-name]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.ruiking.com/blog/?p=695</guid>
		<description><![CDATA[1. 确保你的Beejive 或者 IM+可以顺利的收到Push消息. 2.确保你在dev portal里面生成了一个支持push的profile, 3.确保该profile包含的App ID 跟自己应用里面的xxx-info.plist里面的Bundle identifier一致. 3.确保设备上的profile是该profile 4.确保你是用该profile来编译的应用, 5. Enjoy!]]></description>
			<content:encoded><![CDATA[<p>1. 确保你的Beejive 或者 IM+可以顺利的收到Push消息.</p>
<p>2.确保你在dev portal里面生成了一个支持push的profile,</p>
<p>3.确保该profile包含的App ID 跟自己应用里面的xxx-info.plist里面的Bundle identifier一致.</p>
<p>3.确保设备上的profile是该profile</p>
<p>4.确保你是用该profile来编译的应用,</p>
<p>5. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ruiking.com/blog/2009/11/04/iphone-push-notification-%e8%b0%83%e8%af%95%e6%ad%a5%e9%aa%a4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Three20中的 -all_load问题</title>
		<link>http://www.ruiking.com/blog/2009/10/21/three20%e4%b8%ad%e7%9a%84-all_load%e9%97%ae%e9%a2%98/</link>
		<comments>http://www.ruiking.com/blog/2009/10/21/three20%e4%b8%ad%e7%9a%84-all_load%e9%97%ae%e9%a2%98/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 02:48:47 +0000</pubDate>
		<dc:creator>Jun Du</dc:creator>
				<category><![CDATA[No-name]]></category>
		<category><![CDATA[three20]]></category>

		<guid isPermaLink="false">http://www.ruiking.com/blog/?p=694</guid>
		<description><![CDATA[如果在使用Three20的过程中遇到只能在模拟器中跑而不能在device上运行的情况,请在 &#8220;&#8220;Other Linker Flags&#8221;里面添加 &#8220;-all_load&#8221;参数, 不过这样以来很有可能导致程序在模拟器中运行不正常&#8230;]]></description>
			<content:encoded><![CDATA[<p>如果在使用Three20的过程中遇到只能在模拟器中跑而不能在device上运行的情况,请在 &#8220;<span style="font-family: arial, sans-serif;">&#8220;Other Linker Flags&#8221;里面添加 &#8220;-all_load&#8221;参数, 不过这样以来很有可能导致程序在模拟器中运行不正常&#8230;</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ruiking.com/blog/2009/10/21/three20%e4%b8%ad%e7%9a%84-all_load%e9%97%ae%e9%a2%98/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>could not build the server_names_hash, you should increase server_names_hash_bucket_size</title>
		<link>http://www.ruiking.com/blog/2009/10/09/could-not-build-the-server_names_hash-you-should-increase-server_names_hash_bucket_size/</link>
		<comments>http://www.ruiking.com/blog/2009/10/09/could-not-build-the-server_names_hash-you-should-increase-server_names_hash_bucket_size/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 09:21:37 +0000</pubDate>
		<dc:creator>Jun Du</dc:creator>
				<category><![CDATA[No-name]]></category>
		<category><![CDATA[nginx]]></category>

		<guid isPermaLink="false">http://www.ruiking.com/blog/?p=693</guid>
		<description><![CDATA[Edit the configuration file here: vim /etc/nginx/nginx.conf Add a new line in http section : server_names_hash_bucket_size 64; All done!]]></description>
			<content:encoded><![CDATA[<p>Edit the configuration file here:</p>
<p>vim /etc/nginx/nginx.conf</p>
<p>Add a new line in http section :</p>
<p>server_names_hash_bucket_size 64;</p>
<p>All done!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ruiking.com/blog/2009/10/09/could-not-build-the-server_names_hash-you-should-increase-server_names_hash_bucket_size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to find out zombie process?</title>
		<link>http://www.ruiking.com/blog/2009/09/17/how-to-find-out-zombie-process/</link>
		<comments>http://www.ruiking.com/blog/2009/09/17/how-to-find-out-zombie-process/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 07:26:25 +0000</pubDate>
		<dc:creator>DJ</dc:creator>
				<category><![CDATA[老帖]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.ruiking.com/?p=692</guid>
		<description><![CDATA[ps aux &#124; awk &#8216;{ print $8 &#8221; &#8221; $2 }&#8217; &#124; grep -w Z]]></description>
			<content:encoded><![CDATA[<p><span style="font-family: Consolas, 'Andale Mono', Courier, 'Courier New'; font-size: 13px; color: #111111; line-height: 18px;">ps aux | awk &#8216;{ print $8 &#8221; &#8221; $2 }&#8217; | grep -w Z</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ruiking.com/blog/2009/09/17/how-to-find-out-zombie-process/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>symbolicatecrash 定位Crash</title>
		<link>http://www.ruiking.com/blog/2009/09/14/symbolicatecrash-%e5%ae%9a%e4%bd%8dcrash/</link>
		<comments>http://www.ruiking.com/blog/2009/09/14/symbolicatecrash-%e5%ae%9a%e4%bd%8dcrash/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 01:58:25 +0000</pubDate>
		<dc:creator>DJ</dc:creator>
				<category><![CDATA[移动开发]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://blog.ruiking.com/?p=691</guid>
		<description><![CDATA[官方文档在这里: http://developer.apple.com/iphone/library/technotes/tn2008/tn2151.html#SYMBOLICATION 这里有一篇讲解的比较好的文章: http://furbo.org/2008/08/08/symbolicatifination/ Symbolicatecrash是一个perl脚本, 2.x的存放位置: &#60;DEVELOPER_TOOLS_INSTALL_LOCATION&#62;/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneRemoteDevice.xcodeplugin/Contents/Resources/ 3.0的 存放位置改变了: /Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources 最好把这个东西拷贝到你的path中, 方便使用 Crash文件存放的位置在这里: Mac OS X: ~/Library/Logs/CrashReporter/MobileDevice/&#60;DEVICE_NAME&#62; 注意: .dSYM文件要保存, 这个.dSYM里面存放的是该二进制文件偏移位置和相应函数的对应关系.所以如果想把crash log里面的crash位置转换成相应的函数以上这两个文件缺一不可.]]></description>
			<content:encoded><![CDATA[<p>官方文档在这里: http://developer.apple.com/iphone/library/technotes/tn2008/tn2151.html#SYMBOLICATION</p>
<p>这里有一篇讲解的比较好的文章: http://furbo.org/2008/08/08/symbolicatifination/</p>
<p>Symbolicatecrash是一个perl脚本,</p>
<p>2.x的存放位置:</p>
<p><span style="font-family: 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif;">&lt;DEVELOPER_TOOLS_INSTALL_LOCATION&gt;/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneRemoteDevice.xcodeplugin/Contents/Resources/</span></p>
<p>3.0的 存放位置改变了:</p>
<p><span style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; border-collapse: collapse; line-height: 20px;">/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources</span></p>
<p><font face="Arial, Helvetica, sans-serif" size="4"><span style="border-collapse: collapse; font-size: 16px; line-height: 20px;">最好把这个东西拷贝到你的path中, 方便使用</span></font></p>
<p>Crash文件存放的位置在这里: <span style="font-family: Arial; font-size: 14px; color: #333333; line-height: 28px;">Mac OS X: ~/Library/Logs/CrashReporter/MobileDevice/&lt;DEVICE_NAME&gt;</span></p>
<p><font color="#333333" face="Arial" size="4"><br /></font></p>
<p><font color="#333333" face="Arial" size="4">注意: .dSYM文件要保存, 这个.dSYM里面存放的是该二进制文件偏移位置和相应函数的对应关系.所以如果想把crash log里面的crash位置转换成相应的函数以上这两个文件缺一不可.</font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ruiking.com/blog/2009/09/14/symbolicatecrash-%e5%ae%9a%e4%bd%8dcrash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&quot; Python support for SSL and HTTPS is not installed&quot; issue.</title>
		<link>http://www.ruiking.com/blog/2009/08/12/python-support-for-ssl-and-https-is-not-installed-issue/</link>
		<comments>http://www.ruiking.com/blog/2009/08/12/python-support-for-ssl-and-https-is-not-installed-issue/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 02:03:03 +0000</pubDate>
		<dc:creator>DJ</dc:creator>
				<category><![CDATA[移动开发]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://blog.ruiking.com/?p=690</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.ruiking.com/blog/2009/08/12/python-support-for-ssl-and-https-is-not-installed-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
