<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="css/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Darrel.Hsu's Blog</title><link>http://www.xdarui.com/</link><description>志文博客</description><generator>RainbowSoft Studio Z-Blog 1.8 Spirit Build 80722</generator><language>zh-CN</language><copyright>Copyright xdarui.com. Some Rights Reserved. 皖ICP备09003213号 &amp;amp;nbsp;&amp;amp;nbsp;法律支持：许大刚律师</copyright><pubDate>Fri, 18 Nov 2011 14:30:07 +0800</pubDate><item><title>Apache 加载 memcached模块出错 ap_cache_cacheable_hdrs_out</title><author>a@b.com (xdarui)</author><link>http://www.xdarui.com/articles/82.shtml</link><pubDate>Fri, 18 Nov 2011 14:22:17 +0800</pubDate><guid>http://www.xdarui.com/articles/82.shtml</guid><description><![CDATA[<p>&nbsp;安装了memcached并启用memcached模块以后启动apache时候出现一个错误 ：</p><p>&nbsp;</p><p>&nbsp; &nbsp; &nbsp;root@StaticAndResource-FE:/etc/apache2/mods-enabled# /etc/init.d/apache2 restart&nbsp;</p><p>&nbsp; &nbsp;&nbsp;&nbsp;apache2: Syntax error on line 202 of /etc/apache2/apache2.conf: Cannot load /usr/lib/apache2/modules/mod_mem_cache.so into server: /usr/lib/apache2/modules/mod_mem_cache.so: undefined symbol: ap_cache_cacheable_hdrs_out</p>...]]></description><category>Web</category><comments>http://www.xdarui.com/articles/82.shtml#comment</comments><wfw:comment>http://www.xdarui.com/</wfw:comment><wfw:commentRss>http://www.xdarui.com/feed.asp?cmt=82</wfw:commentRss><trackback:ping>http://www.xdarui.com/cmd.asp?act=tb&amp;id=82&amp;key=883808f6</trackback:ping></item><item><title>关于script的async属性</title><author>a@b.com (xdarui)</author><link>http://www.xdarui.com/articles/81.shtml</link><pubDate>Tue, 02 Aug 2011 08:51:40 +0800</pubDate><guid>http://www.xdarui.com/articles/81.shtml</guid><description><![CDATA[<p>&nbsp;script标签有一个很不常用的 async 属性，这个属性最早是由FireFox先搞出来的，然后得到了 Chrome 和 Safari 的支持，但是很不幸的是IE不支持该属性。</p><p>关于async的介绍可以见这里：<a href="http://www.w3.org/TR/html5/scripting-1.html#attr-script-async">http://www.w3.org/TR/html5/scripting-1.html#attr-script-async</a></p><p>...</p>]]></description><category>JavaScript</category><comments>http://www.xdarui.com/articles/81.shtml#comment</comments><wfw:comment>http://www.xdarui.com/</wfw:comment><wfw:commentRss>http://www.xdarui.com/feed.asp?cmt=81</wfw:commentRss><trackback:ping>http://www.xdarui.com/cmd.asp?act=tb&amp;id=81&amp;key=5b7934c4</trackback:ping></item><item><title>Ubuntu Server搭建svn服务器</title><author>a@b.com (xdarui)</author><link>http://www.xdarui.com/articles/80.shtml</link><pubDate>Thu, 28 Jul 2011 09:44:23 +0800</pubDate><guid>http://www.xdarui.com/articles/80.shtml</guid><description><![CDATA[<p>首先安装软件包：</p><p>&nbsp; sudo apt-get install subversion apache2 ibapache2-svn cronolog</p><p>然后，建立svn版本库</p><p>&nbsp; mkdir -p /svn</p><p>&nbsp;svnadmin create /svn/trunk</p><p>这时候svn已经可以通过svn+ssh方式检出或导入工程了，不过svn+ssh太不方便了。我们再给apache配好</p><p>vim /etc/apache2/sites-available/default</p>...]]></description><category>Linux</category><comments>http://www.xdarui.com/articles/80.shtml#comment</comments><wfw:comment>http://www.xdarui.com/</wfw:comment><wfw:commentRss>http://www.xdarui.com/feed.asp?cmt=80</wfw:commentRss><trackback:ping>http://www.xdarui.com/cmd.asp?act=tb&amp;id=80&amp;key=f05b29d6</trackback:ping></item><item><title>Web.py 学习笔记（一）</title><author>a@b.com (xdarui)</author><link>http://www.xdarui.com/articles/79.shtml</link><pubDate>Tue, 19 Jul 2011 18:19:22 +0800</pubDate><guid>http://www.xdarui.com/articles/79.shtml</guid><description><![CDATA[<p>&nbsp; &nbsp; &nbsp;web.py是一个Python的web框架，其本身也就是一个WebServer。 官方网站：<a href="http://webpy.org/">http://webpy.org</a></p><p><meta http-equiv="content-type" content="text/html; charset=utf-8" /></p><p>&nbsp; &nbsp; 安装：</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;下载： wget http://webpy.org/static/web.py-0.36.tar.gz</p><p>...</p>]]></description><category>Python</category><comments>http://www.xdarui.com/articles/79.shtml#comment</comments><wfw:comment>http://www.xdarui.com/</wfw:comment><wfw:commentRss>http://www.xdarui.com/feed.asp?cmt=79</wfw:commentRss><trackback:ping>http://www.xdarui.com/cmd.asp?act=tb&amp;id=79&amp;key=622a12e7</trackback:ping></item><item><title>Ubuntu 之  no screens found - module nvidia not found</title><author>a@b.com (xdarui)</author><link>http://www.xdarui.com/articles/78.shtml</link><pubDate>Mon, 18 Jul 2011 12:07:43 +0800</pubDate><guid>http://www.xdarui.com/articles/78.shtml</guid><description><![CDATA[<p>&nbsp;大清早到公司,看到系统有提示升级就顺手给升了. 有看到内核部分的升级</p><p>升完重启就杯具了,系统一直无法启动,停在logo界面 .</p><p>于是再次重启狂按方向链, 看到检查完电池就停下来了..好吧 进入tty1看下什么情况</p><p>运行 startx 出现错误</p><p>module nvidia not found</p><p>和</p><p>&nbsp;no screens found</p><p>在网上找了一圈也没找到答案,无比郁闷中.</p>...]]></description><category>Linux</category><comments>http://www.xdarui.com/articles/78.shtml#comment</comments><wfw:comment>http://www.xdarui.com/</wfw:comment><wfw:commentRss>http://www.xdarui.com/feed.asp?cmt=78</wfw:commentRss><trackback:ping>http://www.xdarui.com/cmd.asp?act=tb&amp;id=78&amp;key=b1dbe26c</trackback:ping></item><item><title>基于scp的上传工具sscp</title><author>a@b.com (xdarui)</author><link>http://www.xdarui.com/articles/77.shtml</link><pubDate>Thu, 30 Jun 2011 17:01:39 +0800</pubDate><guid>http://www.xdarui.com/articles/77.shtml</guid><description><![CDATA[工具简介：
<BR>
<BR>    该工具是基于Python ( 2.6 2.7 )、ssh、scp和subversion的文件上传工具。利用该工具，可以方便的将本地svn代码通过ssh账号scp到服务器对应的www目录中去。
<BR>
<BR>准备工作：
<BR>
<BR>   1.安装
<BR>  a.确保系统安装：Python( 2.6 / 2.7 ) subversion ( Ubuntu安装方法： sudo apt-get install subversion python -y )
<BR>  b.下载文件至你要安装的目录（如：~/tools/sscp/ ），并确认sscp文件可运行( chmod +x sscp )
<BR>...]]></description><category>Python</category><comments>http://www.xdarui.com/articles/77.shtml#comment</comments><wfw:comment>http://www.xdarui.com/</wfw:comment><wfw:commentRss>http://www.xdarui.com/feed.asp?cmt=77</wfw:commentRss><trackback:ping>http://www.xdarui.com/cmd.asp?act=tb&amp;id=77&amp;key=c443f3e8</trackback:ping></item><item><title>JavaScript也可以玩私有方法</title><author>a@b.com (xdarui)</author><link>http://www.xdarui.com/articles/76.shtml</link><pubDate>Wed, 15 Jun 2011 13:51:13 +0800</pubDate><guid>http://www.xdarui.com/articles/76.shtml</guid><description><![CDATA[<p>JavaScript中有一个特性：<span style="color: rgb(255,0,0)">任何两个对象都不相等也不全等</span></p><p>利用这个特点，我们也可以让JavaScript玩一个私有方法出来．</p><p>具体思路如下：</p><p>　　我们利用Key对比的方式，如果Key相等则可以调用，否则就出错．当然也得把这个Key给藏起来．</p><p>　　代码如下：</p><div class="cnblogs_Highlighter"><pre class="brush:javascript;gutter:false;">...</pre></div>]]></description><category>JavaScript</category><comments>http://www.xdarui.com/articles/76.shtml#comment</comments><wfw:comment>http://www.xdarui.com/</wfw:comment><wfw:commentRss>http://www.xdarui.com/feed.asp?cmt=76</wfw:commentRss><trackback:ping>http://www.xdarui.com/cmd.asp?act=tb&amp;id=76&amp;key=8d1be435</trackback:ping></item><item><title>JavaScript padLeft实现</title><author>a@b.com (xdarui)</author><link>http://www.xdarui.com/articles/75.shtml</link><pubDate>Tue, 24 May 2011 21:19:52 +0800</pubDate><guid>http://www.xdarui.com/articles/75.shtml</guid><description><![CDATA[<p>&nbsp;&nbsp;直接上代码：</p><p>&nbsp;&nbsp;&nbsp;Number.prototype.padLeft = function( d , n , p){</p><p><span class="Apple-tab-span" style="white-space:pre">	</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var num = parseInt( this.toString( n || 10 ) );</p>...]]></description><category>JavaScript</category><comments>http://www.xdarui.com/articles/75.shtml#comment</comments><wfw:comment>http://www.xdarui.com/</wfw:comment><wfw:commentRss>http://www.xdarui.com/feed.asp?cmt=75</wfw:commentRss><trackback:ping>http://www.xdarui.com/cmd.asp?act=tb&amp;id=75&amp;key=2d2bf06e</trackback:ping></item><item><title>C/C++学习链</title><author>a@b.com (xdarui)</author><link>http://www.xdarui.com/articles/74.shtml</link><pubDate>Wed, 18 May 2011 14:15:48 +0800</pubDate><guid>http://www.xdarui.com/articles/74.shtml</guid><description><![CDATA[<p>&nbsp;预编译说明：</p><p>　　　<a href="http://blog.sina.com.cn/s/blog_579105480100ny9w.html">http://blog.sina.com.cn/s/blog_579105480100ny9w.html</a></p><p>关于　extern &quot;C&quot;</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://baike.baidu.com/view/2814224.htm">http://baike.baidu.com/view/2814224.htm</a></p><p>...</p>]]></description><category>Other</category><comments>http://www.xdarui.com/articles/74.shtml#comment</comments><wfw:comment>http://www.xdarui.com/</wfw:comment><wfw:commentRss>http://www.xdarui.com/feed.asp?cmt=74</wfw:commentRss><trackback:ping>http://www.xdarui.com/cmd.asp?act=tb&amp;id=74&amp;key=f916c054</trackback:ping></item><item><title>Ubuntu 11.04初体验</title><author>a@b.com (xdarui)</author><link>http://www.xdarui.com/articles/ubuntu-1104.shtml</link><pubDate>Thu, 12 May 2011 11:01:00 +0800</pubDate><guid>http://www.xdarui.com/articles/ubuntu-1104.shtml</guid><description><![CDATA[<p>　　前几天在纠结了很久之后，终于下定决心把系统升到11.04了。基于之前体验的时候带来的痛苦经历，还是很担心的。</p><p>　　升级：Alt + F2 运行&nbsp; update-mamager 在弹出的升级对话框中可以看到11.04的升级提示，点击升级。一路下来，需要得新安装软件包：1600多个&hellip;&hellip;神哎</p><p>　　新体验：</p><p>　　　　FireFox 4 ：说实话，FireFox对我来说并不好用，搞的现在只要把主要阵地转向了Chrome了。首先是FireBug 1.7，调试js的时候半天才能响应。。坑爹啊</p>...]]></description><category>Linux</category><comments>http://www.xdarui.com/articles/ubuntu-1104.shtml#comment</comments><wfw:comment>http://www.xdarui.com/</wfw:comment><wfw:commentRss>http://www.xdarui.com/feed.asp?cmt=73</wfw:commentRss><trackback:ping>http://www.xdarui.com/cmd.asp?act=tb&amp;id=73&amp;key=3cc92909</trackback:ping></item></channel></rss>

