<?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>CODIGG</title>
	<atom:link href="http://www.codigg.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codigg.com</link>
	<description>关注互联网，关注云计算，关注生活</description>
	<lastBuildDate>Fri, 08 Jul 2011 02:48:15 +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>PHP中uniqid的性能</title>
		<link>http://www.codigg.com/2011/07/php-uniqid-performance/</link>
		<comments>http://www.codigg.com/2011/07/php-uniqid-performance/#comments</comments>
		<pubDate>Fri, 08 Jul 2011 02:47:40 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[Linux/Server]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[uniqid]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=855</guid>
		<description><![CDATA[程序中经常使用uniqid生成唯一id，但发现加了这个函数的代码都会慢一点，仔细测试了一下，发现uniqid的more_entropy设置为true之后，性能大大提高。在不同机器上测试过。 一台普通PC机上相差30倍， 而在cpu很差的虚拟机上相差了4000倍！！！

测试代码：



?View Code PHP$t = null;

$t1 = microtime&#40;true&#41;;

<span class="readmore"><a href="http://www.codigg.com/2011/07/php-uniqid-performance/" title="PHP中uniqid的性能">阅读全文——共175字</a></span><h3>相关文章</h3><ul><li><a href="http://www.codigg.com/2010/12/php-treapdb-thrift/" title="用php操作treapdb 2010.12.7">用php操作treapdb</a>(8)</li>
<li><a href="http://www.codigg.com/2010/10/php-pfsockopen-errorno/" title="PHP pfsockopen错误码的含义 2010.10.18">PHP pfsockopen错误码的含义</a>(13)</li>
<li><a href="http://www.codigg.com/2010/08/php-request-cookie/" title="搞清楚php中$_REQUEST变量的问题，备忘一下 2010.08.16">搞清楚php中$_REQUEST变量的问题，备忘一下</a>(61)</li>
<li><a href="http://www.codigg.com/2010/04/lighttpd-expect-100-417-continue/" title="lighttpd不支持Expect: 100-continue的解决办法 2010.04.13">lighttpd不支持Expect: 100-continue的解决办法</a>(67)</li>
<li><a href="http://www.codigg.com/2010/03/php-rrdtool-install/" title="安装php rrdtool 2010.03.24">安装php rrdtool</a>(205)</li>
<li><a href="http://www.codigg.com/2010/01/php-aes-java-encrypt-decrypt/" title="php版的AES算法（可与java兼容） 2010.01.21">php版的AES算法（可与java兼容）</a>(115)</li>
<li><a href="http://www.codigg.com/2009/09/php-curl-download-filename/" title="php curl下载文件时保存原文件名 2009.09.6">php curl下载文件时保存原文件名</a>(70)</li>
<li><a href="http://www.codigg.com/2009/05/7-free-powerful-file-managers-1/" title="7款php/ajax/js实现的免费web文件管理工具（上） 2009.05.26">7款php/ajax/js实现的免费web文件管理工具（上）</a>(122)</li>
</ul><h3>最近评论</h3><ul><li><a class="commentor" href="http://udlvids.com/how-to-download-videos-from-hentai-sites/" >hentai download</a> : <a class="comment_content" href="http://www.codigg.com/2011/07/php-uniqid-performance/#comment-213921" title="View the entire comment by hentai download" >This unique web site really taken care of my conce...</a></li>
<li><a class="commentor" href="http://www.ciltsagligim.com" >cilt bakımı</a> : <a class="comment_content" href="http://www.codigg.com/2011/07/php-uniqid-performance/#comment-213830" title="View the entire comment by cilt bakımı" >hey admin thanks for fantastic and effortless unde...</a></li>
<li><a class="commentor" href="http://www.atkibere.com/" >toptan bere</a> : <a class="comment_content" href="http://www.codigg.com/2011/07/php-uniqid-performance/#comment-213780" title="View the entire comment by toptan bere" >i cant get how you'll be able to share like this a...</a></li>
<li><a class="commentor" href="http://www.hobbyilan.com/" >rc helikopter</a> : <a class="comment_content" href="http://www.codigg.com/2011/07/php-uniqid-performance/#comment-213633" title="View the entire comment by rc helikopter" >i bookmarked you in my browser admin thank you so ...</a></li>
<li><a class="commentor" href="http://somaorderonline.net" >uphoptetret</a> : <a class="comment_content" href="http://www.codigg.com/2011/07/php-uniqid-performance/#comment-213251" title="View the entire comment by uphoptetret" >Now you can enjoy the convenience of ordering from...</a></li>
</ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2011/07/php-uniqid-performance/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Google Chrome不能使用root帐号的解决办法</title>
		<link>http://www.codigg.com/2011/06/google-chrome-root/</link>
		<comments>http://www.codigg.com/2011/06/google-chrome-root/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 07:04:56 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=853</guid>
		<description><![CDATA[WordPress 数据库错误 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
				   GROUP BY tr.object_id
				   ORDER BY max_share DESC, p.post_date DESC
' at line 8 查询 SELECT p.ID, p.post_title, p.post_date, p.comment_count, p.post_name, COUNT(tr.object_id) AS max_share
				   FROM wp_posts AS p 
				   INNER JOIN wp_term_relationships AS tr ON (p.ID = tr.object_id)
				   INNER JOIN wp_term_taxonomy AS tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id)
				   WHERE tt.taxonomy = 'post_tag'
				   AND p.ID <> 853
				   AND p.post_status = 'publish'
				   AND tt.term_id IN ()
				   GROUP BY tr.object_id
				   ORDER BY max_share DESC, p.post_date DESC
				   LIMIT 0, 10  require, require_once, do_feed, do_action, call_user_func_array, do_feed_rss2, load_template, require_once, the_excerpt_rss, apply_filters, call_user_func_array, wkc_add_related_posts_to_feed, wkc_related_posts, WPKitCN->get_related_posts 调用
升级了chrome, 提示:

Google Chrome can not be run as root

解决办法：在启动命令中加入&#8211;user-data-dir参数，设置到一个目录就行了

/opt/google/chrome/google-chrome %U &#8211;user-data-dir=/root/.config/chromium

<h3>相关文章</h3><ul><li>0</li></ul><h3>最近评论</h3><ul><li><a class="commentor" href="http://www.kemertatilkoyleri.com/kem...ki-evleri.html" >toki evleri</a> : <a class="comment_content" href="http://www.codigg.com/2011/06/google-chrome-root/#comment-214170" title="View the entire comment by toki evleri" >Greetings thanks for excellent post i used to be s...</a></li>
<li><a class="commentor" href="http://www.kopekoteliistanbul.com" >köpek oteli</a> : <a class="comment_content" href="http://www.codigg.com/2011/06/google-chrome-root/#comment-214085" title="View the entire comment by köpek oteli" >I used to be searching for this great sharing admi...</a></li>
<li><a class="commentor" href="http://www.barbie-oyunu.com/" >Barbie oyunu</a> : <a class="comment_content" href="http://www.codigg.com/2011/06/google-chrome-root/#comment-213672" title="View the entire comment by Barbie oyunu" >hey admin thanks for good and easy understandable ...</a></li>
<li><a class="commentor" href="http://www.hobbyilan.com/" >topmodels</a> : <a class="comment_content" href="http://www.codigg.com/2011/06/google-chrome-root/#comment-213620" title="View the entire comment by topmodels" >oh my god superb article admin will check out your...</a></li>
<li><a class="commentor" href="http://www.laptopekrani.gen.tr/asus-ekranlari.html" >asus laptop ekranı</a> : <a class="comment_content" href="http://www.codigg.com/2011/06/google-chrome-root/#comment-213486" title="View the entire comment by asus laptop ekranı" >i cant get how you can share like this wonderful p...</a></li>
</ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2011/06/google-chrome-root/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>ZeroMQ学习笔记：似乎无法顺利进行故障恢复</title>
		<link>http://www.codigg.com/2011/01/zeromq-trouble-network-block/</link>
		<comments>http://www.codigg.com/2011/01/zeromq-trouble-network-block/#comments</comments>
		<pubDate>Thu, 20 Jan 2011 09:13:35 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=843</guid>
		<description><![CDATA[WordPress 数据库错误 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
				   GROUP BY tr.object_id
				   ORDER BY max_share DESC, p.post_date DESC
' at line 8 查询 SELECT p.ID, p.post_title, p.post_date, p.comment_count, p.post_name, COUNT(tr.object_id) AS max_share
				   FROM wp_posts AS p 
				   INNER JOIN wp_term_relationships AS tr ON (p.ID = tr.object_id)
				   INNER JOIN wp_term_taxonomy AS tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id)
				   WHERE tt.taxonomy = 'post_tag'
				   AND p.ID <> 843
				   AND p.post_status = 'publish'
				   AND tt.term_id IN ()
				   GROUP BY tr.object_id
				   ORDER BY max_share DESC, p.post_date DESC
				   LIMIT 0, 10  require, require_once, do_feed, do_action, call_user_func_array, do_feed_rss2, load_template, require_once, the_excerpt_rss, apply_filters, call_user_func_array, wkc_add_related_posts_to_feed, wkc_related_posts, WPKitCN->get_related_posts 调用
ZeroMQ（http://www.zeromq.org) 性能非常卓越，设计理念也非常牛，正在看文档中，这里记录一下遇到的一个问题：

服务端和客户端之间使用REQ , REP ， 启动之后，不停杀掉Server进程，并重启（模拟故障恢复），多试几次之后，Client就会卡住，此时无论怎样都恢复不了。看tcp连接，发现是ESTABLISHED，而且由于zeromq提供的接口都无法感知网络状况，所以此时client压根不知道已经挂死了&#8230;

继续看文档，看看是不是自己写得不对&#8230;



?View Code JAVApublic class Server &#123;

<span class="readmore"><a href="http://www.codigg.com/2011/01/zeromq-trouble-network-block/" title="ZeroMQ学习笔记：似乎无法顺利进行故障恢复">阅读全文——共1148字</a></span><h3>相关文章</h3><ul><li>0</li></ul><h3>最近评论</h3><ul><li><a class="commentor" href="http://epotatoleeksoup.blogspot.com/" >Potato And Leek Soup</a> : <a class="comment_content" href="http://www.codigg.com/2011/01/zeromq-trouble-network-block/#comment-214259" title="View the entire comment by Potato And Leek Soup" >Hello There. I found your blog using msn. This is ...</a></li>
<li><a class="commentor" href="http://www.erdincsarimusaoglu.com" >köpek eğitmeni</a> : <a class="comment_content" href="http://www.codigg.com/2011/01/zeromq-trouble-network-block/#comment-214163" title="View the entire comment by köpek eğitmeni" >Great one particular webpage manager results weblo...</a></li>
<li><a class="commentor" href="http://oandroidapps.blogspot.com/p/grabatron-future.html" >grabatron app android</a> : <a class="comment_content" href="http://www.codigg.com/2011/01/zeromq-trouble-network-block/#comment-213961" title="View the entire comment by grabatron app android" >Hey There. I found your blog using msn. This is an...</a></li>
<li><a class="commentor" href="http://www.yarisoyun.org/" >yarış oyunu</a> : <a class="comment_content" href="http://www.codigg.com/2011/01/zeromq-trouble-network-block/#comment-213726" title="View the entire comment by yarış oyunu" >hey admin thanks for wonderful and easy understand...</a></li>
<li><a class="commentor" href="http://ecashhyip.com/" >liberty reserve</a> : <a class="comment_content" href="http://www.codigg.com/2011/01/zeromq-trouble-network-block/#comment-213648" title="View the entire comment by liberty reserve" >This is the turn ZeroMQå­¦ä¹ ç¬”è®°ï¼šä¼¼ä¹Žæ— æ³•...</a></li>
</ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2011/01/zeromq-trouble-network-block/feed/</wfw:commentRss>
		<slash:comments>65</slash:comments>
		</item>
		<item>
		<title>DBank.com数据银行广招各类人才(转载)</title>
		<link>http://www.codigg.com/2011/01/dbank-com/</link>
		<comments>http://www.codigg.com/2011/01/dbank-com/#comments</comments>
		<pubDate>Thu, 13 Jan 2011 04:36:31 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=840</guid>
		<description><![CDATA[WordPress 数据库错误 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
				   GROUP BY tr.object_id
				   ORDER BY max_share DESC, p.post_date DESC
' at line 8 查询 SELECT p.ID, p.post_title, p.post_date, p.comment_count, p.post_name, COUNT(tr.object_id) AS max_share
				   FROM wp_posts AS p 
				   INNER JOIN wp_term_relationships AS tr ON (p.ID = tr.object_id)
				   INNER JOIN wp_term_taxonomy AS tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id)
				   WHERE tt.taxonomy = 'post_tag'
				   AND p.ID <> 840
				   AND p.post_status = 'publish'
				   AND tt.term_id IN ()
				   GROUP BY tr.object_id
				   ORDER BY max_share DESC, p.post_date DESC
				   LIMIT 0, 10  require, require_once, do_feed, do_action, call_user_func_array, do_feed_rss2, load_template, require_once, the_excerpt_rss, apply_filters, call_user_func_array, wkc_add_related_posts_to_feed, wkc_related_posts, WPKitCN->get_related_posts 调用
DBank数据银行(http://www.dbank.com) 是全国最大的个人文件存储及分享平台，现招聘各类人才，所需岗位如下：

研发类



网络安全高级工程师（深圳、北京）

Windows软件（高级）工程师（深圳、北京）

<span class="readmore"><a href="http://www.codigg.com/2011/01/dbank-com/" title="DBank.com数据银行广招各类人才(转载)">阅读全文——共562字</a></span><h3>相关文章</h3><ul><li>0</li></ul><h3>最近评论</h3><ul><li><a class="commentor" href="http://www.evdekopekegitimi.net" >evde köpek eğitimi</a> : <a class="comment_content" href="http://www.codigg.com/2011/01/dbank-com/#comment-214122" title="View the entire comment by evde köpek eğitimi" >Hello admin excellent publish significantly thanks...</a></li>
<li><a class="commentor" href="http://udlvids.com/how-to-download-videos-from-dailymotion-free-and-fast/" >daily motion video</a> : <a class="comment_content" href="http://www.codigg.com/2011/01/dbank-com/#comment-213991" title="View the entire comment by daily motion video" >I was happy to find this web-site. ! . ! My partne...</a></li>
<li><a class="commentor" href="http://www.googleubersetzer.com/" >google übersetzer</a> : <a class="comment_content" href="http://www.codigg.com/2011/01/dbank-com/#comment-213933" title="View the entire comment by google übersetzer" >you will be definitely number one admin your runni...</a></li>
<li><a class="commentor" href="http://www.sohbetederiz.com/" >sohbet odaları</a> : <a class="comment_content" href="http://www.codigg.com/2011/01/dbank-com/#comment-213785" title="View the entire comment by sohbet odaları" >I was browsing for this great sharing admin a lot ...</a></li>
<li><a class="commentor" href="http://www.savasoyunum.org" >savaş oyunu oyna</a> : <a class="comment_content" href="http://www.codigg.com/2011/01/dbank-com/#comment-213693" title="View the entire comment by savaş oyunu oyna" >Genuinely necessary submit admin great 1 i bookmar...</a></li>
</ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2011/01/dbank-com/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>用php操作treapdb</title>
		<link>http://www.codigg.com/2010/12/php-treapdb-thrift/</link>
		<comments>http://www.codigg.com/2010/12/php-treapdb-thrift/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 07:25:25 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[未分类]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[thrift]]></category>
		<category><![CDATA[treapdb]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=834</guid>
		<description><![CDATA[treapdb是国内个人开发者的一个开源项目，支持memcache，thrift协议。但如果使用memcache协议，就无法支持range,prefix等特性了（如果丧失这些特性，还不如直接用memcache了吧）。

thrift是apache的一个项目，支持10余种语言。也要感谢facebook的大规模使用，让更多的人知道了这个东东。

作者提供了java/python的例子，这里仅提供php的操作方法。

关于thrift的编译/php扩展的编译，就不再啰嗦了，无非都是configure/make/phpize等命令，可以参考：

http://chanian.com/2010/05/13/thrift-tutorial-a-php-client/

<span class="readmore"><a href="http://www.codigg.com/2010/12/php-treapdb-thrift/" title="用php操作treapdb">阅读全文——共1238字</a></span><h3>相关文章</h3><ul><li><a href="http://www.codigg.com/2011/07/php-uniqid-performance/" title="PHP中uniqid的性能 2011.07.8">PHP中uniqid的性能</a>(17)</li>
<li><a href="http://www.codigg.com/2010/10/php-pfsockopen-errorno/" title="PHP pfsockopen错误码的含义 2010.10.18">PHP pfsockopen错误码的含义</a>(13)</li>
<li><a href="http://www.codigg.com/2010/08/php-request-cookie/" title="搞清楚php中$_REQUEST变量的问题，备忘一下 2010.08.16">搞清楚php中$_REQUEST变量的问题，备忘一下</a>(61)</li>
<li><a href="http://www.codigg.com/2010/04/lighttpd-expect-100-417-continue/" title="lighttpd不支持Expect: 100-continue的解决办法 2010.04.13">lighttpd不支持Expect: 100-continue的解决办法</a>(67)</li>
<li><a href="http://www.codigg.com/2010/03/php-rrdtool-install/" title="安装php rrdtool 2010.03.24">安装php rrdtool</a>(205)</li>
<li><a href="http://www.codigg.com/2010/01/php-aes-java-encrypt-decrypt/" title="php版的AES算法（可与java兼容） 2010.01.21">php版的AES算法（可与java兼容）</a>(115)</li>
<li><a href="http://www.codigg.com/2009/09/php-curl-download-filename/" title="php curl下载文件时保存原文件名 2009.09.6">php curl下载文件时保存原文件名</a>(70)</li>
<li><a href="http://www.codigg.com/2009/05/7-free-powerful-file-managers-1/" title="7款php/ajax/js实现的免费web文件管理工具（上） 2009.05.26">7款php/ajax/js实现的免费web文件管理工具（上）</a>(122)</li>
</ul><h3>最近评论</h3><ul><li><a class="commentor" href="http://www.scriptlerim.net" >liseli porno</a> : <a class="comment_content" href="http://www.codigg.com/2010/12/php-treapdb-thrift/#comment-213884" title="View the entire comment by liseli porno" >I was curious about your subsequent post admin def...</a></li>
<li><a class="commentor" href="http://www.kizoyun.org/" >kız oyunları</a> : <a class="comment_content" href="http://www.codigg.com/2010/12/php-treapdb-thrift/#comment-213664" title="View the entire comment by kız oyunları" >oh my god great submit admin will check your web s...</a></li>
<li><a class="commentor" href="https://forum.geliyoo.com" >Teknoloji Haberleri</a> : <a class="comment_content" href="http://www.codigg.com/2010/12/php-treapdb-thrift/#comment-212961" title="View the entire comment by Teknoloji Haberleri" >oh my god fantastic article admin will examine you...</a></li>
<li><a class="commentor" href="http://www.sinuzitbelirtileri.com/" >sinüzit belirtileri</a> : <a class="comment_content" href="http://www.codigg.com/2010/12/php-treapdb-thrift/#comment-212040" title="View the entire comment by sinüzit belirtileri" >i cant get how you'll be able to reveal like this ...</a></li>
<li><a class="commentor" href="http://www.youtube.com/watch?v=AnCBMZHWmRI" >video download chrome</a> : <a class="comment_content" href="http://www.codigg.com/2010/12/php-treapdb-thrift/#comment-209883" title="View the entire comment by video download chrome" >It is hard to come by qualified folks on that nich...</a></li>
</ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2010/12/php-treapdb-thrift/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>ActiveMQ: How to set property in BrokerFilter</title>
		<link>http://www.codigg.com/2010/12/activemq-how-to-set-property-in-brokerfilter/</link>
		<comments>http://www.codigg.com/2010/12/activemq-how-to-set-property-in-brokerfilter/#comments</comments>
		<pubDate>Thu, 02 Dec 2010 02:18:48 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[JAVA]]></category>
		<category><![CDATA[ActiveMQ]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=830</guid>
		<description><![CDATA[在ActiveMQ的BrokerFilter中，如果调用setProperty设置了属性，在consumer中收到后是没有的，这个问题一两年前就有人提，参见 google 搜索结果 。而设置其属性，如setGroupId等，则有效。

查看了ActiveMQ的源码，发现传输中属性和setProperties调用的不是一个对象,前者(marshalledProperties)是用于传输的，后者(properties)是读取和设置的：



?View Code JAVAprotected ByteSequence marshalledProperties;

protected Map properties;

<span class="readmore"><a href="http://www.codigg.com/2010/12/activemq-how-to-set-property-in-brokerfilter/" title="ActiveMQ: How to set property in BrokerFilter">阅读全文——共1172字</a></span><h3>相关文章</h3><ul><li>0</li></ul><h3>最近评论</h3><ul><li><a class="commentor" href="http://carlo.net.pl" >Hale Namiotowe</a> : <a class="comment_content" href="http://www.codigg.com/2010/12/activemq-how-to-set-property-in-brokerfilter/#comment-212984" title="View the entire comment by Hale Namiotowe" >My husband and i have been now glad  Emmanuel mana...</a></li>
<li><a class="commentor" href="https://forum.geliyoo.com" >Webmaster Forum</a> : <a class="comment_content" href="http://www.codigg.com/2010/12/activemq-how-to-set-property-in-brokerfilter/#comment-212982" title="View the entire comment by Webmaster Forum" >i bookmarked you in my browser admin thank you so ...</a></li>
<li><a class="commentor" href="http://parentalrespect.org/" >convertxtodvd here</a> : <a class="comment_content" href="http://www.codigg.com/2010/12/activemq-how-to-set-property-in-brokerfilter/#comment-212736" title="View the entire comment by convertxtodvd here" >What's up vso convertxtodvd key superb post vso co...</a></li>
<li><a class="commentor" href="http://www.beyintumorubelirtileri.com/" >beyin tümörü belirtileri</a> : <a class="comment_content" href="http://www.codigg.com/2010/12/activemq-how-to-set-property-in-brokerfilter/#comment-212131" title="View the entire comment by beyin tümörü belirtileri" >oh my god fantastic article admin will test your b...</a></li>
<li><a class="commentor" href="http://www.pomocdrogowagorzow.pl/" >Pomoc Drogowa Gorzow</a> : <a class="comment_content" href="http://www.codigg.com/2010/12/activemq-how-to-set-property-in-brokerfilter/#comment-209790" title="View the entire comment by Pomoc Drogowa Gorzow" >I like the helpful info you provide in your articl...</a></li>
</ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2010/12/activemq-how-to-set-property-in-brokerfilter/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>对httpsqs的改造（支持二进制数据）</title>
		<link>http://www.codigg.com/2010/11/httpsqs-binary-data-support/</link>
		<comments>http://www.codigg.com/2010/11/httpsqs-binary-data-support/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 08:11:30 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[Linux/Server]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[httpsqs]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=827</guid>
		<description><![CDATA[张宴(http://blog.s135.com) 开发了httpsqs(http://blog.s135.com/httpsqs_1_3/) ， 简单方便高效，但是不直接支持二进制，如

&#60;pre lang=&#8221;bash&#8221;&#62;

curl http://host:port/?name=xxx&#38;opt=put&#38;data=a%00b

&#60;/pre&#62;

花了点时间画蛇添足，将httpsqs改为支持二进制了。

<span class="readmore"><a href="http://www.codigg.com/2010/11/httpsqs-binary-data-support/" title="对httpsqs的改造（支持二进制数据）">阅读全文——共698字</a></span><h3>相关文章</h3><ul><li>0</li></ul><h3>最近评论</h3><ul><li><a class="commentor" href="http://www.willowvalleyretirement.com" >retirement communities pa</a> : <a class="comment_content" href="http://www.codigg.com/2010/11/httpsqs-binary-data-support/#comment-214034" title="View the entire comment by retirement communities pa" >A formidable share, I simply given this onto a col...</a></li>
<li><a class="commentor" href="http://www.freeiphones4u.co.uk" >free iphone</a> : <a class="comment_content" href="http://www.codigg.com/2010/11/httpsqs-binary-data-support/#comment-212592" title="View the entire comment by free iphone" >Useful information like this one must be kept and ...</a></li>
<li><a class="commentor" href="http://www.wowgoldjournal.com/" >Robert Camaeho</a> : <a class="comment_content" href="http://www.codigg.com/2010/11/httpsqs-binary-data-support/#comment-208390" title="View the entire comment by Robert Camaeho" >I enjoy what you guys are up too. Such clever work...</a></li>
<li><a class="commentor" href="http://carolinarecords.net" >data vault services</a> : <a class="comment_content" href="http://www.codigg.com/2010/11/httpsqs-binary-data-support/#comment-207184" title="View the entire comment by data vault services" >Record storage and data vault services in south ca...</a></li>
<li><a class="commentor" href="http://xarthd.com/x-art-model-jamie-those-eyes/" >Jamie</a> : <a class="comment_content" href="http://www.codigg.com/2010/11/httpsqs-binary-data-support/#comment-207131" title="View the entire comment by Jamie" >You feature a good blog here! will you like to mak...</a></li>
</ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2010/11/httpsqs-binary-data-support/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>PHP pfsockopen错误码的含义</title>
		<link>http://www.codigg.com/2010/10/php-pfsockopen-errorno/</link>
		<comments>http://www.codigg.com/2010/10/php-pfsockopen-errorno/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 01:45:19 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[errorno]]></category>
		<category><![CDATA[pfsockopen]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=823</guid>
		<description><![CDATA[工作中，发现pfsockopen返回错误码110 , 111 等，但是不知道这个函数一共会返回哪些错误，php的网站也没有说明：

http://cn.php.net/manual/en/function.pfsockopen.php

这里给出一个全列表：



?View Code PHP  1 =&#62; 'Operation not permitted',

<span class="readmore"><a href="http://www.codigg.com/2010/10/php-pfsockopen-errorno/" title="PHP pfsockopen错误码的含义">阅读全文——共3549字</a></span><h3>相关文章</h3><ul><li><a href="http://www.codigg.com/2011/07/php-uniqid-performance/" title="PHP中uniqid的性能 2011.07.8">PHP中uniqid的性能</a>(17)</li>
<li><a href="http://www.codigg.com/2010/12/php-treapdb-thrift/" title="用php操作treapdb 2010.12.7">用php操作treapdb</a>(8)</li>
<li><a href="http://www.codigg.com/2010/08/php-request-cookie/" title="搞清楚php中$_REQUEST变量的问题，备忘一下 2010.08.16">搞清楚php中$_REQUEST变量的问题，备忘一下</a>(61)</li>
<li><a href="http://www.codigg.com/2010/04/lighttpd-expect-100-417-continue/" title="lighttpd不支持Expect: 100-continue的解决办法 2010.04.13">lighttpd不支持Expect: 100-continue的解决办法</a>(67)</li>
<li><a href="http://www.codigg.com/2010/03/php-rrdtool-install/" title="安装php rrdtool 2010.03.24">安装php rrdtool</a>(205)</li>
<li><a href="http://www.codigg.com/2010/01/php-aes-java-encrypt-decrypt/" title="php版的AES算法（可与java兼容） 2010.01.21">php版的AES算法（可与java兼容）</a>(115)</li>
<li><a href="http://www.codigg.com/2009/09/php-curl-download-filename/" title="php curl下载文件时保存原文件名 2009.09.6">php curl下载文件时保存原文件名</a>(70)</li>
<li><a href="http://www.codigg.com/2009/05/7-free-powerful-file-managers-1/" title="7款php/ajax/js实现的免费web文件管理工具（上） 2009.05.26">7款php/ajax/js实现的免费web文件管理工具（上）</a>(122)</li>
</ul><h3>最近评论</h3><ul><li><a class="commentor" href="http://www.scriptlerim.net" >liseli porno</a> : <a class="comment_content" href="http://www.codigg.com/2010/10/php-pfsockopen-errorno/#comment-213874" title="View the entire comment by liseli porno" >Great one particular webpage proprietor results bl...</a></li>
<li><a class="commentor" href="http://vidvain.com/hyip-investment" >hyip investment</a> : <a class="comment_content" href="http://www.codigg.com/2010/10/php-pfsockopen-errorno/#comment-213292" title="View the entire comment by hyip investment" >PHP pfsockopené”™è¯¯ç çš„å«ä¹‰ - CODIGG I was re...</a></li>
<li><a class="commentor" href="http://carlo.net.pl" >Hale Namiotowe Sprzedaz</a> : <a class="comment_content" href="http://www.codigg.com/2010/10/php-pfsockopen-errorno/#comment-212719" title="View the entire comment by Hale Namiotowe Sprzedaz" >I am constantly invstigating online for posts that...</a></li>
<li><a class="commentor" href="http://xarthd.com/x-art-model-scarlett-getting-wet/" >Scarlett</a> : <a class="comment_content" href="http://www.codigg.com/2010/10/php-pfsockopen-errorno/#comment-211836" title="View the entire comment by Scarlett" >You have a superb weblog here. . ! would you like ...</a></li>
<li><a class="commentor" href="http://my.opera.com/jhay013/blog/" >red rice yeast benefits</a> : <a class="comment_content" href="http://www.codigg.com/2010/10/php-pfsockopen-errorno/#comment-210963" title="View the entire comment by red rice yeast benefits" >When I originally made a comment I clicked a -Noti...</a></li>
</ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2010/10/php-pfsockopen-errorno/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>技术女的寂寞你永远不懂（转载）</title>
		<link>http://www.codigg.com/2010/09/coder-joke/</link>
		<comments>http://www.codigg.com/2010/09/coder-joke/#comments</comments>
		<pubDate>Sun, 26 Sep 2010 10:51:07 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=821</guid>
		<description><![CDATA[WordPress 数据库错误 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
				   GROUP BY tr.object_id
				   ORDER BY max_share DESC, p.post_date DESC
' at line 8 查询 SELECT p.ID, p.post_title, p.post_date, p.comment_count, p.post_name, COUNT(tr.object_id) AS max_share
				   FROM wp_posts AS p 
				   INNER JOIN wp_term_relationships AS tr ON (p.ID = tr.object_id)
				   INNER JOIN wp_term_taxonomy AS tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id)
				   WHERE tt.taxonomy = 'post_tag'
				   AND p.ID <> 821
				   AND p.post_status = 'publish'
				   AND tt.term_id IN ()
				   GROUP BY tr.object_id
				   ORDER BY max_share DESC, p.post_date DESC
				   LIMIT 0, 10  require, require_once, do_feed, do_action, call_user_func_array, do_feed_rss2, load_template, require_once, the_excerpt_rss, apply_filters, call_user_func_array, wkc_add_related_posts_to_feed, wkc_related_posts, WPKitCN->get_related_posts 调用
好玩，转~

一个女程序员twitter上发了一条tweet:

昨晚梦见男朋友和别的女人在逛街，梦里我的第一反应是查源代码，结果调试半天查不出来为什么显示的是那个女人不是我，最后含泪把那个女人给注释掉了，再一运行就是我男朋友自己逛街了，醒来囧字脸呆了很久……

评论：

1L 把那个女人的指针指向你即可。

<span class="readmore"><a href="http://www.codigg.com/2010/09/coder-joke/" title="技术女的寂寞你永远不懂（转载）">阅读全文——共305字</a></span><h3>相关文章</h3><ul><li>0</li></ul><h3>最近评论</h3><ul><li><a class="commentor" href="http://udlvids.com/how-to-download-videos-using-google-chrome/" >google chrome video download</a> : <a class="comment_content" href="http://www.codigg.com/2010/09/coder-joke/#comment-214067" title="View the entire comment by google chrome video download" >very nice site, My spouse and I most definitely en...</a></li>
<li><a class="commentor" href="http://carlo.net.pl" >Hale Magazynowe</a> : <a class="comment_content" href="http://www.codigg.com/2010/09/coder-joke/#comment-213203" title="View the entire comment by Hale Magazynowe" >Very well written article. It will be helpful to a...</a></li>
<li><a class="commentor" href="http://www.vvcvv.waw.pl/" >Vella Felipa</a> : <a class="comment_content" href="http://www.codigg.com/2010/09/coder-joke/#comment-206267" title="View the entire comment by Vella Felipa" >˙ţC</a></li>
<li><a class="commentor" href="http://downloadvideomusic.net/68/matsuri-kitaro/" >kitaro music</a> : <a class="comment_content" href="http://www.codigg.com/2010/09/coder-joke/#comment-205011" title="View the entire comment by kitaro music" >I was more than happy to seek out this net-site.I ...</a></li>
<li><a class="commentor" href="http://www.canadagoosejakker-dk.org" >canada goose jakke billig</a> : <a class="comment_content" href="http://www.codigg.com/2010/09/coder-joke/#comment-204889" title="View the entire comment by canada goose jakke billig" >I and also my pals were looking through the best t...</a></li>
</ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2010/09/coder-joke/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>在电脑上模拟QQ WAP浏览器偷菜（浏览器特权）</title>
		<link>http://www.codigg.com/2010/09/qq-wap-browser-on-pc/</link>
		<comments>http://www.codigg.com/2010/09/qq-wap-browser-on-pc/#comments</comments>
		<pubDate>Sat, 25 Sep 2010 09:05:17 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[QQ农场]]></category>
		<category><![CDATA[QQ浏览器]]></category>
		<category><![CDATA[QQ牧场]]></category>
		<category><![CDATA[外挂]]></category>
		<category><![CDATA[浏览器特权]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=815</guid>
		<description><![CDATA[<a href="http://www.codigg.com/2010/09/qq-wap-browser-on-pc/"><img align="left" hspace="5" width="150" height="150" src="http://www.codigg.com/wp-content/uploads/2010/09/qq_browser-150x150.jpg" class="alignleft wp-post-image tfe" alt="" title="qq_browser" /></a>使用地址: http://www.codigg.com/poxy 使用之前请先看文章最后的注意事项

进入测试地址，输入 http://3g.qq.com, 并勾选最下面的：Use QQ Wap Browser，就和手机一样操作了

测试QQ号: 1242570707   密码: poxytest

最终效果：

﻿

<span class="readmore"><a href="http://www.codigg.com/2010/09/qq-wap-browser-on-pc/" title="在电脑上模拟QQ WAP浏览器偷菜（浏览器特权）">阅读全文——共501字</a></span><h3>相关文章</h3><ul><li>0</li></ul><h3>最近评论</h3><ul><li><a class="commentor" href="http://philodrivel.com/profile.php?mode=viewprofile&amp;u=19488" >Edgar Holecz</a> : <a class="comment_content" href="http://www.codigg.com/2010/09/qq-wap-browser-on-pc/#comment-212934" title="View the entire comment by Edgar Holecz" >It's great webpage, I was looking for something li...</a></li>
<li><a class="commentor" href="http://www.udesigncloset.com/" >this link</a> : <a class="comment_content" href="http://www.codigg.com/2010/09/qq-wap-browser-on-pc/#comment-212664" title="View the entire comment by this link" >Wassup vso convertxtodvd review extraordinary info...</a></li>
<li><a class="commentor" href="http://carlo.net.pl/oferta/hale-namiotowe.html" >Hala Namiotowa Wynajem</a> : <a class="comment_content" href="http://www.codigg.com/2010/09/qq-wap-browser-on-pc/#comment-212571" title="View the entire comment by Hala Namiotowa Wynajem" >There is perceptibly a bundle to identify about th...</a></li>
<li><a class="commentor" href="http://www.123.vvcvv.waw.pl/" >Max Berdahl</a> : <a class="comment_content" href="http://www.codigg.com/2010/09/qq-wap-browser-on-pc/#comment-206270" title="View the entire comment by Max Berdahl" >˙ţC</a></li>
<li><a class="commentor" href="http://thirdeyelight.weebly.com/" >Ahmed</a> : <a class="comment_content" href="http://www.codigg.com/2010/09/qq-wap-browser-on-pc/#comment-205438" title="View the entire comment by Ahmed" >All right I am also in explore of Flash tutorials,...</a></li>
</ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2010/09/qq-wap-browser-on-pc/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

