<?php xml version="1.0" encoding="UTF-8"?> 
<feed xmlns="http://www.w3.org/2005/Atom">
<title type="html"><![CDATA[火车头的Blog!]]></title>
<subtitle type="html"><![CDATA[火车快速稳健地前进]]></subtitle>
<id>http://blog.locoy.com</id> 
<link rel="alternate" type="text/html" href="http://blog.locoy.com" /> 
<link rel="self" type="application/atom+xml" href="http://blog.locoy.comatom.php" /> 
<generator uri="http://www.f2blog.com/" version="1.2 build 03.01">F2Blog</generator> 
<updated>2010-08-13 16:13:49</updated> 
<entry>
  <title type="html"><![CDATA[解决了 RichTextBox中 —— 变 -- 的问题]]></title>
  <author>
	 <name>火车头</name>
	 <uri>http://blog.locoy.comread-83.html</uri>
	 <email>admin@locoy.com</email>
  </author>
  <category term="" scheme="http://blog.locoy.comcategory-3.html" label="DOTNET" /> 
  <updated>2010-08-13 16:13:49</updated>
  <published>2010-08-13 16:13:49</published>
  <content type='text'><![CDATA[<p>RichTextBox中 &mdash;&mdash; 会解析为&quot;\emdash&quot;<br /> 默认的 ctrl+c ctrl+v复制粘贴后会编程英文的中划线。csdn发帖后未果，有人会出现，有人不出现。估计还是.net framework的问题<br /><br /><br /> 自己屏蔽掉系统的 ctrl+c ctrl+v 及重写 richtextbox的&nbsp; Text属性<br /><br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; protected override void OnKeyDown(KeyEventArgs e)<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (e.Control &amp;&amp; e.KeyCode == Keys.C) //默认的 复制 &ldquo;&mdash;&mdash;&rdquo; 时自动转成了--<br /> &nbsp;&nbsp;&nbsp;&nb</p>]]></content>
  <link rel="alternate" type="text/html" href="http://blog.locoy.comread-83.html" /> 
  <id>http://blog.locoy.comread-83.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[google group 墙掉了，u997上去了下找到篇tesseract ocr 好文，转过来收藏好]]></title>
  <author>
	 <name>火车头</name>
	 <uri>http://blog.locoy.comread-82.html</uri>
	 <email>admin@locoy.com</email>
  </author>
  <category term="" scheme="http://blog.locoy.comcategory-12.html" label="Ocr" /> 
  <updated>2010-07-28 15:52:06</updated>
  <published>2010-07-28 15:52:06</published>
  <content type='text'><![CDATA[<p>Since the above wiki doucmentation is unclear to anyone not versed in Visual C++ incantations (if you&#39;re just a managed environment .NET developer like me you&#39;re basically screwed) I&#39;ve fluffed it up a bit here. I took the following steps to compile tesseract with compressed/multipage TIFF support under a Windows 7 64 Bit system.</p><p>1. Download tesseract 2.04. Unpack it. In this example I&#39;ve unpacked to C:\projects\tesseract-2.04. Windows 7 still doesn&#39;t understand .tar.gz out of</p>]]></content>
  <link rel="alternate" type="text/html" href="http://blog.locoy.comread-82.html" /> 
  <id>http://blog.locoy.comread-82.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[Mysql查询优化]]></title>
  <author>
	 <name>火车头</name>
	 <uri>http://blog.locoy.comread-81.html</uri>
	 <email>admin@locoy.com</email>
  </author>
  <category term="" scheme="http://blog.locoy.comcategory-10.html" label="PHP" /> 
  <updated>2010-05-19 18:25:52</updated>
  <published>2010-05-19 18:25:52</published>
  <content type='text'><![CDATA[<p>三个语句，做了三次测试，差别还是比较明显。<br /><br /><br /> Select * From locoy1 Where ID&gt;=(<br /> Select Max(ID) From (<br /> &nbsp;Select ID From locoy1&nbsp; Order By ID limit 90001<br /> ) As tmp<br /> ) limit 29;</p><p><br /> 查询花费 0.0938 秒,0.0529 秒, 0.1050 秒</p><br /><p><br /> *****************************************************************************</p><p>Select * From locoy1&nbsp; Where ID&gt;=(<br /> Select Max(ID) From (<br /> &nbsp;Select ID From locoy1 Order By ID limit 90000,1<br /> ) As tmp<br /> ) limit 29;</p><p>查询花费 0.0304 秒, 0.0201 秒, 0.0882秒</p><p><br /> ************************************************************</p>]]></content>
  <link rel="alternate" type="text/html" href="http://blog.locoy.comread-81.html" /> 
  <id>http://blog.locoy.comread-81.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[宝宝13个月的照片]]></title>
  <author>
	 <name>火车头</name>
	 <uri>http://blog.locoy.comread-80.html</uri>
	 <email>admin@locoy.com</email>
  </author>
  <category term="" scheme="http://blog.locoy.comcategory-5.html" label="个人随笔" /> 
  <updated>2010-01-29 20:00:28</updated>
  <published>2010-01-29 20:00:28</published>
  <content type='text'><![CDATA[<p align="center"><br /><div id="Gallery3578">&nbsp;</div><script type="text/javascript">var Gallery3578 = new F2Gallery("Gallery3578","zh_cn");Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7141.JPG", "IMG_7141", 400, 266.666666667);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7136.JPG", "IMG_7136", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7118.JPG", "IMG_7118", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7102.JPG", "IMG_7102", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7094.JPG", "IMG_7094", 400, 266.666666667);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7091.JPG", "IMG_7091", 400, 266.666666667);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7082.JPG", "IMG_7082", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7080.JPG", "IMG_7080", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7063.JPG", "IMG_7063", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7142.JPG", "IMG_7142", 400, 266.666666667);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7145.JPG", "IMG_7145", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7147.JPG", "IMG_7147", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/yaosi2.JPG", "yaosi2", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/yaosi1.JPG", "yaosi1", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/baobei2.JPG", "baobei2", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/baobei1.JPG", "baobei1", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7166.JPG", "IMG_7166", 400, 266.666666667);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7161.JPG", "IMG_7161", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7157.JPG", "IMG_7157", 400, 266.666666667);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7150.JPG", "IMG_7150", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7149.JPG", "IMG_7149", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7062.JPG", "IMG_7062", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7061.JPG", "IMG_7061", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7060.JPG", "IMG_7060", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_6995.JPG", "IMG_6995", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_6994.JPG", "IMG_6994", 400, 266.666666667);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_6993.JPG", "IMG_6993", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_6987.JPG", "IMG_6987", 400, 266.666666667);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_6981.JPG", "IMG_6981", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_6980.JPG", "IMG_6980", 400, 266.666666667);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_6979.JPG", "IMG_6979", 400, 266.666666667);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/8cunshuijin.jpg", "8cunshuijin", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/654631.JPG", "654631", 400, 266.666666667);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_6998.JPG", "IMG_6998", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7000.JPG", "IMG_7000", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7042.JPG", "IMG_7042", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7039.JPG", "IMG_7039", 400, 266.666666667);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7038.JPG", "IMG_7038", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7036.JPG", "IMG_7036", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7034.JPG", "IMG_7034", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7029.JPG", "IMG_7029", 400, 266.666666667);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7020.JPG", "IMG_7020", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7018.JPG", "IMG_7018", 400, 266.666666667);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/IMG_7001.JPG", "IMG_7001", 400, 600);Gallery3578.appendImage("http://blog.locoy.comattachments/201001/20cunshuijin.JPG", "20cunshuijin", 400, 600);Gallery3578.show();</script></p> 快要过年回家了，把宝宝上个月拍的照片得多冲印一些带回老家去，顺带发上来给大家瞅瞅。<br /> 朋友说照的效果不错，关键是宝宝长得帅~~]]></content>
  <link rel="alternate" type="text/html" href="http://blog.locoy.comread-80.html" /> 
  <id>http://blog.locoy.comread-80.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[centos 5.x系统大内存识别方法]]></title>
  <author>
	 <name>火车头</name>
	 <uri>http://blog.locoy.comread-79.html</uri>
	 <email>admin@locoy.com</email>
  </author>
  <category term="" scheme="http://blog.locoy.comcategory-9.html" label="Linux" /> 
  <updated>2010-01-26 11:39:55</updated>
  <published>2010-01-26 11:39:55</published>
  <content type='text'><![CDATA[<p>新的服务器，内存给折腾了很久，8500E和10600R不能混用，换10600E后，共加上8G内存，但只识别3.2G,<br /> 网上查询后发现是要升级32位的内核补丁，方法如下：<br /><br /> # yum install kernel-PAE<br /> # vi /boot/grub/grub.conf</p><p>如果看到如下代码 代表PAE内核已经安装好了<br /> title CentOS (2.6.18-8.1.4.el5PAE)<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; root (hd0,0)<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; kernel /vmlinuz-2.6.18-8.1.4.el5PAE ro root=LABEL=/<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; initrd /initrd-2.6.18-8.1.4.el5PAE.img<br /> 修改设置为默认启动<br /> default=0</p><p># reboot<br /><br /><br /> 同时要进BIOS设置保存一下。free -m 显示8G.完成</p>]]></content>
  <link rel="alternate" type="text/html" href="http://blog.locoy.comread-79.html" /> 
  <id>http://blog.locoy.comread-79.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[vs2005打开vs2008开放的.net2.0项目常见问题]]></title>
  <author>
	 <name>火车头</name>
	 <uri>http://blog.locoy.comread-78.html</uri>
	 <email>admin@locoy.com</email>
  </author>
  <category term="" scheme="http://blog.locoy.comcategory-3.html" label="DOTNET" /> 
  <updated>2010-01-22 10:49:36</updated>
  <published>2010-01-22 10:49:36</published>
  <content type='text'><![CDATA[<p>1.<br /> &nbsp; 编辑.sln文件 替换vs2008为vs2005,Version 10.00 为 Version 9.00<br /><br /> 2.常见请确认 &lt;Import&gt; 声明中的路径正确，且磁盘上存在该文件。 提示&ldquo;未找到导入的项目&ldquo;$:\Boo.Microsoft.Build.targets&rdquo;。请确认&nbsp;&nbsp; &lt;Import&gt;&nbsp;&nbsp; 声明中的路径正确，且磁盘上存在该文件。</p><p>解决办法：将项目文件(.csproj)用记事本打开，然后找到&lt;Import &gt;节点，作如下操作：<br /> &lt;Import Project=&quot;$(MSBuildToolsPath)\Microsoft.CSharp.targets&quot; /&gt;&nbsp;<br /> 替换为：<br /> &lt;Import Project=&quot;$(MSBuildBinPath)\Microsoft.CSharp.targets&quot; /&gt;</p><p>这样问题就解决！</p>]]></content>
  <link rel="alternate" type="text/html" href="http://blog.locoy.comread-78.html" /> 
  <id>http://blog.locoy.comread-78.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[Linux 下 apache 实现可接受中文文件名的请求]]></title>
  <author>
	 <name>火车头</name>
	 <uri>http://blog.locoy.comread-77.html</uri>
	 <email>admin@locoy.com</email>
  </author>
  <category term="" scheme="http://blog.locoy.comcategory-9.html" label="Linux" /> 
  <updated>2010-01-09 20:10:04</updated>
  <published>2010-01-09 20:10:04</published>
  <content type='text'><![CDATA[<p>1.下载mod_encoding并打补丁包:<br /> # wget -c&nbsp;<a href="http://webdav.todo.gr.jp/download/mod_encoding-20021209.tar.gz">http://webdav.todo.gr.jp/download/mod_encoding-20021209.tar.gz</a><br /> # wget -c <a href="http://webdav.todo.gr.jp/download/experimental/mod_encoding.c.apache2.20040616">http://webdav.todo.gr.jp/download/experimental/mod_encoding.c.apache2.20040616</a><br /> 解压<u><font color="#0000ff">mod_encoding-20021209.tar.gz</font></u><br /> 将新版本mod_encoding.c 覆盖到<u><font color="#0000ff">mod_encoding-20021209</font></u><br /> # cp mod_encoding.c.apache2.20040616 mod_encoding-20021209/mod_encoding.c</p><p>这里必须要打一个apache 2.2的补丁。否则make也会出apxs rc=65536 之类的错误。<br /> # wget <a href="http://www.aconus.com/~oyaji/faq/mod_encoding.c-apache2.2-20060520.patch">http://www.aconus.com/~oyaji/faq/mod_encoding.c-apache2.2-20060520.patch</a><br /> # cd mod_encoding-20021209<br /> # p</p>]]></content>
  <link rel="alternate" type="text/html" href="http://blog.locoy.comread-77.html" /> 
  <id>http://blog.locoy.comread-77.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[新服务器 Awstats日志统计系统的安装（最后更新 2010-01-08）]]></title>
  <author>
	 <name>火车头</name>
	 <uri>http://blog.locoy.comread-76.html</uri>
	 <email>admin@locoy.com</email>
  </author>
  <category term="" scheme="http://blog.locoy.comcategory-9.html" label="Linux" /> 
  <updated>2009-12-27 02:29:47</updated>
  <published>2009-12-27 02:29:47</published>
  <content type='text'><![CDATA[<p>下载：<br /><a href="http://prdownloads.sourceforge.net/awstats/awstats-6.95.tar.gz"><font color="#0079b7">http://prdownloads.sourceforge.net/awstats/awstats-6.95.tar.gz</font></a></p><p>安装：<br /> tar zxf awstats-6.95.tgz<br /> awstats的脚本和静态文件缺省都在wwwroot目录下： 将cgi-bin目录下的文件都部署awstats.pl程序到/www/IPAccess/awstats/ 下<br /> mv awstats-6.95/wwwroot/cgi-bin /www/IPAccess/awstats/<br /> 更多的批量更新脚本等在tools 目录下，也一并放到 /www/IPAccess/awstats/ 目录下.</p><p>修改 httpd.conf 添加以下内容</p><p>#################################################################################<br /> ################################&nbsp;&nbsp; awststs&nbsp;&nbsp; ###############</p><p>Alias /awstatsclasses &quot;/</p>]]></content>
  <link rel="alternate" type="text/html" href="http://blog.locoy.comread-76.html" /> 
  <id>http://blog.locoy.comread-76.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[成本最小化才有失败的资本]]></title>
  <author>
	 <name>火车头</name>
	 <uri>http://blog.locoy.comread-75.html</uri>
	 <email>admin@locoy.com</email>
  </author>
  <category term="" scheme="http://blog.locoy.comcategory-5.html" label="个人随笔" /> 
  <updated>2009-12-14 17:41:14</updated>
  <published>2009-12-14 17:41:14</published>
  <content type='text'><![CDATA[<p>当我们认清楚这一点，就应该更清醒地知道，创业本质上其实就是一种赌博，而要博得收益最大化，就不能只依靠良好的愿望，完美的计划，以及虚无飘渺的运气。大部分时候，计划是靠不住的，愿望总是被现实摧残，而好运气来得比你想象得要晚。</p><p>那么，对于一个创业者来说，最佳的策略又是什么？就是用最低的成本不断试错，尝试一切像机会的机会，熬到好运降临。然后，抓住它，死磕它，放大它。正确的策略应该是尽可能多地做尝试和尽可能多地把握正面的机会。<br /> by 马云<br /><br /> 成本最小化才有失败的资本 来自一群。很有哲理</p>]]></content>
  <link rel="alternate" type="text/html" href="http://blog.locoy.comread-75.html" /> 
  <id>http://blog.locoy.comread-75.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[服务器问题记录]]></title>
  <author>
	 <name>火车头</name>
	 <uri>http://blog.locoy.comread-74.html</uri>
	 <email>admin@locoy.com</email>
  </author>
  <category term="" scheme="http://blog.locoy.comcategory-9.html" label="Linux" /> 
  <updated>2009-11-18 14:45:57</updated>
  <published>2009-11-18 14:45:57</published>
  <content type='text'><![CDATA[1、SSH掉线的问题。<br /><br /> 修改<br /> /etc/ssh/sshd_config，增加下面两行（本方法经测试应该是可行的）<br /> KeepAlive yes<br /> ClientAliveInterval 60<br /><br /><br /><br /> 2、windows和linux服务器之间大数据量转移<br /> 我选择了7z压缩<br /><br /> linux下的7z包<br /> wget -c <a href="http://cdnetworks-kr-2.dl.sourceforge.net/project/p7zip/p7zip/9.04/p7zip_9.04_x86_linux_bin.tar.bz2">http://cdnetworks-kr-2.dl.sourceforge.net/project/p7zip/p7zip/9.04/p7zip_9.04_x86_linux_bin.tar.bz2</a><br /> ./install.sh<br /><br /> 使用 7za命令]]></content>
  <link rel="alternate" type="text/html" href="http://blog.locoy.comread-74.html" /> 
  <id>http://blog.locoy.comread-74.html</id> 
</entry>	
</feed>