<?php xml version="1.0" encoding="UTF-8"?> 
<rss version="2.0">
<channel>
<title><![CDATA[Rember]]></title>
<link>http://dh.dolii.com/</link>
<description><![CDATA[DH JUST － Free My Soul]]></description>
<language>utf-8</language>
<copyright><![CDATA[CopyRight 2006 F2Blog.com All Rights Reserved.]]></copyright>
<webMaster><![CDATA[devilhookey@126.com]]></webMaster>
<generator>F2blog 1.2 build 03.01</generator> 
<image>
	<title>Rember</title> 
	<url>http://dh.dolii.com/attachments/</url> 
	<link>http://dh.dolii.com/</link> 
	<description>Rember</description> 
</image>
<item>
	<link>http://dh.dolii.com/index.php?load=read&amp;id=109</link>
	<title><![CDATA[SVN 重置用户名密码-备份下省的再去搜]]></title>
	<author>DH</author>
	<category><![CDATA[技术]]></category>
	<pubDate>2010-08-29 22:55</pubDate>
	<guid>http://dh.dolii.com/index.php?load=read&amp;id=109</guid>	
	<description><![CDATA[<span style="font-family: Arial; color: #4a4a4a; line-height: 20px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px" class="Apple-style-span">很多人抱怨使用了一些SVN的客户端软件，保存用户名和密码之后，找不到在什么地方修改，甚至卸载掉相关软件之后也没办法清除这些信息。 其实有些东西是保存在Documents and Settings\【user】\Application Data这个目录下的。 仔细找一下就有可能解决些问题。 用户名 密码保存在 C:\Documents and Settings\【user】\Application Data\Subversion\auth\svn.simple 这个目录下。 可以清除这个目录下的相关文件</span>]]></description>
</item>
<item>
	<link>http://dh.dolii.com/index.php?load=read&amp;id=108</link>
	<title><![CDATA[Tokyo Tyrant 安装 支持Memcached协议、支持故障转移、高并发 key-value 存储系统]]></title>
	<author>DH</author>
	<category><![CDATA[技术]]></category>
	<pubDate>2010-07-22 12:03</pubDate>
	<guid>http://dh.dolii.com/index.php?load=read&amp;id=108</guid>	
	<description><![CDATA[<p><span style="font-family: Tahoma, Arial" class="Apple-style-span">Tokyo Tyrant 缺点：<span style="color: #ff0000">在32位操作系统下，作为 Tokyo Tyrant 后端存储的 Tokyo Cabinet 数据库单个文件不能超过2G，而64位操作系统则不受这一限制。</span>所以，如果使用 Tokyo Tyrant，推荐在64位CPU、操作系统上安装运行。</span>&nbsp;</p><p><strong>一、安装</strong><br /> 1、首先编译安装tokyocabinet数据库</p><span style="font-family: Tahoma, Arial" class="Apple-style-span"><div style="margin-top: 5px; margin-right: 5px; margin-left: 5px; margin-bottom: 0px; background-color: #ffffff; border-width: 1px; border-color: #00a0c6; border-style: dashed; padding: 3px">wget&nbsp;<a style="text-decoration: none; color: #4f6371" href="http://www.1978th.net/tokyocabinet/tokyocabinet-1.4.45.tar.gz" target="_blank">http://www.1978th.net/tokyocabinet/tokyocabinet-1.4.45.tar.gz</a><br /> tar zxvf tokyocabinet-1.4.45.tar.gz<br /> cd tokyocabinet-1.4.45/<br /> ./configure<br /> #注：在32位Linux操作系统上编译Tokyo cabinet，请使用./configure --enable-off64代替./configure，可以使数据库文件突破2GB的限制。<br /> #./configure --enable-off64<br /> make<br /> make install<br /> cd ../</div><br /><br /> 2、然后编译安装tokyotyrant<br /><div style="margin-top: 5px; margin-right: 5px; margin-left: 5px; margin-bottom: 0px; background-color: #ffffff; border-width: 1px; border-color: #00a0c6; border-style: dashed; padding: 3px">wget&nbsp;<a style="text-decoration: none; color: #4f6371" href="http://www.1978th.net/tokyotyrant/tokyotyrant-1.1.40.tar.gz" target="_blank">http://www.19</a></div></span>]]></description>
</item>
<item>
	<link>http://dh.dolii.com/index.php?load=read&amp;id=107</link>
	<title><![CDATA[日本是这么学中文的]]></title>
	<author>DH</author>
	<category><![CDATA[未分類文章]]></category>
	<pubDate>2010-07-13 13:20</pubDate>
	<guid>http://dh.dolii.com/index.php?load=read&amp;id=107</guid>	
	<description><![CDATA[<p align="center">&nbsp;</p><p align="center">这个教材也太与时俱进了。。。。</p><p align="center"><div id="Gallery6471">&nbsp;</div><script type="text/javascript">var Gallery6471 = new F2Gallery("Gallery6471","zh_cn");Gallery6471.appendImage("http://dh.dolii.com/attachments/201007/9921132067.jpg", "p_large_HoFx_60e70005ef902d0c", 400, 533.980582524);Gallery6471.appendImage("http://dh.dolii.com/attachments/201007/8659832916.jpg", "p_large_jYRC_130d0003dc882d10", 400, 533.980582524);Gallery6471.appendImage("http://dh.dolii.com/attachments/201007/1716191875.jpg", "p_large_NRar_30dc000021172d0f", 400, 298.909090909);Gallery6471.appendImage("http://dh.dolii.com/attachments/201007/1408031099.jpg", "p_large_vdlv_48ec0003a9e02d0e", 400, 533.980582524);Gallery6471.appendImage("http://dh.dolii.com/attachments/201007/7546238370.jpg", "p_large_vrX9_1cf80005f4ff2d0b", 400, 533.980582524);Gallery6471.appendImage("http://dh.dolii.com/attachments/201007/9066688806.jpg", "p_large_VvmF_2b770006048f2d11", 400, 533.980582524);Gallery6471.show();</script></p>]]></description>
</item>
<item>
	<link>http://dh.dolii.com/index.php?load=read&amp;id=104</link>
	<title><![CDATA[Cage The Elephant Ain&#39;t No Rest For The Wicked]]></title>
	<author>DH</author>
	<category><![CDATA[Self]]></category>
	<pubDate>2010-07-06 09:58</pubDate>
	<guid>http://dh.dolii.com/index.php?load=read&amp;id=104</guid>	
	<description><![CDATA[<p>很有感觉的一首歌 歌词写得也很GOOD</p><p><div class="UBBPanel"><div class="UBBTitle"><img src="http://dh.dolii.com/images/music.gif" alt="" style="margin:0px 2px -3px 0px" border="0"/>在线播放文件 -- cage the elephant ain`t no rest for the wicked</div><div class="UBBContent"><a id="media6345_href" href="javascript:MediaShow('mp3','media6345','http://dh.dolii.com/http://dh.dolii.com/attachments/201007/cage_the_elephant-aint_no_rest_for_the_wicked.mp3','100','60','在线播放','关闭在线播放')"><img name="media6345_img" src="http://dh.dolii.com/images/mm_snd.gif" style="margin:0px 3px -2px 0px" border="0" alt=""/><span id="media6345_text">在线播放</span></a><div id="media6345"></div></div></div>&nbsp;</p><p><strong><span style="font-size: large" class="Apple-style-span">Cage The Elephant Ain&#39;t No Rest For The Wicked</span></strong></p><p><span style="font-family: Arial; line-height: 24px; font-size: 14px" class="Apple-style-span">I was walking down the street,<br /> 我走在路上<br /><br /> When out the corner of my eye<br /> 透过余光<br /><br /> I saw a pretty little thing approaching me.<br /> 看到一个美丽的小尤物正靠近我<br /><br /> She said &quot;I&#39;ve never seen a man<br /> 她说：&ldquo;我从未见过一个男人<br /><br /> Who looks so all alone,<br /> 像你这样孤单<br /><br /> Could you use a little company?<br /> 你是否想找个伴？<br /> &nbsp;&nbsp;&nbsp;</span></p>]]></description>
</item>
<item>
	<link>http://dh.dolii.com/index.php?load=read&amp;id=102</link>
	<title><![CDATA[linux awk用法小结]]></title>
	<author>DH</author>
	<category><![CDATA[技术]]></category>
	<pubDate>2010-07-05 11:48</pubDate>
	<guid>http://dh.dolii.com/index.php?load=read&amp;id=102</guid>	
	<description><![CDATA[<span style="font-family: Arial, sans-serif, Helvetica, Tahoma; line-height: 18px" class="Apple-style-span">awk 用法：awk &#39; pattern {action} &#39;&nbsp;<br /><br /> 变量名 含义&nbsp;<br /> ARGC 命令行变元个数&nbsp;<br /> ARGV 命令行变元数组&nbsp;<br /> FILENAME 当前输入文件名&nbsp;<br /> FNR 当前文件中的记录号&nbsp;<br /> FS 输入域分隔符，默认为一个空格&nbsp;<br /> RS 输入记录分隔符&nbsp;<br /> NF 当前记录里域个数&nbsp;<br /> NR 到目前为止记录数&nbsp;<br /> OFS 输出域分隔符&nbsp;<br /> ORS 输出记录分隔符&nbsp;<br /><br /> 1、awk &#39;/101/&#39; file 显示文件file中包含101的匹配行。&nbsp;<br /> awk &#39;/101/,/105/&#39; file&nbsp;<br /> awk &#39;$1 == 5&#39; file&nbsp;<br /> awk &#39;$1 == &quot;CT&quot;&#39; file 注意必须带双引号&nbsp;<br /> awk &#39;$1 * $2 &gt;100 &#39; file&nbsp;<br /> awk &#39;$2 &gt;5 &amp;&amp;</span>]]></description>
</item>
<item>
	<link>http://dh.dolii.com/index.php?load=read&amp;id=101</link>
	<title><![CDATA[dell R610 硬盘测速]]></title>
	<author>DH</author>
	<category><![CDATA[技术]]></category>
	<pubDate>2010-07-03 17:20</pubDate>
	<guid>http://dh.dolii.com/index.php?load=read&amp;id=101</guid>	
	<description><![CDATA[<div>[root@localhost ~]# fdisk -l &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div><br /></div><div>Disk /dev/sda: 146.1 GB, 146163105792 bytes</div><div>255 heads, 63 sectors/track, 17769 cylinders</div><div>Units = cylinders of 16065 * 512 = 8225280 bytes</div><div><br /></div><div>&nbsp;&nbsp; Device Boot &nbsp; &nbsp; &nbsp;Start &nbsp; &nbsp; &nbsp; &nbsp; End &nbsp; &nbsp; &nbsp;Blocks &nbsp; Id &nbsp;System</div><div>/dev/sda1 &nbsp; * &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;64 &nbsp; &nbsp; &nbsp;514048+ &nbsp;83 &nbsp;Linux</div><div>/dev/sda2</div>]]></description>
</item>
<item>
	<link>http://dh.dolii.com/index.php?load=read&amp;id=100</link>
	<title><![CDATA[linux中用shell获取昨天、明天或多天前的日期]]></title>
	<author>DH</author>
	<category><![CDATA[技术]]></category>
	<pubDate>2010-06-18 12:06</pubDate>
	<guid>http://dh.dolii.com/index.php?load=read&amp;id=100</guid>	
	<description><![CDATA[<span style="font-family: 宋体; line-height: 16px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px" class="Apple-style-span">linux中用shell获取昨天、明天或多天前的日期:<br /> 在Linux中对man date -d 参数说的比较模糊,以下举例进一步说明:<br /> # -d, --date=STRING display time described by STRING, not `now&rsquo;<br /> [root@Gman root]# date -d next-day +%Y%m%d #明天日期<br /> 20091024<br /> [root@Gman root]# date -d last-day +%Y%m%d #昨天日期<br /> 20091022<br /> [root@Gman root]# date -d yesterday +%Y%m%d #昨天日期<br /> 20091022<br /> [root@Gman root]# date -d tomorrow +%Y%m%d # 明天日期<br /> 20091024<br /> [root@Gman root]# date -d last-month +%Y%m #上个月日期<br /> 200909<br /> [root@Gman root]# date -d next-month +%Y%m #下个月日期<br /> 200911<br /> [root@Gman roo</span>]]></description>
</item>
<item>
	<link>http://dh.dolii.com/index.php?load=read&amp;id=99</link>
	<title><![CDATA[删除.svn文件夹]]></title>
	<author>DH</author>
	<category><![CDATA[技术]]></category>
	<pubDate>2010-06-18 10:52</pubDate>
	<guid>http://dh.dolii.com/index.php?load=read&amp;id=99</guid>	
	<description><![CDATA[<div style="word-break: break-all; word-wrap: break-word"><span style="font-size: small" class="Apple-style-span"><font class="Apple-style-span" color="#0000FF">在windows下，将下面的语句保存为svndelete.reg，双击写入注册表后，在svn的文件夹点击右键就会出现Delete SVN Folders，建议先备份svn文件再操作</font></span></div><div style="word-break: break-all; word-wrap: break-word"><font style="word-break: break-all; word-wrap: break-word" class="Apple-style-span"><span style="font-size: small" class="Apple-style-span"><font class="Apple-style-span" color="#0000FF"><br /></font></span></font></div><div style="word-break: break-all; word-wrap: break-word"><div style="word-break: break-all; word-wrap: break-word"><font style="word-break: break-all; word-wrap: break-word" class="Apple-style-span"><span style="font-size: small" class="Apple-style-span"><font class="Apple-style-span" color="#0000FF">Windows Registry Editor Version 5.00</font></span></font></div><div style="word-break: break-all; word-wrap: break-word"><font style="word-break: break-all; word-wrap: break-word" class="Apple-style-span"><span style="font-size: small" class="Apple-style-span"><font class="Apple-style-span" color="#0000FF">[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN]&nbsp;</font></span></font></div><div style="word-break: break-all; word-wrap: break-word"><font style="word-break: break-all; word-wrap: break-word" class="Apple-style-span"><span style="font-size: small" class="Apple-style-span"><font class="Apple-style-span" color="#0000FF">@=&quot;Delete SVN Folders&quot;</font></span></font></div><div style="word-break: break-all; word-wrap: break-word"><font style="word-break: break-all; word-wrap: break-word" class="Apple-style-span"><span style="font-size: small" class="Apple-style-span"><font class="Apple-style-span" color="#0000FF">[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN\command]&nbsp;</font></span></font></div><div style="word-break: break-all; word-wrap: break-word"><font style="word-break: break-all; word-wrap: break-word" class="Apple-style-span"><span style="font-size: small" class="Apple-style-span"><font class="Apple-style-span" color="#0000FF">@=&quot;cmd.exe /c \&quot;TITLE Removing SVN Folders in %1 &amp;&amp; COLOR 9A &amp;&amp; FOR /r \&quot;%1\&quot; %%f IN (.svn) DO RD /s /q \&quot;%%f\&quot; \&quot;&quot;</font></span></font></div></div><div style="word-break: break-all; word-wrap: break-word"><font style="word-break: break-all; word-wrap: break-word" class="Apple-style-span"><span style="font-size: small" class="Apple-style-span"><font class="Apple-style-span" color="#0000FF"><br /></font></span></font></div><span style="font-family: Verdana, &#39;Lucida Grande&#39;, Arial, Helvetica, sans-serif; line-height: 25px" class="Apple-style-span"><span style="font-size: small" class="Apple-style-span"><font class="Apple-style-span" color="#0000FF">linux下的删除.svn文件夹命令</font></span></span><p><span style="font-family: Tahoma, Arial" class="Apple-style-span"><span style="font-size: small" class="Apple-style-span"><font class="Apple-style-span" color="#0000FF">find . -type </font></span></span></p>]]></description>
</item>
<item>
	<link>http://dh.dolii.com/index.php?load=read&amp;id=98</link>
	<title><![CDATA[nginx文件类型错误解析漏洞，简单修复(cgi.fix_pathinfo=0)]]></title>
	<author>DH</author>
	<category><![CDATA[技术]]></category>
	<pubDate>2010-06-11 14:00</pubDate>
	<guid>http://dh.dolii.com/index.php?load=read&amp;id=98</guid>	
	<description><![CDATA[<span style="font-family: Verdana, Tahoma, &#39;BitStream vera Sans&#39;, Arial, Helvetica, sans-serif; color: #271a00" class="Apple-style-span"><div class="title" style="padding: 0px; margin: 0px"><h2 style="padding-top: 0px; padding-right: 0px; padding-bottom: 3px; padding-left: 0px; font-size: 14px; font-style: normal; font-variant: normal; font-weight: bold; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #e8dabe; margin: 0px"><font class="Apple-style-span" color="#FF0000">nginx文件类型错误解析漏洞，简单修复(cgi.fix_pathinfo=0)</font></h2></div><div class="content" style="padding-top: 0px; padding-right: 0px; padding-bottom: 5px; padding-left: 0px; line-height: 17px; overflow-x: hidden; overflow-y: hidden; margin: 0px"><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding: 0px"><span style="padding: 0px; margin: 0px"><span style="padding: 0px; margin: 0px"><font class="Apple-style-span" color="#FF0000"><img style="border-width: initial; border-color: initial; border-style: none; padding: 0px; margin: 0px" src="http://www.80ht.cn/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" alt="" title="更多..." /></font></span></span></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding: 0px"><span style="padding: 0px; margin: 0px"><span style="padding: 0px; margin: 0px"><font class="Apple-style-span" color="#0000FF">#vi php.ini</font></span></span></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding: 0px"><span style="padding: 0px; margin: 0px"><span style="padding: 0px; margin: 0px"><font class="Apple-style-span" color="#FF0000">设置：</font><span style="padding: 0px; margin: 0px"><font class="Apple-style-span" color="#0000FF">cgi.fix_pathinfo=0</font></span></span></span></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding: 0px"><span style="padding: 0px; margin: 0px"><span style="padding: 0px; margin: 0px"><font class="Apple-style-span" color="#FF0000">没有这个参数？自己加</font></span></span></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding: 0px"><span style="padding: 0px; margin: 0px"><span style="padding: 0px; margin: 0px"><font class="Apple-style-span" color="#FF0000">重启PHP</font></span></span></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding: 0px"><span style="padding: 0px; margin: 0px"><span style="padding: 0px; margin: 0px"><font class="Apple-style-span" color="#FF0000">(此修改会影响到使用PATH_INFO伪静态的应用.)</font></span></span></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding: 0px"><span style="padding: 0px; margin: 0px"><span style="padding: 0px; margin: 0px"><font class="Apple-style-span" color="#FF0000">技术含量0，写下提醒自己，漏洞来了，补！</font></span></span></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding: 0px">&nbsp;<span style="color: #000000; font-family: Tahoma, Arial; line-height: normal" class="Apple-style-span">一种修改nginx.conf配置文件的临时解决方法</span></p> <div class="hl-surround"><div class="hl-main"><span style="color: Blue;">location</span><span style="color: Gray;"> ~* .*\.</span><span style="color: Blue;">php</span><span style="color: Olive;">(</span><span style="color: Gray;">$|/</span><span style="color: Olive;">)</span><span style="color: Gray;"><br />&nbsp;</span><span style="color: Olive;">{</span><span style="color: Gray;"><br />&nbsp;</span><span style="color: Green;">if</span><span style="color: Gray;"> </span><span style="color: Olive;">(</span><span style="color: #00008b;">$request_filename</span><span style="color: Gray;"> ~* </span><span style="color: Olive;">(</span><span style="color: Gray;">.*</span><span style="color: Olive;">)</span><span style="color: Gray;">\.</span><span style="color: Blue;">php</span><span style="color: Olive;">)</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span><span style="color: Gray;"><br />&nbsp;</span><span style="color: Blue;">set</span><span style="color: Gray;"> </span><span style="color: #00008b;">$php_url</span><span style="color: Gray;"> $</span><span style="color: Maroon;">1</span><span style="color: Gray;">;<br />&nbsp;</span><span style="color: Olive;">}</span><span style="color: Gray;"><br />&nbsp;</span><span style="color: Green;">if</span><span style="color: Gray;"> </span><span style="color: Olive;">(</span><span style="color: Gray;">!-</span><span style="color: Blue;">e</span><span style="color: Gray;"> </span><span style="color: #00008b;">$php_url</span><span style="color: Gray;">.</span><span style="color: Blue;">php</span><span style="color: Olive;">)</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span><span style="color: Gray;"><br />&nbsp;</span><span style="color: Green;">return</span><span style="color: Gray;"> </span><span style="color: Maroon;">403</span><span style="color: Gray;">;<br />&nbsp;</span><span style="color: Olive;">}</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;</span><span style="color: Blue;">fastcgi_pass</span><span style="color: Gray;"> </span><span style="color: Maroon;">127.0.0.1</span><span style="color: Gray;">:</span><span style="color: Maroon;">9000</span><span style="color: Gray;">;<br />&nbsp;</span><span style="color: Blue;">fastcgi_index</span><span style="color: Gray;"> </span><span style="color: Blue;">index</span><span style="color: Gray;">.</span><span style="color: Blue;">php</span><span style="color: Gray;">;<br />&nbsp;</span><span style="color: Green;">include</span><span style="color: Gray;"> </span><span style="color: Blue;">fcgi</span><span style="color: Gray;">.</span><span style="color: Blue;">conf</span><span style="color: Gray;">;</span></div></div>  </div></span>]]></description>
</item>
<item>
	<link>http://dh.dolii.com/index.php?load=read&amp;id=105</link>
	<title><![CDATA[mysql show]]></title>
	<author>DH</author>
	<category><![CDATA[技术]]></category>
	<pubDate>2010-05-29 11:36</pubDate>
	<guid>http://dh.dolii.com/index.php?load=read&amp;id=105</guid>	
	<description><![CDATA[<span style="font-family: Trebuchet, &#39;Trebuchet MS&#39;, Tahoma, &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 14px; color: #dedede; line-height: 22px" class="Apple-style-span"><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; border-width: 0px; padding: 0px"><font class="Apple-style-span" color="#000000">如果可以用navicat工具连过去，查看用户权限，修改用户权限都是很方便的，但很多时候MySQL都是只允许localhost访问，这时就只能用命令了</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; border-width: 0px; padding: 0px"><font class="Apple-style-span" color="#000000">mysql&gt; select * from mysql.user where user=&rsquo;username&rsquo;;</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; border-width: 0px; padding: 0px"><font class="Apple-style-span" color="#000000">mysql&gt; show grants for username@localhost;</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; border-width: 0px; padding: 0px"><font class="Apple-style-span" color="#000000">show可以看到很多东西<br /> show create database dbname;&nbsp; 这个可以看到创建数据库时用到的一些参数。<br /> show create table tickets;&nbsp;&nbsp;&nbsp; 可以看到创建表时用到的一些参数</font></p></span>]]></description>
</item>
<item>
	<link>http://dh.dolii.com/index.php?load=read&amp;id=97</link>
	<title><![CDATA[全球5个最贵的网站域名]]></title>
	<author>DH</author>
	<category><![CDATA[摘录&amp;think]]></category>
	<pubDate>2010-05-25 15:46</pubDate>
	<guid>http://dh.dolii.com/index.php?load=read&amp;id=97</guid>	
	<description><![CDATA[<span class="title1"><strong>全球5个最贵的网站域名</strong></span><p><strong class="fontred16">sex.com</strong>这个撩动心弦的域名，以高达<strong class="fontred16">1400万美元</strong>的天价成交，史上还有哪些高价域名？让我们一一认识它们：<br /><strong>第一名：<span class="fontred">insure.com</span>，2009年售出， 成交价1600万美元。</strong><br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;该网域名称由QuinStreet公司买下，创下网域拍卖最高价，超过           sex.com。这个网站提供寿险、车险与健康险等保单出售。<br /><strong>第二名：<span class="fontred">sex.com</span>，2006年 售出，成交价1400万美元。</strong><br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;由交友网站创办人克莱门在1994年购入，但该域名久遭冗长官司缠身。<br /><strong>第三名：<span class="fontred">fund.com</span>，2008年售出，成交价 999万美元。</strong><br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;由一家提供金融服务的上市网络公司买下，网站上提供基金投资选择与专家意见。<br /><strong>第四名：<span class="fontred">porn.com</span>，2007年售出，成交价 950万美元。</strong><br /> &nbsp;&nbsp;&n</p>]]></description>
</item>
<item>
	<link>http://dh.dolii.com/index.php?load=read&amp;id=96</link>
	<title><![CDATA[nginx.conf中fastcgi_buffers的解释]]></title>
	<author>DH</author>
	<category><![CDATA[技术]]></category>
	<pubDate>2010-05-25 15:39</pubDate>
	<guid>http://dh.dolii.com/index.php?load=read&amp;id=96</guid>	
	<description><![CDATA[<div class="blogstory">fastcgi_buffers 8 128k; <p>指定本地需要用多少和多大的缓冲区 来缓冲FastCGI的应答，如上所示，如果一个php脚本所产生的页面大小为256k，则会为其分配16个16k的缓冲区来缓存，如果大于256k，增 大于256k的部分会缓存到fastcgi_temp指定的路径中，当然这对服务器负载来说是不明智的方案，因为内存中处理数据速度要快于硬盘，通常这个 值的设置应该选择一个你的站点中的php脚本所产生的页面大小的中间值，比如你的站点大部分脚本所产生的页面大小为256k就可以把这个值设置为16  16k，或者4 64k 或者64 4k，但很显然，后两种并不是好的设置方法，因为如果产生的页面只有32k，如果用4  64k它会分配1个64k的缓冲区去缓存，而如果使用64 4k它会分配8个4k的缓冲区去缓存，而如果使用16  16k则它会分配2个16k去缓存页面，这样看起来似乎更加合理。</p></div>]]></description>
</item>
<item>
	<link>http://dh.dolii.com/index.php?load=read&amp;id=95</link>
	<title><![CDATA[Nginx Gzip 配置]]></title>
	<author>DH</author>
	<category><![CDATA[技术]]></category>
	<pubDate>2010-05-06 15:52</pubDate>
	<guid>http://dh.dolii.com/index.php?load=read&amp;id=95</guid>	
	<description><![CDATA[<p>这个模块支持在线实时压缩输出数据流</p><p>__使用范例__</p><pre>: gzip             on;</pre><pre>: gzip_min_length  1000;</pre><pre>: gzip_proxied     expired no-cache no-store private auth;</pre><pre>: gzip_types       text/plain application/xml;</pre><p>内置变量 $gzip_ratio 可以获取到gzip的压缩比率</p><h2>指令</h2><ul><li> [#gzip gzip] </li><li> [#gzip_buffers gzip_buffers] </li><li> [#gzip_comp_level gzip_comp_level] </li><li> [#gzip_min_length gzip_min_length] </li><li> [#gzip_http_version gzip_http_version] </li><li> [#gzip_proxied gzip_proxied] </li><li> [#gzip_types gzip_types] </li></ul><p><br /><span style="color: #0000ff"><strong>gzip </strong></span></p><p><strong>语法:</strong><em>gzip on|off</em></p><p><strong>默认值:</strong><em>gzip off</em></p><p><strong>作用域:</strong><em>http, server, location, if (x) location</em></p><p>开启或者关闭</p>]]></description>
</item>
<item>
	<link>http://dh.dolii.com/index.php?load=read&amp;id=94</link>
	<title><![CDATA[九句话]]></title>
	<author>DH</author>
	<category><![CDATA[摘录&amp;think]]></category>
	<pubDate>2010-04-28 13:52</pubDate>
	<guid>http://dh.dolii.com/index.php?load=read&amp;id=94</guid>	
	<description><![CDATA[<p>第一句<br /> 如果我们之间有1000步的距离<br /> 你只要跨出第1步<br /> 我就会朝你的方向走其余的999步<br /><br /> 第二句<br /> 通常愿意留下来跟你争吵的人<br /> 才是真正爱你的人<br /><br /> 第三句<br /> 付出真心　才会得到真心<br /> 却也可能伤得彻底<br /> 保持距离　就能保护自己<br /> 却也注定永远寂寞<br /><br /> 第四句<br /> 有时候　不是对方不在乎你<br /> 而是你把对方看得太重<br /><br /> 第五句<br /> 朋友就是把你看透了　还能喜欢你的人<br /><br /> 第六句<br /> 就算是believe　中间也藏了一个lie<br /><br /> 第七句<br /> 真正的好朋友<br /> 并不是在一起就有聊不完的话题<br /> 而是在一起　就算不说话<br /> 也不会感到尴尬<br /><br /> 第八句<br /> 没有一百分的另一半<br /> 只有五十分的两个人<br /><br /> 第九句<br /> 为你的难过而快乐的　是敌人<br /> 为你的快乐而快乐的　是朋友<br /> 为你的难过而难过的<br /> 就是那些　该放进心里的人<br /><strong><br /></strong></p>]]></description>
</item>
<item>
	<link>http://dh.dolii.com/index.php?load=read&amp;id=93</link>
	<title><![CDATA[endless]]></title>
	<author>DH</author>
	<category><![CDATA[心情]]></category>
	<pubDate>2010-04-28 13:12</pubDate>
	<guid>http://dh.dolii.com/index.php?load=read&amp;id=93</guid>	
	<description><![CDATA[endless: [ &#39;endlis ]<br /><br /> a. 无止境的,没完没了的<br /><br /> 词形变化:<br /> 副词:endlessly 名词:endlessness<br /><br /> 例句与用法:<br /> 1.&nbsp;&nbsp;&nbsp;&nbsp;Her endless patience made her the best nurse in the hospital.<br /> 无限的耐心使她成为这个医院最好的护士。<br /><br /> 2.&nbsp;&nbsp;&nbsp;&nbsp;I am too busy to listen to her endless grievance.<br /> 我太忙了，没空听她那没完没了的牢骚。<br /><br /> 3.&nbsp;&nbsp;&nbsp;&nbsp;British writer best known for his popular historical novels, especially The Last Days of Pompeii(1834), and for his seemingly endless convoluted sentences.<br /> 布尔沃&middot;利顿，爱德华&middot;乔治&middot;厄尔&middot;利顿1803－1873英国作家，以其颇受欢迎的历史小说而闻名，尤其是庞贝城的最后一日（1834年），以及他那看起来永无]]></description>
</item>
<item>
	<link>http://dh.dolii.com/index.php?load=read&amp;id=92</link>
	<title><![CDATA[唯美七宗罪,波兰艺术家笔下的七原罪]]></title>
	<author>DH</author>
	<category><![CDATA[摘录&amp;think]]></category>
	<pubDate>2010-04-20 13:34</pubDate>
	<guid>http://dh.dolii.com/index.php?load=read&amp;id=92</guid>	
	<description><![CDATA[<p><img src="http://dh.dolii.com/attachments/201004/5266691474.jpg" style="cursor:pointer;" onclick="open_img(&#39;http://dh.dolii.com/attachments/201004/5266691474.jpg&#39;)" alt="http://dh.dolii.com/attachments/201004/5266691474.jpg" width="320" height="480" /></p><p><br /><img src="http://dh.dolii.com/attachments/201004/3281524864.jpg" style="cursor:pointer;" onclick="open_img(&#39;http://dh.dolii.com/attachments/201004/3281524864.jpg&#39;)" alt="http://dh.dolii.com/attachments/201004/3281524864.jpg" width="320" height="480" /></p><p><img src="http://dh.dolii.com/attachments/201004/6372620487.jpg" style="cursor:pointer;" onclick="open_img(&#39;http://dh.dolii.com/attachments/201004/6372620487.jpg&#39;)" alt="http://dh.dolii.com/attachments/201004/6372620487.jpg" width="318" height="479" /></p><p><img src="http://dh.dolii.com/attachments/201004/7734624594.jpg" style="cursor:pointer;" onclick="open_img(&#39;http://dh.dolii.com/attachments/201004/7734624594.jpg&#39;)" alt="http://dh.dolii.com/attachments/201004/7734624594.jpg" width="320" height="480" /></p><p><img src="http://dh.dolii.com/attachments/201004/1357447027.jpg" style="cursor:pointer;" onclick="open_img(&#39;http://dh.dolii.com/attachments/201004/1357447027.jpg&#39;)" alt="http://dh.dolii.com/attachments/201004/1357447027.jpg" width="320" height="480" /></p><p><img src="http://dh.dolii.com/attachments/201004/4291587685.jpg" style="cursor:pointer;" onclick="open_img(&#39;http://dh.dolii.com/attachments/201004/4291587685.jpg&#39;)" alt="http://dh.dolii.com/attachments/201004/4291587685.jpg" width="320" height="480" /></p><p><img src="http://dh.dolii.com/attachments/201004/9169767310.jpg" style="cursor:pointer;" onclick="open_img(&#39;http://dh.dolii.com/attachments/201004/9169767310.jpg&#39;)" alt="http://dh.dolii.com/attachments/201004/9169767310.jpg" width="304" height="479" /></p><p><br /> 七宗罪 en:Seven deadly sins，正式译名为七罪宗，属于人类恶行的分类，并由13世纪道明会神父圣多玛斯&middot;阿奎纳列举出各种恶行的表现。天主教教义中提出&ldquo;按若望格西安和教宗 额我略一世的见解，分辨出教徒常遇到的重大恶行&rdquo;。<br /><br /> &ldquo;重大&rdquo;在这里的意思在于这些恶行属于原罪，例如盗贼的贪婪源于欲望。<br /><br /> 这 些恶行最初是由希腊神学修道士庞义伐草撰出8种损害个人灵性的恶行，分别是贪食、口口、贪婪、伤悲、暴怒、懒惰、自负及傲慢。庞义伐观察到当时的人们逐渐 变得自我中心，尤以骄傲为甚。懒惰在这里是指&ldquo;精神上懒惰&rdquo;。<br /><br /><br /> 神曲里七宗罪的顺序:<br /><br /> 但丁在神曲里根据恶行的 严重性顺序排列七宗罪，其次序为： （按图片顺序）<br /><br /><br /> 一）好色－不合法礼的性欲，例如通奸。（但丁的标准是&ldquo;过份爱慕对方&rdquo;，而这 样便会贬低了神对人们的爱）<br /><br /><br /> 二）饕餮－浪费食物，或是过度放纵食欲、酗酒或屯积过量的食物。（但丁的观点是&ldquo;过份贪图逸乐&rdquo;）<br /><br /><br /> 三）贪婪－希望占有比所需更多为之贪婪。（或是以但丁的观点，</p>]]></description>
</item>
<item>
	<link>http://dh.dolii.com/index.php?load=read&amp;id=91</link>
	<title><![CDATA[车辆出险保险索赔技巧——让每个车友都能学习]]></title>
	<author>DH</author>
	<category><![CDATA[未分類文章]]></category>
	<pubDate>2010-04-16 17:15</pubDate>
	<guid>http://dh.dolii.com/index.php?load=read&amp;id=91</guid>	
	<description><![CDATA[一定要珍藏！！！（希望能让每个车友都能看到）<br /> 车辆出险保险索赔绝对技巧<br /><br /><br /> 有车的朋友一定都买了车险。但是如今的保险公司的车险条文中，却是陷阱重重！<br /> 今天就发文揭露保险公司的陷阱和条文中的疑团，看了以后要是有收获，请大家帮我顶一个！<br /> 包括N多的出险案例，很有实际指导意义，希望对大家有帮助。<br /> 最清晰的讲解，唯一普通人能看懂的保险条文。<br /> （一）车损，第三者<br /> （二）丢车<br /> （三）撞车<br /> （四）索赔<br /><br /><br /> 保险条款精解（一）-车损，第三者<br /> 咱们先说说最主要的车损险和三责险。<br /> 车损险和三责险是车辆保险的基本险，主要赔偿被保险车辆的损失以及由被保险车辆在使用中给第三者带来的损失！<br /> 您大概觉得即使是自然灾害造成的车辆损失，保险公司也照赔不误！<br /> 这话对了一半，大部分的自然灾害造成的损失都赔，惟独一样除外－－－－－－－－地震！<br /><br /><br /> 案例1：如果您的车有幸在地震中被建筑物砸到的话，哈哈<br /> 应对方法：等地震过后几天再申请赔偿<br /> 出险陈述：大概由于地震造成墙体松动，终于在某一天倒下了（不要提及地震时出险）<br /><br /><br /> ★★案例2：如果您的爱车在一次急刹车中，车里的东东飞到了风挡上造成玻璃破裂。您该怎么说呢？<br /> 你老老实实的对保险公司说：&ldq]]></description>
</item>
<item>
	<link>http://dh.dolii.com/index.php?load=read&amp;id=90</link>
	<title><![CDATA[centos 修改IP地址，网关，DNS]]></title>
	<author>DH</author>
	<category><![CDATA[技术]]></category>
	<pubDate>2010-02-04 21:46</pubDate>
	<guid>http://dh.dolii.com/index.php?load=read&amp;id=90</guid>	
	<description><![CDATA[<span style="font-family: Verdana, 宋体, sans-serif; color: #333333" class="Apple-style-span"><div class="articleTitle" style="padding-bottom: 8px; border-width: initial; border-color: initial; zoom: 1; border-style: none"><div style="display: inline"><strong style="font-size: 20px; font-family: 微软雅黑, 黑体; font-weight: 300; color: #04478d">centos&nbsp;修改IP地址，网关，DNS</strong></div></div><div id="articleBody" class="articleContent" style="font-family: 宋体; word-wrap: normal; word-break: normal; line-height: 25px; font-size: 14px; padding-top: 22px; overflow-x: hidden; overflow-y: hidden; width: 100%; color: #2a2a2a"><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 1.5em; border-width: 0px; padding: 0px">&nbsp;&nbsp;&nbsp;&nbsp;<font style="word-wrap: normal; word-break: normal; line-height: 27px; font-size: 18px; font-family: 黑体">一、修改IP地址</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 1.5em; border-width: 0px; padding: 0px">修改对应网卡的IP地址的配置文件</p><div style="word-wrap: normal; word-break: normal; margin-top: 5px; margin-right: 5px; margin-bottom: 0px; margin-left: 5px; background-color: #ffffff; border-width: 1px; border-color: #00a0c6; border-style: dashed; padding: 3px">[root@centos]# vi /etc/sysconfig/network-scripts/ifcfg-eth0</div><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 1.5em; border-width: 0px; padding: 0px">&nbsp;&nbsp;&nbsp;&nbsp;修改以下内容</p><div style="word-wrap: normal; word-break: normal; margin-top: 5px; margin-right: 5px; margin-bottom: 0px; margin-left: 5px; background-color: #000000; border-width: 1px; border-color: #ffffff; border-style: dashed; padding: 3px"><font size="2" style="word-wrap: normal; word-break: normal; line-height: 21px; font-size: 14px" color="#FFFFFF">DEVICE=eth0<font style="word-wrap: normal; word-break: normal; line-height: 21px" color="#FF0000">(描述网卡对应的设备别名，例如ifcfg-eth0的文件中它为eth0)<br /></font>BOOTPROTO=static<font style="word-wrap: normal; word-break: normal; line-height: 21px" color="#FF0000">(设置网卡获得ip地址的方式，可能的选项为static，dhcp或bootp，分别对应静态指定的ip地址，通过dhcp协议获得的ip地址，通过bootp协议获得的ip地址)<br /></font>BROADCAST=192.168.0.255<font style="word-wrap: normal; word-break: normal; line-height: 21px" color="#FF0000">(对应的子网广播地址)</font><br /> HWADDR=00:07:E9:05:E8:B4&nbsp;<font style="word-wrap: normal; word-break: normal; line-height: 21px" color="#FF0000">(对应的网卡物理地址)<br /></font>IPADDR=12.168.1.2<font style="word-wrap: normal; word-break: normal; line-height: 21px" color="#FF0000">(如果设置网卡获得ip地址的方式为静态指定，此字段就指定了网卡对应的ip地址)<br /></font>IPV6INIT=no&nbsp;<br /> IPV6_AUTOCONF=no<br /> NETMASK=255.255.255.0<font style="word-wrap: normal; word-break: normal; line-height: 21px" color="#FF0000">(</font></font></div></div></span>]]></description>
</item>
<item>
	<link>http://dh.dolii.com/index.php?load=read&amp;id=89</link>
	<title><![CDATA[php 二分法]]></title>
	<author>DH</author>
	<category><![CDATA[技术]]></category>
	<pubDate>2009-12-03 13:08</pubDate>
	<guid>http://dh.dolii.com/index.php?load=read&amp;id=89</guid>	
	<description><![CDATA[[code]<br />
&lt;?php   <br />
//search函数 其中$array为数组，$k为要找的值，$low为查找范围的最小键值，$high为查找范围的最大键值   <br />
function search($array, $k, $low=0, $high=0)       <br />
{    <br />
    if(count($array)!=0 and $high == 0)                 //判断是否为第一次调用   <br />
    {   <br />
        $high = count($array);   <br />
    }   <br />
    if($low &lt;= $high)                                //如果还存在剩余的数组元素   <br />
    {    <br />
        $mid = intval(($low+$high)/2);                  //取$low和$high的中间值   <br />
        if ($array[$mid] == $k)                         //如果找]]></description>
</item>
<item>
	<link>http://dh.dolii.com/index.php?load=read&amp;id=88</link>
	<title><![CDATA[Michael Jackson]]></title>
	<author>DH</author>
	<category><![CDATA[未分類文章]]></category>
	<pubDate>2009-10-26 18:39</pubDate>
	<guid>http://dh.dolii.com/index.php?load=read&amp;id=88</guid>	
	<description><![CDATA[<img src="http://dh.dolii.com/attachments/200910/0873986868.jpg" style="cursor:pointer;" onclick="open_img(&#39;http://dh.dolii.com/attachments/200910/0873986868.jpg&#39;)" alt="http://dh.dolii.com/attachments/200910/0873986868.jpg" width="400" height="239" /><br /><br /><br /><br /><br /><br /><img src="http://dh.dolii.com/attachments/200910/4049831584.jpg" style="cursor:pointer;" onclick="open_img(&#39;http://dh.dolii.com/attachments/200910/4049831584.jpg&#39;)" alt="http://dh.dolii.com/attachments/200910/4049831584.jpg" width="400" height="258" />]]></description>
</item>
</channel>
</rss>