<?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-5927811337218052046</id><updated>2012-01-08T00:16:46.927-08:00</updated><title type='text'>Error 404 - My Tech Blog / 错误 404</title><subtitle type='html'>Please retry after you punch your head three times... / 请猛击你脑袋三次之后重试...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>97</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-4682713199031787827</id><published>2012-01-08T00:10:00.000-08:00</published><updated>2012-01-08T00:10:19.854-08:00</updated><title type='text'>Samsung TV UN55C6400 Yamaha Remote Control Code</title><content type='html'>After several tries, the code turned out to be 0334&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-4682713199031787827?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/4682713199031787827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=4682713199031787827' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4682713199031787827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4682713199031787827'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2012/01/samsung-tv-un55c6400-yamaha-remote.html' title='Samsung TV UN55C6400 Yamaha Remote Control Code'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-5435107447669220985</id><published>2011-02-27T17:33:00.000-08:00</published><updated>2011-02-27T17:35:01.934-08:00</updated><title type='text'>speakers</title><content type='html'>&lt;a href="http://tsjsyxgs.blog.sohu.com/66590506.html"&gt;http://tsjsyxgs.blog.sohu.com/66590506.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-5435107447669220985?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/5435107447669220985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=5435107447669220985' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/5435107447669220985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/5435107447669220985'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2011/02/speakers.html' title='speakers'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-2065449574458034418</id><published>2011-02-17T21:56:00.001-08:00</published><updated>2011-02-17T21:56:29.724-08:00</updated><title type='text'>Color of stereo wires</title><content type='html'>&lt;a href="http://answers.yahoo.com/question/index?qid=20080322111924AAVVn7P"&gt;http://answers.yahoo.com/question/index?qid=20080322111924AAVVn7P&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-2065449574458034418?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/2065449574458034418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=2065449574458034418' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2065449574458034418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2065449574458034418'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2011/02/color-of-stereo-wires.html' title='Color of stereo wires'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-7077130848844446133</id><published>2011-02-03T12:53:00.000-08:00</published><updated>2011-02-03T12:54:18.173-08:00</updated><title type='text'>Get area from WKT by using sql</title><content type='html'>select area(transform(asset_footprint,999000)) from release_asset where id=124519;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-7077130848844446133?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/7077130848844446133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=7077130848844446133' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/7077130848844446133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/7077130848844446133'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2011/02/get-area-from-wkt-by-using-sql.html' title='Get area from WKT by using sql'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-4183369447543623127</id><published>2010-11-30T10:14:00.000-08:00</published><updated>2010-11-30T10:37:08.485-08:00</updated><title type='text'>Customize PS1 in gnome-terminal</title><content type='html'>&lt;a href="http://articles.techrepublic.com.com/5100-10878_11-1053475.html"&gt;http://articles.techrepublic.com.com/5100-10878_11-1053475.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.ibm.com/developerworks/linux/library/l-tip-prompt/"&gt;http://www.ibm.com/developerworks/linux/library/l-tip-prompt/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-4183369447543623127?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/4183369447543623127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=4183369447543623127' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4183369447543623127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4183369447543623127'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2010/11/customize-ps1-in-gnome-terminal.html' title='Customize PS1 in gnome-terminal'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-9074221848763331909</id><published>2010-06-22T08:56:00.000-07:00</published><updated>2010-06-22T08:57:41.074-07:00</updated><title type='text'>Kill all process of a binary</title><content type='html'>for i in `pidof render_eos.par`; do echo $i; done&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-9074221848763331909?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/9074221848763331909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=9074221848763331909' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/9074221848763331909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/9074221848763331909'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2010/06/kill-all-process-of-binary.html' title='Kill all process of a binary'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-6303257276979414585</id><published>2010-01-11T18:54:00.000-08:00</published><updated>2010-01-11T18:55:26.146-08:00</updated><title type='text'>Chinese Input Method for Mac</title><content type='html'>http://fit.coollittlethings.com/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-6303257276979414585?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/6303257276979414585/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=6303257276979414585' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/6303257276979414585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/6303257276979414585'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2010/01/chinese-input-method-for-mac.html' title='Chinese Input Method for Mac'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-4512774331023781196</id><published>2009-12-15T22:58:00.000-08:00</published><updated>2009-12-15T22:59:20.577-08:00</updated><title type='text'>How to prevent .DS_Store files be created</title><content type='html'>&lt;a href="http://support.apple.com/kb/HT1629"&gt;http://support.apple.com/kb/HT1629&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-4512774331023781196?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/4512774331023781196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=4512774331023781196' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4512774331023781196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4512774331023781196'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2009/12/how-to-prevent-dsstore-files-be-created.html' title='How to prevent .DS_Store files be created'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-7926119091036336338</id><published>2008-09-04T23:44:00.000-07:00</published><updated>2008-09-04T23:45:04.534-07:00</updated><title type='text'>IE png issue</title><content type='html'>http://labs.unitinteractive.com/unitpngfix.php&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-7926119091036336338?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/7926119091036336338/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=7926119091036336338' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/7926119091036336338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/7926119091036336338'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2008/09/ie-png-issue.html' title='IE png issue'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-1523013422171046902</id><published>2008-09-04T15:01:00.000-07:00</published><updated>2008-09-04T15:02:31.364-07:00</updated><title type='text'>shell for loop</title><content type='html'>for ((i = 0; i &lt; 6; i++))&lt;br /&gt;do&lt;br /&gt;echo $i&lt;br /&gt;done&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-1523013422171046902?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/1523013422171046902/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=1523013422171046902' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/1523013422171046902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/1523013422171046902'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2008/09/shell-for-loop.html' title='shell for loop'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-8592459628931452300</id><published>2008-09-03T23:17:00.001-07:00</published><updated>2008-11-06T19:57:35.703-08:00</updated><title type='text'>Bookmark Button 网络书签按钮</title><content type='html'>&lt;!-- My Button BEGIN --&gt;&lt;br /&gt;&lt;a href="javascript:;" onmouseover="showWidget()" onmouseout="document.onclick=hideWidget;" onclick="return false;"&gt;&lt;br /&gt;  &lt;img id="id_bk_button" src="http://www.webshuqian.com/media/bkbtn/images/bkbtn.gif" border="0" /&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;var user="liangzou";&lt;/script&gt;&lt;br /&gt;&lt;script type="text/javascript" src="http://www.webshuqian.com/media/bkbtn/js/widget.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;!-- My Button END --&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.webshuqian.com" target="_blank"&gt;&lt;br /&gt;&lt;img src="http://www.webshuqian.com/media/bkbtn/images/logo_88_31.png" alt="网络书签按钮" border=0 /&gt;&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-8592459628931452300?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/8592459628931452300/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=8592459628931452300' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/8592459628931452300'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/8592459628931452300'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2008/09/bookmark-button.html' title='Bookmark Button 网络书签按钮'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-8296287419479287104</id><published>2008-07-22T23:17:00.001-07:00</published><updated>2008-08-24T14:31:10.045-07:00</updated><title type='text'>django internalization trans gettext doesn't work</title><content type='html'>I had the problem and figure out the problem.&lt;br /&gt;&lt;br /&gt;1. The locale folder should be in the application folder.&lt;br /&gt;2. Take a look at the language folder name in django/conf/locale, it should have the same folder name in your locale folder. For example: if you want to translate Chinese, you use zh_CN as the folder name in your locale folder. zh-cn, zh-CN, zh_cn won't work.&lt;br /&gt;3. If you make any changes to the message file (*.po file) or you change the folder names, you must restart the development server to make it take affect.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-8296287419479287104?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/8296287419479287104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=8296287419479287104' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/8296287419479287104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/8296287419479287104'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2008/07/django-internalization-trans-gettext.html' title='django internalization trans gettext doesn&apos;t work'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-2685847864078972593</id><published>2008-07-15T13:39:00.001-07:00</published><updated>2008-07-15T13:39:30.646-07:00</updated><title type='text'>Loop a bash array</title><content type='html'>ids=(1 2 3)&lt;br /&gt;for i in ${ids[@]} do echo $i; done;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-2685847864078972593?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/2685847864078972593/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=2685847864078972593' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2685847864078972593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2685847864078972593'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2008/07/loop-bash-array.html' title='Loop a bash array'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-3796942489792268450</id><published>2008-02-27T18:55:00.001-08:00</published><updated>2008-02-27T19:05:30.980-08:00</updated><title type='text'>create database world_borders</title><content type='html'>shp2pgsql world_borders.shp world_borders.sql&lt;br /&gt;createdb world_borders&lt;br /&gt;createlang plpgsql world_borders&lt;br /&gt;psql -d world_borders -f /usr/local/pgsql/share/lwpostgis.sql&lt;br /&gt;psql -d world_borders -f /usr/local/pgsql/share/spatial_ref_sys.sql&lt;br /&gt;psql -d world_borders -f path-to/world_borders.sql&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-3796942489792268450?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/3796942489792268450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=3796942489792268450' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3796942489792268450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3796942489792268450'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2008/02/create-database-worldborders.html' title='create database world_borders'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-5151686460210170056</id><published>2008-02-27T18:40:00.001-08:00</published><updated>2008-02-27T18:40:52.666-08:00</updated><title type='text'>Setting-up postgresql with postgis on a grhat box</title><content type='html'>&lt;p&gt;Time and again, I have to setup PostgreSQL database with PostGIS extension, and it's aways been a painful experience. So I have decided to write down detailed instructions for future reference.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; text-decoration: underline;"&gt;Install PostgreSQL with PostGIS with PROJ4 projection library, GEOS geometry engine and python interface on a grhat box&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As this requires custom compilation of PostgreSQL, I decided to install everything from source rather than available rpms from our apt repository.&lt;br /&gt;&lt;br /&gt;Downloaded:&lt;br /&gt;&lt;br /&gt;postgresql-8.1.4.tar.gz ( http://www.PostgreSQL.org )&lt;br /&gt;postgis-1.1.3.tar.gz ( http://postgis.refractions.net )&lt;br /&gt;geos-2.2.3.tar.bz2 ( http://geos.refractions.net )&lt;br /&gt;proj-4.4.9.zip ( http://www.remotesensing.org/proj )&lt;br /&gt;&lt;br /&gt;1. PostgreSQL install&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;tar xvfz postgresql-8.1.4.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;cd postgresql-8.1.4&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;PostGIS manual warned that for GEOS support I might need to explicitly link PostgreSQL against the standard c++ library and use the following configure syntax&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;LDFLAGS=-lstdc++ ./configure&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;gmake&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;sudo gmake install&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;2. Once PostgreSQL is successfully installed, need to add the postgres user and postgres group&lt;br /&gt;&lt;br /&gt;Need to specify a home directory for the postgres user. I prefer using the the data directory as home directory.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Add to /etc/passwd&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;postgres:x:26:26::/usr/local/pgsql/data:/bin/bash &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Add to /etc/group&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;postgres:x:26:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3. Create postgres data directory and initialize database&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;sudo mkdir /usr/local/pgsql/data&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;sudo chown postgres:postgres /usr/local/pgsql/data&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;sudo chmod 700 /usr/local/pgsql/data&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now initialize the database&lt;br /&gt;&lt;br /&gt;First login as a postgres user&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;sudo su - postgres&lt;/span&gt;&lt;br /&gt;( supply your LDAP password )&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;4. Configure PostgreSQL&lt;br /&gt;&lt;br /&gt;Install postgres service&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;sudo cp contrib/start-scripts/linux /etc/rc.d/init.d/postgres&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;sudo chmod 755 /etc/rc.d/init.d/postgres&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;sudo chkconfig --add postgres&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;you can start the PostgreSQL server by typing&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;sudo /etc/init.d/postgres start&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;PostgreSQL server should also start automatically on reboot from now on.&lt;br /&gt;&lt;br /&gt;It will be useful to add the path &lt;span style="font-style: italic;"&gt;/usr/local/pgsql/bin &lt;/span&gt;to your PATH variable. I put this in .bashrc file in my postgres home directory ( /usr/local/pgsql/data )&lt;br /&gt;PATH=$PATH:/usr/local/pgsql/bin&lt;br /&gt;&lt;br /&gt;Now install GEOS and PROJ libraries and install PostGIS&lt;br /&gt;&lt;br /&gt;5. PROJ installation&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;unzip proj-4.4.9.zip&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;cd proj-4.4.9&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;./configure&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;gmake&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;sudo gmake install&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;6. GEOS installation&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;bunzip geos-2.2.3.tar.bz2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;tar xvf geos-2.2.3.tar&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;cd geos-2.2.3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;./configure&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;gmake&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;sudo gmake install&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I had problems with PostGIS not able to locate the GEOS library correctly. So I had to manually edit ld.so.conf file put the path in there&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;sudo vi /etc/ld.so.conf &lt;/span&gt;and &lt;span style="font-style: italic;"&gt;add /usr/local/lib&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;sudo ldconfig&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;7. Install PostGIS&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;tar xvfz postgis-1.1.3.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;cd postgis-1.1.3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;./configure&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;PostGIS configure should produce a nice summary, make sure that GEOS and PROJ paths are listed there.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;gmake&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;sudo gmake install&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;8. Python interface&lt;br /&gt;I use python to access PostgreSQL database. I found that it's easiest to install the rpm from the apt repository.&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;sudo apt-get install postgresql-python&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;9. This is all that is required for installation. Following steps are for transferring my existing databases, enabling PostGIS support for these databases and loading PostGIS function and object definitions.&lt;br /&gt;&lt;br /&gt;Supposing a database called "dgvbr" exists on another server. To copy this database to this new server&lt;br /&gt;&lt;br /&gt;On the existing server:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;sudo su - postgres&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;pg_dump dgvbr &gt; /tmp/dgvbr.out&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;transfer this database to another server using scp&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;scp /tmp/dgvbr.out &lt;/span&gt;&lt;span style="font-style: italic;"&gt;username&lt;/span&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;@&lt;/span&gt;&lt;span style="font-style: italic;"&gt;server&lt;/span&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;:/tmp/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;On the new server:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;sudo su - postgres&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;createdb dgvbr&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Load PL/pgSQL language extension&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;createlang plpgsql dgvbr&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Load PostGIS object and function definitions in the database&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;psql -d dgvbr -f lwpostgis.sql&lt;/span&gt; (this file lwpostgis.sql can be found in the source directory i.e. postgis-1.1.3 )&lt;br /&gt;&lt;br /&gt;Restore the database&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;psql -d dgvbr -f dgvbr.out&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and voila! all set to for some serious PostgreSQL fun.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-5151686460210170056?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/5151686460210170056/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=5151686460210170056' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/5151686460210170056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/5151686460210170056'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2008/02/setting-up-postgresql-with-postgis-on.html' title='Setting-up postgresql with postgis on a grhat box'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-4210352615181619474</id><published>2008-02-08T18:07:00.000-08:00</published><updated>2008-02-08T23:35:29.879-08:00</updated><title type='text'>研究了MPEG的bitrate问题 (如何使用Adobe Premiere Pro 导出质量高，文件小的视频）</title><content type='html'>使用Adobe Premiere Pro 导出我的SONY Video Camera:&lt;br /&gt;Export to AVI:&lt;br /&gt;1. File -&gt; Export -&gt; Movie&lt;br /&gt;2. Click settings:&lt;br /&gt;====&lt;br /&gt;The General Section:&lt;br /&gt;*File Type: Microsoft AVI&lt;br /&gt;====&lt;br /&gt;The Video Section:&lt;br /&gt;* Compressor: ffdshow Video Codec&lt;br /&gt;-- Click Configure and Choose Encoder: XviD. Bitrate: 2200, Mode: one pass - constant bitrate (Don't try to use two pass, will create a very large output)&lt;br /&gt;-- Click output on the left hand side, Pixel aspect ratio: 1:1; Display aspect ratio: 16:9&lt;br /&gt;* Change Frame Size: 852 x 480; Pixel Aspect Ratio: Square Pixels (1.0)&lt;br /&gt;* Uncheck Recompress&lt;br /&gt;====&lt;br /&gt;The Keyframe and Rendering Section:&lt;br /&gt;* Check Deinterlace Video Footage&lt;br /&gt;====The Audio Section:&lt;br /&gt;*Compressor: Microsoft ADPCM&lt;br /&gt;*Sample Rate: 22050Hz&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Export to MPG (not recommended because the output will be large)&lt;br /&gt;1. File -&gt; Export -&gt; Adobe Media Encoder&lt;br /&gt;Check Deinterlace.&lt;br /&gt;Format: MPEG2&lt;br /&gt;PreSet: NTSC-MPEG 2 Generic&lt;br /&gt;Choose pixel ratio: 16:9&lt;br /&gt;Field Order: Progressive&lt;br /&gt;Use default min max and avg bitrates if to burn a DVD&lt;br /&gt;or&lt;br /&gt;min: 1.44; max 2.40; avg: 2.376 if you want smaller size if create for PC&lt;br /&gt;&lt;br /&gt;Notice the Estimated File Size at the bottom (250 KB/s ~ 300 KB/s are normal values; Don't make it more than 300). Export to a .mpg file.&lt;br /&gt;Note: 1KB/s = 8Kbit/s&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-4210352615181619474?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/4210352615181619474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=4210352615181619474' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4210352615181619474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4210352615181619474'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2008/02/mpegbitrate.html' title='研究了MPEG的bitrate问题 (如何使用Adobe Premiere Pro 导出质量高，文件小的视频）'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-1642769281103703665</id><published>2008-01-13T15:27:00.000-08:00</published><updated>2008-01-13T15:28:08.417-08:00</updated><title type='text'>How to create rounded corner for Firefox</title><content type='html'>-moz-border-radius: 10px;&lt;br /&gt;Can be a property of DIV css&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-1642769281103703665?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/1642769281103703665/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=1642769281103703665' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/1642769281103703665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/1642769281103703665'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2008/01/how-to-create-rounded-corner-for.html' title='How to create rounded corner for Firefox'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-3439571631077698875</id><published>2008-01-11T18:19:00.000-08:00</published><updated>2008-02-08T20:39:54.248-08:00</updated><title type='text'>How to convert mpg to flv</title><content type='html'>ffmpeg -i M2U00240.MPG -ar 22050 -s 428x240 -b 300000  M2U00240.flv&lt;br /&gt;&lt;br /&gt;ar means the audio rate&lt;br /&gt;b means the quality&lt;br /&gt;s means size. You should determine the size with regarding to the aspect ratio (e.g. 4:3, 16:9)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-3439571631077698875?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/3439571631077698875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=3439571631077698875' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3439571631077698875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3439571631077698875'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2008/01/how-to-convert-mpg-to-flv.html' title='How to convert mpg to flv'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-7387368351262486343</id><published>2007-12-12T17:33:00.000-08:00</published><updated>2007-12-12T17:54:52.325-08:00</updated><title type='text'>CSS IE hacks</title><content type='html'>* html #content {} is accepted by IE, but other browsers ignore them.&lt;br /&gt;html&gt;body #content is accepted by other browsers, but gets ignored by IE.&lt;br /&gt;IE has a bug called Box Model problem. &lt;a href="http://http://css-discuss.incutio.com/?page=BoxModelHack"&gt;http://css-discuss.incutio.com/?page=BoxModelHack&lt;/a&gt;&lt;br /&gt;* html div&lt;br /&gt;{&lt;br /&gt;  width: 140px; /* all accept this */&lt;br /&gt;  w\idth: 100px; /* Only IE 6 accepts */&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-7387368351262486343?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/7387368351262486343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=7387368351262486343' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/7387368351262486343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/7387368351262486343'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/12/css-ie-hacks.html' title='CSS IE hacks'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-5117187840628894532</id><published>2007-12-03T17:44:00.000-08:00</published><updated>2007-12-03T17:45:28.508-08:00</updated><title type='text'>There is another selector called Descendant Selectors</title><content type='html'>Descendant Selectors&lt;br /&gt;&lt;br /&gt;We can specify the style of an element only when it is inside another element. To accomplish this, we use the concept of descendant selectors.&lt;br /&gt;&lt;br /&gt;The syntax for declaring a descendant selector is:&lt;br /&gt;&lt;br /&gt;[Parent Selector] [Child Selector] {&lt;br /&gt; property:value;&lt;br /&gt; ...&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;The style defined above will apply to child selectors only when they are inside the parent selector. Such declarations can go on for more than two levels.&lt;br /&gt;&lt;br /&gt;For example, in the declaration below,&lt;br /&gt;&lt;br /&gt;li b {&lt;br /&gt; color:yellow;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;means that text in the &lt;b&gt; element inside the &lt;/b&gt;&lt;li&gt;&lt;b&gt; element will be yellow. Text in the &lt;b&gt; elements not within the &lt;/b&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;b&gt; element will not be affected by this stylesheet.&lt;br /&gt;&lt;br /&gt;Next: &lt;/b&gt;&lt;/b&gt;&lt;/li&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-5117187840628894532?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/5117187840628894532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=5117187840628894532' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/5117187840628894532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/5117187840628894532'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/12/there-is-another-selector-called.html' title='There is another selector called Descendant Selectors'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-2773633306540513655</id><published>2007-11-30T22:52:00.001-08:00</published><updated>2010-01-21T11:19:46.653-08:00</updated><title type='text'>SCITEsettings</title><content type='html'>User Settings:&lt;br /&gt;api.*.py=Y:/python.api&lt;br /&gt;api.*.pyw=Y:/python.api&lt;br /&gt;#~ autocomplete.choose.single=1&lt;br /&gt;autocomplete.python.ignorecase=1&lt;br /&gt;autocomplete.python.start.characters=.&lt;br /&gt;autocomplete.python.fillups=(&lt;br /&gt;autocompleteword.automatic=1&lt;br /&gt;calltip.python.ignorecase=1&lt;br /&gt;calltip.python.word.characters=._$(chars.alpha)$(chars.numeric)&lt;br /&gt;toolbar.visible=0&lt;br /&gt;tabbar.hide.one=1&lt;br /&gt;line.margin.visible=1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Global settings:&lt;br /&gt;Font:&lt;br /&gt;if PLAT_GTK:&lt;br /&gt;  font.monospace=font:!Bitstream Vera Sans Mono,size:12&lt;br /&gt;  font.base=$(font.monospace)&lt;br /&gt;  font.small=$(font.monospace)&lt;br /&gt;  font.comment=$(font.monospace)&lt;br /&gt;  font.text=$(font.monospace)&lt;br /&gt;  font.text.comment=$(font.monospace)&lt;br /&gt;  font.embedded.base=$(font.monospace)&lt;br /&gt;  font.embedded.comment=$(font.monospace)&lt;br /&gt;  font.vbs=$(font.monospace)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-2773633306540513655?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/2773633306540513655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=2773633306540513655' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2773633306540513655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2773633306540513655'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/11/scite-user-settings.html' title='SCITEsettings'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-4830373374665203149</id><published>2007-11-27T21:16:00.000-08:00</published><updated>2007-11-28T23:14:36.188-08:00</updated><title type='text'>for loop in DOS</title><content type='html'>http://www.computerhope.com/forhlp.htm&lt;br /&gt;&lt;br /&gt;for /L %i in (1,1,100) do wget -w 5 -O %i.jpg "url"&lt;br /&gt;for %i in (*.foo) do move %i %~ni.bar&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-4830373374665203149?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/4830373374665203149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=4830373374665203149' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4830373374665203149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4830373374665203149'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/11/for-loop-in-dos.html' title='for loop in DOS'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-7956244812241939840</id><published>2007-11-20T11:41:00.000-08:00</published><updated>2007-11-20T11:42:41.596-08:00</updated><title type='text'>How to loop an array in bash</title><content type='html'>ids=(3333 3334 3335)&lt;br /&gt;for id in ${ids[@]}&lt;br /&gt;do&lt;br /&gt;echo $id&lt;br /&gt;done&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-7956244812241939840?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/7956244812241939840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=7956244812241939840' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/7956244812241939840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/7956244812241939840'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/11/how-to-loop-array-in-bash.html' title='How to loop an array in bash'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-1049979550244685306</id><published>2007-11-13T11:14:00.001-08:00</published><updated>2008-08-05T09:39:24.905-07:00</updated><title type='text'>Auto start PostgreSQL when Linux boots (Ubuntu)</title><content type='html'>&lt;start&gt;&lt;br /&gt;&lt;br /&gt;*as root*:&lt;br /&gt;- Configure the PostgreSQL SysV Script. This script is useful for&lt;br /&gt;starting, stopping, and checking the status of PostgreSQL.&lt;br /&gt;&lt;br /&gt;# cd /usr/local/src/postgresql-7.x&lt;br /&gt;# cp contrib/start-scripts/linux /etc/init.d/postgres&lt;br /&gt;# chmod 755 /etc/init.d/postgresql&lt;br /&gt;.... then edit the file to specify the data directory, etc. and sets the&lt;br /&gt;environment variabes (PGDATA etc). The file is well documented. If you&lt;br /&gt;installed Postgres manually, it should have the correct values already set.&lt;br /&gt;&lt;br /&gt;- To have PostgreSQL start automatically when the computer boots add&lt;br /&gt;symbolic links from the correct /etc/rc*.d/ directories to&lt;br /&gt;/etc/init.d/postgresql.&lt;br /&gt;&lt;br /&gt;ln -s /etc/init.d/postgresql /etc/rc0.d/K27postgresql&lt;br /&gt;ln -s /etc/init.d/postgresql /etc/rc1.d/K27postgresql&lt;br /&gt;ln -s /etc/init.d/postgresql /etc/rc2.d/S85postgresql&lt;br /&gt;ln -s /etc/init.d/postgresql /etc/rc3.d/S85postgresql&lt;br /&gt;ln -s /etc/init.d/postgresql /etc/rc4.d/S85postgresql&lt;br /&gt;ln -s /etc/init.d/postgresql /etc/rc5.d/S85postgresql&lt;br /&gt;&lt;br /&gt;etc ...&lt;br /&gt;&lt;br /&gt;- Start PostgreSQL for the first time:&lt;br /&gt;&lt;br /&gt;# /etc/init.d/postgres start&lt;br /&gt;&lt;br /&gt;&lt;\start&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-1049979550244685306?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/1049979550244685306/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=1049979550244685306' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/1049979550244685306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/1049979550244685306'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/11/auto-start-postgresql-when-linux-boots_13.html' title='Auto start PostgreSQL when Linux boots (Ubuntu)'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-3559688358830507050</id><published>2007-11-13T11:14:00.000-08:00</published><updated>2007-11-13T11:16:53.034-08:00</updated><title type='text'>Auto start PostgreSQL when Linux boots</title><content type='html'>&lt;start&gt;*as root*:&lt;br /&gt;- Configure the PostgreSQL SysV Script. This script is useful for starting, stopping, and checking the status of PostgreSQL.&lt;br /&gt;&lt;br /&gt;# cd /usr/local/src/postgresql-7.x&lt;br /&gt;# cp contrib/start-scripts/linux /etc/init.d/postgres&lt;br /&gt;# chmod 755 /etc/init.d/postgres&lt;br /&gt;.... then edit the file to specify the data directory, etc. and sets the environment variabes (PGDATA etc). The file is well documented. If you installed Postgres manually, it should have the correct values already set.&lt;br /&gt;&lt;br /&gt;- To have PostgreSQL start automatically when the computer boots add symbolic links from the correct /etc/rc*.d/ directories to /etc/init.d/postgres. If the normal runlevel is 3 then you really only need to add it to rc3.d:&lt;br /&gt;&lt;br /&gt;# ln -s /etc/init.d/postgres /etc/rc2.d/S85postgres&lt;br /&gt;# ln -s /etc/init.d/postgres /etc/rc3.d/S85postgres&lt;br /&gt;&lt;br /&gt;etc ...&lt;br /&gt;&lt;br /&gt;- Start PostgreSQL for the first time:&lt;br /&gt;&lt;br /&gt;# /etc/init.d/postgres start&lt;br /&gt;&lt;/start&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-3559688358830507050?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/3559688358830507050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=3559688358830507050' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3559688358830507050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3559688358830507050'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/11/auto-start-postgresql-when-linux-boots.html' title='Auto start PostgreSQL when Linux boots'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-1531318582486965150</id><published>2007-10-23T11:51:00.000-07:00</published><updated>2007-10-23T11:52:59.514-07:00</updated><title type='text'>Mount ntfs</title><content type='html'>Run id liangzou first to get the uid and gid&lt;br /&gt;Then:&lt;br /&gt;sudo ntftmount -o uid=?,gid=? /dev/.. /mnt/..&lt;br /&gt;To get a list of drives:&lt;br /&gt;fdisk -l&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-1531318582486965150?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/1531318582486965150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=1531318582486965150' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/1531318582486965150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/1531318582486965150'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/10/mount-ntfs.html' title='Mount ntfs'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-7851743194590595133</id><published>2007-10-17T17:43:00.000-07:00</published><updated>2007-10-17T17:45:15.975-07:00</updated><title type='text'>A great web site</title><content type='html'>I highly recommend you use a great web site &lt;a href="http://www.onlinemgr.com/"&gt;http://www.onlinemgr.com&lt;/a&gt; to manage your personal tasks and bookmarks(favorite websites).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-7851743194590595133?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/7851743194590595133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=7851743194590595133' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/7851743194590595133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/7851743194590595133'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/10/great-web-site.html' title='A great web site'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-2965911072686962212</id><published>2007-09-22T13:26:00.001-07:00</published><updated>2007-09-22T13:26:37.586-07:00</updated><title type='text'>import a module from a path</title><content type='html'>The variable sys.path defines a list of folders searched for imported module files. It is built during the interpreter's initialisation, and can be also customised at run-time. It is important to know, how this list is built, and how we can add our own path to the list, to let our scripts find their modules.&lt;br /&gt;&lt;br /&gt;First of all, this variable is initialised from the Windows environment variable PYTHONPATH. Both the Python interpreter itself and various other software systems using Python interpreter (e.g. Tribon M3), can define or update this variable accordingly, setting it to a list of paths separated by semi-colons.&lt;br /&gt;&lt;br /&gt;Then, the special site module is imported. Note, that there is no need to issue the statement import site – Python interpreter will do this for you. This module is a standard Python module, which can be customised by the user to add specific changes to the environment, e.g. adding new folders to the sys.path list. By default (if you install a standalone Python interpreter), it adds some standard folders, like: '\Python23\lib\site-packages'.&lt;br /&gt;&lt;br /&gt;Additionally, the site module searches the folders in the sys.path list for the *.pth files (path configuration files). If found, they are all read, and the paths defined therein are automatically added to the sys.path list, extending it. Such files are used by some Python packages, like e.g. wxPython, to define the location of the wxPython package modules.&lt;br /&gt;&lt;br /&gt;Further system customisation can be placed in an optional sitecustomize module, which the site module attempts to import. Then, we can leave the site module unchanged, and put all the customisation in the sitecustomise module.&lt;br /&gt;&lt;br /&gt;Finally, the module search path (sys.path) can be customised at run-time. Example:&lt;br /&gt;&lt;br /&gt;path = 'E:\\PRIVATE\\MODULES'&lt;br /&gt;import sys&lt;br /&gt;if path not in sys.path:&lt;br /&gt;     sys.path.append(path)&lt;br /&gt;import my_test_module&lt;br /&gt;&lt;br /&gt;where the file my_test_module.py is located in the folder E:\PRIVATE\MODULES.&lt;br /&gt;&lt;br /&gt;In the above example, the user-defined folder is placed at the end of the sys.path list. If you prefer to place it at the beginning of this list, just replace the statement:&lt;br /&gt;&lt;br /&gt;sys.path.append(path)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-2965911072686962212?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/2965911072686962212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=2965911072686962212' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2965911072686962212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2965911072686962212'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/09/import-module-from-path.html' title='import a module from a path'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-9021279427695151082</id><published>2007-09-20T11:49:00.000-07:00</published><updated>2007-09-20T11:51:47.395-07:00</updated><title type='text'>How to create a spatial db by using postgresql and postgis</title><content type='html'>createdb db_name&lt;br /&gt;createlang -D db_name plpgsql&lt;br /&gt;psql -D db_name &lt; /usr/local/share/lwpostgis.sql&lt;br /&gt;psql -D db+name &lt; /usr/local/share/spatial_ref_sys.sql&lt;br /&gt;&lt;br /&gt;======To import a shapefile======&lt;br /&gt;shp2pgsql --help&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-9021279427695151082?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/9021279427695151082/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=9021279427695151082' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/9021279427695151082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/9021279427695151082'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/09/how-to-create-spatial-db-by-using.html' title='How to create a spatial db by using postgresql and postgis'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-4991137477271861194</id><published>2007-09-18T15:04:00.001-07:00</published><updated>2007-09-18T15:04:28.570-07:00</updated><title type='text'>How to start PostgreSQL</title><content type='html'>You can now start the database server using:&lt;br /&gt;&lt;br /&gt;    /usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data&lt;br /&gt;or&lt;br /&gt;    /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l logfile start&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-4991137477271861194?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/4991137477271861194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=4991137477271861194' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4991137477271861194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4991137477271861194'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/09/how-to-start-postgresql.html' title='How to start PostgreSQL'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-2405647126875119797</id><published>2007-09-18T13:43:00.000-07:00</published><updated>2007-09-18T13:44:40.143-07:00</updated><title type='text'>ow do I unzip a .bz2 file?</title><content type='html'>To extract .bz2 files, run the following command in a terminal:&lt;br /&gt;bunzip2 -dv file.bz2&lt;br /&gt;This will normally create a new directory based on the filename. For more information, in a terminal, type man buznip2&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-2405647126875119797?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/2405647126875119797/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=2405647126875119797' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2405647126875119797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2405647126875119797'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/09/ow-do-i-unzip-bz2-file.html' title='ow do I unzip a .bz2 file?'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-6990540893226289721</id><published>2007-09-10T14:53:00.000-07:00</published><updated>2007-09-10T14:57:11.932-07:00</updated><title type='text'>Apache suexec on Linux</title><content type='html'>This can be use to execute CGI scripts as other users. For example, you set the file permission to 700 and the suexec is enable, the script can also be executed. Run as the owner, perl, python.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-6990540893226289721?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/6990540893226289721/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=6990540893226289721' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/6990540893226289721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/6990540893226289721'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/09/apache-suexec-on-linux.html' title='Apache suexec on Linux'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-7800852472667453384</id><published>2007-08-30T09:57:00.000-07:00</published><updated>2007-08-30T09:58:45.236-07:00</updated><title type='text'>InnoDB supports Foreign keys im MySQL</title><content type='html'>But MyISAM won't support&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-7800852472667453384?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/7800852472667453384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=7800852472667453384' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/7800852472667453384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/7800852472667453384'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/08/innodb-supports-foreign-keys-im-mysql.html' title='InnoDB supports Foreign keys im MySQL'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-8429856430782468531</id><published>2007-08-29T10:36:00.000-07:00</published><updated>2010-01-22T11:39:51.046-08:00</updated><title type='text'>A find and replace command in Linux</title><content type='html'>sed -i 's/haha/xixi/g' $input&lt;br /&gt;use -i to change the input file directly&lt;br /&gt;&lt;br /&gt;for i in `grep -r "2009 Google" * -l`; do sed -i 's/2009\ Google/2010\ Google/g' $i; done&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-8429856430782468531?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/8429856430782468531/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=8429856430782468531' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/8429856430782468531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/8429856430782468531'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/08/find-and-replace-command-in-linux.html' title='A find and replace command in Linux'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-2007341116225680001</id><published>2007-08-28T11:40:00.000-07:00</published><updated>2007-08-28T11:41:09.731-07:00</updated><title type='text'>cast types in Postgre sql</title><content type='html'>cast(field as numeric)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-2007341116225680001?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/2007341116225680001/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=2007341116225680001' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2007341116225680001'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2007341116225680001'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/08/cast-types-in-postgre-sql.html' title='cast types in Postgre sql'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-7347077185266033664</id><published>2007-08-23T23:37:00.000-07:00</published><updated>2007-08-23T23:47:19.411-07:00</updated><title type='text'>两个unicode strings相加竟然会出错</title><content type='html'>a = '每' [a' = unichr(255) then a'.encode('utf-8') == '每']&lt;br /&gt;b = u'completed'&lt;br /&gt;c = '%s %s' % (a, b) 或 c = a + b竟然会出现错误 UnicodeDecodeError，不知道是什么原因&lt;br /&gt;原来python 试图把str转化为unicode, 这时候str 为 '每',是不可能用ascii来表示的，所以出现decode error.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-7347077185266033664?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/7347077185266033664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=7347077185266033664' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/7347077185266033664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/7347077185266033664'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/08/unicode-strings.html' title='两个unicode strings相加竟然会出错'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-867203276895085889</id><published>2007-08-17T18:08:00.000-07:00</published><updated>2007-08-17T18:09:47.866-07:00</updated><title type='text'>Function tips, calltip in scite</title><content type='html'>让SciTE能够和IDE一样进行成员提示&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;今天发现SciTE可以和IDE一样在输入"."之后显示系统API的成员.本文最后的英文介绍了怎样生成供SciTE使用的API文件.当然你也可以下载别人生成的API.我一般用SciTE编写Python代码,那么我就用怎么使用python.api为例来介绍.首先下载下面的生成python API的脚本,双击运行,运行完成之后会生成一个python.api的文件,将python.api拷贝到scite的目录中,然后在SciTE的选项菜单中选择User Options,将打开一个用户个人设置文件,然后将下面的代码拷贝到里面&lt;br /&gt;api.*.py=$(SciteDefaultHome)/python.api&lt;br /&gt;api.*.pyw=$(SciteDefaultHome)/python.api&lt;br /&gt;autocomplete.choose.single=1&lt;br /&gt;autocomplete.python.ignorecase=1&lt;br /&gt;autocomplete.python.start.characters=.&lt;br /&gt;autocomplete.python.fillups=(&lt;br /&gt;#autocompleteword.automatic&lt;br /&gt;calltip.python.ignorecase=1&lt;br /&gt;calltip.python.word.characters=._$(chars.alpha)$(chars.numeric)&lt;br /&gt;&lt;br /&gt;保存后重新打开SciTE就行了,另外这个用户配置文件一般在你个人主目录里面.可以看看我的效果.在这里可以下载C/C++ Windows API,Opengl API, java的API,以及其他很多语言的API文件.&lt;br /&gt;&lt;br /&gt;The .api files can be generated by hand or by using a program. There are also downloadable ready-to-use .api files.&lt;br /&gt;&lt;br /&gt;For C/C++ headers, an API file can be generated using ctags and then the tags2api Python script (which assumes C/C++ source) on the tags file to grab complete multiple line function prototypes. Some common headers surround parameter lists with a __P macro and may have comments. The cleanapi utility may be used on these files.&lt;br /&gt;&lt;br /&gt;To generate an API file for Python modules, there is a gen_python script.&lt;br /&gt;&lt;br /&gt;To generate an API file for Java classes, there is a ApiBuilder.java program.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-867203276895085889?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/867203276895085889/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=867203276895085889' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/867203276895085889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/867203276895085889'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/08/function-tips-calltip-in-scite.html' title='Function tips, calltip in scite'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-2827316352617419867</id><published>2007-07-26T17:55:00.001-07:00</published><updated>2007-07-26T17:55:53.453-07:00</updated><title type='text'>Gunbuntu tips and tricks</title><content type='html'>&lt;a href="http://ubuntuguide.org/wiki/Ubuntu:Feisty"&gt;http://ubuntuguide.org/wiki/Ubuntu:Feisty&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-2827316352617419867?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/2827316352617419867/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=2827316352617419867' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2827316352617419867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2827316352617419867'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/07/gunbuntu-tips-and-tricks.html' title='Gunbuntu tips and tricks'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-3358068007938145270</id><published>2007-07-26T11:13:00.000-07:00</published><updated>2007-07-26T11:14:16.543-07:00</updated><title type='text'>Display Icons on the desktop Linux Ubuntu</title><content type='html'>In Ubuntu Dapper Drake, there’s no trash icon in the Desktop, it’s in the bottom panel right side. In this article I’m going to explain how to show the Trash icon in the Desktop. Type the following:&lt;br /&gt;&lt;br /&gt;gconf-editor &amp;&lt;br /&gt;&lt;br /&gt;a window will pop up, with the gnome registry:&lt;br /&gt;&lt;br /&gt;There will be a panel in the left side.&lt;br /&gt;&lt;br /&gt;Go to apps-&gt;nautilus-&gt;desktop and click on the variable trash_icon_visible and you’ll get the Trash in your desktop. See the screenshot below:&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-3358068007938145270?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/3358068007938145270/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=3358068007938145270' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3358068007938145270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3358068007938145270'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/07/display-icons-on-desktop-linux-ubuntu.html' title='Display Icons on the desktop Linux Ubuntu'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-3517791176248784233</id><published>2007-07-23T14:24:00.001-07:00</published><updated>2007-07-23T14:24:55.494-07:00</updated><title type='text'>Django Chapter 4 Environment variable DJANGO_SETTINGS_MODULE is undefined</title><content type='html'>Try:&lt;br /&gt;import django.conf&lt;br /&gt;django.conf.settings.configure()&lt;br /&gt;from django.template import Template&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-3517791176248784233?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/3517791176248784233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=3517791176248784233' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3517791176248784233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3517791176248784233'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/07/django-chapter-4-environment-variable.html' title='Django Chapter 4 Environment variable DJANGO_SETTINGS_MODULE is undefined'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-5202402843567254179</id><published>2007-07-16T13:16:00.000-07:00</published><updated>2007-07-16T13:17:10.544-07:00</updated><title type='text'>Datetime in Python</title><content type='html'>from datetime import date, timedelta&lt;br /&gt;print date.today()&lt;br /&gt;print date.today() - timedelta(1)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-5202402843567254179?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/5202402843567254179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=5202402843567254179' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/5202402843567254179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/5202402843567254179'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/07/datetime-in-python.html' title='Datetime in Python'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-7810211197957643546</id><published>2007-07-14T14:15:00.000-07:00</published><updated>2007-07-14T14:17:03.601-07:00</updated><title type='text'>DATETIME and TIMESTAMP in MySQL database</title><content type='html'>They have the same format (YYYY-MM-DD HH:MM:SS).&lt;br /&gt;TIMESTAMP has the autoupdate function. When you update a row in a table, the timestamp will be updated automatically. DATETIME won't get updated until you specify the value.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-7810211197957643546?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/7810211197957643546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=7810211197957643546' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/7810211197957643546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/7810211197957643546'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/07/datetime-and-timestamp-in-mysql.html' title='DATETIME and TIMESTAMP in MySQL database'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-2039831456469133422</id><published>2007-06-28T10:04:00.000-07:00</published><updated>2007-06-28T10:05:41.837-07:00</updated><title type='text'>Python standard encodings</title><content type='html'>&lt;a href="http://docs.python.org/lib/standard-encodings.html"&gt;http://docs.python.org/lib/standard-encodings.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-2039831456469133422?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/2039831456469133422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=2039831456469133422' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2039831456469133422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2039831456469133422'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/06/python-standard-encodings.html' title='Python standard encodings'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-4579416770984154639</id><published>2007-04-24T17:08:00.000-07:00</published><updated>2007-04-24T17:09:00.802-07:00</updated><title type='text'>duplicate a table in mysql</title><content type='html'>create table tmp select * from test.bugs;&lt;br /&gt;insert into tmp select * from test.bugs;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-4579416770984154639?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/4579416770984154639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=4579416770984154639' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4579416770984154639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4579416770984154639'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/04/duplicate-table-in-mysql.html' title='duplicate a table in mysql'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-6897670771295680730</id><published>2007-04-15T22:38:00.001-07:00</published><updated>2007-04-15T22:38:52.833-07:00</updated><title type='text'>KNOPPIX</title><content type='html'>This is a bootable linux system. When windows can't be booted, this system can be used to obtain the data on the hard drive.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-6897670771295680730?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/6897670771295680730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=6897670771295680730' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/6897670771295680730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/6897670771295680730'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/04/knoppix.html' title='KNOPPIX'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-3750662195571137377</id><published>2007-04-14T18:57:00.000-07:00</published><updated>2007-04-14T19:00:14.153-07:00</updated><title type='text'>I learnt something today</title><content type='html'>Text is different between Windows and Linux. To convert a window text file, use:&lt;br /&gt;cat log.log | tr -d '\r' &gt; new.log&lt;br /&gt;&lt;br /&gt;I also learnt easy_install, which is a python module (easy_install) bundled with setuptools that lets you automatically download, build, install, and manage Python packages. To install an unziped file, use -Z, an upgraded file use -U. For example, to install a newer version of MySQLdb, type:&lt;br /&gt;sudo easy_install -UZ MySQLdb-python&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-3750662195571137377?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/3750662195571137377/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=3750662195571137377' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3750662195571137377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3750662195571137377'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/04/i-learnt-something-today.html' title='I learnt something today'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-5658076633611300504</id><published>2007-04-11T11:42:00.000-07:00</published><updated>2007-04-11T11:43:08.947-07:00</updated><title type='text'>Change display colors in a terminal</title><content type='html'>&lt;a href="http://www.linux-sxs.org/housekeeping/lscolors.html"&gt;http://www.linux-sxs.org/housekeeping/lscolors.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-5658076633611300504?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/5658076633611300504/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=5658076633611300504' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/5658076633611300504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/5658076633611300504'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/04/change-display-colors-in-terminal.html' title='Change display colors in a terminal'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-6051580255870347806</id><published>2007-04-10T21:09:00.000-07:00</published><updated>2007-04-10T21:43:11.537-07:00</updated><title type='text'>LAMP on Ubuntu</title><content type='html'>&lt;a href="http://www.supriyadisw.net/2006/12/lamp-installation-on-ubuntu"&gt;http://www.supriyadisw.net/2006/12/lamp-installation-on-ubuntu&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.debianadmin.com/apache2-web-server-with-php-support-in-ubuntu.html"&gt;http://www.debianadmin.com/apache2-web-server-with-php-support-in-ubuntu.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-6051580255870347806?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/6051580255870347806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=6051580255870347806' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/6051580255870347806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/6051580255870347806'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/04/lamp-on-ubuntu.html' title='LAMP on Ubuntu'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-3214967878616027868</id><published>2007-04-07T17:54:00.001-07:00</published><updated>2007-04-07T17:54:34.757-07:00</updated><title type='text'>datetime module in Python</title><content type='html'>http://pleac.sourceforge.net/pleac_python/datesandtimes.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-3214967878616027868?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/3214967878616027868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=3214967878616027868' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3214967878616027868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3214967878616027868'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/04/datetime-module-in-python.html' title='datetime module in Python'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-4792046982033017188</id><published>2007-03-20T23:36:00.000-07:00</published><updated>2007-03-20T23:37:47.718-07:00</updated><title type='text'>Note Log in February</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_Lmtffuhyv2c/RgDSr6y-q7I/AAAAAAAAACI/Kn6XMwPaxAI/s1600-h/Note_Log_feb_Page_1.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_Lmtffuhyv2c/RgDSr6y-q7I/AAAAAAAAACI/Kn6XMwPaxAI/s400/Note_Log_feb_Page_1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5044263234614242226" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_Lmtffuhyv2c/RgDSsay-q8I/AAAAAAAAACQ/GpRbZlQcxIs/s1600-h/Note_Log_feb_Page_2.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_Lmtffuhyv2c/RgDSsay-q8I/AAAAAAAAACQ/GpRbZlQcxIs/s400/Note_Log_feb_Page_2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5044263243204176834" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_Lmtffuhyv2c/RgDSsqy-q9I/AAAAAAAAACY/XMFTDmTLDOY/s1600-h/Note_Log_feb_Page_3.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_Lmtffuhyv2c/RgDSsqy-q9I/AAAAAAAAACY/XMFTDmTLDOY/s400/Note_Log_feb_Page_3.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5044263247499144146" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-4792046982033017188?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/4792046982033017188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=4792046982033017188' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4792046982033017188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4792046982033017188'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/03/note-log-in-february_20.html' title='Note Log in February'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_Lmtffuhyv2c/RgDSr6y-q7I/AAAAAAAAACI/Kn6XMwPaxAI/s72-c/Note_Log_feb_Page_1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-493494471047080555</id><published>2007-03-20T20:01:00.000-07:00</published><updated>2007-03-20T20:02:55.462-07:00</updated><title type='text'>Be careful that files' 777 issue (read, write, execute permission)</title><content type='html'>Check that firest if it can't be read by a program.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-493494471047080555?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/493494471047080555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=493494471047080555' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/493494471047080555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/493494471047080555'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/03/be-careful-that-files-777-issue-read.html' title='Be careful that files&apos; 777 issue (read, write, execute permission)'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-5100255299825019420</id><published>2007-03-05T20:29:00.000-08:00</published><updated>2007-03-05T20:35:21.993-08:00</updated><title type='text'>整个单词就会把一个column撑大</title><content type='html'>如果一个表里面有一个很长的单词，那么这个column的宽度就有这个很长的单词决定，被撑大了。表的布局就会改变了。 如果一个段里面有很多短的单词组成，就会自动换行。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-5100255299825019420?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/5100255299825019420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=5100255299825019420' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/5100255299825019420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/5100255299825019420'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/03/column.html' title='整个单词就会把一个column撑大'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-3707016449684149040</id><published>2007-02-23T11:17:00.001-08:00</published><updated>2007-02-23T11:17:41.005-08:00</updated><title type='text'>Reference in Perl / Pointer in Perl</title><content type='html'>&lt;a href="http://www.troubleshooters.com/codecorn/littperl/perlsub.htm#References"&gt;http://www.troubleshooters.com/codecorn/littperl/perlsub.htm#References&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-3707016449684149040?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/3707016449684149040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=3707016449684149040' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3707016449684149040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3707016449684149040'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/02/reference-in-perl-pointer-in-perl.html' title='Reference in Perl / Pointer in Perl'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-3589600540637064334</id><published>2007-02-11T22:10:00.000-08:00</published><updated>2007-02-11T22:12:14.364-08:00</updated><title type='text'>Note Log in January</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_Lmtffuhyv2c/RdAFFzsCD9I/AAAAAAAAAAM/BJpxUUuE6rk/s1600-h/Note_Log_jan_Page_1.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_Lmtffuhyv2c/RdAFFzsCD9I/AAAAAAAAAAM/BJpxUUuE6rk/s400/Note_Log_jan_Page_1.jpg" alt="" id="BLOGGER_PHOTO_ID_5030526381105221586" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_Lmtffuhyv2c/RdAFhTsCD-I/AAAAAAAAAAY/-xtzxDUZUbw/s1600-h/Note_Log_jan_Page_2.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_Lmtffuhyv2c/RdAFhTsCD-I/AAAAAAAAAAY/-xtzxDUZUbw/s400/Note_Log_jan_Page_2.jpg" alt="" id="BLOGGER_PHOTO_ID_5030526853551624162" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-3589600540637064334?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/3589600540637064334/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=3589600540637064334' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3589600540637064334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3589600540637064334'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/02/note-log-in-january.html' title='Note Log in January'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_Lmtffuhyv2c/RdAFFzsCD9I/AAAAAAAAAAM/BJpxUUuE6rk/s72-c/Note_Log_jan_Page_1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-60211499396827647</id><published>2007-02-09T14:46:00.000-08:00</published><updated>2007-03-20T19:56:42.699-07:00</updated><title type='text'>decode and encode in Python</title><content type='html'>encode -&gt; create a str&lt;br /&gt;decode -&gt; create a unicode str&lt;br /&gt;&lt;br /&gt;In addition, you can't print a unicode string + "\n" together. This will confuse python program and fire an error.&lt;br /&gt;&lt;br /&gt;print unicode string&lt;br /&gt;print "\n"&lt;br /&gt;&lt;br /&gt;This is ok.&lt;br /&gt;&lt;br /&gt;This is because you can't print a unicode directly. To see if a string is a unicode string, print type(test_string). If it is a unicode string, you must print that by using test_string.encode("utf-8")&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-60211499396827647?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/60211499396827647/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=60211499396827647' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/60211499396827647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/60211499396827647'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/02/decode-and-encode-in-python.html' title='decode and encode in Python'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-7722450624818735501</id><published>2007-02-08T18:57:00.000-08:00</published><updated>2007-02-07T11:30:16.355-08:00</updated><title type='text'>UTF-8 issue in python: imaplib and MySQLdb</title><content type='html'>When I tried to save UTF-8 charset words to a MySQL database, I had a lot of problems. I finally  figured it out.&lt;br /&gt;&lt;br /&gt;The table in MySQL should be in utf-8 format. It can be configured in MySQL&lt;br /&gt;&lt;br /&gt;When I connected to the MySQL, I must specify the connection to utf8: db.set_character_set('utf8').&lt;br /&gt;&lt;br /&gt;I thought all emails have the same charset, however, I found that they have different charsets. Thus in the python code, I process them by using different decoder.&lt;br /&gt;&lt;br /&gt;r,data =M.fetch(num, "(BODY[HEADER.FIELDS (CONTENT-TYPE)])")&lt;br /&gt;       m = email.message_from_string(data[0][1]) #data[0][1] is a string that contains the content-type&lt;br /&gt;       Message_encoding =  m.get_charsets()[0] #get_charsets() return a list, the first one([0]) indicates the charset of the message body&lt;br /&gt;&lt;br /&gt;       if Message_encoding == "utf-8": #if the encoding is ascii, I don't need to decode that&lt;br /&gt;           Error_Description = Error_Description.decode("utf-8")&lt;br /&gt;       elif Message_encoding == "iso-8859-1":&lt;br /&gt;           Error_Description = Error_Description.decode("ISO8859-1")&lt;br /&gt;       elif Message_encoding == "us-ascii":&lt;br /&gt;           pass&lt;br /&gt;       else:&lt;br /&gt;           Error_Description = Error_Description.decode("utf-8", "replace")&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-7722450624818735501?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/7722450624818735501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=7722450624818735501' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/7722450624818735501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/7722450624818735501'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/02/utf-8-issue-in-python-imaplib-and.html' title='UTF-8 issue in python: imaplib and MySQLdb'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-2470748426788873789</id><published>2007-02-07T11:29:00.000-08:00</published><updated>2007-02-07T11:30:16.521-08:00</updated><title type='text'>Table and borders</title><content type='html'>&lt;a href="http://www.somacon.com/p141.php"&gt;http://www.somacon.com/p141.php &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-2470748426788873789?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/2470748426788873789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=2470748426788873789' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2470748426788873789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2470748426788873789'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/02/table-and-borders.html' title='Table and borders'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-1790697297643974547</id><published>2007-02-06T17:38:00.000-08:00</published><updated>2007-02-06T17:44:17.693-08:00</updated><title type='text'>A Game that I played</title><content type='html'>The name of the game is "Zoom ShiWarZ PoFeiGeLiANo BiterMan". ShiWarZ returns the virtual ball to the people who give the ball to you. PoFeiGeLiANo is the person on the right hand side, whereas BiterMan is the person on the left hand side.&lt;br /&gt;Three rules:&lt;br /&gt;1. Can't say three consecutive same words in the group or from the same person&lt;br /&gt;2. Can't say the name of the game&lt;br /&gt;3. Can't zoom a zoomer. That means you must use ShiWarZ to a zoomer.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-1790697297643974547?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/1790697297643974547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=1790697297643974547' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/1790697297643974547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/1790697297643974547'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/02/game-that-i-played.html' title='A Game that I played'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-4082022914361137448</id><published>2007-02-03T16:45:00.000-08:00</published><updated>2007-02-03T16:46:59.952-08:00</updated><title type='text'>Cookie can be written by Python and read by Javascript</title><content type='html'>If you set a cookie by using Python, you must specify the path to "/", which means it is valid for the entire site. The default path is "/cgi-bin/".&lt;br /&gt;For example:&lt;br /&gt;In Python:&lt;br /&gt;    cookie["SID"]["path"] = "/"&lt;br /&gt;&lt;br /&gt;In Javascript,&lt;br /&gt;     document.cookie can read this one.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-4082022914361137448?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/4082022914361137448/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=4082022914361137448' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4082022914361137448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4082022914361137448'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/02/cookie-can-be-written-by-python-and.html' title='Cookie can be written by Python and read by Javascript'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-3690865595163197957</id><published>2007-02-02T11:18:00.001-08:00</published><updated>2007-02-02T11:18:54.690-08:00</updated><title type='text'>chgrp</title><content type='html'>chgrp will change the group of a file&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-3690865595163197957?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/3690865595163197957/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=3690865595163197957' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3690865595163197957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3690865595163197957'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/02/chgrp.html' title='chgrp'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-3065568033952977760</id><published>2007-02-02T09:48:00.001-08:00</published><updated>2007-02-02T09:48:44.430-08:00</updated><title type='text'>Common path in Linux</title><content type='html'>/usr/lib&lt;br /&gt;/var/www&lt;br /&gt;/etc/.host&lt;br /&gt;/etc/httpd&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-3065568033952977760?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/3065568033952977760/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=3065568033952977760' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3065568033952977760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3065568033952977760'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/02/common-path-in-linux.html' title='Common path in Linux'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-629661606521890679</id><published>2007-01-31T21:09:00.001-08:00</published><updated>2007-01-31T21:09:52.884-08:00</updated><title type='text'>Unzip .tar.gz in linux</title><content type='html'>&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;          &lt;td&gt;&lt;code&gt;$ gzip -d httpd-&lt;em&gt;NN&lt;/em&gt;.tar.gz&lt;br /&gt;         $ tar xvf httpd-&lt;em&gt;NN&lt;/em&gt;.tar&lt;br /&gt;         $ cd httpd-&lt;em&gt;NN&lt;/em&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-629661606521890679?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/629661606521890679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=629661606521890679' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/629661606521890679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/629661606521890679'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/unzip-targz-in-linux.html' title='Unzip .tar.gz in linux'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-8843260037243828681</id><published>2007-01-30T17:52:00.001-08:00</published><updated>2007-01-30T17:52:17.230-08:00</updated><title type='text'>Host file in linux</title><content type='html'>&lt;b&gt;/etc/hosts&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-8843260037243828681?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/8843260037243828681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=8843260037243828681' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/8843260037243828681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/8843260037243828681'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/host-file-in-linux.html' title='Host file in linux'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-9131907718459137589</id><published>2007-01-29T16:28:00.000-08:00</published><updated>2007-01-29T16:29:32.301-08:00</updated><title type='text'>Delete duplicated rows in the database</title><content type='html'>&lt;a href="http://www.databasejournal.com/features/mssql/article.php/1438651"&gt;http://www.databasejournal.com/features/mssql/article.php/1438651 &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-9131907718459137589?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/9131907718459137589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=9131907718459137589' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/9131907718459137589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/9131907718459137589'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/delete-duplicated-rows-in-database.html' title='Delete duplicated rows in the database'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-8175031816661277966</id><published>2007-01-28T22:56:00.001-08:00</published><updated>2007-01-28T22:56:37.113-08:00</updated><title type='text'>Hack</title><content type='html'>&lt;a href="http://www.informit.com/articles/article.asp?p=603037&amp;seqNum=6&amp;amp;rl=1"&gt;http://www.informit.com/articles/article.asp?p=603037&amp;seqNum=6&amp;amp;rl=1 &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-8175031816661277966?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/8175031816661277966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=8175031816661277966' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/8175031816661277966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/8175031816661277966'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/hack.html' title='Hack'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-2365729895488695669</id><published>2007-01-28T22:39:00.000-08:00</published><updated>2007-01-28T22:45:00.051-08:00</updated><title type='text'>How to implement Session in python</title><content type='html'>According to my research, there are two ways:&lt;br /&gt;1. We can use Session Token (SID). That's an arbitrary string linked to a  user. We can save the SID in a database (server) and the cookie file(client). Then we can compare them to make sure the cookie file is a valid one. The expiration date should be specified.&lt;br /&gt;2. We can encrypt the username/password and date to a cookie file which is save on the server side and client side at the same time. Each time we can retrieve the username/password from the encrypted cookie file and compare the server side one and the client side one.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-2365729895488695669?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/2365729895488695669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=2365729895488695669' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2365729895488695669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2365729895488695669'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/how-to-implement-session-in-python.html' title='How to implement Session in python'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-3447167295138506909</id><published>2007-01-28T20:41:00.000-08:00</published><updated>2007-01-28T20:43:09.624-08:00</updated><title type='text'>Why do we need to save encrypted password in the database</title><content type='html'>When someone gets all the informaiton in the database, he still can't know the password so he can't login as the original users. Thus the encrypted passwords can improve the safety of a web site.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-3447167295138506909?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/3447167295138506909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=3447167295138506909' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3447167295138506909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3447167295138506909'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/why-do-we-need-to-save-encrypted.html' title='Why do we need to save encrypted password in the database'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-3930256269413662233</id><published>2007-01-27T20:47:00.001-08:00</published><updated>2007-01-27T20:47:32.499-08:00</updated><title type='text'>Random string in Python</title><content type='html'>&lt;pre class="code"&gt;&lt;span class="syntaxkeyword"&gt;from&lt;/span&gt; whrandom &lt;span class="syntaxkeyword"&gt;import&lt;/span&gt; choice&lt;br /&gt;&lt;span class="syntaxkeyword"&gt;import&lt;/span&gt; string&lt;br /&gt;&lt;br /&gt;&lt;span class="syntaxkeyword"&gt;def&lt;/span&gt; GenPasswd():&lt;br /&gt;   chars = string.letters + string.digits&lt;br /&gt;   &lt;span class="syntaxkeyword"&gt;for&lt;/span&gt; i &lt;span class="syntaxkeyword"&gt;in&lt;/span&gt; range(8):&lt;br /&gt;       newpasswd = newpasswd + choice(chars)&lt;br /&gt;   &lt;span class="syntaxkeyword"&gt;return&lt;/span&gt; newpasswd&lt;br /&gt;&lt;br /&gt;&lt;span class="syntaxkeyword"&gt;def&lt;/span&gt; GenPasswd2(length=8, chars=string.letters + string.digits):&lt;br /&gt;   &lt;span class="syntaxkeyword"&gt;return&lt;/span&gt; &lt;span class="syntaxstring"&gt;''&lt;/span&gt;.join([choice(chars) &lt;span class="syntaxkeyword"&gt;for&lt;/span&gt; i &lt;span class="syntaxkeyword"&gt;in&lt;/span&gt; range(length)])&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-3930256269413662233?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/3930256269413662233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=3930256269413662233' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3930256269413662233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3930256269413662233'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/random-string-in-python.html' title='Random string in Python'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-6560386997670042688</id><published>2007-01-27T16:57:00.000-08:00</published><updated>2007-01-27T17:05:57.019-08:00</updated><title type='text'>Cookie doesn't work</title><content type='html'>When I used Python to creat cookies, it didn't work and I  tried hard to figure it out. Finally I found that the cookie must be printed out so that it can be sent in the header. For example:&lt;br /&gt;c = Cookie.SimpleCookie()&lt;br /&gt;c["user"]="python"&lt;br /&gt;print c.output()&lt;br /&gt;print "Content-Type: text/html\n"&lt;br /&gt;&lt;br /&gt;The following one won't work:&lt;br /&gt;c = Cookie.SimpleCookie()&lt;br /&gt;c["user"]="python"&lt;br /&gt;print "Content-Type: text/html\n"&lt;br /&gt;print c.output()&lt;br /&gt;This is because the c is printed out as html content instead of header.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-6560386997670042688?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/6560386997670042688/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=6560386997670042688' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/6560386997670042688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/6560386997670042688'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/cookie-doesnt-work.html' title='Cookie doesn&apos;t work'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-6173472441314572610</id><published>2007-01-26T17:06:00.001-08:00</published><updated>2007-01-26T17:06:53.857-08:00</updated><title type='text'>Javascript Replace And Multiple Lines / Line Breaks</title><content type='html'>&lt;a href="http://www.bennadel.com/blog/161-Ask-Ben-Javascript-Replace-And-Multiple-Lines-Line-Breaks.htm"&gt;http://www.bennadel.com/blog/161-Ask-Ben-Javascript-Replace-And-Multiple-Lines-Line-Breaks.htm &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-6173472441314572610?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/6173472441314572610/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=6173472441314572610' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/6173472441314572610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/6173472441314572610'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/javascript-replace-and-multiple-lines.html' title='Javascript Replace And Multiple Lines / Line Breaks'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-4714306211914057655</id><published>2007-01-25T21:52:00.001-08:00</published><updated>2007-01-25T21:53:39.694-08:00</updated><title type='text'>innerText doesn't work for Mozilla, Firefox, etc. Just  for IE</title><content type='html'>&lt;p&gt;&lt;b&gt;&lt;u&gt;Create function like innerText&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;As you may have figured out innerText is IE only. That means that browsers like Mozilla, Firefox, and Netscape will return undefined. If you do not know what innerText does, it strips out all of the tags so you only see the text.&lt;br /&gt;&lt;br /&gt;For example, if a div contains the HTML &lt;i&gt;&lt;span id="'span1'"&gt;Eric&lt;/span&gt;&lt;/i&gt;, innerHTML would return &lt;i&gt;&lt;span id="'span1'"&gt;Eric&lt;/span&gt;&lt;/i&gt; while innerText will return &lt;i&gt;Eric&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;Now to make innerHTML act the same we need to use some regular expressions with the strings replace() method.&lt;br /&gt;&lt;br /&gt;Now the basic pattern we need to match is &lt;tag&gt; or &lt;tag attributes=""&gt; or &lt;/tag&gt; or &lt;tag&gt;&lt;br /&gt;&lt;br /&gt;Now the regular expression we need to use is /&lt;\/?[^&gt;]+&gt;/gi&lt;br /&gt;&lt;br /&gt;If you do not know regular expressions here is a quick explanation: &lt;/tag&gt;&lt;/tag&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color:blue;"&gt;/&lt;/span&gt; - Starts the regular expression&lt;/li&gt;&lt;li&gt;&lt;span style="color:blue;"&gt;&lt;&lt;/span&gt; - Match the less than sign&lt;/li&gt;&lt;li&gt;&lt;span style="color:blue;"&gt;\/&lt;/span&gt; - Escape the character / so it can be matched (Without the \ you would be saying it is the end of the reg exp.)&lt;/li&gt;&lt;li&gt;&lt;span style="color:blue;"&gt;?&lt;/span&gt; - Match the / character 0 or 1 times&lt;/li&gt;&lt;li&gt;&lt;span style="color:blue;"&gt;[^&gt;]&lt;/span&gt; - Match any character but greater than sign&lt;/li&gt;&lt;li&gt;&lt;span style="color:blue;"&gt;+&lt;/span&gt; - Match [^&gt;] one or more times&lt;/li&gt;&lt;li&gt;&lt;span style="color:blue;"&gt;&gt;&lt;/span&gt; - Match greater than sign&lt;/li&gt;&lt;li&gt;&lt;span style="color:blue;"&gt;/&lt;/span&gt; - End the regular expression&lt;/li&gt;&lt;li&gt;&lt;span style="color:blue;"&gt;gi&lt;/span&gt; - Tells regular expression to match global and ignore the case&lt;/li&gt;&lt;/ul&gt;  So now the function to replace the text would look like:&lt;br /&gt;&lt;a href="http://radio.javaranch.com/pascarello/2005/01/14/1105721395000.html"&gt;http://radio.javaranch.com/pascarello/2005/01/14/1105721395000.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-4714306211914057655?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/4714306211914057655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=4714306211914057655' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4714306211914057655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4714306211914057655'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/innertext-doesnt-work-for-mozilla.html' title='innerText doesn&apos;t work for Mozilla, Firefox, etc. Just  for IE'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-2435713324428275825</id><published>2007-01-25T19:57:00.000-08:00</published><updated>2007-01-25T19:58:18.447-08:00</updated><title type='text'>CSS Properties: Display vs. Visibility</title><content type='html'>&lt;a href="http://www.devx.com/tips/Tip/13638"&gt;http://www.devx.com/tips/Tip/13638 &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-2435713324428275825?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/2435713324428275825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=2435713324428275825' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2435713324428275825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2435713324428275825'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/css-properties-display-vs-visibility.html' title='CSS Properties: Display vs. Visibility'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-6870817944597075391</id><published>2007-01-25T13:44:00.000-08:00</published><updated>2007-01-25T13:46:21.495-08:00</updated><title type='text'>Internet Explorer uses cache for "get" request</title><content type='html'>&lt;a href="http://en.wikipedia.org/wiki/XMLHttpRequest#Microsoft_Internet_Explorer_cache_issues"&gt;http://en.wikipedia.org/wiki/XMLHttpRequest#Microsoft_Internet_Explorer_cache_issues&lt;/a&gt;&lt;br /&gt;If we use XMLHttpRequest, the web page may not be refreshed. In this case, we can add &amp;sid=Math.random() to force the browser to reload.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-6870817944597075391?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/6870817944597075391/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=6870817944597075391' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/6870817944597075391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/6870817944597075391'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/internet-explorer-uses-cache-for-get.html' title='Internet Explorer uses cache for &quot;get&quot; request'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-2659603224443011785</id><published>2007-01-25T10:53:00.000-08:00</published><updated>2007-01-25T10:55:53.265-08:00</updated><title type='text'>Get key press event using JavaScript</title><content type='html'>&lt;a href="http://www.geekpedia.com/tutorial138_Get-key-press-event-using-JavaScript.html"&gt;http://www.geekpedia.com/tutorial138_Get-key-press-event-using-JavaScript.html &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-2659603224443011785?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/2659603224443011785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=2659603224443011785' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2659603224443011785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/2659603224443011785'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/get-key-press-event-using-javascript.html' title='Get key press event using JavaScript'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-8194455434747254749</id><published>2007-01-22T11:31:00.000-08:00</published><updated>2007-01-22T11:36:13.338-08:00</updated><title type='text'>MySQL CHAR and VARCHAR Difference</title><content type='html'>CHAR and VARCHAR differ in storing and retrieving data values. Both of them use a number (e.g. CHAR(30), VARCHAR(30)) to indicate the length of string that they can hold, but CHAR will use definitely 30 bytes when it stores a string less than 30. VARCHAR will use the actual length of the string, such as 20 bytes (string length) to store (plus 1 byte to store the length, so 21 bytes).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-8194455434747254749?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/8194455434747254749/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=8194455434747254749' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/8194455434747254749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/8194455434747254749'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/mysql-char-and-varchar-difference.html' title='MySQL CHAR and VARCHAR Difference'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-8517039354646426908</id><published>2007-01-21T14:18:00.000-08:00</published><updated>2007-01-21T14:20:06.701-08:00</updated><title type='text'>HTTP Cookies</title><content type='html'>&lt;p&gt;Cookies are used by Web servers to differentiate users and to operate in a way that depends on the user. Cookies were invented for realizing a virtual &lt;a href="http://en.wikipedia.org/wiki/Shopping_cart" title="Shopping cart"&gt;shopping basket&lt;/a&gt;: this is a virtual device in which the user can "place" items to purchase, so that users can navigate a site where items are shown, adding or removing items from the shopping basket at any time. Cookies allow for the content of the shopping cart to depend on the user's actions.&lt;/p&gt; &lt;p&gt;Allowing users to log in to a website is another use of cookies. Users typically log in by inserting their credentials into a login page; cookies allow the server to know that the user is already authenticated, and therefore is allowed to access services or perform operations that are restricted to logged-in users.&lt;/p&gt; &lt;p&gt;Several websites also use cookies for &lt;a href="http://en.wikipedia.org/wiki/Personalization" title="Personalization"&gt;personalization&lt;/a&gt; based on users' preferences. Sites that require authentication often use this feature, although it is also present on sites not requiring authentication. Personalization includes presentation and functionality. For example, the &lt;a href="http://en.wikipedia.org/wiki/Wikipedia" title="Wikipedia"&gt;Wikipedia&lt;/a&gt; Web site allows authenticated users to choose the webpage &lt;a href="http://en.wikipedia.org/wiki/Skin_%28computing%29" title="Skin (computing)"&gt;skin&lt;/a&gt; they like best; the &lt;a href="http://en.wikipedia.org/wiki/Google" title="Google"&gt;Google&lt;/a&gt; search engine allows users (even non-registered ones) to decide how many search results per page they want to see.&lt;/p&gt; &lt;p&gt;Cookies are also used to track users across a website. Third-party cookies and &lt;a href="http://en.wikipedia.org/wiki/Web_bug" title="Web bug"&gt;Web bugs&lt;/a&gt;, explained below, also allow for tracking across multiple sites. Tracking within a site is typically done with the aim of producing usage statistics, while tracking across sites is typically used by advertising companies to produce anonymous user profiles, which are then used to target advertising (deciding which advertising image to show) based on the user profile.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-8517039354646426908?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/8517039354646426908/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=8517039354646426908' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/8517039354646426908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/8517039354646426908'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/http-cookies.html' title='HTTP Cookies'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-3214189886993899901</id><published>2007-01-21T13:20:00.000-08:00</published><updated>2007-01-21T13:27:06.687-08:00</updated><title type='text'>For those of you who can't use Dell Axim 51v with a bluetooth headset</title><content type='html'>Please download the package and install it. It rocks!&lt;br /&gt;&lt;a href="http://www.aximsite.com/boards/archive/index.php/t-122247.html"&gt;http://www.aximsite.com/boards/archive/index.php/t-122247.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-3214189886993899901?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/3214189886993899901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=3214189886993899901' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3214189886993899901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/3214189886993899901'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/for-those-of-you-who-cant-use-dell-axim.html' title='For those of you who can&apos;t use Dell Axim 51v with a bluetooth headset'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-6593040715031605045</id><published>2007-01-20T15:20:00.001-08:00</published><updated>2007-01-20T15:20:29.895-08:00</updated><title type='text'>Instant Edit</title><content type='html'>&lt;a href="http://www.yvoschaap.com/index.php/weblog/ajax_inline_instant_update_text_20"&gt;http://www.yvoschaap.com/index.php/weblog/ajax_inline_instant_update_text_20 &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-6593040715031605045?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/6593040715031605045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=6593040715031605045' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/6593040715031605045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/6593040715031605045'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/instant-edit.html' title='Instant Edit'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-516902042228766301</id><published>2007-01-20T15:19:00.001-08:00</published><updated>2007-01-20T15:20:47.586-08:00</updated><title type='text'>DOM-Drag - Tutorial</title><content type='html'>&lt;a href="http://boring.youngpup.net/2001/domdrag/tutorial"&gt;http://boring.youngpup.net/2001/domdrag/tutorial&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-516902042228766301?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/516902042228766301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=516902042228766301' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/516902042228766301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/516902042228766301'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/dom-drag-tutorial.html' title='DOM-Drag - Tutorial'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-9005894570757156734</id><published>2007-01-18T17:53:00.000-08:00</published><updated>2007-01-18T17:56:26.464-08:00</updated><title type='text'>AUTOCOMMIT when using Python MySQLdb module with MySQL database</title><content type='html'>When you use the MySQLdb module to update a table in MySQL database, you may find that the table is not changed at all. This is because for some reason the autocommit is set to FALSE. To reflect your change, you should set db.autocommit(True)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-9005894570757156734?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/9005894570757156734/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=9005894570757156734' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/9005894570757156734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/9005894570757156734'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/autocommit-when-using-python-mysqldb.html' title='AUTOCOMMIT when using Python MySQLdb module with MySQL database'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-585190310072549569</id><published>2007-01-18T12:25:00.000-08:00</published><updated>2007-01-21T13:27:37.540-08:00</updated><title type='text'>date --date="Dec 01 03:23:43 PST 2005" +"%s"</title><content type='html'>A linux command date&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-585190310072549569?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/585190310072549569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=585190310072549569' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/585190310072549569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/585190310072549569'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/date-datedec-01-032343-pst-2005-s.html' title='date --date=&quot;Dec 01 03:23:43 PST 2005&quot; +&quot;%s&quot;'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-5414891422307385174</id><published>2007-01-18T09:08:00.001-08:00</published><updated>2007-01-18T09:08:36.625-08:00</updated><title type='text'>MySQL Tutorial</title><content type='html'>&lt;a href="http://www.thescripts.com/serversidescripting/mysql/tutorials/introductiontomysql/index.html"&gt;http://www.thescripts.com/serversidescripting/mysql/tutorials/introductiontomysql/index.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-5414891422307385174?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/5414891422307385174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=5414891422307385174' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/5414891422307385174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/5414891422307385174'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/mysql-tutorial.html' title='MySQL Tutorial'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-8474195530344937814</id><published>2007-01-17T22:25:00.000-08:00</published><updated>2007-01-17T22:29:31.776-08:00</updated><title type='text'>javascript:void</title><content type='html'>&lt;p&gt;Sometimes, you may need to call some JavaSript from within a link. Normally, when you click a link, the browser loads a new page (or refreshes the same page).&lt;/p&gt; &lt;p&gt;This might not always be desirable. For example, you might only want to dynamically update a form field when the user clicks a link.&lt;/p&gt; &lt;p&gt;To prevent the load from refreshing, you use the &lt;b style="color: black; background-color: rgb(255, 255, 102);"&gt;JavaScript void&lt;/b&gt;() function and pass a parameter of 0 (zero).&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-8474195530344937814?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/8474195530344937814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=8474195530344937814' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/8474195530344937814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/8474195530344937814'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/javascriptvoid.html' title='javascript:void'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-8557136508013634593</id><published>2007-01-15T21:39:00.000-08:00</published><updated>2007-01-15T21:47:09.472-08:00</updated><title type='text'>Python and IIS</title><content type='html'>Searth by using Google: IIS python&lt;br /&gt;You will find an article in Microsoft  Help and Support:   &lt;a href="http://support.microsoft.com/kb/276494"&gt;http://support.microsoft.com/kb/276494&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Note:&lt;/span&gt;&lt;br /&gt;In this article, it mentioned the test.py file.&lt;br /&gt;It works well with IE, but it doesn't work with Firefox. You must DELETE the first two lines (print 'Content-type: text/html') to make it work for Firefox.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-8557136508013634593?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/8557136508013634593/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=8557136508013634593' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/8557136508013634593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/8557136508013634593'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/python-and-iis.html' title='Python and IIS'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-5163016092998504741</id><published>2007-01-15T19:42:00.000-08:00</published><updated>2007-01-15T19:58:34.481-08:00</updated><title type='text'>Why does Internet Information Server (IIS) want a password?</title><content type='html'>Key words: &lt;span style="color: rgb(255, 102, 102);"&gt;IIS | Prompt for a password | Firefox | IE | Internet Explorer&lt;/span&gt;&lt;br /&gt;Most users who follow the steps in my article how do I host my web site at home? have no trouble setting up Internet Information Server. But a few discover that Internet Information Server demands a username and password whenever someone else tries to access the web site. Usually the administrator can get in just fine - if they use Internet Explorer on the same computer that is running the web server. But Firefox displays the password prompt, and users on other computers see it too. Nothing users do will get them into the site. What's the problem?&lt;br /&gt;&lt;br /&gt;99% of the time, this is because Internet Information Server comes with a set of complicated ASP pages by default, pages that are supposed to be for the administrator only. If the webmaster deletes these before installing their own content in the web site home directory, there's no problem. But if these files are left in place, no one else can access the web site.&lt;br /&gt;&lt;br /&gt;The simplest way to remove Microsoft's less-than-helpful default files from your web site is to delete the current contents of your web site's home directory, then copy your own content into place.&lt;br /&gt;If you have already created pages of your own, and they only exist in your web site's home directory, don't delete your own work! Obviously, you'll want to remove only the files you don't recognize - Microsoft's files. Hopefully you have another copy of your own work elsewhere and you can just purge the contents of the directory.&lt;br /&gt;Finding And Cleaning Your Web Site's Home Directory&lt;br /&gt;More than likely, your new web site's home directory is C:\Inetpub\wwwroot. But you can check this in the control panel of Internet Information Server:&lt;br /&gt;&lt;br /&gt;1. Start -&gt; Settings -&gt; Control Panel -&gt; Administrative Tools&lt;br /&gt;&lt;br /&gt;2. Double-click "Internet Information Services"&lt;br /&gt;&lt;br /&gt;3. In the tree at left, right-click your web site or "Default Web Site," and pick "Properties"&lt;br /&gt;&lt;br /&gt;4. Click on the "Home Directory" tab&lt;br /&gt;&lt;br /&gt;5. Note the path in the "Local Path:" setting.&lt;br /&gt;&lt;br /&gt;6. Double-click "My Computer" and navigate to your web site's home directory, as found in step 5.&lt;br /&gt;&lt;br /&gt;7. Make absolutely sure you are looking at the contents of your web site's home directory, not its parent (C:\Inetpub\wwwroot, NOT C:\Inetpub). Also make sure that you have other copies of files that are important to you, or copy them to safety elsewhere at this time.&lt;br /&gt;&lt;br /&gt;8. Use "Select All" to select all of the files in your web site's home directory. You may see warnings that hidden files were not selected. This is OK.&lt;br /&gt;&lt;br /&gt;9. Right-click over any of the selected files and select "Delete" to remove all of them.&lt;br /&gt;&lt;br /&gt;10. Copy your own content into place. Make sure you have a home page called index.htm (if your pages are in HTML) or default.asp (if your pages are ASP pages). Other names, such as index.html, might not be recognized as a home page for your site.&lt;br /&gt;&lt;br /&gt;11. Try accessing the site again with Firefox, or from another computer. You should gain access to your home page.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;"Directory Listing Denied" errors&lt;/span&gt;&lt;br /&gt;If you see the error message "Directory Listing Denied" when you attempt to visit the home page of your site, you probably haven't created an "index pge." You need to create an HTML page called index.htm, or an ASP page called default.asp, to serve as your site's home page. A freshly installed copy of IIS is smart enough to recognize either of these names as the home page for the entire folder. so that's what you see if you access http://localhost from a web browser running on the server itself.&lt;br /&gt;Granting Anonymous Access To Your Web Site&lt;br /&gt;In rare cases, you may find that user are still denied access or shown password prompts even after you replace Microsoft's content with your own. This is usually a file permissions problem. Or you might not have anonymous access to your web site turned on. Either way, we can fix it!&lt;br /&gt;Turning On Anonymous Access&lt;br /&gt;Turning on anonymous access to your web site is easy. Just follow these steps:&lt;br /&gt;&lt;br /&gt;1. Start -&gt; Settings -&gt; Control Panel -&gt; Administrative Tools&lt;br /&gt;&lt;br /&gt;2. Double-click "Internet Information Services"&lt;br /&gt;&lt;br /&gt;3. In the tree at left, right-click your web site or "Default Web Site," and pick "Properties"&lt;br /&gt;&lt;br /&gt;4. Select the "Directory Security" tab&lt;br /&gt;&lt;br /&gt;5. Click "Enable anonymous access and edit the authentication methods for this resource"&lt;br /&gt;&lt;br /&gt;6. Make sure the "Anonymous access" box is checked. The "User name:" field will be sent to IUSR_COMPUTERNAME, where "computername" will be the name of your computer. The "Allow IIS to control password" box should also be checked. If these settings are correct, don't change them.&lt;br /&gt;&lt;br /&gt;When you're satisfied with your settings, click "OK." Other users should be able to access your site now. If not, read on for one more possibility.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Fixing Your Home Directory's Permissions&lt;/span&gt;&lt;br /&gt;Now that you know where your web site's home directory is, it's time to fix the permissions so that the files can be accessed anonymously (that is, by users who are not logged in). Normally this happens by default in a web site home directory, but there are occasional exceptions. Just follow these steps.&lt;br /&gt;&lt;br /&gt;1. Double-click "My Computer" on your desktop&lt;br /&gt;&lt;br /&gt;2. Browse down to the level just above your web site's home directory, right-click your web site's home directory, and select "Properties"&lt;br /&gt;&lt;br /&gt;3. Select the "Security" tab. If you do not see the "Security" tab, follow the steps in the box that follows.&lt;br /&gt;If You Do Not See The Security Tab&lt;br /&gt;&lt;br /&gt;Windows XP computers that are not part of a domain do not show the security tab by default. This is easy to fix:&lt;br /&gt;&lt;br /&gt;A. Go to "My Computer."&lt;br /&gt;&lt;br /&gt;B. Select "Folder Options" from the "Tools" menu.&lt;br /&gt;&lt;br /&gt;C. Scroll to the bottom of "Advanced settings."&lt;br /&gt;&lt;br /&gt;D. UN-check the "Use simple file sharing" box.&lt;br /&gt;&lt;br /&gt;E. Click "OK."&lt;br /&gt;&lt;br /&gt;Now you're ready to continue following the instructions for making your web site's home directory accessible to anonymous users.&lt;br /&gt;4. You should be looking at the "Security" tab for your web site home directory at this point.&lt;br /&gt;&lt;br /&gt;5. Select "Internet Guest Account" from the list of users.&lt;br /&gt;&lt;br /&gt;6. Check the "Read &amp; Execute" box. This should grant sufficient access for future files created in your home directory. But we still have some work to do for existing files.&lt;br /&gt;&lt;br /&gt;7. Click "OK" to close the Properties dialog box.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;If You Still Have Problems&lt;/span&gt;&lt;br /&gt;This article addresses the most common causes of password prompts and other unwanted behavior from a newly configured Internet Information Server. Of course, there are other possibilities. For further reading, I recommend the article Troubleshooting IIS Access Problems at the 15seconds web site.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-5163016092998504741?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/5163016092998504741/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=5163016092998504741' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/5163016092998504741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/5163016092998504741'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2007/01/why-does-internet-information-server.html' title='Why does Internet Information Server (IIS) want a password?'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-6398234749945012513</id><published>2006-10-06T12:55:00.000-07:00</published><updated>2006-10-06T12:56:06.753-07:00</updated><title type='text'>佛云八苦</title><content type='html'>&lt;span style="font-size:16px;"&gt;佛教云人生八苦，即是:生苦、老苦、病苦、死苦、爱别离苦、怨僧会苦、求不得苦、五阴炽盛苦。&lt;br /&gt;&lt;br /&gt;一、生苦：生之苦，人多不复记忆，事实上，十月胎狱之苦，且不必说，即出生之际，一个六磅八磅重的婴儿，通过狭窄的生门，这痛苦已非言语所可形容。脱离母体之后，为外界灼热或寒冷的空气所剌激，被接生者巨大的手掌抓来提去，这对婴儿细嫩的肌肤而言，其痛苦较皮鞭抽体尤有过之。婴儿出生后呱呱大哭，实是肉体上的痛苦所引起的。&lt;br /&gt;&lt;br /&gt;二、老苦：唐人诗云：“公道人间惟白发，贵人头上不会饶。”老，是任何人无以避免的。韩愈祭十二郎文云：“吾年未四十，而视茫茫，而发苍苍，而齿牙动摇”四十如此，未免早衰。但即使天赋过人，或摄生有术，到了七十岁八十岁，上述现象总会发生。又何况一般人在苦苦奔波了数十年之后，除了生理机能衰退外，因过去劳苦积累而贻留的腰酸背痛风湿胃病等等，都是使人难以忍受的痛苦，至于衰老对于女人，则更为残酷，因为除了生理的痛苦外，女人更有着青春消逝的心理的痛苦。由明眉皓齿，倾城倾国而鸡皮鹤发，老态龙钟，固然使人感慨，但谁又能逃出这个老的公例？&lt;br /&gt;&lt;br /&gt;三、病苦：人自呱呱堕地之日起，就与病结下不解之缘。少年的病如天花麻疹，中年的病如胃溃疡肺结核，老年的病如高血压心脏病，也许有人说，科学进步，新药日出，只要有钱，何愁治不好病？其实不然，特效药固然层出不穷，新的疾病也日有所见，如小儿麻痹症，癌症，在近年来日渐增多。进一步说，即是药物能治愈身体上的疾患，但由于社会竞争剧烈而致精神紧张憔虑所引起的神经衰弱，精神分裂，妄想狂，躁郁狂等心理上的疾病，又岂是药石所能奏效的？&lt;br /&gt;&lt;br /&gt;本来四大假合之身，难免有寒热失调的时候，病了，就要躺在病榻上挨受痛患，短时间还好受，倘长年缠绵病榻，日与药物为伍，这种痛苦，岂可言喻？&lt;br /&gt;&lt;br /&gt;四、死苦：一部钢铁铸成的机器，其寿命也不过由数年到数十年，一个血肉之躯的人，到底能支持多久？秦皇汉武求长生之药，只留下千古笑柄。盖宇宙万象，生住异灭，周而复始。有生就有死，有成就有坏，法尔如是，安有例外？佛经上说，非想非非想天，寿长八万四千大劫，但报终仍当堕落，不出六道轮回。&lt;br /&gt;&lt;br /&gt;既然如此，则死之于人，也就不足为异了！无奈“壮志未酬身先死”，每一个死者都有他尚末完成的壮志，因之世界就有多少死不瞑目之人，同时死前肉体上和精神上的痛苦，四大分离，呼吸困难，心里有千言万语，一句也说不出来。这时娇姿稚子，环绕榻前，生死离别，凄惨无比，尤以将死未死之际，这一生所作所为，善善恶恶，一一自脑海映过。对于那些善的，无愧于心的，会感到欣慰宁静，但对那些恶的，有背天理良心的，将会感到懊悔，痛苦和恐怖。这时因痛苦恐怖而感召地狱相见，神识受业力牵引，堕入恶道，所谓“万般带不去，唯有业随身”人之痛苦，尚有甚于此者乎？&lt;br /&gt;&lt;br /&gt;五、爱别离苦：语云：“乐莫乐兮新相知，悲莫悲兮生别离，”生死离别，人间惨事，青春丧偶，中年丧子，固然悲痛万分，即使不是死别，或为谋求衣食，或因迫于形势，与相亲相爱的人生离，也将感到痛苦。然而，天下没有不散的筵席，亲如父子，近如夫妇，亦难得终身相守，又何况其他呢？万法无常，爱别离之苦，是谁也无可避免的。&lt;br /&gt;&lt;br /&gt;六、怨憎会苦：和爱别离苦相对的，是怨憎会苦。意气相投的朋友，海誓山盟的爱人，恩爱情深的夫妻，或膝下承欢的子女，或生离，或死别，一切不能自主。但相反的，那些面目可憎，语言乏味；或利害冲突，两不相容的人，偏又聚会在一起。像这些可厌可憎的人，能够终身不见，岂不眼前清净？无奈社会上人事问题，繁杂万端，“不是怨家不聚头”，在某些形势下，愈是互相怨憎的人，愈被安排在一起，如影随形，好像再也没有分散的时间，这岂不是令人苦恼万分？&lt;br /&gt;&lt;br /&gt;七、求不得苦：想获得某一件东西，经济力量达不到；想谋求某一个位置，僧多粥少谋不到。甲男爱上了乙女，乙女却属意于丙男。自己的志趣是做计算机行业精英，但为了吃饭却不得不委曲在网吧做侍应生。这些都是求不得苦。莫说求不得，即使第一个愿望求得，第二个愿望又立即生出来。山谷易满，人欲难平，谁会感觉到自己一切都满足了呢？不满足，即有所求，求而不得，岂不苦恼？&lt;br /&gt;&lt;br /&gt;八、五阴炽盛苦：五阴即是五蕴，五阴集聚成身，如火炽燃，前七苦皆由此而生。色阴炽盛，四大不调，而有疾病之苦。受阴炽盛，领纳分别，使诸苦转本加极：想阴炽盛，想相追求，而有爱别离，怨憎会，求不得诸苦。行阴炽盛，起造诸业，又为后来得报之因，且因行而迁流不停，而有老衰之苦。识阴炽盛，起惑造业，三世流转，而有生死之苦。&lt;br /&gt;&lt;br /&gt;佛教中有时又把苦分为苦苦、坏苦、行苦的三类。&lt;br /&gt;苦苦：是我们生活中感受到的痛苦，佛经中既使没有指出，我们也是认为是&lt;br /&gt;苦的，这有生理上引起的出生的痛苦、衰老的痛苦、病变的痛苦、死亡的痛苦；&lt;br /&gt;由社会环境引起的爱别离苦：即亲爱的人不能厮守在一起；求不得苦：是所求不&lt;br /&gt;能如愿；怨憎会苦：是怨家路窄，低头不见抬头见。以及五蕴炽盛苦：即五蕴身&lt;br /&gt;心不平衡的痛苦。&lt;br /&gt;&lt;br /&gt;坏苦：是指我们通常快乐的感受。以佛法的智慧来看，我们所谓的快乐受并&lt;br /&gt;非真正的快乐，其实质也是痛苦的。例如我们饥饿时想吃，吃饱了就觉得快乐，&lt;br /&gt;但如果继续吃下去，还会觉得快乐吗？身体脏了，洗澡觉得快乐，但长时间在水&lt;br /&gt;里泡着觉得快乐吗？无聊时看电视觉得快乐，但没日没夜的看下去觉得快乐吗？&lt;br /&gt;由此可见我们的所谓快乐，是因为我们有了某种欲望之后，通过外境的刺激得到&lt;br /&gt;满足心理上出现暂时的平衡，于是我们觉得快乐，然而吃饭的实质并非快乐，倘&lt;br /&gt;若吃饭的实质是快乐的话，无论吃多少都应该觉得快乐，然而事实不然，当我们&lt;br /&gt;带着强烈的欲望吃馒头时，吃一个、两个、三个感到快乐，吃到四个、五个、六&lt;br /&gt;个时，你会发现此时已由原来的快乐转变为痛苦了。吃饭是这样，世间上一切通&lt;br /&gt;过欲望得到的快乐莫不如此，因为这种乐受能变坏，因此称为坏苦。&lt;br /&gt;&lt;br /&gt;行苦：行，是迁流变化义。世间一切都是无常变化，这乃是宇宙人生之规律。&lt;br /&gt;但世人不识这种规律，追求永恒：希望身体永恒、家庭永恒、婚姻永恒、事业永&lt;br /&gt;恒、人际关系永恒、爱情永恒，事实上世间没有一样永恒的东西，世事无常，美&lt;br /&gt;好的事物往往是昙花一现，转瞬即逝。由于我们的认识与世间的事实——行，相&lt;br /&gt;违背，因而就有了行苦。&lt;br /&gt;总之，娑婆世界，一切莫非是苦。&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-6398234749945012513?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/6398234749945012513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=6398234749945012513' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/6398234749945012513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/6398234749945012513'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2006/10/blog-post_06.html' title='佛云八苦'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-5881561506694021729</id><published>2006-10-04T11:17:00.000-07:00</published><updated>2006-10-04T11:18:47.317-07:00</updated><title type='text'>世道变了</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/4046/723609782375250/1600/chat.jpg"&gt;&lt;img style="cursor: pointer;" src="http://photos1.blogger.com/blogger2/4046/723609782375250/400/chat.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:16px;"&gt;&lt;br /&gt;会英文的不用英文，不会英文的偏用英文&lt;br /&gt;回中文的不用中文，不会中文的偏用中文&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-5881561506694021729?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/5881561506694021729/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=5881561506694021729' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/5881561506694021729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/5881561506694021729'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2006/10/blog-post.html' title='世道变了'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-8506650976880304226</id><published>2006-09-26T20:28:00.000-07:00</published><updated>2006-09-26T20:30:47.907-07:00</updated><title type='text'>干女儿呀干女儿</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/4046/723609782375250/1600/DSCN4042.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger2/4046/723609782375250/400/DSCN4042.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/4046/723609782375250/1600/DSCN4105.jpg"&gt;&lt;img style="cursor: pointer;" src="http://photos1.blogger.com/blogger2/4046/723609782375250/400/DSCN4105.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-8506650976880304226?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/8506650976880304226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=8506650976880304226' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/8506650976880304226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/8506650976880304226'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2006/09/blog-post_26.html' title='干女儿呀干女儿'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-5207199835470909988</id><published>2006-09-26T20:25:00.000-07:00</published><updated>2006-09-26T20:28:32.699-07:00</updated><title type='text'>Work Place</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/4046/723609782375250/1600/09-07-06_1837.jpg"&gt;&lt;img style="cursor: pointer;" src="http://photos1.blogger.com/blogger2/4046/723609782375250/400/09-07-06_1837.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/4046/723609782375250/1600/09-08-06_1728.jpg"&gt;&lt;img style="cursor: pointer;" src="http://photos1.blogger.com/blogger2/4046/723609782375250/400/09-08-06_1728.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-5207199835470909988?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/5207199835470909988/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=5207199835470909988' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/5207199835470909988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/5207199835470909988'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2006/09/work-place.html' title='Work Place'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-4689850936351632582</id><published>2006-09-12T11:58:00.000-07:00</published><updated>2007-01-15T20:57:54.411-08:00</updated><title type='text'>青春美少女——蒋中一</title><content type='html'>&lt;span style="font-size:16;"&gt;1997年左右的青春美少女&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/4046/723609782375250/1600/2005828154649588.jpg"&gt;&lt;img style="cursor: pointer;" src="http://photos1.blogger.com/blogger2/4046/723609782375250/400/2005828154649588.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/4046/723609782375250/1600/2005828154534647.jpg"&gt;&lt;img style="cursor: pointer;" src="http://photos1.blogger.com/blogger2/4046/723609782375250/400/2005828154534647.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-4689850936351632582?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/4689850936351632582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=4689850936351632582' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4689850936351632582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4689850936351632582'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2006/09/blog-post_12.html' title='青春美少女——蒋中一'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-4737728010519032744</id><published>2006-09-03T15:20:00.000-07:00</published><updated>2006-09-03T15:35:52.508-07:00</updated><title type='text'>A song that I love</title><content type='html'>&lt;embed src="http://zoukyle.myweb.uga.edu/shinian.mp3" width="200" height="32"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;(Sung by Liang Zou)&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-4737728010519032744?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/4737728010519032744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=4737728010519032744' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4737728010519032744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/4737728010519032744'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2006/09/song-for-my-wife.html' title='A song that I love'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-6562254596108701526</id><published>2006-09-03T15:07:00.000-07:00</published><updated>2006-09-03T15:19:32.660-07:00</updated><title type='text'>Alligator</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/4046/723609782375250/1600/100_1875.0.jpg"&gt;&lt;img style="cursor: pointer;" src="http://photos1.blogger.com/blogger2/4046/723609782375250/400/100_1875.0.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/4046/723609782375250/1600/100_1874.jpg"&gt;&lt;img style="cursor: pointer;" src="http://photos1.blogger.com/blogger2/4046/723609782375250/400/100_1874.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-6562254596108701526?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/6562254596108701526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=6562254596108701526' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/6562254596108701526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/6562254596108701526'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2006/09/alligator.html' title='Alligator'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-9042048643222579508</id><published>2006-09-02T18:40:00.001-07:00</published><updated>2006-09-02T18:45:08.771-07:00</updated><title type='text'>计算时间</title><content type='html'>为国内的老爸老妈做了一个Javascript程序，用以显示我们两个在美国的时间。这样他们就不用计算了。&lt;br /&gt;&lt;a href="http://home.comcast.net/~liangzou/time.html"&gt;&lt;br /&gt;http://home.comcast.com/~liangzou/time.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-9042048643222579508?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/9042048643222579508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=9042048643222579508' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/9042048643222579508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/9042048643222579508'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2006/09/blog-post_7394.html' title='计算时间'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-1138372662084631477</id><published>2006-09-02T13:07:00.000-07:00</published><updated>2006-09-02T13:08:50.480-07:00</updated><title type='text'>忧郁的眼神</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/4046/723609782375250/1600/dog.jpg"&gt;&lt;img style="cursor: pointer;" src="http://photos1.blogger.com/blogger2/4046/723609782375250/400/dog.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-1138372662084631477?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/1138372662084631477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=1138372662084631477' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/1138372662084631477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/1138372662084631477'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2006/09/blog-post.html' title='忧郁的眼神'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-7257519289910162481</id><published>2006-09-02T11:29:00.000-07:00</published><updated>2006-09-02T11:31:32.686-07:00</updated><title type='text'>A Must See - Big Bug in Germany （大虫子）</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/4046/723609782375250/1600/big_bug.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger2/4046/723609782375250/400/big_bug.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;a href="http://maps.google.com/maps?f=q&amp;hl=en&amp;q=arlesberg,+germany&amp;ie=UTF8&amp;z=18&amp;ll=48.857734,10.205296&amp;spn=0.002587,0.007424&amp;t=k&amp;om=1&amp;mid=1157220622"&gt;Click Here to See the Image in Google Map&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-7257519289910162481?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/7257519289910162481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=7257519289910162481' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/7257519289910162481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/7257519289910162481'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2006/09/must-see-big-bug-in-germany.html' title='A Must See - Big Bug in Germany （大虫子）'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-1184095818095087109</id><published>2006-08-27T16:32:00.000-07:00</published><updated>2006-08-27T16:27:46.983-07:00</updated><title type='text'>吕不韦</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/4046/723609782375250/1600/lu.0.jpg"&gt;&lt;img style="cursor: pointer;" src="http://photos1.blogger.com/blogger2/4046/723609782375250/400/lu.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:16px;"&gt;(ZZ)&lt;br /&gt;&lt;br /&gt;太后和吕不韦两人的关系是这样的：&lt;br /&gt;　　太后，秦王赢政的生母，即前文中的赵姬。伊原本是吕不韦最为宠爱的舞姬，后来被吕不韦送给了子楚。当子楚还 在世的时候，赵姬就和吕不韦一直藕断丝连，保持着不正当的男女关系。如今子楚死了，秦王赢政年纪还小，赵姬升格成为秦国的太后，拥有着不受监督的权力，因 此，她和吕不韦的男女关系便越来越肆无忌惮。&lt;br /&gt;　　&lt;br /&gt;　　如前所述，在赵姬和吕不韦之间，曾经存在过纯真的爱情。但那已是久远而泛黄的往事。如今一切全都变了，变得让人心如刀割，欲哭无泪。&lt;br /&gt;　　&lt;br /&gt;　　赵姬变了，身份变了，地位变了，她已是尊贵的太后，再也不是那个被吕不韦包养起来的低贱舞姬。她不需要再委屈自己去讨吕不韦的欢心，反而是吕不韦要倒过来讨她的欢心。这一年，赵姬三十四岁，当年那美艳绝伦的容貌，已经过早地出现衰老的迹象。&lt;br /&gt;　　&lt;br /&gt;　　对吕不韦这样的风流成性者来说，人间最悲之事，莫过于红颜老去。将萎之华，惨于槁木啊。赵姬已不再是当年在邯郸街头让吕不韦惊为天人的那位无邪少女，在她身上，再也觅不见半点当年的纯真和羞怯。亲爱的，我望着你，你依稀是你，你不再是你。&lt;br /&gt;　　&lt;br /&gt;　 　太后正处在如狼似虎之年，对性索求无度。子楚死后，满足太后性欲的光荣任务全落在吕不韦一人身上。吕不韦已是四十六高龄，哪里经得起太后这样昼取夜索， 横征暴敛，难免会时常力不从心。有时候，当吕不韦因为难以应付太后需求而遭到太后冷嘲热讽的时候，他总会满含热泪，无比地怀念起子楚来。他多希望子楚这位 战有还健在人间，好能够替自己分忧解难。&lt;br /&gt;　　&lt;br /&gt;　　吕不韦在和太后上床时，背负着常人难以想象的巨大精神压力。在这里，上床是和他的政治命 运紧紧联系在一起的。一旦他在床上表现欠佳，那绝不是单纯地出了性能力上的问题，而是出了极严重的政治问题，路线问题，立场问题，甚至可以上升到爱国主义 的高度。于是乎，每次和太后上床，吕不韦都是面临深渊、战战兢兢。关于和太后做爱这件事，对吕不韦来说已是渐渐变质，从受用变成受累，再从受累变成受罪。 以至于到了后来，每当吕不韦见到太后时，都恨不得自己是个太监才好。&lt;br /&gt;　　&lt;br /&gt;　　然而，具有讽刺意味的是，吕不韦连将自己阉掉的权利都没有。因为他那根不文之物已属于国家重点保护文物，归属太后专用品。他倘敢自宫，便是犯了蓄意破坏国家公共财产罪，必将受到严重的惩罚。&lt;br /&gt;　　&lt;br /&gt;　 　还有一点必须提及，那就是吕不韦曾经伤害过赵姬两次，而且一次比一次伤得深。女人那可怕的报复心啊。一旦你伤害过她，你就永世不得翻身，更何况是连续伤 害两次呢。赵姬以她的身体作为报复的武器，让吕不韦陷入生不如死的境地。吕不韦就这样被赵姬一次次地蚕食掏空，四十六的人，看上去象六十四。可想而知，当 吕不韦难以让太后身心愉悦时，本就对他充满报复欲望的太后，必将通过SM的方式，来释放缓解她紧绷的性压力。吕不韦绝望地忍受着太后加诸于他的肉体和精神 上的双重折磨，他也不知道，这样的日子究竟何时才能是个尽头。&lt;br /&gt;　　&lt;br /&gt;　　Anyway，我还是暗暗羡慕吕不韦同学的。至少，他还有被报复被折磨的机会。不象某些同学，连被报复被折磨的机会也没有。犯贱而不可得，何尝不是一种巨大的悲哀。后人哀之而不鉴之，亦使后人而复哀后人也。&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-1184095818095087109?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/1184095818095087109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=1184095818095087109' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/1184095818095087109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/1184095818095087109'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2006/08/blog-post.html' title='吕不韦'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5927811337218052046.post-1983275445202012521</id><published>2006-08-26T13:45:00.000-07:00</published><updated>2006-08-26T13:46:32.791-07:00</updated><title type='text'>大家都来支持( Support )伟大的 - Google</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5927811337218052046-1983275445202012521?l=liangzou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://liangzou.blogspot.com/feeds/1983275445202012521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5927811337218052046&amp;postID=1983275445202012521' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/1983275445202012521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5927811337218052046/posts/default/1983275445202012521'/><link rel='alternate' type='text/html' href='http://liangzou.blogspot.com/2006/08/google.html' title='大家都来支持( Support )伟大的 - Google'/><author><name>Liang Zou</name><uri>http://www.blogger.com/profile/03881680607952780895</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_Lmtffuhyv2c/SbhSJluPFAI/AAAAAAAAAns/PMc6m7A96Sk/S220/1236814029344.jpg'/></author><thr:total>0</thr:total></entry></feed>
