<?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>达达&#039;s Blog &#187; 程序开发</title>
	<atom:link href="http://www.isdada.com/category/appdev/feed" rel="self" type="application/rss+xml" />
	<link>http://www.isdada.com</link>
	<description></description>
	<lastBuildDate>Fri, 11 Nov 2011 08:07:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>PHP获取UserAgent的小故障解决一例</title>
		<link>http://www.isdada.com/could-not-get-user-agent-in-ph.html</link>
		<comments>http://www.isdada.com/could-not-get-user-agent-in-ph.html#comments</comments>
		<pubDate>Fri, 11 Nov 2011 08:04:58 +0000</pubDate>
		<dc:creator>达达</dc:creator>
				<category><![CDATA[Mac/iOS]]></category>
		<category><![CDATA[ASIHttpRequest]]></category>
		<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://www.isdada.com/?p=1975</guid>
		<description><![CDATA[刚刚碰到个很奇怪的问题，iPad发出的网络请求无法获取User-Agent，而使用浏览器去请求就可以正常获取。 iPad中，是使用ASIHttpRequest去发出请求的，NSLog了一下User-Agent，发现其中有中文，因为如果没有指定ASIHttpRequest发出的请求的User-Agent的话，ASIHttpRequest会默认的建立一个User-Agent。 结构是：appName, appVersion, deviceName, OSName, OSVersion, locale 其中appName默认是CFBundleDisplayName，这个在中文程序中一般为中文。所以只要修改这里就可以了。 在ASIHttpRequest.m的第4091行可以看到+ (NSString *)defaultUserAgentString 这个getter，修改其中的代码即可。怎么修改就不提了吧？]]></description>
			<content:encoded><![CDATA[<p>刚刚碰到个很奇怪的问题，iPad发出的网络请求无法获取User-Agent，而使用浏览器去请求就可以正常获取。<br />
iPad中，是使用ASIHttpRequest去发出请求的，NSLog了一下User-Agent，发现其中有中文，因为如果没有指定ASIHttpRequest发出的请求的User-Agent的话，ASIHttpRequest会默认的建立一个User-Agent。<br />
结构是：appName, appVersion, deviceName, OSName, OSVersion, locale<br />
其中appName默认是CFBundleDisplayName，这个在中文程序中一般为中文。所以只要修改这里就可以了。<br />
在ASIHttpRequest.m的第4091行可以看到+ (NSString *)defaultUserAgentString 这个getter，修改其中的代码即可。怎么修改就不提了吧？</p>
]]></content:encoded>
			<wfw:commentRss>http://www.isdada.com/could-not-get-user-agent-in-ph.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>R.I.P Steve Jobs</title>
		<link>http://www.isdada.com/r-i-p-steve-jobs.html</link>
		<comments>http://www.isdada.com/r-i-p-steve-jobs.html#comments</comments>
		<pubDate>Thu, 06 Oct 2011 07:43:19 +0000</pubDate>
		<dc:creator>达达</dc:creator>
				<category><![CDATA[Mac/iOS]]></category>

		<guid isPermaLink="false">http://www.isdada.com/?p=1966</guid>
		<description><![CDATA[今天对于所有的果粉来说是灰色的一天。那位神再也不会站在那舞台上说:”There is one more thing!” R.I.P Steve Jobs!]]></description>
			<content:encoded><![CDATA[<p>今天对于所有的果粉来说是灰色的一天。那位神再也不会站在那舞台上说:”There is one more thing!”<br />
R.I.P Steve Jobs!<br />
<img class="aligncenter size-full wp-image-1967" title="t_hero" src="http://www.isdada.com/wp-content/uploads/2011/10/t_hero.png" alt="" width="600" height="450" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.isdada.com/r-i-p-steve-jobs.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>使用monit检测mongodb进程的配置脚本</title>
		<link>http://www.isdada.com/check-mongodb-process-by-monit.html</link>
		<comments>http://www.isdada.com/check-mongodb-process-by-monit.html#comments</comments>
		<pubDate>Mon, 05 Sep 2011 02:02:04 +0000</pubDate>
		<dc:creator>达达</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MongoDB]]></category>
		<category><![CDATA[monit]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.isdada.com/?p=1956</guid>
		<description><![CDATA[monit是一款非常不错的进程监控程序，占用资源极少。官网：http://mmonit.com/monit/ 可以使用monit来监控系统负载，进程是否正常运行等。 最近每天凌晨使用crontab统计数据的时候，map reduce 计算过大，容易造成mongodb崩溃，在没有检查出明确的问题之前，为了确保正常运行，所以需要在mongodb挂掉的时候自动重启，因此就找到了这么一段脚本（From：https://gist.github.com/345611）]]></description>
			<content:encoded><![CDATA[<p>monit是一款非常不错的进程监控程序，占用资源极少。官网：<a href="http://mmonit.com/monit/" target="_blank">http://mmonit.com/monit/</a></p>
<p>可以使用monit来监控系统负载，进程是否正常运行等。</p>
<p>最近每天凌晨使用crontab统计数据的时候，map reduce 计算过大，容易造成mongodb崩溃，在没有检查出明确的问题之前，为了确保正常运行，所以需要在mongodb挂掉的时候自动重启，因此就找到了这么一段脚本（From：<a href="https://gist.github.com/345611" target="_blank">https://gist.github.com/345611</a>）</p>
<pre class="chili"><code class=""""">
check process mongodb with pidfile /db/path/mongod.lock
group database
start program = &quot;/etc/init.d/mongodb start&quot;
stop program = &quot;/etc/init.d/mongodb stop&quot;
if failed host 127.0.0.1 port 28017 protocol http
and request &quot;/&quot; with timeout 10 seconds then restart
if 5 restarts within 5 cycles then timeout
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.isdada.com/check-mongodb-process-by-monit.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>批量删除目录下的.svn文件</title>
		<link>http://www.isdada.com/delete-dotsvn-dictionary-by-rm.html</link>
		<comments>http://www.isdada.com/delete-dotsvn-dictionary-by-rm.html#comments</comments>
		<pubDate>Wed, 31 Aug 2011 08:28:37 +0000</pubDate>
		<dc:creator>达达</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac/iOS]]></category>
		<category><![CDATA[Linxu]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Uinx]]></category>

		<guid isPermaLink="false">http://www.isdada.com/?p=1954</guid>
		<description><![CDATA[有时候复制了一个svn库中的目录到其他svn库中，原来的信息也被带过来了（当然可以用export），目录比较多的情况下，手动删除肯定不方面（况且默认还隐藏了.svn &#8211; -），其实很简单，使用rm和find命令很快解决问题]]></description>
			<content:encoded><![CDATA[<p>有时候复制了一个svn库中的目录到其他svn库中，原来的信息也被带过来了（当然可以用export），目录比较多的情况下，手动删除肯定不方面（况且默认还隐藏了.svn &#8211; -），其实很简单，使用rm和find命令很快解决问题</p>
<pre class="chili"><code class=""">

cd /some/of/your/folders/

rm -rf `find . -type d -name .svn`

</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.isdada.com/delete-dotsvn-dictionary-by-rm.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>在键盘上敲出文本的苹果Logo</title>
		<link>http://www.isdada.com/%e5%9c%a8%e9%94%ae%e7%9b%98%e4%b8%8a%e6%95%b2%e5%87%ba%e6%96%87%e6%9c%ac%e7%9a%84%e8%8b%b9%e6%9e%9clogo.html</link>
		<comments>http://www.isdada.com/%e5%9c%a8%e9%94%ae%e7%9b%98%e4%b8%8a%e6%95%b2%e5%87%ba%e6%96%87%e6%9c%ac%e7%9a%84%e8%8b%b9%e6%9e%9clogo.html#comments</comments>
		<pubDate>Thu, 25 Aug 2011 15:24:32 +0000</pubDate>
		<dc:creator>达达</dc:creator>
				<category><![CDATA[Mac/iOS]]></category>

		<guid isPermaLink="false">http://www.isdada.com/?p=1948</guid>
		<description><![CDATA[今天Steve Jobs宣布辞去Apple CEO，虽然知道这一天迟早都要到来，不过还是挺遗憾和伤感的。 相信很多朋友想在键盘上直接敲出苹果的Logo，Google了一下，很简单 先按住键盘上的Shift+Alt，然后按下K就可以了 ]]></description>
			<content:encoded><![CDATA[<p>今天Steve Jobs宣布辞去Apple CEO，虽然知道这一天迟早都要到来，不过还是挺遗憾和伤感的。</p>
<p>相信很多朋友想在键盘上直接敲出苹果的Logo，Google了一下，很简单</p>
<p>先按住键盘上的Shift+Alt，然后按下K就可以了</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.isdada.com/%e5%9c%a8%e9%94%ae%e7%9b%98%e4%b8%8a%e6%95%b2%e5%87%ba%e6%96%87%e6%9c%ac%e7%9a%84%e8%8b%b9%e6%9e%9clogo.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iOS中各个图标的尺寸大小</title>
		<link>http://www.isdada.com/ios-icon-size.html</link>
		<comments>http://www.isdada.com/ios-icon-size.html#comments</comments>
		<pubDate>Tue, 16 Aug 2011 15:32:47 +0000</pubDate>
		<dc:creator>达达</dc:creator>
				<category><![CDATA[Mac/iOS]]></category>
		<category><![CDATA[ICON]]></category>
		<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://www.isdada.com/?p=1946</guid>
		<description><![CDATA[原文是Apple 的 Custom Icon and Image Creation Guidelines 做一下备忘吧 给retina屏幕用的图标的命名是@2x哦，曾经犯了个错，写成了@x2，显示不正确=。= 自定义图标尺寸 描述 Size for iPhone and iPod touch (in pixels) Size for iPad (in pixels) 指南 Application icon (required) 57 x 57 114 x 114 (high resolution) 72 x 72 “Application Icons” App Store icon (required) 512 x 512 512 x 512 “Application Icons” Small icon <a href='http://www.isdada.com/ios-icon-size.html'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>原文是Apple 的 <a href="http://developer.apple.com/library/iOS/#documentation/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html" target="_blank">Custom Icon and Image Creation Guidelines</a> 做一下备忘吧</p>
<p>给retina屏幕用的图标的命名是@2x哦，曾经犯了个错，写成了@x2，显示不正确=。=</p>
<div>
<table class="graybox" border="0" cellspacing="0" cellpadding="5">
<caption class="tablecaption"><strong>自定义图标尺寸</strong></caption>
<tbody>
<tr>
<th class="TableHeading_TableRow_TableCell" scope="col">描述</th>
<th class="TableHeading_TableRow_TableCell" scope="col">Size for iPhone and iPod touch (in pixels)</th>
<th class="TableHeading_TableRow_TableCell" scope="col">Size for iPad (in pixels)</th>
<th class="TableHeading_TableRow_TableCell" scope="col">指南</th>
</tr>
<tr>
<td scope="row">Application icon (<strong>required</strong>)</td>
<td>57 x 57</p>
<p>114 x 114 (high resolution)</td>
<td>72 x 72</td>
<td><span class="content_text"><a href="#//apple_ref/doc/uid/TP40006556-CH14-SW2">“Application Icons”</a></span></td>
</tr>
<tr>
<td scope="row">App Store icon (<strong>required</strong>)</td>
<td>512 x 512</td>
<td>512 x 512</td>
<td><span class="content_text"><a href="#//apple_ref/doc/uid/TP40006556-CH14-SW2">“Application Icons”</a></span></td>
</tr>
<tr>
<td scope="row">Small icon for Spotlight search results and Settings (recommended)</td>
<td>29 x 29</p>
<p>58 x 58 (high resolution)</td>
<td>50 x 50 for Spotlight search results</p>
<p>29 x 29 for Settings</td>
<td><span class="content_text"><a href="#//apple_ref/doc/uid/TP40006556-CH14-SW10">“Small Icons”</a></span></td>
</tr>
<tr>
<td scope="row">Document icon (recommended for custom document types)</td>
<td>22 x 29</p>
<p>44 x 58 (high resolution)</td>
<td>64 x 64</p>
<p>320 x 320</td>
<td><span class="content_text"><a href="#//apple_ref/doc/uid/TP40006556-CH14-SW15">“Document Icons”</a></span></td>
</tr>
<tr>
<td scope="row">Web clip icon (recommended for web applications and websites)</td>
<td>57 x 57</p>
<p>114 x 114 (high resolution)</td>
<td>72 x 72</td>
<td><span class="content_text"><a href="#//apple_ref/doc/uid/TP40006556-CH14-SW11">“Web Clip Icons”</a></span></td>
</tr>
<tr>
<td scope="row">Toolbar and navigation bar icon (optional)</td>
<td>Approximately 20 x 20</p>
<p>Approximately 40 x 40 (high resolution)</td>
<td>Approximately 20 x 20</td>
<td><span class="content_text"><a href="#//apple_ref/doc/uid/TP40006556-CH14-SW8">“Icons for Navigation Bars, Toolbars, and Tab Bars”</a></span></td>
</tr>
<tr>
<td scope="row">Tab bar icon (optional)</td>
<td>Approximately 30 x 30</p>
<p>Approximately 60 x 60 (high resolution)</td>
<td>Approximately 30 x 30</td>
<td><span class="content_text"><a href="#//apple_ref/doc/uid/TP40006556-CH14-SW8">“Icons for Navigation Bars, Toolbars, and Tab Bars”</a></span></td>
</tr>
<tr>
<td scope="row">Launch image (<strong>required</strong>)</td>
<td>320 x 480</p>
<p>640 x 960 (high resolution)</td>
<td>For portrait:</p>
<ul class="simple">
<li>768 x 1004</li>
</ul>
<p>For landscape:</p>
<ul class="simple">
<li>1024 x 748</li>
</ul>
</td>
<td><span class="content_text"><a href="#//apple_ref/doc/uid/TP40006556-CH14-SW5">“Launch Images”</a></span></td>
</tr>
</tbody>
</table>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.isdada.com/ios-icon-size.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>nginx添加strip插件，去除页面中的空白符</title>
		<link>http://www.isdada.com/nginx-add-strip-module-reduce-page-size.html</link>
		<comments>http://www.isdada.com/nginx-add-strip-module-reduce-page-size.html#comments</comments>
		<pubDate>Mon, 15 Aug 2011 03:25:54 +0000</pubDate>
		<dc:creator>达达</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[strip]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.isdada.com/?p=1943</guid>
		<description><![CDATA[nginx官方有个strip插件，可以去除页面中的空白符（空格，回车，制表符等） 在ubuntu下需要重新编译一下，主要参考： http://wiki.nginx.org/Modules http://wiki.nginx.org/3rdPartyModules 下载nginx的源代码，可以使用apt-get source 也可以使用wget去nginx.org下载（http://www.nginx.org/en/download.html） 下载strip 插件： 然后进入nginx目录 然后停掉nginx，把编译好的拷贝到/usr/sbin下 OK了，大功告成 环境是ubuntu server 11.04，其他发行版本的大同小异：） 实测对css文件去空白字符有点问题，对html没发现有什么问题。]]></description>
			<content:encoded><![CDATA[<p>nginx官方有个strip插件，可以去除页面中的空白符（空格，回车，制表符等）</p>
<p>在ubuntu下需要重新编译一下，主要参考：</p>
<p><a href="http://wiki.nginx.org/Modules" target="_blank">http://wiki.nginx.org/Modules</a> <a href="http://wiki.nginx.org/3rdPartyModules" target="_blank">http://wiki.nginx.org/3rdPartyModules</a></p>
<p><span id="more-1943"></span></p>
<p>下载nginx的源代码，可以使用apt-get source 也可以使用wget去<a href="http://nginx.org" target="_blank">nginx.org</a>下载（<a href="http://www.nginx.org/en/download.html" target="_blank">http://www.nginx.org/en/download.html</a>）</p>
<p>下载strip 插件：</p>
<pre class="chili"><code class=""""">

wget http://wiki.nginx.org/images/6/63/Mod_strip-0.1.tar.gz

tar xvzf Mod_strip-0.1.tar.gz

</code></pre>
<p>然后进入nginx目录</p>
<pre class="chili"><code class=""""">
&lt;pre&gt;./configure \
  --prefix=/usr \
  --sbin-path=/usr/sbin/nginx \
  --conf-path=/etc/nginx/nginx.conf \
  --error-log-path=/var/log/nginx/error.log \
  --pid-path=/var/run/nginx/nginx.pid  \
  --lock-path=/var/lock/nginx.lock \
  --user=nginx \
  --group=nginx \
  --with-http_ssl_module \
  --with-http_flv_module \
  --with-http_gzip_static_module \
  --http-log-path=/var/log/nginx/access.log \
  --http-client-body-temp-path=/var/tmp/nginx/client/ \
  --http-proxy-temp-path=/var/tmp/nginx/proxy/ \
  --http-fastcgi-temp-path=/var/tmp/nginx/fcgi/
  --add-module=/home/isdada/mod_strip&lt;/pre&gt;
</code></pre>
<pre class="chili"><code class=""""">

make

make install

</code></pre>
<p>然后停掉nginx，把编译好的拷贝到/usr/sbin下</p>
<pre class="chili"><code class=""""">

/etc/init.d/nginx stop

cp objs/nginx /usr/sbin

/etc/init.d/nginx start

</code></pre>
<p>OK了，大功告成</p>
<p>环境是ubuntu server 11.04，其他发行版本的大同小异：）</p>
<p>实测对css文件去空白字符有点问题，对html没发现有什么问题。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.isdada.com/nginx-add-strip-module-reduce-page-size.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iOS 中监测屏幕旋转</title>
		<link>http://www.isdada.com/how-to-detect-device-orientation-changed-in-ios.html</link>
		<comments>http://www.isdada.com/how-to-detect-device-orientation-changed-in-ios.html#comments</comments>
		<pubDate>Sun, 14 Aug 2011 10:01:26 +0000</pubDate>
		<dc:creator>达达</dc:creator>
				<category><![CDATA[Mac/iOS]]></category>
		<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://www.isdada.com/?p=1938</guid>
		<description><![CDATA[今天下午发现，在UITabBar的子显示对象的- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation 有点问题，屏幕旋转了，只是调用了UITabBar的shouldAutorotateToInterfaceOrientation，容器内部的显示对象并不会做出反应。那么只能检测屏幕的旋转事件了再做出相应的动作了 &#160; &#160; &#160;  ref:http://www.ios-developer.net/iphone-ipad-programmer/development/notifications/orientation-change-notification]]></description>
			<content:encoded><![CDATA[<p>今天下午发现，在UITabBar的子显示对象的- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation 有点问题，屏幕旋转了，只是调用了UITabBar的shouldAutorotateToInterfaceOrientation，容器内部的显示对象并不会做出反应。那么只能检测屏幕的旋转事件了再做出相应的动作了</p>
<p>&nbsp;</p>
<pre class="chili"><code class=""""">

// Do any additional setup after loading the view from its nib.

//----- SETUP DEVICE ORIENTATION CHANGE NOTIFICATION -----

UIDevice *device = [UIDevice currentDevice]; //Get the device object

[device beginGeneratingDeviceOrientationNotifications]; //Tell it to start monitoring the accelerometer for orientation

NSNotificationCenter *nc = [NSNotificationCenter defaultCenter]; //Get the notification centre for the app

[nc addObserver:self //Add yourself as an observer

selector:@selector(orientationChanged:)

name:UIDeviceOrientationDidChangeNotification

object:device];

&amp;nbsp;

</code></pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
<pre class="chili"><code class=""""">

- (void)orientationChanged:(NSNotification *)note

{

UIView *ftView = [self.view viewWithTag:200];

if([[UIDevice currentDevice] orientation] == UIDeviceOrientationLandscapeLeft || [[UIDevice currentDevice] orientation] == UIDeviceOrientationLandscapeRight)

{

[ftView setFrame:CGRectMake(0, 0, 480, 200)];

}else

{

[ftView setFrame:CGRectMake(0, 0, 320, 360)];

}

}

</code></pre>
<pre> ref:<a href="http://www.ios-developer.net/iphone-ipad-programmer/development/notifications/orientation-change-notification" target="_blank">http://www.ios-developer.net/iphone-ipad-programmer/development/notifications/orientation-change-notification</a></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.isdada.com/how-to-detect-device-orientation-changed-in-ios.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OS X Lion 下Safari 5.1 pac自动代理文件失效问题得解决</title>
		<link>http://www.isdada.com/mac-os-x-lion-safari-5-1-pac-not-wor.html</link>
		<comments>http://www.isdada.com/mac-os-x-lion-safari-5-1-pac-not-wor.html#comments</comments>
		<pubDate>Mon, 25 Jul 2011 02:05:47 +0000</pubDate>
		<dc:creator>达达</dc:creator>
				<category><![CDATA[Mac/iOS]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://www.isdada.com/?p=1932</guid>
		<description><![CDATA[升级到Lion下，挺好的，不过有几个小问题。 其中有一个问题就很头大，safari 5.1 下，pac文件失效了。 后来发现，是不支持通过file://方式读取pac文件了。 那就把它扔到nginx的虚拟主机下顺利解决]]></description>
			<content:encoded><![CDATA[<p>升级到Lion下，挺好的，不过有几个小问题。</p>
<p>其中有一个问题就很头大，safari 5.1 下，pac文件失效了。</p>
<p>后来发现，是不支持通过file://方式读取pac文件了。</p>
<p>那就把它扔到nginx的虚拟主机下顺利解决</p>
<p><a href="http://www.isdada.com/wp-content/uploads/2011/07/paclion.png"><img class="aligncenter size-full wp-image-1933" title="paclion" src="http://www.isdada.com/wp-content/uploads/2011/07/paclion.png" alt="" width="582" height="299" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.isdada.com/mac-os-x-lion-safari-5-1-pac-not-wor.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>iPhone 3G APN（推送通知）失效的问题解决</title>
		<link>http://www.isdada.com/iphone-3g-apn-issue.html</link>
		<comments>http://www.isdada.com/iphone-3g-apn-issue.html#comments</comments>
		<pubDate>Fri, 08 Jul 2011 02:43:54 +0000</pubDate>
		<dc:creator>达达</dc:creator>
				<category><![CDATA[Mac/iOS]]></category>
		<category><![CDATA[手机]]></category>
		<category><![CDATA[APN]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[推送]]></category>

		<guid isPermaLink="false">http://www.isdada.com/?p=1929</guid>
		<description><![CDATA[之前iPhone的推送一直有问题，最开始是越狱后无信号，应该是RedSn0W的问题，刷回去激活后重新越狱就OK了。 后来又发生了facetime无法激活的问题，自己好了=。= 后来不知道什么时候开始WIFI环境下推送是正常的，但是联通3G下却不行。 昨晚研究了一下，查了好多地方。也没找到结果 后来再描述文件里发现了，原来使用农业银行网上银行的时候，会修改APN为3GWAP导致了这个问题。晕塌，移除了这个描述文件就正常了。。。]]></description>
			<content:encoded><![CDATA[<p>之前iPhone的推送一直有问题，最开始是越狱后无信号，应该是RedSn0W的问题，刷回去激活后重新越狱就OK了。</p>
<p>后来又发生了facetime无法激活的问题，自己好了=。=</p>
<p>后来不知道什么时候开始WIFI环境下推送是正常的，但是联通3G下却不行。</p>
<p>昨晚研究了一下，查了好多地方。也没找到结果</p>
<p>后来再描述文件里发现了，原来使用农业银行网上银行的时候，会修改APN为3GWAP导致了这个问题。晕塌，移除了这个描述文件就正常了。。。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.isdada.com/iphone-3g-apn-issue.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

