<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/1.5.2" -->
<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/"
>

<channel>
	<title>xiaobao的日志</title>
	<link>http://www.xiaxiaobao.com</link>
	<description>Linux,PHP,MySQL,Apache......</description>
	<pubDate>Sun, 08 Jul 2007 02:18:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5.2</generator>
	<language>en</language>

		<item>
		<title>关闭selinux</title>
		<link>http://www.xiaxiaobao.com/index.php/archives/53</link>
		<comments>http://www.xiaxiaobao.com/index.php/archives/53#comments</comments>
		<pubDate>Sun, 08 Jul 2007 02:18:42 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>LAMP</category>
		<guid>http://www.xiaxiaobao.com/index.php/archives/53</guid>
		<description><![CDATA[	vi /etc/selinux/config
	set SELINUX=disabled

]]></description>
			<content:encoded><![CDATA[	<p>vi /etc/selinux/config</p>
	<p>set SELINUX=disabled
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.xiaxiaobao.com/index.php/archives/53/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>最近想看的书</title>
		<link>http://www.xiaxiaobao.com/index.php/archives/52</link>
		<comments>http://www.xiaxiaobao.com/index.php/archives/52#comments</comments>
		<pubDate>Fri, 16 Mar 2007 05:01:59 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>其他</category>
		<guid>http://www.xiaxiaobao.com/index.php/archives/52</guid>
		<description><![CDATA[	人体使用手册
	你在为谁工作
	世界是平的
	长尾理论
	明朝那些事(朱元璋卷)
	世界上最伟大的推销员
	如何掌控自己的时间和生活
]]></description>
			<content:encoded><![CDATA[	<li><a href="http://www.tushuwang.net/b/186808.html">人体使用手册</a></li>
	<li><a href="http://www.tushuwang.net/b/342060.html">你在为谁工作</a></li>
	<li><a href="http://www.tushuwang.net/b/28951.html">世界是平的</a></li>
	<li><a href="http://www.tushuwang.net/b/11352.html">长尾理论</a></li>
	<li><a href="http://www.tushuwang.net/b/23792.html">明朝那些事(朱元璋卷)</a></li>
	<li><a href="http://www.tushuwang.net/b/242725.html">世界上最伟大的推销员</a></li>
	<li><a href="http://www.tushuwang.net/b/218562.html">如何掌控自己的时间和生活</a></li>
]]></content:encoded>
			<wfw:commentRSS>http://www.xiaxiaobao.com/index.php/archives/52/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>海底通信光缆中断事件</title>
		<link>http://www.xiaxiaobao.com/index.php/archives/51</link>
		<comments>http://www.xiaxiaobao.com/index.php/archives/51#comments</comments>
		<pubDate>Thu, 28 Dec 2006 06:15:50 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>其他</category>
		<guid>http://www.xiaxiaobao.com/index.php/archives/51</guid>
		<description><![CDATA[	这里 海底通信光缆中断事件 的专题报道
	对我影响最大的就是 bloglines  不能访问了，或许国内的 抓虾也是不错的选择。关健是本地没有备份订阅的blog列表。

]]></description>
			<content:encoded><![CDATA[	<p>这里 <a href="http://tech.sina.com.cn/focus/net_taiwan/index.shtml">海底通信光缆中断事件</a> 的专题报道</p>
	<p>对我影响最大的就是 <a href="http://www.bloglines.com">bloglines </a> 不能访问了，或许国内的 <a href="http://www.zhuaxia.com">抓虾</a>也是不错的选择。关健是本地没有备份订阅的blog列表。
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.xiaxiaobao.com/index.php/archives/51/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>喜欢豆瓣的blog推荐(我上)</title>
		<link>http://www.xiaxiaobao.com/index.php/archives/50</link>
		<comments>http://www.xiaxiaobao.com/index.php/archives/50#comments</comments>
		<pubDate>Sat, 23 Dec 2006 14:41:59 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>其他</category>
		<guid>http://www.xiaxiaobao.com/index.php/archives/50</guid>
		<description><![CDATA[	早就知道豆瓣的blog推荐，只是一直没在意，今天无意中发现 豆瓣猜你会喜欢 的blog 列表几乎是我bloglines订阅列表的翻版，赞一个先。有谁认识阿北的，我想对他说&#8221;I like him&#8221; 。

]]></description>
			<content:encoded><![CDATA[	<p>早就知道<a href="http://www.douban.com">豆瓣</a>的blog推荐，只是一直没在意，今天无意中发现 豆瓣猜你会喜欢 的blog 列表几乎是我bloglines订阅列表的翻版，赞一个先。有谁认识<a href="http://blog.douban.com">阿北</a>的，我想对他说&#8221;I like him&#8221; 。
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.xiaxiaobao.com/index.php/archives/50/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Subversion使用钩子脚本实现自动构建</title>
		<link>http://www.xiaxiaobao.com/index.php/archives/49</link>
		<comments>http://www.xiaxiaobao.com/index.php/archives/49#comments</comments>
		<pubDate>Thu, 21 Dec 2006 05:32:09 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>LAMP</category>
		<guid>http://www.xiaxiaobao.com/index.php/archives/49</guid>
		<description><![CDATA[	因为WEB程序环境和SVN在同一机器(Linux)上，开始一直使用 TortoiseSVN+FTP ，终于受不了烦琐的操作，实现了自动构建。
记录如下：
1。建立要构建的目录，也就是web程序目录  mkdir /home/testsvn
初始化  svn checkout testsvn /home/testsvn
	2。在  repos/hooks/  目录下新建 post-commit 文件
添加脚本内容如下
	#!/bin/sh
SVN=/usr/bin/svn
TODIR=/home/testsvn  #要更新的目录
$SVN update &#8211;username xxx &#8211;password xxx $TODIR
	3。让post-commit有执行的权限  chmod 777 post-commit
	4。搞定，收工
]]></description>
			<content:encoded><![CDATA[	<p>因为WEB程序环境和SVN在同一机器(Linux)上，开始一直使用 TortoiseSVN+FTP ，终于受不了烦琐的操作，实现了自动构建。<br />
记录如下：<br />
1。建立要构建的目录，也就是web程序目录  mkdir /home/testsvn<br />
初始化  svn checkout testsvn /home/testsvn</p>
	<p>2。在  repos/hooks/  目录下新建 post-commit 文件<br />
添加脚本内容如下</p>
	<p>#!/bin/sh<br />
SVN=/usr/bin/svn<br />
TODIR=/home/testsvn  #要更新的目录<br />
$SVN update &#8211;username xxx &#8211;password xxx $TODIR</p>
	<p>3。让post-commit有执行的权限  chmod 777 post-commit</p>
	<p>4。搞定，收工</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.xiaxiaobao.com/index.php/archives/49/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>微软雅黑效果，显摆一下</title>
		<link>http://www.xiaxiaobao.com/index.php/archives/48</link>
		<comments>http://www.xiaxiaobao.com/index.php/archives/48#comments</comments>
		<pubDate>Sun, 29 Oct 2006 06:55:47 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>其他</category>
		<guid>http://www.xiaxiaobao.com/index.php/archives/48</guid>
		<description><![CDATA[	安装微软雅黑，打开ClearType
	效果图


]]></description>
			<content:encoded><![CDATA[	<p>安装微软雅黑，打开ClearType</p>
	<p>效果图<br />
<img src="http://www.xiaxiaobao.com/notebook-1.jpg" alt="" />
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.xiaxiaobao.com/index.php/archives/48/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>设置webdav</title>
		<link>http://www.xiaxiaobao.com/index.php/archives/46</link>
		<comments>http://www.xiaxiaobao.com/index.php/archives/46#comments</comments>
		<pubDate>Wed, 18 Oct 2006 02:50:13 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>LAMP</category>
		<guid>http://www.xiaxiaobao.com/index.php/archives/46</guid>
		<description><![CDATA[	环境:linux,apache 2.2
	配制 httpd.conf
	加载 mod_dav,mod_dav_fs
	< IfModule mod_dav_fs.c>
  DavLockDB &#8220;/usr/conf/DavLock/DavLock&#8221;
< /IfModule>
< Directory "/usr/htdocs/cake">
  Dav On
  AuthType Basic
  AuthName name
  AuthUserFile /usr/conf/authfile
  < LimitExcept GET OPTIONS>
    require valid-user
  < /LimitExcept>
< /Directory>
	设置目录权限
chown -R  apache.apache /usr/conf/DavLock/
chown -R apache.apache /usr/htdocs/cake
]]></description>
			<content:encoded><![CDATA[	<p>环境:linux,apache 2.2</p>
	<p>配制 httpd.conf</p>
	<p>加载 mod_dav,mod_dav_fs</p>
	<p>< IfModule mod_dav_fs.c><br />
  DavLockDB &#8220;/usr/conf/DavLock/DavLock&#8221;<br />
< /IfModule><br />
< Directory "/usr/htdocs/cake"><br />
  Dav On<br />
  AuthType Basic<br />
  AuthName name<br />
  AuthUserFile /usr/conf/authfile<br />
  < LimitExcept GET OPTIONS><br />
    require valid-user<br />
  < /LimitExcept><br />
< /Directory></p>
	<p>设置目录权限<br />
chown -R  apache.apache /usr/conf/DavLock/<br />
chown -R apache.apache /usr/htdocs/cake</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.xiaxiaobao.com/index.php/archives/46/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>[转]一些常用的正则表达式</title>
		<link>http://www.xiaxiaobao.com/index.php/archives/45</link>
		<comments>http://www.xiaxiaobao.com/index.php/archives/45#comments</comments>
		<pubDate>Fri, 29 Sep 2006 14:13:41 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>LAMP</category>
		<guid>http://www.xiaxiaobao.com/index.php/archives/45</guid>
		<description><![CDATA[	Email : /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/,
Phone : /^((\(\d{2,3}\))&#166;(\d{3}\-))?(\(0\d{2,3}\)&#166;0\d{2,3}-)?[1-9]\d{6,7}(\-\d{1,4})?$/,
Mobile : /^((\(\d{2,3}\))&#166;(\d{3}\-))?13\d{9}$/,
Url : /^http:\/\/[A-Za-z0-9]+\.[A-Za-z0-9]+[\/=\?%\-&#038;_~`@[\]\&#8217;:+!]*([^\&#8221;\&#8221;])*$/,
IdCard : /^\d{15}(\d{2}[A-Za-z0-9])?$/,
Currency : /^\d+(\.\d+)?$/,
Number : /^\d+$/,
Zip : /^[1-9]\d{5}$/,
QQ : /^[1-9]\d{4,8}$/,

]]></description>
			<content:encoded><![CDATA[	<p>Email : /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/,<br />
Phone : /^((\(\d{2,3}\))|(\d{3}\-))?(\(0\d{2,3}\)|0\d{2,3}-)?[1-9]\d{6,7}(\-\d{1,4})?$/,<br />
Mobile : /^((\(\d{2,3}\))|(\d{3}\-))?13\d{9}$/,<br />
Url : /^http:\/\/[A-Za-z0-9]+\.[A-Za-z0-9]+[\/=\?%\-&#038;_~`@[\]\&#8217;:+!]*([^\&#8221;\&#8221;])*$/,<br />
IdCard : /^\d{15}(\d{2}[A-Za-z0-9])?$/,<br />
Currency : /^\d+(\.\d+)?$/,<br />
Number : /^\d+$/,<br />
Zip : /^[1-9]\d{5}$/,<br />
QQ : /^[1-9]\d{4,8}$/,
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.xiaxiaobao.com/index.php/archives/45/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>php中时间运算</title>
		<link>http://www.xiaxiaobao.com/index.php/archives/44</link>
		<comments>http://www.xiaxiaobao.com/index.php/archives/44#comments</comments>
		<pubDate>Mon, 18 Sep 2006 13:51:26 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>LAMP</category>
		<guid>http://www.xiaxiaobao.com/index.php/archives/44</guid>
		<description><![CDATA[	$tomorrow = date( &#8220;Y-m-d&#8221;, mktime(0,0,0,4,1+1,2005));
	$tomorrow = date( &#8220;Y-m-d&#8221;, mktime(0,0,0,date(&#8221;m&#8221;) ,date(&#8221;d&#8221;)+1,date(&#8221;Y&#8221;))); //明天
	$yesterday = date( &#8220;Y-m-d&#8221;, mktime(0,0,0,date(&#8221;m&#8221;) ,date(&#8221;d&#8221;)-1,date(&#8221;Y&#8221;))); //昨天
	$lastmonth = date( &#8220;Y-m-d&#8221;, mktime(0,0,0,date(&#8221;m&#8221;)-1,date(&#8221;d&#8221;), date(&#8221;Y&#8221;))); //上一个月
	$nextyear = date( &#8220;Y-m-d&#8221;, mktime(0,0,0,date(&#8221;m&#8221;), date(&#8221;d&#8221;, date(&#8221;Y&#8221;)+1)); //下一年
	$today = date(&#8221;Ymd&#8221;,strtotime (&#8221;+1 day&#8221;)); 
	$date1=&#8221;2006-08-09&#8243;;
echo date(&#8217;Y-m-d&#8217;,strtotime(&#8221;$date1 +5 day&#8221;)); //相应地,要增加月,年,将day改成month或year即可

]]></description>
			<content:encoded><![CDATA[	<p>$tomorrow = date( &#8220;Y-m-d&#8221;, mktime(0,0,0,4,1+1,2005));</p>
	<p>$tomorrow = date( &#8220;Y-m-d&#8221;, mktime(0,0,0,date(&#8221;m&#8221;) ,date(&#8221;d&#8221;)+1,date(&#8221;Y&#8221;))); //明天</p>
	<p>$yesterday = date( &#8220;Y-m-d&#8221;, mktime(0,0,0,date(&#8221;m&#8221;) ,date(&#8221;d&#8221;)-1,date(&#8221;Y&#8221;))); //昨天</p>
	<p>$lastmonth = date( &#8220;Y-m-d&#8221;, mktime(0,0,0,date(&#8221;m&#8221;)-1,date(&#8221;d&#8221;), date(&#8221;Y&#8221;))); //上一个月</p>
	<p>$nextyear = date( &#8220;Y-m-d&#8221;, mktime(0,0,0,date(&#8221;m&#8221;), date(&#8221;d&#8221;, date(&#8221;Y&#8221;)+1)); //下一年</p>
	<p>$today = date(&#8221;Ymd&#8221;,strtotime (&#8221;+1 day&#8221;)); </p>
	<p>$date1=&#8221;2006-08-09&#8243;;<br />
echo date(&#8217;Y-m-d&#8217;,strtotime(&#8221;$date1 +5 day&#8221;)); //相应地,要增加月,年,将day改成month或year即可
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.xiaxiaobao.com/index.php/archives/44/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>curl使用代理</title>
		<link>http://www.xiaxiaobao.com/index.php/archives/43</link>
		<comments>http://www.xiaxiaobao.com/index.php/archives/43#comments</comments>
		<pubDate>Wed, 13 Sep 2006 02:05:55 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>LAMP</category>
		<guid>http://www.xiaxiaobao.com/index.php/archives/43</guid>
		<description><![CDATA[	curl -x test.proxy.org:80 http://www.chinaunix.com
这样就使用test.proxy.org:80代理，来访问http://www.chinaunix.com了。

]]></description>
			<content:encoded><![CDATA[	<p>curl -x test.proxy.org:80 http://www.chinaunix.com<br />
这样就使用test.proxy.org:80代理，来访问http://www.chinaunix.com了。
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.xiaxiaobao.com/index.php/archives/43/feed/</wfw:commentRSS>
	</item>
	</channel>
</rss>
