<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/omohe" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/omohe" type="application/rss+xml"></fs:self_link><lastBuildDate>Fri, 07 May 2010 14:46:00 GMT</lastBuildDate><title>cc的脚印</title><description>在通往牛人的康庄大道上</description><link>http://blog.csdn.net/blogrss.aspx?username=omohe</link><item><title>哪种PHP IDE相对较好</title><link>http://blog.csdn.net/omohe/archive/2010/05/07/5568540.aspx</link><description>一个好的PHP IDE需要哪些特点；当前较好的PHP IDE是哪种；&lt;img src=&quot;http://www1.feedsky.com/t1/363389342/omohe/csdn.net/s.gif?r=http://blog.csdn.net/omohe/archive/2010/05/07/5568540.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/omohe/363389342/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/omohe/363389342/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Fri, 07 May 2010 22:46:00 +0800</pubDate><author>cc</author><guid isPermaLink="false">http://blog.csdn.net/omohe/archive/2010/05/07/5568540.aspx</guid><dc:creator>cc</dc:creator><fs:srclink>http://blog.csdn.net/omohe/archive/2010/05/07/5568540.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/omohe/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/omohe/~1292685/363389342/1295506</fs:itemid></item><item><title>php 5.3的升级引起的一些非兼容问题 之一</title><link>http://blog.csdn.net/omohe/archive/2009/10/16/4683835.aspx</link><description>&lt;br /&gt;安装了php 5.3之后，如果之前的代码遇到如下的问题：&lt;br /&gt;&lt;br /&gt;Warning: date() [function.date]: It is not safe to rely on the system's
timezone settings. You are *required* to use the date.timezone setting
or the date_default_timezone_set() function. In case you used any of
those methods and you are still getting this warning, you most likely
misspelled the timezone identifier. We selected 'Europe/Helsinki'&lt;br /&gt;&lt;br /&gt;等等之类的，有如下解决办法：&lt;br /&gt;&lt;br /&gt;1. 比较根本的，不需要修改自己代码的，需要设置php.ini中的：&lt;br /&gt;&lt;br /&gt;date.timezone = &quot;Eu&lt;img src=&quot;http://www1.feedsky.com/t1/363389343/omohe/csdn.net/s.gif?r=http://blog.csdn.net/omohe/archive/2009/10/16/4683835.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/omohe/363389343/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/omohe/363389343/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Fri, 16 Oct 2009 22:18:00 +0800</pubDate><author>cc</author><guid isPermaLink="false">http://blog.csdn.net/omohe/archive/2009/10/16/4683835.aspx</guid><dc:creator>cc</dc:creator><fs:srclink>http://blog.csdn.net/omohe/archive/2009/10/16/4683835.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/omohe/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/omohe/~1292685/363389343/1295506</fs:itemid></item><item><title>nginx+PHP+PHP-FPM(FastCGI)在Ubuntu上的安装和配置</title><link>http://blog.csdn.net/omohe/archive/2009/07/10/4336731.aspx</link><description>nginx+PHP+PHP-FPM(FastCGI)在Ubuntu上的安装和配置0 之前知识回顾：1) 目前各种服务器HTTP Server对PHP的支持一共有三种：a.通过HTTPServer内置的模块来实现，例如Apache的mod_php5，类似的Apache内置的mod_perl可以对perl支持；b.通过CGI来实现，这个就好比之前perl的CGI，该种方式的缺点是性能差，因为每次服务器遇到这些脚本都需要重新启动脚本解析器来执行脚本然后将结果返回给服务器；另一方面就是不太安全；该方面几乎很少使用了。c.最新出现一种叫做FastCGI。所谓FastCGI就是对CGI的改进。它一般采用C/S结构，一般脚本处理器会启动一个或者多个daemon进程，每次HTTPServer遇到脚本的时候，直接交付给FastCGI的进程来执行，然后将得到的结果(通常为html)返回给浏览器。&gt;该种方法的问题存在&lt;img src=&quot;http://www1.feedsky.com/t1/363389344/omohe/csdn.net/s.gif?r=http://blog.csdn.net/omohe/archive/2009/07/10/4336731.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/omohe/363389344/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/omohe/363389344/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Fri, 10 Jul 2009 09:50:00 +0800</pubDate><author>cc</author><guid isPermaLink="false">http://blog.csdn.net/omohe/archive/2009/07/10/4336731.aspx</guid><dc:creator>cc</dc:creator><fs:srclink>http://blog.csdn.net/omohe/archive/2009/07/10/4336731.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/omohe/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/omohe/~1292685/363389344/1295506</fs:itemid></item><item><title>nginx的简介，安装和简单配置</title><link>http://blog.csdn.net/omohe/archive/2009/07/09/4335763.aspx</link><description>nginx0. nginx在实际中使用：之前我们介绍了使用nginx可以完全作为web app server来使用，代替Apache；另外也可以单单使用nginx作为反向代理服务器来实现Server Cluster。1. nginx的基础知识：参考http://en.wikipedia.org/wiki/Nginxhttp://wiki.nginx.org/Mainhttp://www.nginx.org/简单来说，精华在于：HTTPServer或者reverse proxy另外需要注意它和ApacheServer的不同，Unlike traditional servers, Nginx doesn't relyon threads to handle requests. Instead it uses a much more scalableevent-driven (asynchronous) architect&lt;img src=&quot;http://www1.feedsky.com/t1/363389345/omohe/csdn.net/s.gif?r=http://blog.csdn.net/omohe/archive/2009/07/09/4335763.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/omohe/363389345/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/omohe/363389345/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 09 Jul 2009 19:33:00 +0800</pubDate><author>cc</author><guid isPermaLink="false">http://blog.csdn.net/omohe/archive/2009/07/09/4335763.aspx</guid><dc:creator>cc</dc:creator><fs:srclink>http://blog.csdn.net/omohe/archive/2009/07/09/4335763.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/omohe/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/omohe/~1292685/363389345/1295506</fs:itemid></item><item><title>nginx做为反向代理实现负载均衡的例子</title><link>http://blog.csdn.net/omohe/archive/2009/07/09/4335765.aspx</link><description>上一篇文章中，我们介绍了nginx这个轻量级的高性能server主要可以干的两件事情：&gt;直接作为http server(代替apache，对PHP需要FastCGI处理器支持，这个我们之后介绍)；&gt;另外一个功能就是作为反向代理服务器实现负载均衡(如下我们就来举例说明实际中如何使用nginx实现负载均衡)。因为nginx在处理并发方面的优势，现在这个应用非常常见。当然了Apache的mod_proxy和mod_cache结合使用也可以实现对多台app server的反向代理和负载均衡，但是在并发处理方面apache还是没有nginx擅长。nginx作为反向代理实现负载均衡的例子：1)环境：a. 我们本地是Windows系统，然后使用VirutalBox安装一个虚拟的Linux系统。在本地的Windows系统上分别安装nginx(侦听8080端口)和apache(侦听80端口)。在虚拟的Linux系统上安装apache(侦听80端口)。&lt;img src=&quot;http://www1.feedsky.com/t1/363389346/omohe/csdn.net/s.gif?r=http://blog.csdn.net/omohe/archive/2009/07/09/4335765.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/omohe/363389346/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/omohe/363389346/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 09 Jul 2009 19:33:00 +0800</pubDate><author>cc</author><guid isPermaLink="false">http://blog.csdn.net/omohe/archive/2009/07/09/4335765.aspx</guid><dc:creator>cc</dc:creator><fs:srclink>http://blog.csdn.net/omohe/archive/2009/07/09/4335765.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/omohe/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/omohe/~1292685/363389346/1295506</fs:itemid></item><item><title>生产环境中的一些web server（主要是三巨头apache, nginx, lighttpd）</title><link>http://blog.csdn.net/omohe/archive/2009/07/09/4335735.aspx</link><description>关于生产环境中使用的Web Server1. Apache服务器和nginx的优缺点：我们之前大量使用Apache来作为HTTPServer。Apache具有很优秀的性能，而且通过模块可以提供各种丰富的功能。1)首先Apache对客户端的响应是支持并发的，运行httpd这个daemon进程之后，它会同时产生多个孩子进程/线程，每个孩子进程/线程分别对客户端的请求进行响应；2)另外，Apache可以提供静态和动态的服务，例如对于PHP的解析不是通过性能较差的CGI实现的而是通过支持PHP的模块来实现的(通常为mod_php5，或者叫做apxs2)。3)缺点:因此通常称为Apache的这种Server为process-based server，也就是基于多进程的HTTPServer，因为它需要对每个用户请求创建一个孩子进程/线程进行响应；这样的缺点是，如果并发的请求非常多(这在大型门户网站是很常见的)就会需要非常多的线程，从而占用极多的系统资源CP&lt;img src=&quot;http://www1.feedsky.com/t1/363389347/omohe/csdn.net/s.gif?r=http://blog.csdn.net/omohe/archive/2009/07/09/4335735.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/omohe/363389347/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/omohe/363389347/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 09 Jul 2009 19:24:00 +0800</pubDate><author>cc</author><guid isPermaLink="false">http://blog.csdn.net/omohe/archive/2009/07/09/4335735.aspx</guid><dc:creator>cc</dc:creator><fs:srclink>http://blog.csdn.net/omohe/archive/2009/07/09/4335735.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/omohe/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/omohe/~1292685/363389347/1295506</fs:itemid></item><item><title>KMP字符串匹配算法及Java实现</title><link>http://blog.csdn.net/omohe/archive/2009/04/21/4098842.aspx</link><description>&lt;br /&gt;KMP算法的Java实现：&lt;br /&gt;&lt;br /&gt;1. KMP算法的思路：&lt;br /&gt;1) 首先对模式串构建next数组，表示当某一位不匹配的时候需要回溯的下一个位置；&lt;br /&gt;2) 然后在对主串使用该模式串进行匹配，当遇到不相等的地方，查询next数组，选择模式串中下一个要匹配的位置的字符；&lt;br /&gt;如果该字符和当前不匹配的字符一样的话，则进一步获取新位置在next数组的值，直到要匹配位置的字符是新的字符；&lt;br /&gt;
(不要此步骤也可以，此步骤更加优化)&lt;br /&gt;3) 直到到达模式串结尾。&lt;br /&gt;&lt;br /&gt;KMP算法的复杂度：&lt;br /&gt;&lt;br /&gt;首先生成匹配字符串的next数组的时间复杂度为，每个元素的前面部分元素都需要检查前后是否相等，因此为&lt;br /&gt;1/2*(1+m)*m/2=m(1+m)/4，因此为o(m2);&lt;br /&gt;匹配阶段，每个主字符串位置移动，因此为o(n);&lt;br /&gt;整个为o(m2+n); &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;KMP算法的Java实现：&lt;br /&gt;&lt;br /&gt;class KMP
{
    String s;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/omohe/363389349/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/omohe/363389349/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 21 Apr 2009 22:09:00 +0800</pubDate><author>cc</author><guid isPermaLink="false">http://blog.csdn.net/omohe/archive/2009/04/21/4098842.aspx</guid><dc:creator>cc</dc:creator><fs:srclink>http://blog.csdn.net/omohe/archive/2009/04/21/4098842.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/omohe/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/omohe/~1292685/363389349/1295506</fs:itemid></item><item><title>dojo (a open source JavaScript Library)</title><link>http://blog.csdn.net/omohe/archive/2007/12/26/1967406.aspx</link><description>JavaScript Library ...&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/omohe/363389350/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/omohe/363389350/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 26 Dec 2007 09:03:00 +0800</pubDate><author>cc</author><guid isPermaLink="false">http://blog.csdn.net/omohe/archive/2007/12/26/1967406.aspx</guid><dc:creator>cc</dc:creator><fs:srclink>http://blog.csdn.net/omohe/archive/2007/12/26/1967406.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/omohe/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/omohe/~1292685/363389350/1295506</fs:itemid></item><item><title>XML中非法字符的处理</title><link>http://blog.csdn.net/omohe/archive/2007/12/12/1932183.aspx</link><description>XML中的非法字符及替换&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/omohe/363389351/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/omohe/363389351/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 12 Dec 2007 23:16:00 +0800</pubDate><author>cc</author><guid isPermaLink="false">http://blog.csdn.net/omohe/archive/2007/12/12/1932183.aspx</guid><dc:creator>cc</dc:creator><fs:srclink>http://blog.csdn.net/omohe/archive/2007/12/12/1932183.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/omohe/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/omohe/~1292685/363389351/1295506</fs:itemid></item><item><title>使用Perl创建指定编码格式的文件, 如创建utf-8格式</title><link>http://blog.csdn.net/omohe/archive/2007/12/12/1932089.aspx</link><description>使用perl创建指定编码格式的文件, 尤其针对宽字符unicode&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/omohe/363389352/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/omohe/363389352/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 12 Dec 2007 22:16:00 +0800</pubDate><author>cc</author><guid isPermaLink="false">http://blog.csdn.net/omohe/archive/2007/12/12/1932089.aspx</guid><dc:creator>cc</dc:creator><fs:srclink>http://blog.csdn.net/omohe/archive/2007/12/12/1932089.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/omohe/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/omohe/~1292685/363389352/1295506</fs:itemid></item></channel></rss>
