<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feed.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feed.feedsky.com/FedoraNotebook" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feed.feedsky.com/FedoraNotebook" type="application/rss+xml"></fs:self_link><lastBuildDate>Tue, 22 Feb 2011 10:55:28 GMT</lastBuildDate><title>Fedora 笔记</title><description>Fedora笔记, BIOS笔记, 还有一些牢骚</description><link atom:type="text/html">http://xiaomao101.blogspot.com/</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-178815912986733722</id><link xmlns="http://www.w3.org/2005/Atom" rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://xiaomao101.blogspot.com/feeds/posts/default"></link><link xmlns="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/178815912986733722/posts/default"></link><link xmlns="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/"></link><link xmlns="http://www.w3.org/2005/Atom" rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/178815912986733722/posts/default?start-index=26&amp;max-results=25"></link><author xmlns="http://www.w3.org/2005/Atom"><name>xiaomao101</name><email>noreply@blogger.com</email></author><generator xmlns="http://www.w3.org/2005/Atom" version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>164</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><pubDate>Sat, 10 Sep 2011 12:36:54 GMT</pubDate><managingEditor>xiaomao101</managingEditor><item><title>An article about Named function expressions</title><link atom:title="An article about Named function expressions" atom:type="text/html">http://xiaomao101.blogspot.com/2011/02/article-about-named-function.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-178815912986733722.post-6254300191946029466</id><content xmlns="http://www.w3.org/2005/Atom" type="html">In English: &lt;a href=&quot;http://kangax.github.com/nfe/&quot;&gt;http://kangax.github.com/nfe/&lt;/a&gt;&lt;br /&gt;In Chinese: &lt;a href=&quot;http://www.cn-cuckoo.com/main/wp-content/uploads/2009/12/named-function-expressions-demystified.html#introduction&quot;&gt;http://www.cn-cuckoo.com/main/wp-content/uploads/2009/12/named-function-expressions-demystified.html#introduction&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/178815912986733722-6254300191946029466?l=xiaomao101.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>xiaomao101</name><email>noreply@blogger.com</email></author><thr:total>0</thr:total><content:encoded>In English: &lt;a href=&quot;http://kangax.github.com/nfe/&quot;&gt;http://kangax.github.com/nfe/&lt;/a&gt;&lt;br /&gt;In Chinese: &lt;a href=&quot;http://www.cn-cuckoo.com/main/wp-content/uploads/2009/12/named-function-expressions-demystified.html#introduction&quot;&gt;http://www.cn-cuckoo.com/main/wp-content/uploads/2009/12/named-function-expressions-demystified.html#introduction&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/178815912986733722-6254300191946029466?l=xiaomao101.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/572608707/FedoraNotebook/feedsky/s.gif?r=http://xiaomao101.blogspot.com/2011/02/article-about-named-function.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><category domain="http://www.blogger.com/atom/ns#">Javascript</category><pubDate>Tue, 22 Feb 2011 18:55:28 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-178815912986733722.post-6254300191946029466</guid><dc:creator>xiaomao101</dc:creator><fs:srclink>http://xiaomao101.blogspot.com/2011/02/article-about-named-function.html</fs:srclink><fs:srcfeed>http://xiaomao101.blogspot.com/feeds/posts/default</fs:srcfeed><fs:itemid>feedsky/FedoraNotebook/~7499943/572608707/5608886</fs:itemid></item><item><title>main.c:99: error: ‘LangParser_decl_return’ undeclared (first use in this function)</title><link atom:title="main.c:99: error: ‘LangParser_decl_return’ undeclared (first use in this function)" atom:type="text/html">http://xiaomao101.blogspot.com/2010/12/mainc99-error-langparserdeclreturn.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-178815912986733722.post-3112828735626924151</id><content xmlns="http://www.w3.org/2005/Atom" type="html">Page in ANTLR3C API : http://antlr.org/api/C/index.html&lt;br /&gt;&lt;br /&gt;Something must be changed to fit your project:&lt;br /&gt;&lt;br /&gt;1. All variables containing /.*Lang.*/, change &quot;Lang&quot; to &quot;JavaScript&quot; or your language which your grammar described. (I wrote a JavaScript.g file to describe JavaScript Language Grammar.)&lt;br /&gt;&lt;br /&gt;2. Change &quot;LangParser_decl_return&quot; to &quot;JavaScriptParser_program_return&quot;, where &quot;JavaScript&quot; is what I said ablow, and where &quot;program&quot; is the first token you define below the &quot;option&quot; token,  in Grammar file (JavaScript.g).&lt;br /&gt;ps: You may want to change all &quot;decl&quot; to &quot;program&quot;, because &quot;decl&quot; only in file &quot;ANTLR_Examples.zip/C/treeparser/Lang.g&quot;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/178815912986733722-3112828735626924151?l=xiaomao101.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>xiaomao101</name><email>noreply@blogger.com</email></author><thr:total>0</thr:total><content:encoded>Page in ANTLR3C API : http://antlr.org/api/C/index.html&lt;br /&gt;&lt;br /&gt;Something must be changed to fit your project:&lt;br /&gt;&lt;br /&gt;1. All variables containing /.*Lang.*/, change &quot;Lang&quot; to &quot;JavaScript&quot; or your language which your grammar described. (I wrote a JavaScript.g file to describe JavaScript Language Grammar.)&lt;br /&gt;&lt;br /&gt;2. Change &quot;LangParser_decl_return&quot; to &quot;JavaScriptParser_program_return&quot;, where &quot;JavaScript&quot; is what I said ablow, and where &quot;program&quot; is the first token you define below the &quot;option&quot; token,  in Grammar file (JavaScript.g).&lt;br /&gt;ps: You may want to change all &quot;decl&quot; to &quot;program&quot;, because &quot;decl&quot; only in file &quot;ANTLR_Examples.zip/C/treeparser/Lang.g&quot;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/178815912986733722-3112828735626924151?l=xiaomao101.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/572608708/FedoraNotebook/feedsky/s.gif?r=http://xiaomao101.blogspot.com/2010/12/mainc99-error-langparserdeclreturn.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><category domain="http://www.blogger.com/atom/ns#">ANTLR</category><pubDate>Tue, 14 Dec 2010 13:48:09 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-178815912986733722.post-3112828735626924151</guid><dc:creator>xiaomao101</dc:creator><fs:srclink>http://xiaomao101.blogspot.com/2010/12/mainc99-error-langparserdeclreturn.html</fs:srclink><fs:srcfeed>http://xiaomao101.blogspot.com/feeds/posts/default</fs:srcfeed><fs:itemid>feedsky/FedoraNotebook/~7499943/572608708/5608886</fs:itemid></item><item><title>Bash: checking if a variable is a number</title><link atom:title="Bash: checking if a variable is a number" atom:type="text/html">http://xiaomao101.blogspot.com/2010/10/bash-checking-if-variable-is-number.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-178815912986733722.post-939762101237851252</id><content xmlns="http://www.w3.org/2005/Atom" type="html">&lt;div&gt;&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;div&gt;[code]&lt;/div&gt;&lt;div&gt;# v=1&lt;/div&gt;# [ $v -eq $v ]&lt;div&gt;# echo $?&lt;/div&gt;&lt;div&gt;0&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;div&gt; # v=a&lt;/div&gt;# [ $v -eq $v ]&lt;div&gt;# echo $?&lt;/div&gt;&lt;div&gt;2&lt;/div&gt;&lt;/div&gt;&lt;div&gt;[/code]&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Note: &amp;quot;-eq&amp;quot; compares number, but not string.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Ref:&lt;a href=&quot;http://snippets.dzone.com/posts/show/3143&quot;&gt;http://snippets.dzone.com/posts/show/3143&lt;/a&gt;&lt;/div&gt; &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt; &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/178815912986733722-939762101237851252?l=xiaomao101.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>xiaomao101</name><email>noreply@blogger.com</email></author><thr:total>0</thr:total><content:encoded>&lt;div&gt;&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;div&gt;[code]&lt;/div&gt;&lt;div&gt;# v=1&lt;/div&gt;# [ $v -eq $v ]&lt;div&gt;# echo $?&lt;/div&gt;&lt;div&gt;0&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;div&gt; # v=a&lt;/div&gt;# [ $v -eq $v ]&lt;div&gt;# echo $?&lt;/div&gt;&lt;div&gt;2&lt;/div&gt;&lt;/div&gt;&lt;div&gt;[/code]&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Note: &amp;quot;-eq&amp;quot; compares number, but not string.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Ref:&lt;a href=&quot;http://snippets.dzone.com/posts/show/3143&quot;&gt;http://snippets.dzone.com/posts/show/3143&lt;/a&gt;&lt;/div&gt; &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt; &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/178815912986733722-939762101237851252?l=xiaomao101.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/572608709/FedoraNotebook/feedsky/s.gif?r=http://xiaomao101.blogspot.com/2010/10/bash-checking-if-variable-is-number.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><pubDate>Thu, 14 Oct 2010 19:38:05 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-178815912986733722.post-939762101237851252</guid><dc:creator>xiaomao101</dc:creator><fs:srclink>http://xiaomao101.blogspot.com/2010/10/bash-checking-if-variable-is-number.html</fs:srclink><fs:srcfeed>http://xiaomao101.blogspot.com/feeds/posts/default</fs:srcfeed><fs:itemid>feedsky/FedoraNotebook/~7499943/572608709/5608886</fs:itemid></item><item><title>Your Linux distribution isn't supported yet. Currently only Gnome and KDE based distributions are supported.</title><link atom:title="Your Linux distribution isn't supported yet. Currently only Gnome and KDE based distributions are supported." atom:type="text/html">http://xiaomao101.blogspot.com/2010/10/your-linux-distribution-isnt-supported.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-178815912986733722.post-6526266201970580237</id><content xmlns="http://www.w3.org/2005/Atom" type="html">Using Chromium to 翻墙(Scale Great Firewall) with Switchy is realy realy realy a bad expirencing.&lt;div&gt;Switch to Autoproxy2pac: &lt;a href=&quot;https://autoproxy2pac.appspot.com/&quot;&gt;https://autoproxy2pac.appspot.com/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;Only give a argument &amp;quot;--proxy-pac-url=&lt;a href=&quot;http://autoproxy2pac.appspot.com/pac/ssh-d&quot;&gt;http://autoproxy2pac.appspot.com/pac/ssh-d&lt;/a&gt;&amp;quot; when running Chromium.&lt;/div&gt; &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Ref: &lt;a href=&quot;https://autoproxy2pac.appspot.com/&quot;&gt;https://autoproxy2pac.appspot.com/&lt;/a&gt;&lt;/div&gt;&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt; &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/178815912986733722-6526266201970580237?l=xiaomao101.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>xiaomao101</name><email>noreply@blogger.com</email></author><thr:total>0</thr:total><content:encoded>Using Chromium to 翻墙(Scale Great Firewall) with Switchy is realy realy realy a bad expirencing.&lt;div&gt;Switch to Autoproxy2pac: &lt;a href=&quot;https://autoproxy2pac.appspot.com/&quot;&gt;https://autoproxy2pac.appspot.com/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;Only give a argument &amp;quot;--proxy-pac-url=&lt;a href=&quot;http://autoproxy2pac.appspot.com/pac/ssh-d&quot;&gt;http://autoproxy2pac.appspot.com/pac/ssh-d&lt;/a&gt;&amp;quot; when running Chromium.&lt;/div&gt; &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Ref: &lt;a href=&quot;https://autoproxy2pac.appspot.com/&quot;&gt;https://autoproxy2pac.appspot.com/&lt;/a&gt;&lt;/div&gt;&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt; &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/178815912986733722-6526266201970580237?l=xiaomao101.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/572608710/FedoraNotebook/feedsky/s.gif?r=http://xiaomao101.blogspot.com/2010/10/your-linux-distribution-isnt-supported.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><pubDate>Fri, 01 Oct 2010 23:09:09 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-178815912986733722.post-6526266201970580237</guid><dc:creator>xiaomao101</dc:creator><fs:srclink>http://xiaomao101.blogspot.com/2010/10/your-linux-distribution-isnt-supported.html</fs:srclink><fs:srcfeed>http://xiaomao101.blogspot.com/feeds/posts/default</fs:srcfeed><fs:itemid>feedsky/FedoraNotebook/~7499943/572608710/5608886</fs:itemid></item><item><title>ossim agent loses file handle on log files after rotation</title><link atom:title="ossim agent loses file handle on log files after rotation" atom:type="text/html">http://xiaomao101.blogspot.com/2010/09/ossim-agent-loses-file-handle-on-log.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-178815912986733722.post-1022590601952934642</id><content xmlns="http://www.w3.org/2005/Atom" type="html">bug&lt;br&gt; &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/178815912986733722-1022590601952934642?l=xiaomao101.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>xiaomao101</name><email>noreply@blogger.com</email></author><thr:total>0</thr:total><content:encoded>bug&lt;br&gt; &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/178815912986733722-1022590601952934642?l=xiaomao101.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/572608711/FedoraNotebook/feedsky/s.gif?r=http://xiaomao101.blogspot.com/2010/09/ossim-agent-loses-file-handle-on-log.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><pubDate>Thu, 30 Sep 2010 10:04:54 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-178815912986733722.post-1022590601952934642</guid><dc:creator>xiaomao101</dc:creator><fs:srclink>http://xiaomao101.blogspot.com/2010/09/ossim-agent-loses-file-handle-on-log.html</fs:srclink><fs:srcfeed>http://xiaomao101.blogspot.com/feeds/posts/default</fs:srcfeed><fs:itemid>feedsky/FedoraNotebook/~7499943/572608711/5608886</fs:itemid></item><item><title>Windows 7下IE8即使导入了https证书仍然显示“证书错误”</title><link atom:title="Windows 7下IE8即使导入了https证书仍然显示“证书错误”" atom:type="text/html">http://xiaomao101.blogspot.com/2010/09/windows-7ie8https.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-178815912986733722.post-5676863485193690227</id><content xmlns="http://www.w3.org/2005/Atom" type="html">&lt;b&gt;现象：&lt;/b&gt;&lt;br&gt;Windows XP系统下，使用IE6/IE7/IE8，登录Web管理系统的时候提示证书错误，然后导入证书（自动选择证书存储区），重启IE（或者重启OS），再次登录Web管理系统，则没有提示证书错误。&lt;br&gt;Windows 7系统下，使用IE8，登录Web管理系统的时候提示证书不被信任，然后导入证书，重启IE（自动选择证书存储区），再次登录Web管理系统，地址栏里面仍然显示&quot;证书错误&quot;。&lt;br&gt;在证书管理器中比较这两个OS下的https证书存储区发现是不同的。&lt;br&gt; &lt;br&gt;&lt;b&gt;解决：&lt;/b&gt;&lt;br&gt;Windows 7系统下，使用IE8导入证书的时候请选择存储区为&quot;受信任的根证书办法机构&quot;，否则自动选择的存储区。 &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/178815912986733722-5676863485193690227?l=xiaomao101.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>xiaomao101</name><email>noreply@blogger.com</email></author><thr:total>0</thr:total><content:encoded>&lt;b&gt;现象：&lt;/b&gt;&lt;br&gt;Windows XP系统下，使用IE6/IE7/IE8，登录Web管理系统的时候提示证书错误，然后导入证书（自动选择证书存储区），重启IE（或者重启OS），再次登录Web管理系统，则没有提示证书错误。&lt;br&gt;Windows 7系统下，使用IE8，登录Web管理系统的时候提示证书不被信任，然后导入证书，重启IE（自动选择证书存储区），再次登录Web管理系统，地址栏里面仍然显示&quot;证书错误&quot;。&lt;br&gt;在证书管理器中比较这两个OS下的https证书存储区发现是不同的。&lt;br&gt; &lt;br&gt;&lt;b&gt;解决：&lt;/b&gt;&lt;br&gt;Windows 7系统下，使用IE8导入证书的时候请选择存储区为&quot;受信任的根证书办法机构&quot;，否则自动选择的存储区。 &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/178815912986733722-5676863485193690227?l=xiaomao101.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/572608712/FedoraNotebook/feedsky/s.gif?r=http://xiaomao101.blogspot.com/2010/09/windows-7ie8https.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><pubDate>Thu, 16 Sep 2010 15:45:41 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-178815912986733722.post-5676863485193690227</guid><dc:creator>xiaomao101</dc:creator><fs:srclink>http://xiaomao101.blogspot.com/2010/09/windows-7ie8https.html</fs:srclink><fs:srcfeed>http://xiaomao101.blogspot.com/feeds/posts/default</fs:srcfeed><fs:itemid>feedsky/FedoraNotebook/~7499943/572608712/5608886</fs:itemid></item><item><title>IE gives warning when redirect from HTTPS to HTTP</title><link atom:title="IE gives warning when redirect from HTTPS to HTTP" atom:type="text/html">http://xiaomao101.blogspot.com/2010/09/ie-gives-warning-when-redirect-from.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-178815912986733722.post-6118536180931459820</id><content xmlns="http://www.w3.org/2005/Atom" type="html">If you use header() method provided by PHP, to redirect from HTTPS to HTTP,&lt;br&gt;IE will give out a warning, but if you use the code below above othe PHP code, no warning will show.&lt;br&gt;// =========================================================&lt;br&gt; &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&amp;lt;?php                                                                                                                                                                                                      &lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt; &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;if($_SERVER[&amp;#39;HTTPS&amp;#39;] == &amp;quot;on&amp;quot;) {&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;    $redirect = &amp;quot;http://&amp;quot; . $_SERVER[&amp;#39;HTTP_HOST&amp;#39;] . $_SERVER[&amp;#39;REQUEST_URI&amp;#39;];&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt; &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;    echo &amp;quot;&amp;lt;meta http-equiv=\&amp;quot;refresh\&amp;quot; content=\&amp;quot;0; url=$redirect\&amp;quot;&amp;gt;&amp;quot;;&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;    exit();&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt; &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;br&gt;// ==========================================================&lt;br clear=&quot;all&quot;&gt; The tag &amp;quot;&amp;lt;meta&amp;gt;&amp;quot; will refresh the web page and jump/redirect to another web page.&lt;br&gt;&lt;br&gt;-- &lt;br&gt;from my gmail&lt;br&gt; &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/178815912986733722-6118536180931459820?l=xiaomao101.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>xiaomao101</name><email>noreply@blogger.com</email></author><thr:total>0</thr:total><content:encoded>If you use header() method provided by PHP, to redirect from HTTPS to HTTP,&lt;br&gt;IE will give out a warning, but if you use the code below above othe PHP code, no warning will show.&lt;br&gt;// =========================================================&lt;br&gt; &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&amp;lt;?php                                                                                                                                                                                                      &lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt; &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;if($_SERVER[&amp;#39;HTTPS&amp;#39;] == &amp;quot;on&amp;quot;) {&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;    $redirect = &amp;quot;http://&amp;quot; . $_SERVER[&amp;#39;HTTP_HOST&amp;#39;] . $_SERVER[&amp;#39;REQUEST_URI&amp;#39;];&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt; &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;    echo &amp;quot;&amp;lt;meta http-equiv=\&amp;quot;refresh\&amp;quot; content=\&amp;quot;0; url=$redirect\&amp;quot;&amp;gt;&amp;quot;;&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;    exit();&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt; &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;br&gt;// ==========================================================&lt;br clear=&quot;all&quot;&gt; The tag &amp;quot;&amp;lt;meta&amp;gt;&amp;quot; will refresh the web page and jump/redirect to another web page.&lt;br&gt;&lt;br&gt;-- &lt;br&gt;from my gmail&lt;br&gt; &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/178815912986733722-6118536180931459820?l=xiaomao101.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/572608713/FedoraNotebook/feedsky/s.gif?r=http://xiaomao101.blogspot.com/2010/09/ie-gives-warning-when-redirect-from.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><pubDate>Mon, 13 Sep 2010 10:17:40 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-178815912986733722.post-6118536180931459820</guid><dc:creator>xiaomao101</dc:creator><fs:srclink>http://xiaomao101.blogspot.com/2010/09/ie-gives-warning-when-redirect-from.html</fs:srclink><fs:srcfeed>http://xiaomao101.blogspot.com/feeds/posts/default</fs:srcfeed><fs:itemid>feedsky/FedoraNotebook/~7499943/572608713/5608886</fs:itemid></item><item><title>Redirect from HTTP to HTTPS in Apache with &quot;.htaccess&quot;</title><link atom:title="Redirect from HTTP to HTTPS in Apache with &quot;.htaccess&quot;" atom:type="text/html">http://xiaomao101.blogspot.com/2010/09/redirect-from-http-to-https-in-apache.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-178815912986733722.post-8394383946532343022</id><content xmlns="http://www.w3.org/2005/Atom" type="html">1. Redirect all files in a directory&lt;br&gt;Add these contents into the &amp;quot;.htaccess&amp;quot; file under your directory.&lt;br&gt;##################&lt;br&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;RewriteEngine On&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt; &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;RewriteCond %{HTTPS} !on&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}&lt;/span&gt;&lt;br&gt; ##################&lt;br&gt;Then:&lt;br&gt;&amp;quot;&lt;b&gt;http&lt;/b&gt;://domain/dir/a.php&amp;quot; will redirect into &amp;quot;&lt;b&gt;https&lt;/b&gt;://domain/dir/a.php&amp;quot;,&lt;br&gt; &amp;quot;&lt;b&gt;http&lt;/b&gt;://domain/dir/b.php&amp;quot; will redirect into &amp;quot;&lt;b&gt;https&lt;/b&gt;://domain/dir/b.php&amp;quot;,&lt;br&gt; &amp;quot;&lt;b&gt;http&lt;/b&gt;://domain/dir/c.php&amp;quot; will redirect into &amp;quot;&lt;b&gt;https&lt;/b&gt;://domain/dir/c.php&amp;quot;.&lt;br&gt;&lt;br&gt;2. Redirect a single file in a directory&lt;br&gt;Add these contents into the &amp;quot;.htaccess&amp;quot; file under the directory containing your file.&lt;br&gt; ##################&lt;br&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&amp;lt;FilesMatch &amp;quot;^login\.php$&amp;quot;&amp;gt;&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;  RewriteEngine On&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt; &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;  RewriteCond %{HTTPS} !on&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;  RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt; &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&amp;lt;/FilesMatch&amp;gt;&lt;/span&gt;&lt;br&gt;##################&lt;br&gt;Then:&lt;br&gt;&amp;quot;&lt;b&gt;http&lt;/b&gt;://domain/dir/login.php&amp;quot; will redirect into &amp;quot;&lt;b&gt;https&lt;/b&gt;://domain/dir/login.php&amp;quot;&lt;br&gt;  &amp;quot;&lt;b&gt;http&lt;/b&gt;://domain/dir/other_files.php&amp;quot; will not redirect.&lt;br&gt; &lt;br&gt;--&lt;br&gt;from my gmail&lt;br&gt; &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/178815912986733722-8394383946532343022?l=xiaomao101.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>xiaomao101</name><email>noreply@blogger.com</email></author><thr:total>0</thr:total><content:encoded>1. Redirect all files in a directory&lt;br&gt;Add these contents into the &amp;quot;.htaccess&amp;quot; file under your directory.&lt;br&gt;##################&lt;br&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;RewriteEngine On&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt; &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;RewriteCond %{HTTPS} !on&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}&lt;/span&gt;&lt;br&gt; ##################&lt;br&gt;Then:&lt;br&gt;&amp;quot;&lt;b&gt;http&lt;/b&gt;://domain/dir/a.php&amp;quot; will redirect into &amp;quot;&lt;b&gt;https&lt;/b&gt;://domain/dir/a.php&amp;quot;,&lt;br&gt; &amp;quot;&lt;b&gt;http&lt;/b&gt;://domain/dir/b.php&amp;quot; will redirect into &amp;quot;&lt;b&gt;https&lt;/b&gt;://domain/dir/b.php&amp;quot;,&lt;br&gt; &amp;quot;&lt;b&gt;http&lt;/b&gt;://domain/dir/c.php&amp;quot; will redirect into &amp;quot;&lt;b&gt;https&lt;/b&gt;://domain/dir/c.php&amp;quot;.&lt;br&gt;&lt;br&gt;2. Redirect a single file in a directory&lt;br&gt;Add these contents into the &amp;quot;.htaccess&amp;quot; file under the directory containing your file.&lt;br&gt; ##################&lt;br&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&amp;lt;FilesMatch &amp;quot;^login\.php$&amp;quot;&amp;gt;&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;  RewriteEngine On&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt; &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;  RewriteCond %{HTTPS} !on&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;  RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt; &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&amp;lt;/FilesMatch&amp;gt;&lt;/span&gt;&lt;br&gt;##################&lt;br&gt;Then:&lt;br&gt;&amp;quot;&lt;b&gt;http&lt;/b&gt;://domain/dir/login.php&amp;quot; will redirect into &amp;quot;&lt;b&gt;https&lt;/b&gt;://domain/dir/login.php&amp;quot;&lt;br&gt;  &amp;quot;&lt;b&gt;http&lt;/b&gt;://domain/dir/other_files.php&amp;quot; will not redirect.&lt;br&gt; &lt;br&gt;--&lt;br&gt;from my gmail&lt;br&gt; &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/178815912986733722-8394383946532343022?l=xiaomao101.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/572608714/FedoraNotebook/feedsky/s.gif?r=http://xiaomao101.blogspot.com/2010/09/redirect-from-http-to-https-in-apache.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><pubDate>Mon, 13 Sep 2010 09:58:14 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-178815912986733722.post-8394383946532343022</guid><dc:creator>xiaomao101</dc:creator><fs:srclink>http://xiaomao101.blogspot.com/2010/09/redirect-from-http-to-https-in-apache.html</fs:srclink><fs:srcfeed>http://xiaomao101.blogspot.com/feeds/posts/default</fs:srcfeed><fs:itemid>feedsky/FedoraNotebook/~7499943/572608714/5608886</fs:itemid></item><item><title>[test] Write blog with html email</title><link atom:title="[test] Write blog with html email" atom:type="text/html">http://xiaomao101.blogspot.com/2010/09/test-write-blog-with-html-email.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-178815912986733722.post-5040583466558908597</id><content xmlns="http://www.w3.org/2005/Atom" type="html">&lt;font size=&quot;6&quot;&gt;This&lt;/font&gt; &lt;u style=&quot;background-color: rgb(255, 255, 51);&quot;&gt;is&lt;/u&gt; &lt;i&gt;a&lt;/i&gt; &lt;b style=&quot;color: rgb(255, 0, 0);&quot;&gt;HTML&lt;/b&gt; &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;Email&lt;/span&gt;.&lt;br&gt;[IMG src=&amp;quot;defined&amp;quot;]&lt;img title=&quot;xin_128.png&quot; alt=&quot;xin_128.png&quot; src=&quot;cid:ii_12af7681f943c21e&quot;&gt;[/IMG]&lt;br&gt; [IMG src=&amp;quot;gmail_smile&amp;quot;]&lt;img goomoji=&quot;360&quot; style=&quot;margin: 0pt 0.2ex; vertical-align: middle;&quot; src=&quot;cid:360@goomoji.gmail&quot;&gt;[/IMG]&lt;br&gt;&lt;ol&gt;&lt;li&gt;abc&lt;/li&gt;&lt;li&gt;abc&lt;/li&gt;&lt;li&gt;abc&lt;/li&gt;&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;abc&lt;/li&gt;&lt;li&gt;abc&lt;/li&gt;&lt;li&gt;abc&lt;/li&gt; &lt;/ul&gt;Indent off&lt;br&gt;&lt;div style=&quot;margin-left: 40px;&quot;&gt;Indent on&lt;br&gt;&lt;/div&gt;Indent off&lt;br&gt;abc normal&lt;br&gt; &lt;div style=&quot;text-align: center;&quot;&gt;abc center&lt;br&gt;&lt;/div&gt; abc normal&lt;br&gt; &lt;div style=&quot;text-align: right;&quot;&gt;abc right&lt;br&gt;&lt;/div&gt; abc normal&lt;br&gt; abc &lt;a href=&quot;http://www.google.com&quot;&gt;link&lt;/a&gt;&lt;br&gt; &lt;br&gt; &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/178815912986733722-5040583466558908597?l=xiaomao101.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>xiaomao101</name><email>noreply@blogger.com</email></author><thr:total>0</thr:total><content:encoded>&lt;font size=&quot;6&quot;&gt;This&lt;/font&gt; &lt;u style=&quot;background-color: rgb(255, 255, 51);&quot;&gt;is&lt;/u&gt; &lt;i&gt;a&lt;/i&gt; &lt;b style=&quot;color: rgb(255, 0, 0);&quot;&gt;HTML&lt;/b&gt; &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;Email&lt;/span&gt;.&lt;br&gt;[IMG src=&amp;quot;defined&amp;quot;]&lt;img title=&quot;xin_128.png&quot; alt=&quot;xin_128.png&quot; src=&quot;cid:ii_12af7681f943c21e&quot;&gt;[/IMG]&lt;br&gt; [IMG src=&amp;quot;gmail_smile&amp;quot;]&lt;img goomoji=&quot;360&quot; style=&quot;margin: 0pt 0.2ex; vertical-align: middle;&quot; src=&quot;cid:360@goomoji.gmail&quot;&gt;[/IMG]&lt;br&gt;&lt;ol&gt;&lt;li&gt;abc&lt;/li&gt;&lt;li&gt;abc&lt;/li&gt;&lt;li&gt;abc&lt;/li&gt;&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;abc&lt;/li&gt;&lt;li&gt;abc&lt;/li&gt;&lt;li&gt;abc&lt;/li&gt; &lt;/ul&gt;Indent off&lt;br&gt;&lt;div style=&quot;margin-left: 40px;&quot;&gt;Indent on&lt;br&gt;&lt;/div&gt;Indent off&lt;br&gt;abc normal&lt;br&gt; &lt;div style=&quot;text-align: center;&quot;&gt;abc center&lt;br&gt;&lt;/div&gt; abc normal&lt;br&gt; &lt;div style=&quot;text-align: right;&quot;&gt;abc right&lt;br&gt;&lt;/div&gt; abc normal&lt;br&gt; abc &lt;a href=&quot;http://www.google.com&quot;&gt;link&lt;/a&gt;&lt;br&gt; &lt;br&gt; &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/178815912986733722-5040583466558908597?l=xiaomao101.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/572608715/FedoraNotebook/feedsky/s.gif?r=http://xiaomao101.blogspot.com/2010/09/test-write-blog-with-html-email.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><pubDate>Fri, 10 Sep 2010 00:56:30 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-178815912986733722.post-5040583466558908597</guid><dc:creator>xiaomao101</dc:creator><fs:srclink>http://xiaomao101.blogspot.com/2010/09/test-write-blog-with-html-email.html</fs:srclink><fs:srcfeed>http://xiaomao101.blogspot.com/feeds/posts/default</fs:srcfeed><fs:itemid>feedsky/FedoraNotebook/~7499943/572608715/5608886</fs:itemid></item><item><title>Change from opensvn.csie.org to code.google.com</title><link atom:title="Change from opensvn.csie.org to code.google.com" atom:type="text/html">http://xiaomao101.blogspot.com/2010/04/change-from-opensvncsieorg-to.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-178815912986733722.post-560361229022420650</id><content xmlns="http://www.w3.org/2005/Atom" type="html">1. Create a new project in google code.&lt;br /&gt;2. Reset the Subversion repository to revision 0.&lt;br /&gt;Find the &quot;Reset Subversion Repository&quot; link at the bottom of the &quot;Source&quot; tab.&lt;br /&gt;3. Sync between two svn host. Init first, then sync.&lt;br /&gt;&lt;code class=&quot;prettyprint&quot;&gt;$ svnsync init https://xiaomao101.googlecode.com/svn/ https://opensvn.csie.org/xiaomao101/ --username ant101tna&lt;br /&gt;Authentication realm: &lt;https: 443=&quot;&quot;&gt; Google Code Subversion Repository&lt;br /&gt;Password for 'ant101tna':&lt;br /&gt;Copied properties for revision 0.&lt;br /&gt;$ svnsync sync https://xiaomao101.googlecode.com/svn/ --username ant101tna&lt;br /&gt;Transmitting file data .&lt;br /&gt;Committed revision 1.&lt;br /&gt;Copied properties for revision 1.&lt;br /&gt;Committed revision 2.&lt;br /&gt;Copied properties for revision 2.&lt;br /&gt;Transmitting file data ...&lt;/https:&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Ref:&lt;br /&gt;(1) Importing Subversion Repositories to Google Code&lt;br /&gt;http://therightstuff.de/CommentView,guid,b984a8e7-e94d-4eed-a705-5dc479f959e8.aspx&lt;br /&gt;(2) 將 Subversion Repository 搬進 Google Code 裡面&lt;br /&gt;http://fourdollars.blogspot.com/2009/08/subversion-repository-google-code.html&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/178815912986733722-560361229022420650?l=xiaomao101.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>xiaomao101</name><email>noreply@blogger.com</email></author><thr:total>0</thr:total><content:encoded>1. Create a new project in google code.&lt;br /&gt;2. Reset the Subversion repository to revision 0.&lt;br /&gt;Find the &quot;Reset Subversion Repository&quot; link at the bottom of the &quot;Source&quot; tab.&lt;br /&gt;3. Sync between two svn host. Init first, then sync.&lt;br /&gt;&lt;code class=&quot;prettyprint&quot;&gt;$ svnsync init https://xiaomao101.googlecode.com/svn/ https://opensvn.csie.org/xiaomao101/ --username ant101tna&lt;br /&gt;Authentication realm: &lt;https: 443=&quot;&quot;&gt; Google Code Subversion Repository&lt;br /&gt;Password for 'ant101tna':&lt;br /&gt;Copied properties for revision 0.&lt;br /&gt;$ svnsync sync https://xiaomao101.googlecode.com/svn/ --username ant101tna&lt;br /&gt;Transmitting file data .&lt;br /&gt;Committed revision 1.&lt;br /&gt;Copied properties for revision 1.&lt;br /&gt;Committed revision 2.&lt;br /&gt;Copied properties for revision 2.&lt;br /&gt;Transmitting file data ...&lt;/https:&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Ref:&lt;br /&gt;(1) Importing Subversion Repositories to Google Code&lt;br /&gt;http://therightstuff.de/CommentView,guid,b984a8e7-e94d-4eed-a705-5dc479f959e8.aspx&lt;br /&gt;(2) 將 Subversion Repository 搬進 Google Code 裡面&lt;br /&gt;http://fourdollars.blogspot.com/2009/08/subversion-repository-google-code.html&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/178815912986733722-560361229022420650?l=xiaomao101.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/572608716/FedoraNotebook/feedsky/s.gif?r=http://xiaomao101.blogspot.com/2010/04/change-from-opensvncsieorg-to.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><category domain="http://www.blogger.com/atom/ns#">Linux</category><category domain="http://www.blogger.com/atom/ns#">backup</category><category domain="http://www.blogger.com/atom/ns#">SVN</category><pubDate>Fri, 23 Apr 2010 14:31:51 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-178815912986733722.post-560361229022420650</guid><dc:creator>xiaomao101</dc:creator><fs:srclink>http://xiaomao101.blogspot.com/2010/04/change-from-opensvncsieorg-to.html</fs:srclink><fs:srcfeed>http://xiaomao101.blogspot.com/feeds/posts/default</fs:srcfeed><fs:itemid>feedsky/FedoraNotebook/~7499943/572608716/5608886</fs:itemid></item></channel></rss>
