<?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>Computer, Electron and Technology &#187; php</title>
	<atom:link href="http://www.donevii.com/post/tag/php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.donevii.com</link>
	<description>DoneVII CET &#38; CPPLITE</description>
	<lastBuildDate>Sun, 17 Jan 2010 05:32:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>每天看 svn 库变更的一个小 shell 脚本</title>
		<link>http://www.donevii.com/post/940.html</link>
		<comments>http://www.donevii.com/post/940.html#comments</comments>
		<pubDate>Fri, 06 Nov 2009 10:07:36 +0000</pubDate>
		<dc:creator>dengwei</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.donevii.com/post/940.html</guid>
		<description><![CDATA[#!/bin/bash
TODAY=/tmp/$(date +%Y%m%d)
CONTENT=$TODAY/update_content_sina.tmp
if [ ! -d $TODAY ]; then
mkdir $TODAY
fi
if [ -f $CONTENT ]; then
rm $CONTENT
fi
svn up ~/job/code/php/sinahouse/ &#62;&#62; $TODAY/svn_update_list.tmp
LIST=`cat $TODAY/svn_upd... ]]></description>
			<content:encoded><![CDATA[<p>#!/bin/bash</p>
<p>TODAY=/tmp/$(date +%Y%m%d)<br />
CONTENT=$TODAY/update_content_sina.tmp</p>
<p>if [ ! -d $TODAY ]; then<br />
mkdir $TODAY<br />
fi</p>
<p>if [ -f $CONTENT ]; then<br />
rm $CONTENT<br />
fi</p>
<p>svn up ~/job/code/php/sinahouse/ &gt;&gt; $TODAY/svn_update_list.tmp<br />
LIST=`cat $TODAY/svn_update_list.tmp | grep &#8216;.php&#8217; | awk &#8216;{print $2}&#8217;`</p>
<p>for L in $LIST; do<br />
svn diff -r PREV $L &gt;&gt; $CONTENT<br />
done</p>
<p>/usr/bin/vim $CONTENT</p>

	<h4>相关文章</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.donevii.com/post/758.html" title="清除指定squid缓存文件的脚本 (2009-02-09)">清除指定squid缓存文件的脚本</a> (0)</li>
	<li><a href="http://www.donevii.com/post/75.html" title="挣脱Windows的枷锁：Linux屏幕录像 (2006-10-10)">挣脱Windows的枷锁：Linux屏幕录像</a> (0)</li>
	<li><a href="http://www.donevii.com/post/34.html" title="完美安装mplayer手册 (2006-08-22)">完美安装mplayer手册</a> (0)</li>
	<li><a href="http://www.donevii.com/post/129.html" title="大型高并发高负载网站的系统架构 (2006-10-26)">大型高并发高负载网站的系统架构</a> (0)</li>
	<li><a href="http://www.donevii.com/post/97.html" title="国外PS网站论坛汇总－－国内最强 (2006-10-19)">国外PS网站论坛汇总－－国内最强</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.donevii.com/post/940.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>一组很猥琐的图片</title>
		<link>http://www.donevii.com/post/926.html</link>
		<comments>http://www.donevii.com/post/926.html#comments</comments>
		<pubDate>Sat, 19 Sep 2009 08:12:19 +0000</pubDate>
		<dc:creator>dengwei</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.donevii.com/post/926.html</guid>
		<description><![CDATA[
附件

 			 			nEO_IMG_nEO_IMG_p_large_2aPj_66a000007cc22d0d.jpg 			(21.16 KB) 		

 				2009年9月19日 00:41 				 				 			
 				 					 						 					 				 				



 			 			nEO_IMG_nEO_IMG_p_large_2bOa_42e50006021d2d14.jpg 			(20.65 KB) 		

 				2009年9... ]]></description>
			<content:encoded><![CDATA[<div class="box postattachlist">
<h4>附件</h4>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921612&amp;k=9c92963005d23f7d95281fa64e005421&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_2aPj_66a000007cc22d0d.jpg</a> 			<em>(21.16 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:41 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_dc992ba09a62be26c519ySW4vY7WBjyC.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_dc992ba09a62be26c519ySW4vY7WBjyC.jpg')" alt="nEO_IMG_nEO_IMG_p_large_2aPj_66a000007cc22d0d.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921614&amp;k=146546f48bc868b9ae4154cde6077028&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_2bOa_42e50006021d2d14.jpg</a> 			<em>(20.65 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:41 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_6e89059fa0b345d0826czdV9jxw0AfP7.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_6e89059fa0b345d0826czdV9jxw0AfP7.jpg')" alt="nEO_IMG_nEO_IMG_p_large_2bOa_42e50006021d2d14.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921616&amp;k=13c32a7b6f09a7b1cc446d64656f76d6&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_3lYy_42e50006021a2d14.jpg</a> 			<em>(26.99 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:41 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_02c95e866f45281f67c1M6bdN6N73Xmb.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_02c95e866f45281f67c1M6bdN6N73Xmb.jpg')" alt="nEO_IMG_nEO_IMG_p_large_3lYy_42e50006021a2d14.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921618&amp;k=7f85b72941286253d8722e1a8aacd03a&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_3Mw0_017f0005c4622d0e.jpg</a> 			<em>(21.49 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:41 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_d6d9964ce48e3173590ayQxhE5XaHZlz.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_d6d9964ce48e3173590ayQxhE5XaHZlz.jpg')" alt="nEO_IMG_nEO_IMG_p_large_3Mw0_017f0005c4622d0e.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921620&amp;k=88669769ee6b7d8b08d57502f854383e&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_4JXW_78f10001694b2d10.jpg</a> 			<em>(23.23 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:41 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_e7370743ad53ddf7bf814j9gKgiyYyZA.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_e7370743ad53ddf7bf814j9gKgiyYyZA.jpg')" alt="nEO_IMG_nEO_IMG_p_large_4JXW_78f10001694b2d10.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921622&amp;k=0e0e221889a76ae4f9bfcd8397b2b2a0&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_13lr_67a20005f8bd2d12.jpg</a> 			<em>(20.11 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:43 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_cb270d582b10a42e478cbxv3qSqy8yat.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_cb270d582b10a42e478cbxv3qSqy8yat.jpg')" alt="nEO_IMG_nEO_IMG_p_large_13lr_67a20005f8bd2d12.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921624&amp;k=80ee9d7170d836d4e8c6c2812e51bdc8&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_22ol_51c1000329f52d13.jpg</a> 			<em>(24.44 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:43 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_09c40d0e741bea204e4ccpJYxG2bgEc1.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_09c40d0e741bea204e4ccpJYxG2bgEc1.jpg')" alt="nEO_IMG_nEO_IMG_p_large_22ol_51c1000329f52d13.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921626&amp;k=7de3062a84d88d4e5289ccf75cfc8f67&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_bTTg_67a000031ec92d12.jpg</a> 			<em>(20.92 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:43 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_87b23609f73e61615614jdKgea8aPQ5L.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_87b23609f73e61615614jdKgea8aPQ5L.jpg')" alt="nEO_IMG_nEO_IMG_p_large_bTTg_67a000031ec92d12.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921628&amp;k=962deeddcb34d6940982a02b0e0e3166&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_cryD_5e1a000079fe2d0f.jpg</a> 			<em>(21.14 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:43 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_a2c55f9153edf7e85835IK2BApyyIXdS.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_a2c55f9153edf7e85835IK2BApyyIXdS.jpg')" alt="nEO_IMG_nEO_IMG_p_large_cryD_5e1a000079fe2d0f.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921630&amp;k=19e0782f7e0ed5c83ed9979ff5a8e974&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_EbRV_78f50005d19f2d10.jpg</a> 			<em>(21.2 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:43 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_ca3388a995fde4836722cN2lxWdykJxV.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_ca3388a995fde4836722cN2lxWdykJxV.jpg')" alt="nEO_IMG_nEO_IMG_p_large_EbRV_78f50005d19f2d10.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921632&amp;k=c7db182d59e86f90be131fcba8dfaba4&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_EKYR_679e00015df02d12.jpg</a> 			<em>(21.55 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:43 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_fe5df66b76976b562062q1L5R2UTT3M8.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_fe5df66b76976b562062q1L5R2UTT3M8.jpg')" alt="nEO_IMG_nEO_IMG_p_large_EKYR_679e00015df02d12.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921634&amp;k=c10f728044a86db4cac591d8f1a5b9d9&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_hm97_4be60005b9af2d0b.jpg</a> 			<em>(20.45 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:43 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_391e4cb041198672a4d2tLVW0TioYcFf.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_391e4cb041198672a4d2tLVW0TioYcFf.jpg')" alt="nEO_IMG_nEO_IMG_p_large_hm97_4be60005b9af2d0b.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921636&amp;k=fd5e1023bd9241cd7d2c65c3700637ec&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_kAdk_5e1e000318102d0f.jpg</a> 			<em>(24.59 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:44 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_f4e99d76b9816cefde49eujhX1J82ywy.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_f4e99d76b9816cefde49eujhX1J82ywy.jpg')" alt="nEO_IMG_nEO_IMG_p_large_kAdk_5e1e000318102d0f.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921638&amp;k=cd2589682b896a63833c253258a266ef&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_lIQJ_66a2000159b22d0d.jpg</a> 			<em>(21.6 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:44 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_841c9aab006d8584035fGOiOeg7Xctpm.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_841c9aab006d8584035fGOiOeg7Xctpm.jpg')" alt="nEO_IMG_nEO_IMG_p_large_lIQJ_66a2000159b22d0d.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921640&amp;k=f120bffe18e4336fd2303450d1f60979&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_muy0_5e1a000079fd2d0f.jpg</a> 			<em>(24.25 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:44 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_26640033062cc697fd08qjCVCvfHyvnp.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_26640033062cc697fd08qjCVCvfHyvnp.jpg')" alt="nEO_IMG_nEO_IMG_p_large_muy0_5e1a000079fd2d0f.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921642&amp;k=820f2ce18700a6bdcd64e673c3793e25&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_nhbq_67a20005f8b52d12.jpg</a> 			<em>(21.18 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:44 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_de67b28da8422d7cfd4753tB7zAsE47O.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_de67b28da8422d7cfd4753tB7zAsE47O.jpg')" alt="nEO_IMG_nEO_IMG_p_large_nhbq_67a20005f8b52d12.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921644&amp;k=d773be84afec978286d1ac80d33c3005&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_NHy8_7a420003c90b2d11.jpg</a> 			<em>(18.45 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:44 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_cf4373716e63da4046b6D2lyd9mQ8gh2.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_cf4373716e63da4046b6D2lyd9mQ8gh2.jpg')" alt="nEO_IMG_nEO_IMG_p_large_NHy8_7a420003c90b2d11.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921646&amp;k=d528f6a7fcd0b9711e30ac2fd0a1a642&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_PZiS_67a20005f8a52d12.jpg</a> 			<em>(17.88 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:44 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_c6ba0844ebb7f035120csI8g3ryv4mlJ.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_c6ba0844ebb7f035120csI8g3ryv4mlJ.jpg')" alt="nEO_IMG_nEO_IMG_p_large_PZiS_67a20005f8a52d12.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921648&amp;k=7e8630335d95055209c39faadaeb6859&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_rMGm_4be4000325bb2d0b.jpg</a> 			<em>(23.43 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:44 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_8fa91eb66da03a3e8389Ib1prAgcT6I8.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_8fa91eb66da03a3e8389Ib1prAgcT6I8.jpg')" alt="nEO_IMG_nEO_IMG_p_large_rMGm_4be4000325bb2d0b.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921650&amp;k=2dea65f251562231d3e7eb3afb9169a0&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_Srj1_66a2000159be2d0d.jpg</a> 			<em>(19.25 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:46 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_39bd4dab0f8727eef4a5ZIKF6iz3njfW.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_39bd4dab0f8727eef4a5ZIKF6iz3njfW.jpg')" alt="nEO_IMG_nEO_IMG_p_large_Srj1_66a2000159be2d0d.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921652&amp;k=a8622089e0b3027b7126e0543df040b5&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_tFFo_4157000120992d0c.jpg</a> 			<em>(22.35 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:46 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_5060342785d979edbfa3l4omdUnYhwsv.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_5060342785d979edbfa3l4omdUnYhwsv.jpg')" alt="nEO_IMG_nEO_IMG_p_large_tFFo_4157000120992d0c.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921654&amp;k=58bae91c6f9c4c2d3aa52586c43499fd&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_TqgM_4be4000325b72d0b.jpg</a> 			<em>(21.01 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:46 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_85ec105d700684f029eeGthoVS8wd86m.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_85ec105d700684f029eeGthoVS8wd86m.jpg')" alt="nEO_IMG_nEO_IMG_p_large_TqgM_4be4000325b72d0b.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921656&amp;k=848e2b04c50de64d1b43fcee41450aeb&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_TsWm_78f50005d18b2d10.jpg</a> 			<em>(17.27 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:46 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_4b0d9ff5c427560bf14c8EwOAkTWhbk6.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_4b0d9ff5c427560bf14c8EwOAkTWhbk6.jpg')" alt="nEO_IMG_nEO_IMG_p_large_TsWm_78f50005d18b2d10.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921658&amp;k=d00b1a5910e9c79aa21229857215732d&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_Ug2W_4be4000325d52d0b.jpg</a> 			<em>(24.55 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:46 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_211119ec98a213d0cf51it4wwJuPS5qM.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_211119ec98a213d0cf51it4wwJuPS5qM.jpg')" alt="nEO_IMG_nEO_IMG_p_large_Ug2W_4be4000325d52d0b.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921660&amp;k=d2e12179b39a46a7849dc214af94b5d7&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_UQwB_4be20001645c2d0b.jpg</a> 			<em>(22.77 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:49 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_d7e8ac809dd913ad1119XFWfZSFkGXwK.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_d7e8ac809dd913ad1119XFWfZSFkGXwK.jpg')" alt="nEO_IMG_nEO_IMG_p_large_UQwB_4be20001645c2d0b.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921662&amp;k=c8ae0d8b30d4137e5bd31f8915f7656c&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_vFX1_66a60005cbb72d0d.jpg</a> 			<em>(17.65 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:49 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_7ea1e0431a809ee5b0622WZLM97yRQJ0.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_7ea1e0431a809ee5b0622WZLM97yRQJ0.jpg')" alt="nEO_IMG_nEO_IMG_p_large_vFX1_66a60005cbb72d0d.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921664&amp;k=165203c77f2dbeaeb59533656fb16f5a&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_XPGh_51c30005f2a52d13.jpg</a> 			<em>(24.51 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:49 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_075f9d322eacc86a064aVPeh0tjGXSNQ.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_075f9d322eacc86a064aVPeh0tjGXSNQ.jpg')" alt="nEO_IMG_nEO_IMG_p_large_XPGh_51c30005f2a52d13.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921666&amp;k=437ce5afb8e5eea35467af82f28bd789&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_xwoX_4157000120b22d0c.jpg</a> 			<em>(16.68 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:49 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_6d400c2f049a49f27f033crbVCY7qDDi.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_6d400c2f049a49f27f033crbVCY7qDDi.jpg')" alt="nEO_IMG_nEO_IMG_p_large_xwoX_4157000120b22d0c.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921668&amp;k=c1212cbd6fa9b7f0fe482d87fafd493d&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_ySHX_2eca00031acf2d11.jpg</a> 			<em>(21.34 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:49 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_22c3686deb15d6f9bdf3IGOz5QBmpaMJ.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_22c3686deb15d6f9bdf3IGOz5QBmpaMJ.jpg')" alt="nEO_IMG_nEO_IMG_p_large_ySHX_2eca00031acf2d11.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921670&amp;k=1102b0f92e5147774a9f2b0e2743402a&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_ZRVI_66a000007cba2d0d.jpg</a> 			<em>(20.31 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:49 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_f3541693bdab24618614WDnwu3zQ3N5c.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_f3541693bdab24618614WDnwu3zQ3N5c.jpg')" alt="nEO_IMG_nEO_IMG_p_large_ZRVI_66a000007cba2d0d.jpg" /> 					 				 				</p>
</dd>
</dl>
<dl class="t_attachlist">
<dt> 			<img src="http://www.shanghaining.com/forum/images/attachicons/image.gif" class="absmiddle" alt="" border="0" /> 			<a href="http://www.shanghaining.com/forum/attachment.php?aid=921672&amp;k=8b62634aafee9a6ff2f1c82384e1e9b4&amp;t=1253347328&amp;nothumb=yes" class="bold" target="_blank">nEO_IMG_nEO_IMG_p_large_ZTB5_2eca00031aba2d11.jpg</a> 			<em>(21.58 KB)</em> 		</dt>
<dd>
<p> 				2009年9月19日 00:49 				 				 			</p>
<p> 				 					 						<img src="http://static.shanghaining.com/forum/attachments/forumid_19/20090918_33e2930d023df32f12a00v6k5hK0r8sL.jpg" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'http://static.shanghaining.com/forum/attachments/forumid_19/20090918_33e2930d023df32f12a00v6k5hK0r8sL.jpg')" alt="nEO_IMG_nEO_IMG_p_large_ZTB5_2eca00031aba2d11.jpg" /> 					 				 				</p>
</dd>
</dl></div>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=80a37ac2-7a0b-8313-ba1e-5e809e21fb8a" /></div>

	<h4>相关文章</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.donevii.com/post/173.html" title="解决 AJAX 跨域方案二(Rewrite) (2006-11-06)">解决 AJAX 跨域方案二(Rewrite)</a> (0)</li>
	<li><a href="http://www.donevii.com/post/172.html" title="解决 AJAX 跨域方案一(PHP Proxy) (2006-11-06)">解决 AJAX 跨域方案一(PHP Proxy)</a> (0)</li>
	<li><a href="http://www.donevii.com/post/260.html" title="英文网站大全 (2006-12-28)">英文网站大全</a> (0)</li>
	<li><a href="http://www.donevii.com/post/654.html" title="联想的广告一个比一个好了 (2008-12-03)">联想的广告一个比一个好了</a> (0)</li>
	<li><a href="http://www.donevii.com/post/110.html" title="翻译：On having layout (2006-10-24)">翻译：On having layout</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.donevii.com/post/926.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>snow leopard 下通过 py 脚本下载 google music</title>
		<link>http://www.donevii.com/post/922.html</link>
		<comments>http://www.donevii.com/post/922.html#comments</comments>
		<pubDate>Thu, 17 Sep 2009 02:49:26 +0000</pubDate>
		<dc:creator>dengwei</dc:creator>
				<category><![CDATA[python]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.donevii.com/?p=922</guid>
		<description><![CDATA[最近在国内没办法再用 spotify 听歌了，迫于无奈只好转向 google music 。
因为 firefox 尴尬的内存占用，并且考虑把歌同步到 iPhone 上来听，开始着手找下载 google music 的小工具，发现骨头做的 gmbox ... ]]></description>
			<content:encoded><![CDATA[<p>最近在国内没办法再用 spotify 听歌了，迫于无奈只好转向 google music 。</p>
<p>因为 firefox 尴尬的内存占用，并且考虑把歌同步到 iPhone 上来听，开始着手找下载 google music 的小工具，发现骨头做的 <a href="http://li2z.cn/2009/09/13/gmbox-0-2/">gmbox</a> 不错，可惜现在是只支持 windows 和 linux ，只好用 <a href="http://forum.ubuntu.com.cn/viewtopic.php?f=73&#038;p=1205852">gmusic.py</a> 这个脚本。</p>
<p>运行 gmusic.py 首先要安装 python3 环境，去 python 官方网站载下 python3.1 然后 configure &#8211;enable-shared &#038;&#038; make &#038;&#038; sudo make install &#038;&#038; ln -s /usr/local/bin/python3 /usr/bin/python3 既可</p>
<p>用 gmusic.py 下载速度在我的 istat 里显示大概是 800K 左右，非常不错。</p>

	<h4>相关文章</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.donevii.com/post/75.html" title="挣脱Windows的枷锁：Linux屏幕录像 (2006-10-10)">挣脱Windows的枷锁：Linux屏幕录像</a> (0)</li>
	<li><a href="http://www.donevii.com/post/78.html" title="[转]C/C++/Perl/汇编/Java效率比较 (2006-10-11)">[转]C/C++/Perl/汇编/Java效率比较</a> (0)</li>
	<li><a href="http://www.donevii.com/post/330.html" title="[超长篇] Inject Your Code to a Portable Executable File (2007-05-24)">[超长篇] Inject Your Code to a Portable Executable File</a> (0)</li>
	<li><a href="http://www.donevii.com/post/204.html" title="PHP &#038; memcached (2006-11-15)">PHP &#038; memcached</a> (0)</li>
	<li><a href="http://www.donevii.com/post/124.html" title="C++资源之不完全导引 (2006-10-26)">C++资源之不完全导引</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.donevii.com/post/922.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>电波怒汉——不爽</title>
		<link>http://www.donevii.com/post/906.html</link>
		<comments>http://www.donevii.com/post/906.html#comments</comments>
		<pubDate>Tue, 21 Jul 2009 04:02:45 +0000</pubDate>
		<dc:creator>dengwei</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.donevii.com/?p=906</guid>
		<description><![CDATA[

	相关文章
	
	頁面多個swf呼叫ExternalInterface問題 (0)
	联想的广告一个比一个好了 (0)
	网上闻名已久的“操帝” (0)
	清除指定squid缓存文件的脚本 (0)
	比 Google Chrome 更 NB 的广告 (0)

... ]]></description>
			<content:encoded><![CDATA[<p><embed src="http://player.youku.com/player.php/sid/XOTYxNzg4NTY=/v.swf" quality="high" width="480" height="400" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"></embed></p>

	<h4>相关文章</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.donevii.com/post/66.html" title="頁面多個swf呼叫ExternalInterface問題 (2006-09-01)">頁面多個swf呼叫ExternalInterface問題</a> (0)</li>
	<li><a href="http://www.donevii.com/post/654.html" title="联想的广告一个比一个好了 (2008-12-03)">联想的广告一个比一个好了</a> (0)</li>
	<li><a href="http://www.donevii.com/post/880.html" title="网上闻名已久的“操帝” (2009-06-30)">网上闻名已久的“操帝”</a> (0)</li>
	<li><a href="http://www.donevii.com/post/758.html" title="清除指定squid缓存文件的脚本 (2009-02-09)">清除指定squid缓存文件的脚本</a> (0)</li>
	<li><a href="http://www.donevii.com/post/864.html" title="比 Google Chrome 更 NB 的广告 (2009-06-25)">比 Google Chrome 更 NB 的广告</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.donevii.com/post/906.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>require_once 和 require 的性能比较</title>
		<link>http://www.donevii.com/post/896.html</link>
		<comments>http://www.donevii.com/post/896.html#comments</comments>
		<pubDate>Wed, 08 Jul 2009 09:15:45 +0000</pubDate>
		<dc:creator>dengwei</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.donevii.com/post/896.html</guid>
		<description><![CDATA[之前大家都是在程序里写上简单的 require_once 和 require 然后直接跑一遍 ab 来看时间，这回 Konstantin Rozinon 在 apache debug 模式下看了一下 lstat64 的操作数量，对比结果说 require_once 和 require 在时间... ]]></description>
			<content:encoded><![CDATA[<p><font face="sans-serif">之前大家都是在程序里写上简单的 require_once 和 require 然后直接跑一遍 ab 来看时间，这回 Konstantin Rozinon 在 apache debug 模式下看了一下 lstat64 的操作数量，对比结果说 require_once 和 require 在时间上相关非常非常小，但是在读文件时是用绝对路径还是相对路径对性能还是有一些影响，因为绝对路径会少一些 stat。</p>
<p>引用原文：<br /></font><small><code><span class="html">- When using absolute_path there are fewer stat() system calls.<br />- When using relative_path there are more stat() system calls because it has to start stat()ing from the current directory back up to / and then to the include/ directory.</span></code></small><br /><font face="sans-serif"><br />个人习惯上还是推荐用 require_once，并且这个不是显示的写在各个文件中，而是在中心的 loader 里统一负责根据 php5 的 __call 这个特性来去 require_once 相应的文件，一些性能上的损耗可以通过其它方式来弥补。比如 APC、XCache、Eacc 这些，opcode cache 现在成了 PHP 的必需品了。</p>
<p>原文：http://cn.php.net/require_once</p>
<p>btw: zend studio 7 beta 真慢……<br /></font></p>

	<h4>相关文章</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.donevii.com/post/203.html" title="使用memcached进行内存缓存 (2006-11-15)">使用memcached进行内存缓存</a> (0)</li>
	<li><a href="http://www.donevii.com/post/204.html" title="PHP &#038; memcached (2006-11-15)">PHP &#038; memcached</a> (0)</li>
	<li><a href="http://www.donevii.com/post/75.html" title="挣脱Windows的枷锁：Linux屏幕录像 (2006-10-10)">挣脱Windows的枷锁：Linux屏幕录像</a> (0)</li>
	<li><a href="http://www.donevii.com/post/283.html" title="免费软件套装 (2007-01-08)">免费软件套装</a> (0)</li>
	<li><a href="http://www.donevii.com/post/330.html" title="[超长篇] Inject Your Code to a Portable Executable File (2007-05-24)">[超长篇] Inject Your Code to a Portable Executable File</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.donevii.com/post/896.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[转]昨天我狠狠教训了在小区楼前玩泥巴的两个小孩</title>
		<link>http://www.donevii.com/post/888.html</link>
		<comments>http://www.donevii.com/post/888.html#comments</comments>
		<pubDate>Tue, 07 Jul 2009 02:45:04 +0000</pubDate>
		<dc:creator>dengwei</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.donevii.com/?p=888</guid>
		<description><![CDATA[昨天回家看到小区楼下两个小孩在草坪上挖了个洞玩泥巴，我一看情况危机，马上跑过去将两个小孩推开，几脚踩平了。两个小孩哇哇大哭，不巧他们家长也在附近，过来要跟我理论。我不屑... ]]></description>
			<content:encoded><![CDATA[<p>昨天回家看到小区楼下两个小孩在草坪上挖了个洞玩泥巴，我一看情况危机，马上跑过去将两个小孩推开，几脚踩平了。两个小孩哇哇大哭，不巧他们家长也在附近，过来要跟我理论。我不屑一顾地说：没文化真可怕，你仔细看看，这栋楼后面是一栋15层的高层，已经给我们这栋楼造成了很大的水平推力，你家小孩在前面挖坑玩，目测已经达到了100mm的深度，这使得我们这栋楼承受的压力差急剧增大，如果不是我及时进行了回填，后果不堪设想。家长听得目瞪口呆，向我连连致谢，表示回去一定好好教育小孩，严禁做这种危险游戏。</p>
<p>转自：<a href="http://www.hs001.net/bbs/viewthread.php?tid=167346">华山论坛</a></p>

	<h4>相关文章</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.donevii.com/post/66.html" title="頁面多個swf呼叫ExternalInterface問題 (2006-09-01)">頁面多個swf呼叫ExternalInterface問題</a> (0)</li>
	<li><a href="http://www.donevii.com/post/20.html" title="超搞笑的舞蹈 (2006-08-18)">超搞笑的舞蹈</a> (0)</li>
	<li><a href="http://www.donevii.com/post/10.html" title="让页面不缓存 on PHP (2006-08-17)">让页面不缓存 on PHP</a> (0)</li>
	<li><a href="http://www.donevii.com/post/624.html" title="解决 Zend Studio for Eclipse 6.x.x 启动时的 bug (2008-11-14)">解决 Zend Studio for Eclipse 6.x.x 启动时的 bug</a> (0)</li>
	<li><a href="http://www.donevii.com/post/173.html" title="解决 AJAX 跨域方案二(Rewrite) (2006-11-06)">解决 AJAX 跨域方案二(Rewrite)</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.donevii.com/post/888.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>网上闻名已久的“操帝”</title>
		<link>http://www.donevii.com/post/880.html</link>
		<comments>http://www.donevii.com/post/880.html#comments</comments>
		<pubDate>Tue, 30 Jun 2009 05:06:51 +0000</pubDate>
		<dc:creator>dengwei</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.donevii.com/?p=880</guid>
		<description><![CDATA[
太逗了

	相关文章
	
	頁面多個swf呼叫ExternalInterface問題 (0)
	联想的广告一个比一个好了 (0)
	电波怒汉——不爽 (0)
	清除指定squid缓存文件的脚本 (0)
	比 Google Chrome 更 NB 的广告 (0)

... ]]></description>
			<content:encoded><![CDATA[<p><embed src="http://player.youku.com/player.php/sid/XNzE1ODY3MzY=/v.swf" quality="high" width="480" height="400" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"></embed></p>
<p>太逗了</p>

	<h4>相关文章</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.donevii.com/post/66.html" title="頁面多個swf呼叫ExternalInterface問題 (2006-09-01)">頁面多個swf呼叫ExternalInterface問題</a> (0)</li>
	<li><a href="http://www.donevii.com/post/654.html" title="联想的广告一个比一个好了 (2008-12-03)">联想的广告一个比一个好了</a> (0)</li>
	<li><a href="http://www.donevii.com/post/906.html" title="电波怒汉——不爽 (2009-07-21)">电波怒汉——不爽</a> (0)</li>
	<li><a href="http://www.donevii.com/post/758.html" title="清除指定squid缓存文件的脚本 (2009-02-09)">清除指定squid缓存文件的脚本</a> (0)</li>
	<li><a href="http://www.donevii.com/post/864.html" title="比 Google Chrome 更 NB 的广告 (2009-06-25)">比 Google Chrome 更 NB 的广告</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.donevii.com/post/880.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>比 Google Chrome 更 NB 的广告</title>
		<link>http://www.donevii.com/post/864.html</link>
		<comments>http://www.donevii.com/post/864.html#comments</comments>
		<pubDate>Thu, 25 Jun 2009 10:37:59 +0000</pubDate>
		<dc:creator>dengwei</dc:creator>
				<category><![CDATA[software & hardware]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.donevii.com/post/864.html</guid>
		<description><![CDATA[这是人们未发现的 Macbook 的新功能。


	相关文章
	
	頁面多個swf呼叫ExternalInterface問題 (0)
	联想的广告一个比一个好了 (0)
	网上闻名已久的“操帝” (0)
	电波怒汉——不爽 (0)
	清除指定squid缓存... ]]></description>
			<content:encoded><![CDATA[<p>这是人们未发现的 Macbook 的新功能。</p>
<p><embed src="http://player.youku.com/player.php/sid/XMTAxMDMzMDEy/v.swf" quality="high" width="480" height="400" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" /></p>

	<h4>相关文章</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.donevii.com/post/66.html" title="頁面多個swf呼叫ExternalInterface問題 (2006-09-01)">頁面多個swf呼叫ExternalInterface問題</a> (0)</li>
	<li><a href="http://www.donevii.com/post/654.html" title="联想的广告一个比一个好了 (2008-12-03)">联想的广告一个比一个好了</a> (0)</li>
	<li><a href="http://www.donevii.com/post/880.html" title="网上闻名已久的“操帝” (2009-06-30)">网上闻名已久的“操帝”</a> (0)</li>
	<li><a href="http://www.donevii.com/post/906.html" title="电波怒汉——不爽 (2009-07-21)">电波怒汉——不爽</a> (0)</li>
	<li><a href="http://www.donevii.com/post/758.html" title="清除指定squid缓存文件的脚本 (2009-02-09)">清除指定squid缓存文件的脚本</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.donevii.com/post/864.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>日本女优大集合舞蹈</title>
		<link>http://www.donevii.com/post/848.html</link>
		<comments>http://www.donevii.com/post/848.html#comments</comments>
		<pubDate>Wed, 24 Jun 2009 08:01:32 +0000</pubDate>
		<dc:creator>dengwei</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[software & hardware]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[测试]]></category>

		<guid isPermaLink="false">http://www.donevii.com/post/848.html</guid>
		<description><![CDATA[测试一下效果如何。

日本女优大集合舞蹈
4s &#8212; 吉泽明步(100%)
8s &#8212; 有希ちな(90%)
10s &#8212; 千堂ゆりあ(100%)
12s &#8212; 西野翔(100%)
14s &#8212; 苍井空(100%) ～～
17s &#8212; 麻美ゆま(100%)
20s &#8212... ]]></description>
			<content:encoded><![CDATA[<p>测试一下效果如何。</p>
<p><embed src="http://player.youku.com/player.php/sid/XODgwNzQ5MjQ=/v.swf" quality="high" width="480" height="400" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"></embed><br />
<a href="http://static.youku.com/v1.0.0047/v/swf/qplayer.swf?VideoIDS=XODgwNzQ5MjQ=&amp;embedid=NjEuMTM1LjE1Mi4xOTQCMjIwMTg3MzECd3d3LmhzMDAxLm5ldAIvYmJzL3ZpZXd0aHJlYWQucGhw&amp;showAd=0" title="日本女优大集合舞蹈">日本女优大集合舞蹈</a></p>
<p>4s &#8212; 吉泽明步(100%)<br />
8s &#8212; 有希ちな(90%)<br />
10s &#8212; 千堂ゆりあ(100%)<br />
12s &#8212; 西野翔(100%)<br />
14s &#8212; 苍井空(100%) ～～<br />
17s &#8212; 麻美ゆま(100%)<br />
20s &#8212; 佐山爱(100%)<br />
24s &#8212; 黒木アリサ(95%)<br />
29s &#8212; 高树玛利亚(90%)雨音レイラ(5%)<br />
32s &#8212; 朝美惠香(100%)<br />
40s &#8212; 美咲マリ(90%)<br />
42s &#8212; 相内リカ(100%).<br />
58s &#8212; 初音みのり(100%)<br />
60s &#8212; 柚木提娜(100%)</p>

	<h4>相关文章</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.donevii.com/post/758.html" title="清除指定squid缓存文件的脚本 (2009-02-09)">清除指定squid缓存文件的脚本</a> (0)</li>
	<li><a href="http://www.donevii.com/post/110.html" title="翻译：On having layout (2006-10-24)">翻译：On having layout</a> (0)</li>
	<li><a href="http://www.donevii.com/post/125.html" title="搜索关键字 (2006-10-26)">搜索关键字</a> (0)</li>
	<li><a href="http://www.donevii.com/post/97.html" title="国外PS网站论坛汇总－－国内最强 (2006-10-19)">国外PS网站论坛汇总－－国内最强</a> (0)</li>
	<li><a href="http://www.donevii.com/post/523.html" title="加快Flex应用启动速度的5种方式 (2008-09-30)">加快Flex应用启动速度的5种方式</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.donevii.com/post/848.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>清除指定squid缓存文件的脚本</title>
		<link>http://www.donevii.com/post/758.html</link>
		<comments>http://www.donevii.com/post/758.html#comments</comments>
		<pubDate>Mon, 09 Feb 2009 10:28:11 +0000</pubDate>
		<dc:creator>dengwei</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[测试]]></category>
		<category><![CDATA[类]]></category>
		<category><![CDATA[缓存]]></category>

		<guid isPermaLink="false">http://www.donevii.com/post/758.html</guid>
		<description><![CDATA[用wget来清空squid缓存
可以使用以下命令来清空squid的缓存：
代码:/usr/bin/wget -O squid.log -S &#8211;header=&#8221;ragma: no-cache&#8221;&#160; url
代码:
squidclient -m PURGE -p 80 &#8220;http://you.video.sina.com.cn/index.html&#8... ]]></description>
			<content:encoded><![CDATA[<p>用wget来清空squid缓存</p>
<p>可以使用以下命令来清空squid的缓存：</p>
<p>代码:<br />/usr/bin/wget -O squid.log -S &#8211;header=&#8221;ragma: no-cache&#8221;&nbsp; url</p>
<p>代码:</p>
<p>squidclient -m PURGE -p 80 &#8220;http://you.video.sina.com.cn/index.html&#8221;</p>
<p>代码:</p>
<p>http://www.cdn.com/api/purge.php?action=purge&amp;host=61.55.111.111&amp;url=http://www.md5.cn/</p>
<p>一款老外的程序，可以批量清除某类URL的Squid缓存，支持正则表达式。</p>
<p>　　下载网址：http://www.wa.apana.org.au/~dean/squidpurge/</p>
<p>　　编译：<br />代码:<br />wget http://www.wa.apana.org.au/~dean &#8230; 20040201-src.tar.gz<br />tar zxvf purge-20040201-src.tar.gz<br />cd purge<br />make<br />　　清除Squid缓存示例：<br />　　1、清除 URL 以“.mp3”结尾的缓存文件（例如 http://www.s135.com/abc.mp3、http://www.s135.com/01/a.mp3）<br />代码:<br />./purge -p localhost:80 -P 1 -se &#8216;\.mp3$&#8217;<br />　　2、清除URL中包含s135.com的所有缓存：<br />代码:<br />./purge -p localhost:80 -P 1 -se &#8217;s135.com&#8217;<br />　　我喜欢将程序推到后台去执行，让它慢慢地去清Squid缓存，同时将输出内容记录到purge.log文件：<br />代码:<br />./purge -p localhost:80 -P 1 -se &#8217;s135.com&#8217; &gt; purge.log 2&gt;&amp;1</p>
<p>　Squid web缓存加速软件目前已经是新浪、搜狐、网易等各大网站广泛应用。Squid会在设置的缓存目录下建立多个目录，每一个目录下又建立多个目录，然后才在最里层的目录中存放缓存文件（object）。squid会根据用户请求网页的URL进行哈希，生成缓存文件，存放在某一个目录中。squid启动之后，将在内存中建立一个哈希表，记录硬盘中缓存文件配置的情形。</p>
<p>　　对于类似http://you.video.sina.com.cn/index.html之类的网页，squid只会生成一个缓存文件。可以用squid附带的squidclient工具清除：</p>
<p>代码:<br />squidclient -m PURGE -p 80 &#8220;http://you.video.sina.com.cn/index.html&#8221;<br />　　而对于带有参数的网页，例如新浪播客的Flash播放器http://vhead.blog.sina.com.cn/pl &#8230; 9852&amp;uid=1278987704，因“?”后面的参数不同，导致URL也不同，squid会生成多个缓存文件，哈希分散存放在不同的目录。如果修改了这个outer_player.swf文件，要更新squid缓存就要去清除不同目录下及内存中的很多个缓存文件，十分麻烦，于是我编写了一个Linux下的shell脚本，去完成这件麻烦的事：</p>
<p>　　脚本文件名：clear_squid_cache.sh（8月2日修正了UC网友“城市中的寂寞”反馈的BUG）</p>
<p>代码:<br />#!/bin/sh<br />squidcache_path=&#8221;/data1/squid/var/cache&#8221;<br />squidclient_path=&#8221;/usr/local/squid/bin/squidclient&#8221;<br />grep -a -r $1 $squidcache_path/* | strings | grep &#8220;http:&#8221; | awk -F&#8217;http:&#8217; &#8216;{print &#8220;http:&#8221;$2;}&#8217; &gt; cache_list.txt<br />for url in `cat cache_list.txt`; do<br />$squidclient_path -m PURGE -p 80 $url<br />done<br />　　注意：请赋予clear_squid_cache.sh可执行权限（命令：chmod +x ./clear_squid_cache.sh）。请确保脚本所在目录可写。</p>
<p>　　设置：<br />　　squidcache_path= 表示squid缓存目录的路径<br />　　squidclient_path= 表示squidclient程序所在的路径，默认为squid安装目录下的bin/squidclient</p>
<p>　　用法：<br />　　1、清除所有Flash缓存（扩展名.swf）：<br />　　<br />代码:<br />./clear_squid_cache.sh swf<br />　　2、清除URL中包含sina.com.cn的所有缓存：<br />　　<br />代码:<br />./clear_squid_cache.sh sina.com.cn<br />　　3、清除文件名为zhangyan.jpg的所有缓存：<br />　　<br />代码:<br />./clear_squid_cache.sh zhangyan.jpg<br />　　效率：<br />　　经测试，在DELL 2950上清除26000个缓存文件用时2分钟左右。平均每秒可清除缓存文件177个。</p>
<p></p>

	<h4>相关文章</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.donevii.com/post/204.html" title="PHP &#038; memcached (2006-11-15)">PHP &#038; memcached</a> (0)</li>
	<li><a href="http://www.donevii.com/post/504.html" title="google背后的分布式架构 (2008-09-23)">google背后的分布式架构</a> (0)</li>
	<li><a href="http://www.donevii.com/post/129.html" title="大型高并发高负载网站的系统架构 (2006-10-26)">大型高并发高负载网站的系统架构</a> (0)</li>
	<li><a href="http://www.donevii.com/post/283.html" title="免费软件套装 (2007-01-08)">免费软件套装</a> (0)</li>
	<li><a href="http://www.donevii.com/post/203.html" title="使用memcached进行内存缓存 (2006-11-15)">使用memcached进行内存缓存</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.donevii.com/post/758.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
