<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>heath’s backup zone</title>
	<atom:link href="http://gfchen.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://gfchen.wordpress.com</link>
	<description>去你媽的，我可以幹橋嗎？</description>
	<lastBuildDate>Tue, 05 Apr 2011 05:15:52 +0000</lastBuildDate>
	<language>zh-tw</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='gfchen.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>heath’s backup zone</title>
		<link>http://gfchen.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://gfchen.wordpress.com/osd.xml" title="heath’s backup zone" />
	<atom:link rel='hub' href='http://gfchen.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Pandora&#8217;s Battery &#8211; 磚塊 PSP 的救星</title>
		<link>http://gfchen.wordpress.com/2007/08/25/pandoras-battery-%e7%a3%9a%e5%a1%8a-psp-%e7%9a%84%e6%95%91%e6%98%9f/</link>
		<comments>http://gfchen.wordpress.com/2007/08/25/pandoras-battery-%e7%a3%9a%e5%a1%8a-psp-%e7%9a%84%e6%95%91%e6%98%9f/#comments</comments>
		<pubDate>Sat, 25 Aug 2007 03:11:29 +0000</pubDate>
		<dc:creator>gfchen</dc:creator>
				<category><![CDATA[Funny Stuff]]></category>
		<category><![CDATA[psp]]></category>

		<guid isPermaLink="false">http://gfchen.wordpress.com/2007/08/25/pandoras-battery-%e7%a3%9a%e5%a1%8a-psp-%e7%9a%84%e6%95%91%e6%98%9f/</guid>
		<description><![CDATA[所有因為執行降級程序不當而變磚塊的 PSP 有救了。 Noobz 於 8/22 放出潘朵拉的電池 (由 Prometheus project 成員開發)，用於修復因降級不當而造成的無法開機現象 (前提是硬體沒有損壞)。 執行該修復程式必須準備一張 256MB 以上的記憶卡和一顆額外的電池，因執行完修復程式後，該電池 (稱之為 jigkick 電池) 將無法在一般狀況下使用，只能在執行修復程式時使用。 Fanjita (Noobz) 說這支修復程式本來至少要等到 PSP Slim 上市才要釋出，但因不明原因流入黑市，並且被拿來以高價販賣。為了不讓使用者被這些黑市商人剝削，所以提早釋出。 相關使用說明很多大陸網站動作很快的翻好了，搜尋『潘朵拉電池』即可找到。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gfchen.wordpress.com&amp;blog=24683&amp;post=737&amp;subd=gfchen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>所有因為執行降級程序不當而變磚塊的 PSP 有救了。</p>
<p><a href="http://www.noobz.eu/">Noobz</a> 於 8/22 放出<a href="http://www.noobz.eu/joomla/news/pandoras-battery.html">潘朵拉的電池</a> (由 Prometheus project 成員開發)，用於修復因降級不當而造成的無法開機現象 (前提是硬體沒有損壞)。</p>
<p>執行該修復程式必須準備一張 256MB 以上的記憶卡和一顆額外的電池，因執行完修復程式後，該電池 (稱之為 jigkick 電池) 將無法在一般狀況下使用，只能在執行修復程式時使用。</p>
<p><a href="http://www.fanjita.org/">Fanjita</a> (Noobz) 說這支修復程式本來至少要等到 PSP Slim 上市才要釋出，但因不明原因流入黑市，並且被拿來以高價販賣。為了不讓使用者被這些黑市商人剝削，所以提早釋出。</p>
<p>相關使用說明很多大陸網站動作很快的翻好了，搜尋『潘朵拉電池』即可找到。</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gfchen.wordpress.com/737/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gfchen.wordpress.com/737/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gfchen.wordpress.com/737/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gfchen.wordpress.com/737/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gfchen.wordpress.com/737/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gfchen.wordpress.com/737/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gfchen.wordpress.com/737/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gfchen.wordpress.com/737/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gfchen.wordpress.com/737/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gfchen.wordpress.com/737/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gfchen.wordpress.com/737/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gfchen.wordpress.com/737/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gfchen.wordpress.com/737/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gfchen.wordpress.com/737/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gfchen.wordpress.com/737/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gfchen.wordpress.com/737/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gfchen.wordpress.com&amp;blog=24683&amp;post=737&amp;subd=gfchen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gfchen.wordpress.com/2007/08/25/pandoras-battery-%e7%a3%9a%e5%a1%8a-psp-%e7%9a%84%e6%95%91%e6%98%9f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8f658ce49f248ae56896e3f1f0c7817a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gfchen</media:title>
		</media:content>
	</item>
		<item>
		<title>在 AJAX 載入內容的 div 裡使用 Lightbox</title>
		<link>http://gfchen.wordpress.com/2007/08/18/%e5%9c%a8-ajax-%e8%bc%89%e5%85%a5%e5%85%a7%e5%ae%b9%e7%9a%84-div-%e8%a3%a1%e4%bd%bf%e7%94%a8-lightbox/</link>
		<comments>http://gfchen.wordpress.com/2007/08/18/%e5%9c%a8-ajax-%e8%bc%89%e5%85%a5%e5%85%a7%e5%ae%b9%e7%9a%84-div-%e8%a3%a1%e4%bd%bf%e7%94%a8-lightbox/#comments</comments>
		<pubDate>Sat, 18 Aug 2007 07:39:37 +0000</pubDate>
		<dc:creator>gfchen</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[Worklog]]></category>

		<guid isPermaLink="false">http://gfchen.wordpress.com/2007/08/18/%e5%9c%a8-ajax-%e8%bc%89%e5%85%a5%e5%85%a7%e5%ae%b9%e7%9a%84-div-%e8%a3%a1%e4%bd%bf%e7%94%a8-lightbox/</guid>
		<description><![CDATA[之前在 利用 Ajax 更新 div 的內容 這篇使用 AJAX 來動態更新網頁裡 &#60;div&#62; 的內容，後來發現如果想在該 &#60;div&#62; 裡使用 lightbox 的效果會沒作用。 Lightbox 在載入後會掃過一次頁面裡的 &#60;a&#62;，讓有指定 rel=』lightbox』 的圖片得以 lightbox 方式呈現。然而以 AJAX 載入的 div 並沒有重新產生整個頁面，所以包在該 div 裡用 AJAX 產生的內容即使指定了 rel=』lightbox』 也無法以 lightbox 的效果呈現。 如果想讓 div 裡的圖片也有 lightbox 效果，必須在載入該 div 時做 initLightbox() updateImageList() 的動作。 首先，我有兩個頁面，一個是主頁面 index.php，裡面有一個 &#60;div id=』paper-content』&#62; 用來載入另一個 work.php 頁面。 1) 在有 AJAX 效果的主頁面 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gfchen.wordpress.com&amp;blog=24683&amp;post=735&amp;subd=gfchen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>之前在 <a href="http://blog.gfchen.org/2007/04/20/504/">利用 Ajax 更新 div 的內容</a> 這篇使用 AJAX 來動態更新網頁裡 &lt;div&gt; 的內容，後來發現如果想在該 &lt;div&gt; 裡使用 lightbox 的效果會沒作用。</p>
<p>Lightbox 在載入後會掃過一次頁面裡的 &lt;a&gt;，讓有指定 rel=』lightbox』 的圖片得以 lightbox 方式呈現。然而以 AJAX 載入的 div 並沒有重新產生整個頁面，所以包在該 div 裡用 AJAX 產生的內容即使指定了 rel=』lightbox』 也無法以 lightbox 的效果呈現。</p>
<p>如果想讓 div 裡的圖片也有 lightbox 效果，必須在載入該 div 時做 <del datetime="2007-08-18T06:34:58+00:00">initLightbox()</del> updateImageList() 的動作。</p>
<p>首先，我有兩個頁面，一個是主頁面 index.php，裡面有一個 &lt;div id=』paper-content』&gt; 用來載入另一個 work.php 頁面。</p>
<p>1) 在有 AJAX 效果的主頁面 index.php 加入一段 script，指定事件觸發時執行 <del datetime="2007-08-18T06:34:58+00:00">initLightbox()</del> updateImageList()</p>
<p><code></p>
<p>function pollContent(id){<br />
if(document.getElementById(id)){<br />
myLightbox.updateImageList();<br />
document.getElementById(id).id="";<br />
}<br />
else<br />
setTimeout("pollContent('"+id+"')", 60)<br />
}</p>
<p></code></p>
<p>2) 在 index.php 中產生 div 內容的連結處加上觸發事件執行上面的 pollContent()<br />
<code></p>
<li>工作計畫</li>
<p></code></p>
<p>在例子中，onmousedown=』pollContent(&#8216;<font color="red">IDname</font>&#8216;);』，是說當滑鼠按下時，載入 work.php 並執行 pollContent()，參數帶 IDname，IDname 第三步驟會用到。</p>
<p>3) 在 work.php 用到圖片連結的後面新增一個 &lt;div id=』<font color="red">IDname</font>『&gt; 來秀圖。<br />
<code><br />
<a href="img/work.png" rel="lightbox">伍、工作重點</a></p>
<div></div>
<p></code></p>
<p>完成，這樣一來在 AJAX 動態載入的 div 中也可以使用 lightbox 的效果了。在網路上找到的一些解法會說載入頁面時先執行 initLightbox()，但試過後發現在 IE 中一切正常，FF 中會出現 layout 跑掉的狀況，所以改執行 myLightbox.updateImageList()。</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gfchen.wordpress.com/735/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gfchen.wordpress.com/735/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gfchen.wordpress.com/735/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gfchen.wordpress.com/735/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gfchen.wordpress.com/735/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gfchen.wordpress.com/735/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gfchen.wordpress.com/735/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gfchen.wordpress.com/735/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gfchen.wordpress.com/735/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gfchen.wordpress.com/735/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gfchen.wordpress.com/735/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gfchen.wordpress.com/735/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gfchen.wordpress.com/735/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gfchen.wordpress.com/735/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gfchen.wordpress.com/735/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gfchen.wordpress.com/735/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gfchen.wordpress.com&amp;blog=24683&amp;post=735&amp;subd=gfchen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gfchen.wordpress.com/2007/08/18/%e5%9c%a8-ajax-%e8%bc%89%e5%85%a5%e5%85%a7%e5%ae%b9%e7%9a%84-div-%e8%a3%a1%e4%bd%bf%e7%94%a8-lightbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8f658ce49f248ae56896e3f1f0c7817a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gfchen</media:title>
		</media:content>
	</item>
		<item>
		<title>gallery2 關閉 rewrite 的 link</title>
		<link>http://gfchen.wordpress.com/2007/08/10/gallery2-%e9%97%9c%e9%96%89-rewrite-%e7%9a%84-link/</link>
		<comments>http://gfchen.wordpress.com/2007/08/10/gallery2-%e9%97%9c%e9%96%89-rewrite-%e7%9a%84-link/#comments</comments>
		<pubDate>Fri, 10 Aug 2007 07:51:17 +0000</pubDate>
		<dc:creator>gfchen</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[gallery2]]></category>
		<category><![CDATA[note]]></category>
		<category><![CDATA[Worklog]]></category>

		<guid isPermaLink="false">http://gfchen.wordpress.com/2007/08/10/gallery2-%e9%97%9c%e9%96%89-rewrite-%e7%9a%84-link/</guid>
		<description><![CDATA[將 gallery2 從主機 A 搬到主機 B 後，rewrite 的 rules 失效，想進 admin 去關掉 rewrite 再重新打開讓 gallery2 自己重寫 rules，可是 admin 的連結居然也是 rewrite 過的 (默)&#8230; 在 official document 裡翻到一篇直接用原始連結關掉 rewrite module 的方法，關掉後重新啟動 module 就好了&#8230; Images don&#8217;t show up and the album / photo links don&#8217;t work, what can I do?<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gfchen.wordpress.com&amp;blog=24683&amp;post=733&amp;subd=gfchen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>將 <a href="http://gallery.menalto.com/">gallery2</a> 從主機 A 搬到主機 B 後，rewrite 的 rules 失效，想進 admin 去關掉 rewrite 再重新打開讓 <a href="http://gallery.menalto.com/">gallery2</a> 自己重寫 rules，可是 admin 的連結居然也是 rewrite 過的 (默)&#8230;</p>
<p>在 <a href="http://codex.gallery2.org/">official document</a> 裡翻到一篇直接用原始連結關掉 rewrite module 的方法，關掉後重新啟動 module 就好了&#8230;</p>
<p><a href="http://codex.gallery2.org/Gallery2:FAQ#Images_don.27t_show_up_and_the_album_.2F_photo_links_don.27t_work.2C_what_can_I_do.3F">Images don&#8217;t show up and the album / photo links don&#8217;t work, what can I do?</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gfchen.wordpress.com/733/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gfchen.wordpress.com/733/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gfchen.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gfchen.wordpress.com/733/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gfchen.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gfchen.wordpress.com/733/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gfchen.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gfchen.wordpress.com/733/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gfchen.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gfchen.wordpress.com/733/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gfchen.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gfchen.wordpress.com/733/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gfchen.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gfchen.wordpress.com/733/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gfchen.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gfchen.wordpress.com/733/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gfchen.wordpress.com&amp;blog=24683&amp;post=733&amp;subd=gfchen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gfchen.wordpress.com/2007/08/10/gallery2-%e9%97%9c%e9%96%89-rewrite-%e7%9a%84-link/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8f658ce49f248ae56896e3f1f0c7817a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gfchen</media:title>
		</media:content>
	</item>
		<item>
		<title>UTW 的 $baseurl 會和 Flickr Photo Gallery 衝</title>
		<link>http://gfchen.wordpress.com/2007/07/26/utw-%e7%9a%84-baseurl-%e6%9c%83%e5%92%8c-flickr-photo-gallery-%e8%a1%9d/</link>
		<comments>http://gfchen.wordpress.com/2007/07/26/utw-%e7%9a%84-baseurl-%e6%9c%83%e5%92%8c-flickr-photo-gallery-%e8%a1%9d/#comments</comments>
		<pubDate>Thu, 26 Jul 2007 04:48:11 +0000</pubDate>
		<dc:creator>gfchen</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Worklog]]></category>

		<guid isPermaLink="false">http://gfchen.wordpress.com/2007/07/26/utw-%e7%9a%84-baseurl-%e6%9c%83%e5%92%8c-flickr-photo-gallery-%e8%a1%9d/</guid>
		<description><![CDATA[升級 wordpress 到 2.x 後因為沒用 Flickr Photo Gallery 在寫 blog 時貼圖，所以一直也沒發現 Flickr Photo Gallery 因 wordpress 版本更新導致不相容而無法使用。 六月底將 wordpress 更新到 2.2.1 也順手將 UTW 升級到 final 版。當時因為 Flickr Photo Gallery 不相容 wordpress 2.x，即使啟動了也等於沒有，當然也沒發現這兩個 plugin 的變數會相衝。直到 7/16 更新了 Flickr Photo Gallery，於是 tags 的 link 從那時起就爛掉了，直到今天貼文章時才發現。 症狀是 post 的 tag 秀出來都正常，但 link 的 $baseurl 會被 Flickr Photo Gallery [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gfchen.wordpress.com&amp;blog=24683&amp;post=730&amp;subd=gfchen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>升級 wordpress 到 2.x 後因為沒用 <a href="http://www.tantannoodles.com/toolkit/photo-album/">Flickr Photo Gallery</a> 在寫 blog 時貼圖，所以一直也沒發現 <a href="http://www.tantannoodles.com/toolkit/photo-album/">Flickr Photo Gallery</a> 因 wordpress 版本更新導致不相容而無法使用。</p>
<p>六月底將 wordpress 更新到 2.2.1 也順手將 UTW 升級到 final 版。當時因為 <a href="http://www.tantannoodles.com/toolkit/photo-album/">Flickr Photo Gallery</a> 不相容 wordpress 2.x，即使啟動了也等於沒有，當然也沒發現這兩個 plugin 的變數會相衝。直到 7/16 更新了 <a href="http://www.tantannoodles.com/toolkit/photo-album/">Flickr Photo Gallery</a>，於是 tags 的 link 從那時起就爛掉了，直到今天貼文章時才發現。</p>
<p>症狀是 post 的 tag 秀出來都正常，但 link 的 $baseurl 會被 <a href="http://www.tantannoodles.com/toolkit/photo-album/">Flickr Photo Gallery</a> 的 $baseurl 取代。正常的 link 應該是 http://blog.gfchen.org/tags/psp/，而 <a href="http://www.tantannoodles.com/toolkit/photo-album/">Flickr Photo Gallery</a> 的 $baseurl 我設定空值，所以 link 就變成 http://blog.gfchen.orgpsp/ (搞什麼東西&#8230;)。</p>
<p>為什麼 UTW global $baseurl 會讀到 <a href="http://www.tantannoodles.com/toolkit/photo-album/">Flickr Photo Gallery</a> 的 $baseurl 我不知道，也懶得去追，直接把 global $baseurl 拿掉重新抓一次變數值解決。</p>
<p>UltimateTagWarrior\ultimate-tag-warrior-core.php 找到 function FormatTag() 將 global 宣告 $baseurl 刪掉，接著在 if ($prettyurls == 『yes』) 迴圈裡宣告 $baseurl = get_option(&#8216;utw_base_url&#8217;);</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gfchen.wordpress.com/730/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gfchen.wordpress.com/730/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gfchen.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gfchen.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gfchen.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gfchen.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gfchen.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gfchen.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gfchen.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gfchen.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gfchen.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gfchen.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gfchen.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gfchen.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gfchen.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gfchen.wordpress.com/730/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gfchen.wordpress.com&amp;blog=24683&amp;post=730&amp;subd=gfchen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gfchen.wordpress.com/2007/07/26/utw-%e7%9a%84-baseurl-%e6%9c%83%e5%92%8c-flickr-photo-gallery-%e8%a1%9d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8f658ce49f248ae56896e3f1f0c7817a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gfchen</media:title>
		</media:content>
	</item>
		<item>
		<title>[PSP] 3.52 M33 Custom Firmware Released</title>
		<link>http://gfchen.wordpress.com/2007/07/26/psp-352-m33-custom-firmware/</link>
		<comments>http://gfchen.wordpress.com/2007/07/26/psp-352-m33-custom-firmware/#comments</comments>
		<pubDate>Thu, 26 Jul 2007 03:49:59 +0000</pubDate>
		<dc:creator>gfchen</dc:creator>
				<category><![CDATA[Funny Stuff]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[psp]]></category>

		<guid isPermaLink="false">http://gfchen.wordpress.com/2007/07/26/psp-352-m33-custom-firmware/</guid>
		<description><![CDATA[Sony Official PSP firmware 3.52 推出不到一天的時間，M33 也發佈他們的 custom firmware 3.52 M33。 主要修正一些個人不是很在意的 bug，新增可以玩官方下載來的 PSX ISO。 下載<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gfchen.wordpress.com&amp;blog=24683&amp;post=729&amp;subd=gfchen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sony Official PSP firmware 3.52 推出不到一天的時間，<a href="http://m-33.narod.ru/">M33</a> 也發佈他們的 custom firmware 3.52 M33。</p>
<p>主要修正一些個人不是很在意的 bug，新增可以玩官方下載來的 PSX ISO。</p>
<p><a href="http://www.psp-hacks.com/file/1210">下載</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gfchen.wordpress.com/729/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gfchen.wordpress.com/729/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gfchen.wordpress.com/729/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gfchen.wordpress.com/729/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gfchen.wordpress.com/729/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gfchen.wordpress.com/729/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gfchen.wordpress.com/729/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gfchen.wordpress.com/729/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gfchen.wordpress.com/729/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gfchen.wordpress.com/729/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gfchen.wordpress.com/729/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gfchen.wordpress.com/729/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gfchen.wordpress.com/729/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gfchen.wordpress.com/729/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gfchen.wordpress.com/729/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gfchen.wordpress.com/729/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gfchen.wordpress.com&amp;blog=24683&amp;post=729&amp;subd=gfchen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gfchen.wordpress.com/2007/07/26/psp-352-m33-custom-firmware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8f658ce49f248ae56896e3f1f0c7817a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gfchen</media:title>
		</media:content>
	</item>
		<item>
		<title>MySQL 編碼老問題解決過程記錄</title>
		<link>http://gfchen.wordpress.com/2007/07/19/mysql-%e7%b7%a8%e7%a2%bc%e8%80%81%e5%95%8f%e9%a1%8c%e8%a7%a3%e6%b1%ba%e9%81%8e%e7%a8%8b%e8%a8%98%e9%8c%84/</link>
		<comments>http://gfchen.wordpress.com/2007/07/19/mysql-%e7%b7%a8%e7%a2%bc%e8%80%81%e5%95%8f%e9%a1%8c%e8%a7%a3%e6%b1%ba%e9%81%8e%e7%a8%8b%e8%a8%98%e9%8c%84/#comments</comments>
		<pubDate>Wed, 18 Jul 2007 16:44:35 +0000</pubDate>
		<dc:creator>gfchen</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[utf8]]></category>
		<category><![CDATA[Worklog]]></category>

		<guid isPermaLink="false">http://gfchen.wordpress.com/2007/07/19/mysql-%e7%b7%a8%e7%a2%bc%e8%80%81%e5%95%8f%e9%a1%8c%e8%a7%a3%e6%b1%ba%e9%81%8e%e7%a8%8b%e8%a8%98%e9%8c%84/</guid>
		<description><![CDATA[以前從 4.0 升級到 4.1 或 5.0 時，因為 4.0 沒有 utf-8，所以 dump 出來的東西都是 latin1，大都可以順利轉換成 utf-8 再倒回 4.1 以上。但是這次吃鱉的狀況是：從主機商上面將 4.1 的資料庫搬到自己架的 5.0 上。 吃鱉的原因是，主機商的 MySQL 雖然都會有支援 utf-8，但是通常他們的 MySQL server make 時都是以 latin1 去 make，所以如果程式建立 connection 時沒有特別指定 SET NAMES UTF8，就會用 latin1 去寫 utf8 的資料。好死不死的，如果 database 和 collation 都有設成 utf-8，問題就出來了。 因為 databse 和 collation 有設成 utf-8，所以在 export 時 phpMyAdmin [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gfchen.wordpress.com&amp;blog=24683&amp;post=725&amp;subd=gfchen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>以前從 4.0 升級到 4.1 或 5.0 時，因為 4.0 沒有 utf-8，所以 dump 出來的東西都是 latin1，大都可以順利轉換成 utf-8 再倒回 4.1 以上。但是這次吃鱉的狀況是：從主機商上面將 4.1 的資料庫搬到自己架的 5.0 上。</p>
<p>吃鱉的原因是，主機商的 MySQL 雖然都會有支援 utf-8，但是通常他們的 MySQL server make 時都是以 latin1 去 make，所以如果程式建立 connection 時沒有特別指定 SET NAMES UTF8，就會用 latin1 去寫 utf8 的資料。好死不死的，如果 database 和 collation 都有設成 utf-8，問題就出來了。</p>
<p>因為 databse 和 collation 有設成 utf-8，所以在 export 時 phpMyAdmin 就會以 utf-8 來輸出 .sql，但是那些資料是用 latin1 寫入的 utf-8，所以出來的東西不管怎麼轉都是錯的。慘！等我意會到手上這份備份根本是錯的東西時，主機商已經把我的帳號關掉了 (付費主機商提供的免費廣告帳號，後來覺得沒賺頭反悔要取消服務)，冒冷汗&#8230;</p>
<p>死馬也要醫，怎麼出就怎麼進，把錯的 .sql 用 utf-8 的方式倒進自己架的 MySQL，嗯嗯，看起來就是用 latin1 寫的 utf-8，接著進 shell 以 latin1 的方式做 mysqldump (怎麼進就要怎麼出，因為當初是用 latin1 寫的 utf-8，所以這次就要以 latin1 的方式 dump 出來)。dump 出來的東西用 vim 去看，乍看之下中文部份好像是錯的，但是其實是 utf-8 沒錯 (因為 dump 時是以 latin1 dump，所以 vim 用 latin1 的方式去看 utf-8 的資料，畫面上看起來當然就是亂碼)。別急，用 piconv 把 .sql 從 utf-8 轉 big5，然後再從 big5 轉回 utf-8，這時檔案編碼已經是 utf-8 了，用 vim 以 utf-8 編碼去看這個檔時，恭喜，已經是正常的中文字了！</p>
<p>別急著倒回去，.sql 裡面前幾行應該會看到有一行內容是：</p>
<blockquote><p>/*!40101 SET NAMES latin1 */;</p></blockquote>
<p>這是指定用 latin1 去 dump 時加上的設定，倒回去之前要把 latin1 改成 utf8，告訴 MySQL 用 utf-8 的方式將資料倒回去。倒回去後用 phpMyAdmin 看，哈，可愛的中文都回來了，從瀏覽器看網頁的部份，也是一切正常，WooHoo~~</p>
<p>後記：因為是自己架的 MySQL，make 時有指定 server 編碼是 utf8，所以不用在程式與 MySQL 建立 connection 時加上 SET NAMES UTF8。</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gfchen.wordpress.com/725/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gfchen.wordpress.com/725/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gfchen.wordpress.com/725/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gfchen.wordpress.com/725/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gfchen.wordpress.com/725/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gfchen.wordpress.com/725/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gfchen.wordpress.com/725/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gfchen.wordpress.com/725/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gfchen.wordpress.com/725/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gfchen.wordpress.com/725/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gfchen.wordpress.com/725/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gfchen.wordpress.com/725/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gfchen.wordpress.com/725/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gfchen.wordpress.com/725/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gfchen.wordpress.com/725/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gfchen.wordpress.com/725/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gfchen.wordpress.com&amp;blog=24683&amp;post=725&amp;subd=gfchen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gfchen.wordpress.com/2007/07/19/mysql-%e7%b7%a8%e7%a2%bc%e8%80%81%e5%95%8f%e9%a1%8c%e8%a7%a3%e6%b1%ba%e9%81%8e%e7%a8%8b%e8%a8%98%e9%8c%84/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8f658ce49f248ae56896e3f1f0c7817a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gfchen</media:title>
		</media:content>
	</item>
		<item>
		<title>[PSP] 3.51 M33 Custom Firmware Released</title>
		<link>http://gfchen.wordpress.com/2007/07/16/psp-351-m33-custom-firmware-released/</link>
		<comments>http://gfchen.wordpress.com/2007/07/16/psp-351-m33-custom-firmware-released/#comments</comments>
		<pubDate>Sun, 15 Jul 2007 17:09:05 +0000</pubDate>
		<dc:creator>gfchen</dc:creator>
				<category><![CDATA[Funny Stuff]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[psp]]></category>

		<guid isPermaLink="false">http://gfchen.wordpress.com/2007/07/16/psp-351-m33-custom-firmware-released/</guid>
		<description><![CDATA[自從 Dark_Alex 宣佈不玩 custom firmware 後，另一俄國團隊 M33 發佈了他們開發的 custom firmware。 這支 custom firmware 和 Dark_Alex 所作的 firmware 類似，都是使用新版本的官方韌體加上 1.5 版韌體的漏洞，讓 PSP 可以享有新韌體的功能，同時還能執行一些自製的程式。 無論現在是官方 1.5 版的韌體或是已安裝 Dark_Alex&#8217;s custom firmware 的 PSP 都可以直接安裝，方法檔案寫得滿清楚的就不翻了。 相關下載： Sony Official PSP 3.51 firmware Sony Official PSP 1.5 firmware PSP 3.51 M33 Custom Firmware Update: No-UMD 3.51 M33 patch (新增一個免 UMD 的模式)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gfchen.wordpress.com&amp;blog=24683&amp;post=722&amp;subd=gfchen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>自從 Dark_Alex 宣佈不玩 custom firmware 後，另一俄國團隊 M33 <a href="http://www.pspx.ru/forum/showthread.php?t=48235">發佈</a>了他們開發的 custom firmware。</p>
<p>這支 custom firmware 和 Dark_Alex 所作的 firmware 類似，都是使用新版本的官方韌體加上 1.5 版韌體的漏洞，讓 PSP 可以享有新韌體的功能，同時還能執行一些自製的程式。</p>
<p>無論現在是官方 1.5 版的韌體或是已安裝 Dark_Alex&#8217;s custom firmware 的 PSP 都可以直接安裝，方法檔案寫得滿清楚的就不翻了。</p>
<p>相關下載：<br />
<a href="http://www.psp-hacks.com/file/1189">Sony Official PSP 3.51 firmware</a><br />
<a href="http://www.psp-hacks.com/file/4">Sony Official PSP 1.5 firmware</a><br />
<a href="http://www.psp-hacks.com/file/1200">PSP 3.51 M33 Custom Firmware</a></p>
<p><strong>Update:</strong> <a href="http://www.psp-hacks.com/2007/07/17/no-umd-351-m33-patch/">No-UMD 3.51 M33 patch</a> (新增一個免 UMD 的模式)</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gfchen.wordpress.com/722/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gfchen.wordpress.com/722/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gfchen.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gfchen.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gfchen.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gfchen.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gfchen.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gfchen.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gfchen.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gfchen.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gfchen.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gfchen.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gfchen.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gfchen.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gfchen.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gfchen.wordpress.com/722/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gfchen.wordpress.com&amp;blog=24683&amp;post=722&amp;subd=gfchen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gfchen.wordpress.com/2007/07/16/psp-351-m33-custom-firmware-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8f658ce49f248ae56896e3f1f0c7817a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gfchen</media:title>
		</media:content>
	</item>
		<item>
		<title>擋掉各搜尋引擎的機器人</title>
		<link>http://gfchen.wordpress.com/2007/07/08/%e6%93%8b%e6%8e%89%e5%90%84%e6%90%9c%e5%b0%8b%e5%bc%95%e6%93%8e%e7%9a%84%e6%a9%9f%e5%99%a8%e4%ba%ba/</link>
		<comments>http://gfchen.wordpress.com/2007/07/08/%e6%93%8b%e6%8e%89%e5%90%84%e6%90%9c%e5%b0%8b%e5%bc%95%e6%93%8e%e7%9a%84%e6%a9%9f%e5%99%a8%e4%ba%ba/#comments</comments>
		<pubDate>Sun, 08 Jul 2007 09:34:06 +0000</pubDate>
		<dc:creator>gfchen</dc:creator>
				<category><![CDATA[murmur]]></category>
		<category><![CDATA[robots.txt]]></category>
		<category><![CDATA[Worklog]]></category>

		<guid isPermaLink="false">http://gfchen.wordpress.com/2007/07/08/%e6%93%8b%e6%8e%89%e5%90%84%e6%90%9c%e5%b0%8b%e5%bc%95%e6%93%8e%e7%9a%84%e6%a9%9f%e5%99%a8%e4%ba%ba/</guid>
		<description><![CDATA[上個月流量破錶讓人感到非常賭氣，因為有一半的流量是 spider 和 robot 爬出來的，尤以 Y! Slurp 居冠，爬得沒斬沒節，又不想加錢買頻寬 (幹嘛買來讓 spider 爬？)，所以從 robots.txt 裡面 disallow 掉。 不過還是留了個洞給 Googlebot 爬，這樣自己在 google 搜東西才找得到。 btw, sogou 和 baidu 這兩傢伙似乎看不太懂 robots.txt，改天再從 .htaccess 裡面把這兩隻 deny 掉。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gfchen.wordpress.com&amp;blog=24683&amp;post=720&amp;subd=gfchen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div style="float:right;margin-left:10px;margin-bottom:10px;"><a href="http://farm2.static.flickr.com/1315/655254069_0e23c2132a_o.png" rel="lightbox" title="Photo Sharing"><img src="http://farm2.static.flickr.com/1315/655254069_48ae2b5f53_m.jpg" width="240" height="174" alt="流量破錶" style="border:solid 1px #AAA;padding:2px;" /></a></div>
<p>上個月流量破錶讓人感到非常賭氣，因為有一半的流量是 spider 和 robot 爬出來的，尤以 <a href="http://help.yahoo.com/help/us/ysearch/slurp/index.html">Y! Slurp</a> 居冠，爬得沒斬沒節，又不想加錢買頻寬 (幹嘛買來讓 spider 爬？)，所以從 robots.txt 裡面 disallow 掉。</p>
<p>不過還是留了個洞給 Googlebot 爬，這樣自己在 google 搜東西才找得到。</p>
<p>btw, sogou 和 baidu 這兩傢伙似乎看不太懂 robots.txt，改天再從 .htaccess 裡面把這兩隻 deny 掉。<br /></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gfchen.wordpress.com/720/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gfchen.wordpress.com/720/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gfchen.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gfchen.wordpress.com/720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gfchen.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gfchen.wordpress.com/720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gfchen.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gfchen.wordpress.com/720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gfchen.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gfchen.wordpress.com/720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gfchen.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gfchen.wordpress.com/720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gfchen.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gfchen.wordpress.com/720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gfchen.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gfchen.wordpress.com/720/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gfchen.wordpress.com&amp;blog=24683&amp;post=720&amp;subd=gfchen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gfchen.wordpress.com/2007/07/08/%e6%93%8b%e6%8e%89%e5%90%84%e6%90%9c%e5%b0%8b%e5%bc%95%e6%93%8e%e7%9a%84%e6%a9%9f%e5%99%a8%e4%ba%ba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8f658ce49f248ae56896e3f1f0c7817a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gfchen</media:title>
		</media:content>

		<media:content url="http://farm2.static.flickr.com/1315/655254069_48ae2b5f53_m.jpg" medium="image">
			<media:title type="html">流量破錶</media:title>
		</media:content>
	</item>
		<item>
		<title>開機時 /usr/local/etc/rc.d 裡的 script 被執行兩次</title>
		<link>http://gfchen.wordpress.com/2007/06/28/%e9%96%8b%e6%a9%9f%e6%99%82-usrlocaletcrcd-%e8%a3%a1%e7%9a%84-script-%e8%a2%ab%e5%9f%b7%e8%a1%8c%e5%85%a9%e6%ac%a1/</link>
		<comments>http://gfchen.wordpress.com/2007/06/28/%e9%96%8b%e6%a9%9f%e6%99%82-usrlocaletcrcd-%e8%a3%a1%e7%9a%84-script-%e8%a2%ab%e5%9f%b7%e8%a1%8c%e5%85%a9%e6%ac%a1/#comments</comments>
		<pubDate>Thu, 28 Jun 2007 07:01:11 +0000</pubDate>
		<dc:creator>gfchen</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://gfchen.wordpress.com/2007/06/28/%e9%96%8b%e6%a9%9f%e6%99%82-usrlocaletcrcd-%e8%a3%a1%e7%9a%84-script-%e8%a2%ab%e5%9f%b7%e8%a1%8c%e5%85%a9%e6%ac%a1/</guid>
		<description><![CDATA[Scripts in /usr/local/etc/rc.d run twice at boot time (startup)? 今天在裝一台預計暑假時要做系統移轉的機器，一路啪啦啪啦裝完基本環境 (apache + php + mysql) 後順便將 kernel 改好，重開&#8230;就看到很詭異的現象：/usr/local/etc/rc.d 下的 script 統統被執行了兩次&#8230; 想說奇怪，過程和平常都一樣啊，為甚麼這些東西被跑了兩次？翻 /usr/src/UPDATING, /usr/ports/UPDATING，看到原來是 Xorg 7.2 的影響&#8230; Xorg 7.2 不再使用 /usr/X11R6 這個目錄，所以原本的 /usr/X11R6 被 link 到 /usr/local，而 /etc/defaults/rc.conf 裡有這麼一行： local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" 所以開機時 /usr/local/etc/rc.d 執行一次，接著 /usr/X11R6/etc/rc.d 再執行一次，這兩個地方的東西其實是同一份，所有在 rc.d 裡的服務就這麼被跑了兩次&#8230; 解法：在 /etc/rc.conf 裡加入下列一行即可&#8230; local_startup="/usr/local/etc/rc.d" ps. 明明沒裝 Xorg [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gfchen.wordpress.com&amp;blog=24683&amp;post=714&amp;subd=gfchen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Scripts in /usr/local/etc/rc.d run twice at boot time (startup)?</p>
<p>今天在裝一台預計暑假時要做系統移轉的機器，一路啪啦啪啦裝完基本環境 (apache + php + mysql) 後順便將 kernel 改好，重開&#8230;就看到很詭異的現象：/usr/local/etc/rc.d 下的 script 統統被執行了兩次&#8230;</p>
<p><span id="more-714"></span></p>
<p>想說奇怪，過程和平常都一樣啊，為甚麼這些東西被跑了兩次？翻 /usr/src/UPDATING, /usr/ports/UPDATING，看到原來是 Xorg 7.2 的影響&#8230;</p>
<p>Xorg 7.2 不再使用 /usr/X11R6 這個目錄，所以原本的 /usr/X11R6 被 link 到 /usr/local，而 /etc/defaults/rc.conf 裡有這麼一行：</p>
<p><code>local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d"</code></p>
<p>所以開機時 /usr/local/etc/rc.d 執行一次，接著 /usr/X11R6/etc/rc.d 再執行一次，這兩個地方的東西其實是同一份，所有在 rc.d 裡的服務就這麼被跑了兩次&#8230;</p>
<p>解法：在 /etc/rc.conf 裡加入下列一行即可&#8230;</p>
<p><code>local_startup="/usr/local/etc/rc.d"</code></p>
<p>ps. 明明沒裝 Xorg 為甚麼會這樣？用 ports 裝 php5-gd 時他有個 depends 是 xorg-libraries (XPM support)，安裝完 xorg-libraries 後 /usr/X11R6 就被 link 到 /usr/local 了。</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gfchen.wordpress.com/714/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gfchen.wordpress.com/714/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gfchen.wordpress.com/714/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gfchen.wordpress.com/714/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gfchen.wordpress.com/714/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gfchen.wordpress.com/714/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gfchen.wordpress.com/714/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gfchen.wordpress.com/714/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gfchen.wordpress.com/714/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gfchen.wordpress.com/714/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gfchen.wordpress.com/714/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gfchen.wordpress.com/714/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gfchen.wordpress.com/714/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gfchen.wordpress.com/714/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gfchen.wordpress.com/714/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gfchen.wordpress.com/714/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gfchen.wordpress.com&amp;blog=24683&amp;post=714&amp;subd=gfchen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gfchen.wordpress.com/2007/06/28/%e9%96%8b%e6%a9%9f%e6%99%82-usrlocaletcrcd-%e8%a3%a1%e7%9a%84-script-%e8%a2%ab%e5%9f%b7%e8%a1%8c%e5%85%a9%e6%ac%a1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8f658ce49f248ae56896e3f1f0c7817a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gfchen</media:title>
		</media:content>
	</item>
		<item>
		<title>[PSP] 3.50 Firmware Downgrader (3.50 韌體降級程式)</title>
		<link>http://gfchen.wordpress.com/2007/06/28/psp-350-firmware-downgrader-350-%e9%9f%8c%e9%ab%94%e9%99%8d%e7%b4%9a%e7%a8%8b%e5%bc%8f/</link>
		<comments>http://gfchen.wordpress.com/2007/06/28/psp-350-firmware-downgrader-350-%e9%9f%8c%e9%ab%94%e9%99%8d%e7%b4%9a%e7%a8%8b%e5%bc%8f/#comments</comments>
		<pubDate>Thu, 28 Jun 2007 00:27:36 +0000</pubDate>
		<dc:creator>gfchen</dc:creator>
				<category><![CDATA[Funny Stuff]]></category>

		<guid isPermaLink="false">http://gfchen.wordpress.com/2007/06/28/psp-350-firmware-downgrader-350-%e9%9f%8c%e9%ab%94%e9%99%8d%e7%b4%9a%e7%a8%8b%e5%bc%8f/</guid>
		<description><![CDATA[Noobz 於日前 (6/25) 發佈 PSP 3.50 韌體降級程式。 和之前紅極一時的 GTA 類似，這次是利用 Lumines 存檔的溢位來執行降級程式，所以只要將韌體先升級到官方 3.50 版後，準備一張 Lumines (美版或歐版)，就可以作降級。 唯需注意的是，TA082 以後的機板若先前降過級的話，現在無法用這方式升級到 3.50 再降級回去。因為 Sony 自官方韌體 3.30 後會偵測是否曾降過級，是的話就鎖住無法使用官方韌體。 Noobz 計畫要解掉 Sony 官方韌體會檢查是否降過級而不給升級的問題&#8230;不過&#8230;降過級的 end user 會有人要想再升回官方韌體嗎？<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gfchen.wordpress.com&amp;blog=24683&amp;post=713&amp;subd=gfchen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.noobz.eu/joomla/">Noobz</a> 於日前 (6/25) <a href="http://www.noobz.eu/joomla/news/downgrader-for-psp-v3.50-firmware.html">發佈</a> <a href="http://www.noobz.eu/joomla/component/option,com_remository/Itemid,0/func,startdown/id,18/" target="_blank">PSP 3.50 韌體降級程式</a>。</p>
<p>和之前紅極一時的 GTA 類似，這次是利用 Lumines 存檔的溢位來執行降級程式，所以只要將韌體先升級到官方 3.50 版後，準備一張 Lumines (美版或歐版)，就可以作降級。</p>
<p>唯需注意的是，TA082 以後的機板若先前降過級的話，現在無法用這方式升級到 3.50 再降級回去。因為 Sony 自官方韌體 3.30 後會偵測是否曾降過級，是的話就鎖住無法使用官方韌體。</p>
<p>Noobz 計畫要解掉 Sony 官方韌體會檢查是否降過級而不給升級的問題&#8230;不過&#8230;降過級的 end user 會有人要想再升回官方韌體嗎？</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gfchen.wordpress.com/713/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gfchen.wordpress.com/713/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gfchen.wordpress.com/713/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gfchen.wordpress.com/713/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gfchen.wordpress.com/713/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gfchen.wordpress.com/713/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gfchen.wordpress.com/713/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gfchen.wordpress.com/713/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gfchen.wordpress.com/713/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gfchen.wordpress.com/713/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gfchen.wordpress.com/713/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gfchen.wordpress.com/713/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gfchen.wordpress.com/713/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gfchen.wordpress.com/713/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gfchen.wordpress.com/713/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gfchen.wordpress.com/713/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gfchen.wordpress.com&amp;blog=24683&amp;post=713&amp;subd=gfchen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gfchen.wordpress.com/2007/06/28/psp-350-firmware-downgrader-350-%e9%9f%8c%e9%ab%94%e9%99%8d%e7%b4%9a%e7%a8%8b%e5%bc%8f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8f658ce49f248ae56896e3f1f0c7817a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gfchen</media:title>
		</media:content>
	</item>
	</channel>
</rss>
