<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1757910784401817287</id><updated>2011-12-25T17:45:36.664-08:00</updated><category term='Python'/><category term='MySQL'/><category term='Oracle'/><category term='book'/><category term='English'/><category term='work'/><category term='shell/perl'/><category term='life'/><title type='text'>Jeremy's Blog</title><subtitle type='html'>work, study, life ..........</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>31</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-671977650503063147</id><published>2009-04-15T04:22:00.000-07:00</published><updated>2009-04-15T05:21:02.584-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shell/perl'/><title type='text'>perl 中变量定义my 和 local的区别</title><summary type='text'>my函数在perl官方文档中,是这样定义的:           * my EXPR           * my TYPE EXPR           * my EXPR : ATTRS           * my TYPE EXPR : ATTRS      A my declares the listed variables to be local (lexically) to the enclosing block, file, or eval. If more than one value is listed, the list must be placed in parentheses.        也就是说my用在封装块,文件,或者是eval中声明局部变量列表用.如果有多于一个变量值的列表, 必须他们放置在圆括号里面.例如在下面的perl中做了全局变量和局部变量的对比</summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/671977650503063147/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=671977650503063147' title='41 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/671977650503063147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/671977650503063147'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/04/perl-my-local.html' title='perl 中变量定义my 和 local的区别'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>41</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-3323748622957974592</id><published>2009-04-13T20:38:00.000-07:00</published><updated>2009-04-13T20:46:41.201-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>Linear Algebra and  Its  Applications</title><summary type='text'>在图书馆不小心翻到这本David C. Lay 写的&lt;&lt;线性代数及其应用&gt;&gt;(&lt;&lt; Linear Algebra and  Its  Applications&gt;&gt;),便租回家阅读. 其中的内容非常不错,现努力学习中.</summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/3323748622957974592/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=3323748622957974592' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/3323748622957974592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/3323748622957974592'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/04/linear-algebra-and-its-applications.html' title='Linear Algebra and  Its  Applications'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-2236353590952431955</id><published>2009-04-13T20:22:00.000-07:00</published><updated>2009-04-13T20:33:17.247-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shell/perl'/><title type='text'>Perl学习之: 模仿grep指令</title><summary type='text'>最近用perl写了一个模仿grep指令的小程序,其功能是可以在多级目录下或文件中查找指定的字符串,并打印出所在对应文件的行数.可以根据需求修改一些小地方,作为删除多级目录指定的文件用.由于自身的水平不够,写的不是很好,欢迎提出意见,共同学习进步！     使用方法,先任意命名,例如 search.plx,贴入下面的代码,授予执行权限.    $  search.plx  "字符串"   目录名/文件    可以指定多个目录或者是文件名。     代码如下,经过测试的:#!/usr/bin/perl################################Author: jeremy#Email: jiang313hua@gmail.com###############################use warnings;use strict;die "Usage: $0   \</summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/2236353590952431955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=2236353590952431955' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/2236353590952431955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/2236353590952431955'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/04/perl-grep.html' title='Perl学习之: 模仿grep指令'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-3400207416469731727</id><published>2009-04-03T01:22:00.000-07:00</published><updated>2009-04-03T01:31:17.261-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shell/perl'/><title type='text'>perl script中使用use help的遭遇</title><summary type='text'>为了在centos 5.2 上使用 xisofs，其中perl的版本为：   # perl -v   This is perl, v5.8.8 built for x86_64-linux-thread-multi利用cpan安装help这个模块时，  cpan&gt; install help 提示：   Package contains both files[COPYING about.pm help.pm eltorito.pm install.pl VERSION status.pm files.pm defaults.pm cdwrite.pm INSTALL wcenter.pm dirs.pm xisofs.pl Bubble.pm dlg.pm selector.pm README HISTORY] and directories[large_icons misc_icons </summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/3400207416469731727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=3400207416469731727' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/3400207416469731727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/3400207416469731727'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/04/perl-scriptuse-help.html' title='perl script中使用use help的遭遇'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-813608430911828447</id><published>2009-03-31T19:55:00.000-07:00</published><updated>2009-03-31T20:14:46.685-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='work'/><title type='text'>利用openssl加密tar文件</title><summary type='text'>我们在利用tar压缩打包文件，有时候需要进行加密，增强文件的安全性。   例如，需要对某一文件或者目录tar打包加密：     $ tar - zcf  -  文件名/或者是目录 |  openssl des3 -salt -out 压缩包名.tar.bz2      会提示输入加密密码，然后在检验一次密码。 这样就完成了。     如果直接对加密的压缩包解压，会提示相关错误信息，如对于名为 os200805.tar.bz2加密打包文件直接解压缩时：     bzip2: (stdin) is not a bzip2 file.     tar: Child returned status 2     tar: Error exit delayed from previous errors   解密：    $  openssl des3 -d  -salt -in os200805.</summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/813608430911828447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=813608430911828447' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/813608430911828447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/813608430911828447'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/openssltar.html' title='利用openssl加密tar文件'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-6282368500199317746</id><published>2009-03-31T02:06:00.000-07:00</published><updated>2009-03-31T02:57:53.713-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>scribd</title><summary type='text'>今天无意中发现 http://www.scribd.com 站点和 豆瓣很类似，不过可以在线阅读书本。呵呵，很不错</summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/6282368500199317746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=6282368500199317746' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/6282368500199317746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/6282368500199317746'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/scribd.html' title='scribd'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-1131990595779188140</id><published>2009-03-31T00:24:00.000-07:00</published><updated>2009-03-31T03:10:44.670-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='work'/><title type='text'>Varnish (一)</title><summary type='text'>varnish 官方站点： http://varnish.projects.linpro.no   最近两天，对varnish缓存研究了一下其性能，在官方网页上中介绍varnish的高级特性在linux 2.6, FreeBSD 6/7 and Solaris 10上有着非常高效的性能。一些基本的特性包括有：   . A modern design   . VCL - a very flexible configuration language   . Load balancing with health checking of backends   . Partial support for ESI   . URL rewriting   . Graceful handling of "dead" backends    . etc  1、安装：     # cd </summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/1131990595779188140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=1131990595779188140' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/1131990595779188140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/1131990595779188140'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/varnish.html' title='Varnish (一)'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-8736642708904628901</id><published>2009-03-26T02:31:00.000-07:00</published><updated>2009-03-26T02:41:53.438-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='work'/><title type='text'>nginx代理</title><summary type='text'>nginx代理还是很有意思的，最近用tomcat作为后端，在ngnix.conf修改这样就行了： location / {            root  /xxx/webapps;            index  index.jsp index.html index.htm;            proxy_pass http://xxx.xxx.com:8080;         }同时可以用proxy缓存相关的图片。</summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/8736642708904628901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=8736642708904628901' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/8736642708904628901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/8736642708904628901'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/nginx.html' title='nginx代理'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-744824193319168133</id><published>2009-03-10T02:32:00.000-07:00</published><updated>2009-03-10T02:56:18.561-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><title type='text'>MySQL 点滴1</title><summary type='text'>Client和Server之间的连接，MySQL支持几种网络协议。我们可以看看下表：一些协议为程序连接提供本地或者远程服务，其他的仅仅提供本地服务。 一些协议还特定的给出操作系的类型：1.TCP/IP connections are supported by any MySQL server unless the server is started with the --skip-networking option.2.Unix socket file connections are supported by all Unix servers.3.Named-pipe connections are supported only on Windows and only if you use one of the servers that has -nt in its name (</summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/744824193319168133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=744824193319168133' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/744824193319168133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/744824193319168133'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/mysql-1.html' title='MySQL 点滴1'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_ZATGxo_xhSM/SbY5FRO4oYI/AAAAAAAAABE/JMm-4IzknYI/s72-c/456.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-1887671374048433670</id><published>2009-03-07T21:22:00.000-08:00</published><updated>2009-03-07T21:27:49.584-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>感冒，真的很难受</title><summary type='text'>前天忘记带伞，不小心被雨淋了一下，昨天便感冒在床上躺了一天。 感冒真的很难受，不想吃东西，不想动，只能呆呆的躺着，脑袋晕晕的。 人生病真的很脆弱。</summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/1887671374048433670/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=1887671374048433670' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/1887671374048433670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/1887671374048433670'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/blog-post_07.html' title='感冒，真的很难受'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-3991518302266492284</id><published>2009-03-05T00:43:00.000-08:00</published><updated>2009-03-05T00:45:34.522-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>blog搬迁</title><summary type='text'>晕死，这次把这个blog定点了，在也不换了，这次迁移过程中丢了好些以前写的帖子。</summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/3991518302266492284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=3991518302266492284' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/3991518302266492284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/3991518302266492284'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/blog.html' title='blog搬迁'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-7856949951180020833</id><published>2009-03-04T00:58:00.000-08:00</published><updated>2009-04-15T05:21:55.335-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>戒邪淫</title><summary type='text'>此戒邪淫帖子---传四百人，子孙盛昌。传五百人，功名连绵今天，当我国为每年7％-8％的经济增长率而自豪的时候，一个十分严重的、不容忽视的、万分迫切的问题已摆在了我们的面前，那就是从94年到现在，在将近15年的时间里，我国的艾滋病感染率却一直是以两位数在增长，竟然高达40％以上，这是一个多么可怕的数字呀！现在有多少网络小说，有多少网络写手，在编织着一个个嫖娼，一夜情，与妓女同床等等故事，给人们的心中，种下了多少淫秽的种子，让人们做下多少损德害寿的事情？如果一但真正得了艾滋病，就代表，那再光辉的形像毁了，人生将被死神宣告终结，人们将无法再与你的父母，你的爱人共同创造那如诗如画的美丽人生了。一些写手们，为了几票的点击，挖空心思在渲染一些色情的场景，让读者沉迷于女色和艳想之中，倒至他们的学业，事业，带来了对爱情的不忠贞，带来了一次又一次的离婚，分手。以下一本佛教的典籍是这么说的，</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/7856949951180020833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/7856949951180020833'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/blog-post_04.html' title='戒邪淫'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-7808118969824897654</id><published>2009-03-03T22:51:00.000-08:00</published><updated>2009-03-03T22:52:53.929-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><title type='text'>mysql 笔记</title><summary type='text'></summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/7808118969824897654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=7808118969824897654' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/7808118969824897654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/7808118969824897654'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/mysql_03.html' title='mysql 笔记'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_ZATGxo_xhSM/Sa4lJFzH6rI/AAAAAAAAAAM/nD7MTMENz2Q/s72-c/mysql-cluster.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-257628415531847174</id><published>2009-03-03T22:36:00.000-08:00</published><updated>2009-03-03T22:37:05.593-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='work'/><title type='text'>failover的相关解释</title><summary type='text'>Failover is a backup operational mode in which the functions of a system component (such as a processor, server, network, or database, for example) are assumed by secondary system components when the primary component becomes unavailable through either failure or scheduled down time. Used to make systems more fault-tolerant, failover is typically an integral part of mission-critical systems that </summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/257628415531847174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=257628415531847174' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/257628415531847174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/257628415531847174'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/failover.html' title='failover的相关解释'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-1640707665113921693</id><published>2009-03-03T22:35:00.000-08:00</published><updated>2009-03-03T22:36:01.088-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><title type='text'>mysql 清除日志</title><summary type='text'>date: August 28, 2007 mysql&gt;SHOW MASTER LOGS;此命令显示目前二进制日志的数目。然后mysql&gt; PURGE MASTER LOGS TO ‘binary-log.xxx’;除了命令中给出的日志之后的外，其他的二进制日志全部删除。具体如下:PURGE MASTER LOGSPURGE { MASTER|BINARY } LOGS TO ‘log_name’PURGE { MASTER|BINARY } LOGS BEFORE ‘date’Deletes all the binary logs listed in the log index that are strictly prior to the specified log or date. The logs also are removed from this list recorded </summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/1640707665113921693/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=1640707665113921693' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/1640707665113921693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/1640707665113921693'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/mysql.html' title='mysql 清除日志'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-8294855240030431688</id><published>2009-03-03T22:32:00.000-08:00</published><updated>2009-03-03T22:34:41.321-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Oracle 9i 学习(1)</title><summary type='text'>date: May 8, 2007  author:  jeremy安装篇：Os: centos 4.6安装之前我们先阅读 http://www.puschitz.com/InstallingOracle9i.shtml1. a.可以在 http://debian.cn99.com/ 下载oracle9i:ship_9204_linux_disk1.cpio.gzship_9204_linux_disk2.cpio.gzship_9204_linux_disk3.cpio.gz还有一个补丁升级文件 —     p4547809_92080_LINUX.zip 。b.在 http://oss.oracle.com/projects/compat-oracle/files/RedHat/ 处下载compat-libcwait-2.1-1.i386.rpm 和 </summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/8294855240030431688/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=8294855240030431688' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/8294855240030431688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/8294855240030431688'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/oracle-9i-1.html' title='Oracle 9i 学习(1)'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-5152183316660416840</id><published>2009-03-03T22:30:00.000-08:00</published><updated>2009-03-03T22:31:53.600-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='English'/><title type='text'>The Time Message</title><summary type='text'>1.Time is tricky. It is difficult to control and easy to waste. When you look a head, you think you have more time than you need. For Example, at the beginning of a semester, you may feel that you have plenty of time on your hands, but toward the end of the term you may suddenly find that time is running out. You don”t have enough time to cover all your duties (duty), so you get worried. What is </summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/5152183316660416840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=5152183316660416840' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/5152183316660416840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/5152183316660416840'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/time-message.html' title='The Time Message'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-8809570785869716721</id><published>2009-03-03T22:29:00.001-08:00</published><updated>2009-03-03T22:29:57.149-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>电子书籍下载</title><summary type='text'>今天在找资料的时候无意中发现 — http://www.oebook.com 站点的电子书籍还是比较全的,速度也比较快.</summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/8809570785869716721/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=8809570785869716721' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/8809570785869716721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/8809570785869716721'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/blog-post_398.html' title='电子书籍下载'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-4962218195837079808</id><published>2009-03-03T22:27:00.000-08:00</published><updated>2009-03-03T22:28:13.955-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='work'/><title type='text'>使用svnsync遭遇 “Failed to get lock on……”</title><summary type='text'>今天利用svnsync备份SVN库时,出现这样的错误:Failed to get lock on destination repos, currently held by ‘dev:c4c6dad8-6ec0-2b4a-b39e-fa35743224a2′Failed to get lock on destination repos, currently held by ‘dev:c4c6dad8-6ec0-2b4a-b39e-fa35743224a2′Failed to get lock on destination repos, currently held by ‘dev:c4c6dad8-6ec0-2b4a-b39e-fa35743224a2′Failed to get lock on destination repos, currently held by ‘dev:</summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/4962218195837079808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=4962218195837079808' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/4962218195837079808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/4962218195837079808'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/svnsync-failed-to-get-lock-on.html' title='使用svnsync遭遇 “Failed to get lock on……”'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-917115799846963534</id><published>2009-03-03T22:26:00.000-08:00</published><updated>2009-03-03T22:27:12.317-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>《重病康复七要》</title><summary type='text'>此帖救人性命，转发功德无量——重病康复七要《重病康复七要》此“七要”已经笔者数次验证，证实确定有效，特别是白血病、肾病、肿瘤……之类的重大疾病更是适用。现将“七要”公之于众，希望读者们能广为转发此帖，从而使所有重病家庭都能看到它。救人性命，功德无量！！！前“六要”虽然是“老生常谈”，但确实十分重要，万万不可忽略。第“七要”为我的个人心悟，青羊宫的一位道长对此评价为：“发前人之所未发”。其实，古人早就悟通此理（见注一），只不过他们认为“有心行善不为善，无心行善方为真”。我觉得，古人的观点很有道理。因此，为获得最佳治疗效果，第“七要”最好由重病之人的家属，在患者本人不知情的情况下，暗中实施。①神气相守，疾病自走；神气离散，去死不远。精神内守，心情平和、恬淡而带着淡淡的喜悦，这种心境使人病减；精神外驰、费神劳心，心情窘丧、愁闷、哀怨、气愤……这类心境使人病增。凡是刺激感官、费神劳心、引神外驰的</summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/917115799846963534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=917115799846963534' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/917115799846963534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/917115799846963534'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/blog-post_03.html' title='《重病康复七要》'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-2280789197865043656</id><published>2009-03-03T22:25:00.001-08:00</published><updated>2009-03-03T22:25:48.154-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='work'/><title type='text'>Grub引导Ubuntu和RedHat</title><summary type='text'>Author: jeremyDate:  12/28/2008最近把家里本本硬盘的一块空闲空间装了Ubuntu,之前一直把RedHat en 4当作”家庭版”的linux来使用.呵,可想而知,比较笨重,安装一些桌面软件比较麻烦.系统library的版本较低,新的软件总是没法安装使用.所以决定使用ubuntu来完成日常工作.其实操作起来比较简单,先在RedHat预留一硬盘空闲 出来,作为ubuntu分区即可,根据提示setup下去. 不过奇怪的是,在安装结束后,ubuntu会重写grub来引导系统,但是无法侦测到RedHat? 以前在使用Win+linux组合中,如果在同块硬盘中先install windown,然后在Linux时,grub一般会自动添加相关信息引导windows.笔者于是重启系统,进入gurb,按照老规矩:grub &gt; root (hd0,4)         # 我的</summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/2280789197865043656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=2280789197865043656' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/2280789197865043656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/2280789197865043656'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/grububunturedhat.html' title='Grub引导Ubuntu和RedHat'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-1947784632490486308</id><published>2009-03-03T22:24:00.000-08:00</published><updated>2009-03-03T22:25:06.460-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='work'/><title type='text'>轻量级的开源反向代理服务器 - smartc</title><summary type='text'>转自：http://www.flvrss.cn/html/2008/02/21/lightweight-open-source-reverse-proxy-server-smartc.html相对于squid这种重量级选手,smartc是一个轻量级的反向代理.smartc将专注于HTTP协议,致力于成为高性能、轻量级的支持反向代理cache服务器.1)使用了很多新的系统特性,来解决用户态和内核态之间过多的内存拷贝问题,保证了内存的平稳性.2)最大限度的缩短数据到达网卡的距离,提升了cache响应.3)突破32bit系统对4G内存的限制,可以提升服务器的吞吐量和资源利用率.4)更多地去支持HTTP/1.1中新的特性,提升cache的性能.5)将使用面向结构的LUA语言来设计各类配置项,缩短用户的学习时间.Smartc的特性:1 支持异步io2 支持异步的sendfile系统调用3 </summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/1947784632490486308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=1947784632490486308' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/1947784632490486308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/1947784632490486308'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/smartc.html' title='轻量级的开源反向代理服务器 - smartc'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-8088520935122212157</id><published>2009-03-03T22:23:00.000-08:00</published><updated>2009-03-03T22:24:06.073-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Python'/><title type='text'>忘记“_”带来的麻烦</title><summary type='text'>在python 类定义初始化函数__init__ ， 少了一个_标识，python不停的提示 AttributeError: Time instance has no attribute ‘_hour’ ，真够郁闷的，检查起来真的很麻烦。</summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/8088520935122212157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=8088520935122212157' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/8088520935122212157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/8088520935122212157'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/blog-post.html' title='忘记“_”带来的麻烦'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-2280455460696012791</id><published>2009-03-03T22:22:00.001-08:00</published><updated>2009-03-03T22:22:52.253-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='work'/><title type='text'>svn强制要求提交注释–pre-commit钩子</title><summary type='text'>不少开发员提交修改的时候都不写注释，导致查看历史时很费劲，也不太符合规范。有的公司要求每次提交修改时都写上bug号或者任务描述，那么如何在工具上防止开发员们不写注释呢？利用svn的pre-commit钩子可简单实现此要求。进入仓库project1/hooks目录，找到pre-commit.tmpl文件，重命名，去掉后缀.tmpl。编辑pre-commit文件：将：$SVNLOOK log -t “$TXN” “$REPOS” | \grep “[a-zA-Z0-9]” &gt; /dev/null || exit 1commit-access-control.pl “$REPOS” “$TXN” commit-access-control.cfg || exit 1这三行注释掉（前面加#符号），在此位置添加如下几行：LOGMSG=`$SVNLOOK log -t “$TXN” “$REPOS”</summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/2280455460696012791/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=2280455460696012791' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/2280455460696012791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/2280455460696012791'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/svnpre-commit.html' title='svn强制要求提交注释–pre-commit钩子'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-4411053269399704559</id><published>2009-03-03T22:21:00.001-08:00</published><updated>2009-03-03T22:21:44.856-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><title type='text'>MySQL ERROR 1129 (00000): Host ‘XXXX’ is blocked because of many connection errors</title><summary type='text'>同事在测试java程序连接MySQL，在经过测试一轮后，再次登陆MySQL,提示ERROR 1129 (00000): Host ‘im3′ is blocked because of many connection errors; unb lock with ‘mysqladmin flush-hosts’。查了一下MySQL 官方手册：http://dev.mysql.com/doc/refman/5.0/en/blocked-host.html，“Host ‘host_name‘ is blocked because of many connection errors.Unblock with ‘mysqladmin flush-hosts’”里面写到连接请求的中断数目是由mysql系统变量max_connect_errors的值决定。max_connect_error 失败请求，</summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/4411053269399704559/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=4411053269399704559' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/4411053269399704559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/4411053269399704559'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/mysql-error-1129-00000-host-xxxx-is.html' title='MySQL ERROR 1129 (00000): Host ‘XXXX’ is blocked because of many connection errors'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-3074703115387167279</id><published>2009-03-03T22:20:00.001-08:00</published><updated>2009-03-03T22:20:56.534-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='work'/><title type='text'>SVN 的有关配置</title><summary type='text'>ＯＳ：RedHat Enterprise 4.0 U2Date:  Dec 5th, 20061. Berkeley DB(db-4.2.52)# cd db-4.2.52# patch -p0 &lt; patch.4.2.52.1# patch -p0 &lt; patch.4.2.52.2# patch -p0 &lt; patch.4.2.52.3# patch -p0 &lt; patch.4.2.52.4# patch -p0 &lt; patch.4.2.52.52. Apache (httpd-2.0.61)# ./configure –prefix=/opt/httpd-2.0.61  –enable-modules=all  –enable-mods-shared=most –enable-so  –with-berkeley-db=/opt/db –with-dbm=db42–</summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/3074703115387167279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=3074703115387167279' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/3074703115387167279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/3074703115387167279'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/svn.html' title='SVN 的有关配置'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-2130847383274343930</id><published>2009-03-03T22:08:00.000-08:00</published><updated>2009-03-03T22:10:26.610-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='work'/><title type='text'>遭遇”java.lang.OutOfMemoryError: Java heap space”</title><summary type='text'>今天客户的网站无缘无故没办法打开,Telnet 80端口是正常,于是赶紧上去检查.发现Tomcat日志的提示这样的错误: 严重: Caught exception (java.lang.OutOfMemoryError: Java heap space) executing org.apache.tomcat.util.net.LeaderFollowerWorkerThread@69e280, terminating threadException in thread “DefaultQuartzScheduler_QuartzSchedulerThread” java.lang.OutOfMemoryError: Java heap spaceDec 8, 2008 7:44:48 PM org.apache.coyote.http11.Http11Processor process</summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/2130847383274343930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=2130847383274343930' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/2130847383274343930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/2130847383274343930'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/javalangoutofmemoryerror-java-heap.html' title='遭遇”java.lang.OutOfMemoryError: Java heap space”'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-5395315990360132949</id><published>2009-03-03T22:07:00.001-08:00</published><updated>2009-03-03T22:07:59.079-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shell/perl'/><title type='text'>在windows下利用Perl备份MySQL遇到的问题</title><summary type='text'>最近需要备份windows上的MySQL 数据库,但是自己不大熟悉DOS指令for循环备份多个库,所以决定写一个perl备份脚本程序.在利用system调用 mysqldump的时候遇到这样的提示: “The system cannot find the path specified. “分析一下,估计是没有设置mysql的执行路径环境变量.于是在脚本里添加: system set Path=c:\\windows\\system32;C:\\Perl\\bin;D:\\MySQL5\\MySQL Server 5.0\\bin 测试一下,OK!</summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/5395315990360132949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=5395315990360132949' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/5395315990360132949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/5395315990360132949'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/windowsperlmysql.html' title='在windows下利用Perl备份MySQL遇到的问题'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-5135711878650910296</id><published>2009-03-03T21:51:00.000-08:00</published><updated>2009-03-03T22:37:55.041-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shell/perl'/><title type='text'>ngnix 启动脚本</title><summary type='text'>#!/bin/bash ##################### Author: qing# Data: Aug 2008#################### Phpcgi=”/opt/php/sbin/php-fpm”Tool=”/opt/ngnix/sbin/nginx -c”Confile=”/opt/ngnix/conf/nginx.conf”Pidfile=”/opt/ngnix/logs/nginx.pid”Pcgiconf=”/opt/php/etc/php-fpm.conf” start(){if [ -e “$Pidfile” -a ! -z “$Pidfile” ] ; then    echo “Nginx is running …………..”    exit 1fi   if [ -f “$Confile” ]  then    if [ -f “$</summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/5135711878650910296/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=5135711878650910296' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/5135711878650910296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/5135711878650910296'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2009/03/ngnix.html' title='ngnix 启动脚本'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-4221952424349962373</id><published>2008-07-21T06:40:00.000-07:00</published><updated>2008-07-21T06:42:47.809-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='work'/><title type='text'>Integration for Trac 、SVN 、Berkeley DB 、Sqlite</title><summary type='text'>Date:  Jan 11, 2008 Author: qing      Platform OS： Red Hat Enterprise Linux AS release 4 (Nahant Update 2)    Install or Upgrade Python (Option, but The version of Python is equivalent to more than 2.3 at least);   $  ./configure –prefix=/path/to/python   –enable-shared –with-pth  –enable-shared  –enable-profiling   $  make   #  make install    AAA:  Please create python.conf  in /etc/</summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/4221952424349962373/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=4221952424349962373' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/4221952424349962373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/4221952424349962373'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2008/07/integration-for-trac-svn-berkeley-db.html' title='Integration for Trac 、SVN 、Berkeley DB 、Sqlite'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1757910784401817287.post-445049802872656936</id><published>2008-07-21T06:27:00.000-07:00</published><updated>2008-07-21T06:30:08.460-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>关于戒烟</title><summary type='text'>由于心情不好，染上了抽烟的坏习惯，到现在一直困扰着我。今天，终于下定决心戒烟！</summary><link rel='replies' type='application/atom+xml' href='http://jeremyqing.blogspot.com/feeds/445049802872656936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1757910784401817287&amp;postID=445049802872656936' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/445049802872656936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1757910784401817287/posts/default/445049802872656936'/><link rel='alternate' type='text/html' href='http://jeremyqing.blogspot.com/2008/07/blog-post.html' title='关于戒烟'/><author><name>Jeremy</name><uri>http://www.blogger.com/profile/04639881156783422483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://3.bp.blogspot.com/_ZATGxo_xhSM/Sa4qoQWpsVI/AAAAAAAAAAc/sE2mulbfwEQ/S220/182b7c8b3e8a52c7fc1f101f.jpg'/></author><thr:total>0</thr:total></entry></feed>
