<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" gd:etag="W/&quot;C0AMSXo7eyp7ImA9WhVVFUw.&quot;"><id>tag:blogger.com,1999:blog-33200808</id><updated>2012-05-09T05:16:28.403+08:00</updated><category term="我的收藏" /><category term="读书" /><category term="生活周围" /><category term="奇技淫巧" /><category term="排版" /><category term="笑话" /><category term="无知的我" /><category term="诗歌" /><category term="其它" /><category term="老家" /><category term="Windows" /><category term="历史" /><category term="牛人系列" /><category term="ThuThesis" /><category term="眼中的大千" /><title>伸脚地</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>459</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/xueruini" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="xueruini" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;DUQCQnc5fSp7ImA9WhdWGUs.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-7416394917596682720</id><published>2011-09-14T10:27:00.000+08:00</published><updated>2011-09-14T10:29:23.925+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-14T10:29:23.925+08:00</app:edited><title>Swiss-knifes for Linux</title><content type="html">- tmux/byobu/screen&lt;br&gt;&lt;div class="gmail_quote"&gt;- git/tig (forget svn and try &lt;a href="https://github.com/nirvdrum/svn2git" target="_blank"&gt;svn2git&lt;/a&gt;)&lt;br&gt;- &lt;a href="http://cheat.errtheblog.com/" target="_blank"&gt;cheat&lt;/a&gt;&lt;br&gt;  - emacs/vim/nano&lt;br&gt;&lt;br&gt;Several less used but very interesting tools:&lt;br&gt; - zsh/fish&lt;br&gt;- bpython/ipython (for python development)&lt;br&gt;- pdftk&lt;br&gt;&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-7416394917596682720?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/7416394917596682720/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=7416394917596682720" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/7416394917596682720?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/7416394917596682720?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2011/09/swiss-knifes-for-linux.html" title="Swiss-knifes for Linux" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;DkIARn46cSp7ImA9WhdXFkQ.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-2287777870753678789</id><published>2011-08-30T16:55:00.001+08:00</published><updated>2011-08-30T16:55:47.019+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-30T16:55:47.019+08:00</app:edited><title>sendmail@ubuntu 11.04</title><content type="html">If you find the default installation of sendmail on ubuntu 11.04 does not work, check whether there a file called &amp;quot;/etc/mail/sendmail.cf.error&amp;quot;:&lt;br&gt;&lt;br&gt;Creating /etc/mail/sendmail.cf...&lt;br&gt;*** ERROR: FEATURE() should be before MAILER()&lt;br&gt;  *** MAILER(`local&amp;#39;) must appear after FEATURE(`always_add_domain&amp;#39;)*** ERROR: FEATURE() should be before MAILER()&lt;br&gt;*** MAILER(`local&amp;#39;) must appear after FEATURE(`allmasquerade&amp;#39;)*** ERROR: FEATURE() should be before MAILER()&lt;br&gt;  &lt;br&gt;if so, do this:&lt;br&gt;$ cd /etc/mail&lt;br&gt;$ vi &lt;a href="http://sendmail.mc"&gt;sendmail.mc&lt;/a&gt;&lt;br&gt;# move the MAILER part to the end of the file&lt;br&gt;$ make&lt;br&gt;$ /etc/init.d/sendmail reload&lt;br&gt;&lt;br&gt;DONE.&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-2287777870753678789?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/2287777870753678789/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=2287777870753678789" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/2287777870753678789?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/2287777870753678789?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2011/08/sendmailubuntu-1104.html" title="sendmail@ubuntu 11.04" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;CkUBR3syfyp7ImA9WhdTEUk.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-1381699768360475351</id><published>2011-07-08T23:50:00.001+08:00</published><updated>2011-07-08T23:50:56.597+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-08T23:50:56.597+08:00</app:edited><title>你们去吧</title><content type="html">我不去了 &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-1381699768360475351?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/1381699768360475351/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=1381699768360475351" title="1 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/1381699768360475351?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/1381699768360475351?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2011/07/blog-post.html" title="你们去吧" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>1</thr:total></entry><entry gd:etag="W/&quot;D0YFQ30yfSp7ImA9WhZXEUk.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-5185476659210357615</id><published>2011-04-30T14:31:00.001+08:00</published><updated>2011-04-30T14:31:52.395+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-30T14:31:52.395+08:00</app:edited><title>several papers you'd better to know about python</title><content type="html">&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.cafepy.com/article/python_types_and_objects/"&gt;Python Types and Objects&lt;/a&gt;&lt;br&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.cafepy.com/article/python_attributes_and_methods/"&gt;Python Attributes and Methods&lt;/a&gt;&lt;br&gt;  &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.dabeaz.com/coroutines/"&gt;A Curious Course on Coroutines and Concurrency&lt;/a&gt;&lt;br&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.dabeaz.com/generators/index.html"&gt;Generator Tricks for Systems Programmers&lt;/a&gt;&lt;br&gt;&lt;/li&gt;  &lt;li&gt;&lt;br&gt;&lt;/li&gt;&lt;/ul&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-5185476659210357615?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/5185476659210357615/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=5185476659210357615" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/5185476659210357615?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/5185476659210357615?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2011/04/several-papers-youd-better-to-know.html" title="several papers you'd better to know about python" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;A0MMQHg5eyp7ImA9WhZQGU0.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-8667979049692755718</id><published>2011-04-27T21:04:00.001+08:00</published><updated>2011-04-27T21:04:41.623+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-27T21:04:41.623+08:00</app:edited><title>emacs reloaded</title><content type="html">enjoy &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-8667979049692755718?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/8667979049692755718/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=8667979049692755718" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/8667979049692755718?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/8667979049692755718?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2011/04/emacs-reloaded.html" title="emacs reloaded" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;CUIBRnY6eSp7ImA9WhZQGU0.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-4598907758389878223</id><published>2011-04-27T19:25:00.001+08:00</published><updated>2011-04-27T19:25:57.811+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-27T19:25:57.811+08:00</app:edited><title>emacs 23 fontset</title><content type="html">&lt;div&gt;(set-frame-font &amp;quot;Monaco-14&amp;quot;)&lt;/div&gt;&lt;div&gt;(set-fontset-font &amp;quot;fontset-default&amp;quot; &amp;#39;han &amp;#39;(&amp;quot;华文细黑&amp;quot; . &amp;quot;unicode-bmp&amp;quot;))&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-4598907758389878223?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/4598907758389878223/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=4598907758389878223" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/4598907758389878223?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/4598907758389878223?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2011/04/emacs-23-fontset.html" title="emacs 23 fontset" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;C0YCSHk9eip7ImA9WhZTGEo.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-5710603867288165977</id><published>2011-03-23T17:05:00.000+08:00</published><updated>2011-03-23T17:06:09.762+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-23T17:06:09.762+08:00</app:edited><title>事非经过不知难</title><content type="html">扬长避短确诚然 &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-5710603867288165977?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/5710603867288165977/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=5710603867288165977" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/5710603867288165977?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/5710603867288165977?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2011/03/blog-post.html" title="事非经过不知难" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;AkABRXk6fyp7ImA9Wx9RGEk.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-6280468416033891501</id><published>2010-12-20T20:39:00.001+08:00</published><updated>2010-12-20T20:39:14.717+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-20T20:39:14.717+08:00</app:edited><title>又玩了一番iptables+nginx</title><content type="html">怎么会有这么强悍的软件呢！ &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-6280468416033891501?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/6280468416033891501/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=6280468416033891501" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/6280468416033891501?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/6280468416033891501?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2010/12/iptablesnginx.html" title="又玩了一番iptables+nginx" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;AkMCSXw7fyp7ImA9Wx9RFkg.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-687482049373994263</id><published>2010-12-18T15:47:00.001+08:00</published><updated>2010-12-18T15:47:48.207+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-18T15:47:48.207+08:00</app:edited><title>戏子</title><content type="html">如今之演艺圈，尤其是女星，用传统的"戏子"来看她们，再恰当不过。 &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-687482049373994263?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/687482049373994263/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=687482049373994263" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/687482049373994263?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/687482049373994263?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2010/12/blog-post_18.html" title="戏子" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;Ak4DSHg9cCp7ImA9Wx9RFk4.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-2029374596229534366</id><published>2010-12-18T10:22:00.001+08:00</published><updated>2010-12-18T10:22:59.668+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-18T10:22:59.668+08:00</app:edited><title>王阳明</title><content type="html">王阳明&amp;nbsp;王阳明&amp;nbsp;王阳明&amp;nbsp;王阳明&amp;nbsp;王阳明&amp;nbsp;王阳明&amp;nbsp;王阳明&amp;nbsp;王阳明&amp;nbsp;王阳明&amp;nbsp; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-2029374596229534366?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/2029374596229534366/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=2029374596229534366" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/2029374596229534366?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/2029374596229534366?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2010/12/blog-post.html" title="王阳明" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;A0ABRns9eSp7ImA9Wx9SEUw.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-8221630988721028031</id><published>2010-11-30T20:22:00.001+08:00</published><updated>2010-11-30T20:22:37.561+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-30T20:22:37.561+08:00</app:edited><title>趁着srwxr-xr-- root wheel的笑话</title><content type="html">再次温习了一下file permissions。这2个字节真是玩儿出了大花样。 &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-8221630988721028031?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/8221630988721028031/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=8221630988721028031" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/8221630988721028031?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/8221630988721028031?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2010/11/srwxr-xr-root-wheel.html" title="趁着srwxr-xr-- root wheel的笑话" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;DUUDQHk6fCp7ImA9Wx9TF0U.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-6060273939215657444</id><published>2010-11-27T00:01:00.001+08:00</published><updated>2010-11-27T00:01:11.714+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-27T00:01:11.714+08:00</app:edited><title>decorator is great!</title><content type="html">decorator seems to be a great solution for permission checking. &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-6060273939215657444?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/6060273939215657444/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=6060273939215657444" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/6060273939215657444?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/6060273939215657444?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2010/11/decorator-is-great.html" title="decorator is great!" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;DEQBQHs5fCp7ImA9Wx5aEEg.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-2729575003298867906</id><published>2010-11-06T23:12:00.001+08:00</published><updated>2010-11-06T23:12:31.524+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-06T23:12:31.524+08:00</app:edited><title>一个有趣的现象</title><content type="html">国内比较好一点的IT公司名字（缩写）两个字居多，新浪、网易、搜狐、腾讯、百度、华为、联想、淘宝、阿里（巴巴？）、人人、当当、卓越、携程，甚至包括一些外资工资谷歌、雅虎、脸书（？）、微软、惠普、戴尔、三星。。。。&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;内三个字的不多斯达康（？），表现平平&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;div&gt;四个字的基本都不怎么样，XX动力，XX科技，XX互联，XX信息，XX国际，XX数码，XX移动（？），XX联通（？），XX电信（？），以及各种稀奇古怪的命名，甚至包括外资的摩托罗拉，阿尔卡特。。。&lt;/div&gt; &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-2729575003298867906?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/2729575003298867906/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=2729575003298867906" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/2729575003298867906?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/2729575003298867906?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2010/11/blog-post.html" title="一个有趣的现象" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;DUYFSHw6fSp7ImA9Wx5bGE4.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-396931671613290082</id><published>2010-11-04T10:18:00.001+08:00</published><updated>2010-11-04T10:18:39.215+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-04T10:18:39.215+08:00</app:edited><title>hate those using Word in a mess</title><content type="html">why can you use such a great software in such a bad way? &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-396931671613290082?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/396931671613290082/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=396931671613290082" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/396931671613290082?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/396931671613290082?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2010/11/hate-those-using-word-in-mess.html" title="hate those using Word in a mess" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;DEcBQn4_eyp7ImA9Wx5bF0U.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-475906339089201189</id><published>2010-11-03T20:07:00.001+08:00</published><updated>2010-11-03T20:07:33.043+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-03T20:07:33.043+08:00</app:edited><title>understand unicode and encodings more</title><content type="html">&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-475906339089201189?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/475906339089201189/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=475906339089201189" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/475906339089201189?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/475906339089201189?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2010/11/understand-unicode-and-encodings-more.html" title="understand unicode and encodings more" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;DUIMR3k-fyp7ImA9Wx5bE0s.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-8121188441619770550</id><published>2010-10-29T23:53:00.001+08:00</published><updated>2010-10-29T23:53:06.757+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-10-29T23:53:06.757+08:00</app:edited><title>突然觉得迷失了</title><content type="html">庭院深深深几许，帘幕无重数 &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-8121188441619770550?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/8121188441619770550/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=8121188441619770550" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/8121188441619770550?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/8121188441619770550?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2010/10/blog-post_29.html" title="突然觉得迷失了" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;DkMDRX0_fyp7ImA9Wx5UFUs.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-3884663540837233475</id><published>2010-10-20T16:47:00.001+08:00</published><updated>2010-10-20T16:47:54.347+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-10-20T16:47:54.347+08:00</app:edited><title>将欲取之，必先予之</title><content type="html">前之实之，后之虚之。 &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-3884663540837233475?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/3884663540837233475/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=3884663540837233475" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/3884663540837233475?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/3884663540837233475?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2010/10/blog-post.html" title="将欲取之，必先予之" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;D0IHQXwyeSp7ImA9Wx5WEUs.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-9024988608609471031</id><published>2010-09-22T22:25:00.001+08:00</published><updated>2010-09-22T22:25:30.291+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-22T22:25:30.291+08:00</app:edited><title>不好伺候啊</title><content type="html">紧记刘导签名档 &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-9024988608609471031?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/9024988608609471031/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=9024988608609471031" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/9024988608609471031?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/9024988608609471031?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2010/09/blog-post.html" title="不好伺候啊" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;DUAHQXo_eyp7ImA9Wx5QEk4.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-1006019839330085908</id><published>2010-08-31T14:55:00.001+08:00</published><updated>2010-08-31T14:55:30.443+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-31T14:55:30.443+08:00</app:edited><title>意外</title><content type="html">一个接一个&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-1006019839330085908?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/1006019839330085908/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=1006019839330085908" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/1006019839330085908?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/1006019839330085908?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2010/08/blog-post_31.html" title="意外" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;Dk4DRnk6cCp7ImA9Wx5SF00.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-6155955397693817475</id><published>2010-08-13T21:09:00.001+08:00</published><updated>2010-08-13T21:09:37.718+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-13T21:09:37.718+08:00</app:edited><title>最新的sig-alternate.cls的毛病</title><content type="html">首先文件名和\ProvideClass提供的不一致。&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;其次，在@sect, @ssect定义的最后一句：&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;\@xsect{#5}\parskip=10.5pt% within the section, parskip = leading 12 Jan 2000 gkmt&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;这是乱说的，\parskip的效果根本没有"with in the section&amp;quot;，导致正文段落\parskip太大。&lt;/div&gt; &lt;div&gt;修改办法也简单，将上述语句替换为：&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;\@xsect{#5}\vskip10.5pt\parskip=0pt&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;这个错误很过分。&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;另，发现自己对copyrightbox的&lt;a href="http://xueruini.spaces.live.com/blog/cns!DF086AB717BC7F6F!540.entry"&gt;修改方法&lt;/a&gt;被加到模版中了。&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-6155955397693817475?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/6155955397693817475/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=6155955397693817475" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/6155955397693817475?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/6155955397693817475?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2010/08/sig-alternatecls.html" title="最新的sig-alternate.cls的毛病" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;DkEGRno6fyp7ImA9Wx5SFUQ.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-3273584063819930918</id><published>2010-08-12T14:30:00.001+08:00</published><updated>2010-08-12T14:30:27.417+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-12T14:30:27.417+08:00</app:edited><title>看看GIF行不行</title><content type="html">&lt;p class="mobile-photo"&gt;&lt;a href="http://3.bp.blogspot.com/_BKlkfS6L7SY/TGOVA_0mthI/AAAAAAAACs0/2NW25g2Br-4/s1600/xizi-727418.gif"&gt;&lt;img src="http://3.bp.blogspot.com/_BKlkfS6L7SY/TGOVA_0mthI/AAAAAAAACs0/2NW25g2Br-4/s320/xizi-727418.gif"  border="0" alt="" id="BLOGGER_PHOTO_ID_5504407013941491218" /&gt;&lt;/a&gt;&lt;/p&gt;QQ截图连起来的。 &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-3273584063819930918?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/3273584063819930918/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=3273584063819930918" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/3273584063819930918?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/3273584063819930918?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2010/08/gif.html" title="看看GIF行不行" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_BKlkfS6L7SY/TGOVA_0mthI/AAAAAAAACs0/2NW25g2Br-4/s72-c/xizi-727418.gif" height="72" width="72" /><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;CUUAQHk7eyp7ImA9Wx5TFkg.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-2712986830476461217</id><published>2010-08-01T17:00:00.001+08:00</published><updated>2010-08-01T17:00:41.703+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-01T17:00:41.703+08:00</app:edited><title>春风疑不到天涯</title><content type="html">&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 14px; line-height: 22px; "&gt;&lt;pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-weight: normal; zoom: 1; white-space: pre-wrap; word-wrap: break-word; font-size: 14px; line-height: 22px; font-family: Arial; "&gt; 干活累了，小憩一会儿。&lt;/pre&gt;&lt;pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-weight: normal; zoom: 1; white-space: pre-wrap; word-wrap: break-word; font-size: 14px; line-height: 22px; font-family: Arial; "&gt; &lt;br&gt;&lt;/pre&gt;&lt;blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; "&gt; 戏答元珍（宋・欧阳修） &lt;/blockquote&gt;&lt;pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-weight: normal; zoom: 1; white-space: pre-wrap; word-wrap: break-word; font-size: 14px; line-height: 22px; font-family: Arial; "&gt; &lt;blockquote&gt;  春风疑不到天涯，二月山城未见花。&lt;/blockquote&gt;&lt;blockquote&gt;  残雪压枝犹有橘，冻雷惊笋欲抽芽。&lt;/blockquote&gt;&lt;blockquote&gt;  夜闻归雁生乡思，病入新年感物华。&lt;/blockquote&gt;&lt;blockquote&gt;  曾是洛阳花下客，野芳虽晚不须嗟。&lt;/blockquote&gt;&lt;/pre&gt;&lt;blockquote&gt;&lt;br&gt;首尾两句呼应的很自然，很有味道。虽然通篇看下来不过是风景乡思，但字里行间还是透露出欧阳大侠那种酸溜溜的情绪。&lt;/blockquote&gt; &lt;blockquote&gt;同样的题材，五言长城的《长沙过贾谊宅》就完胜欧阳大侠：&lt;br&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-weight: normal; zoom: 1; white-space: pre-wrap; word-wrap: break-word; font-size: 14px; line-height: 22px; font-family: Arial; "&gt; &lt;span class="Apple-style-span" style="white-space: normal; "&gt;&lt;pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-weight: normal; zoom: 1; white-space: pre-wrap; word-wrap: break-word; font-size: 14px; line-height: 22px; font-family: Arial; "&gt; &lt;blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; "&gt; 长沙过贾谊宅（唐.刘长卿）&lt;/blockquote&gt;&lt;blockquote&gt;三年谪宦此栖迟，万古惟留楚客悲。&lt;/blockquote&gt;&lt;blockquote&gt;秋草独寻人去后，寒林空见日斜时。&lt;/blockquote&gt;&lt;blockquote&gt;汉文有道恩犹薄，湘水无情吊岂知。&lt;/blockquote&gt;&lt;blockquote&gt;寂寂江山摇落处，怜君何事到天涯。&lt;/blockquote&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/pre&gt;&lt;blockquote&gt; &lt;br&gt;&lt;/blockquote&gt;&lt;blockquote&gt;这里的风景写得很凝重，很沉闷，出现的事物都给人以压抑感（秋草、寒林），而且还故意用一些悲凉的字（悲、独、空、薄，寂），渲染的气氛就不再是酸溜溜了，而是怨气，一股浓浓的怨气。非常喜欢颈链，典故运用的太恰当了，吊古寓己，相当有表现力。不禁想起"可怜夜半虚前席，不问苍生问鬼神"，汉文算是不错的皇帝了，可就在贾谊这事上，不断被后世拿来开涮，真是有趣的紧。&lt;/blockquote&gt;&lt;blockquote&gt; &lt;br&gt;&lt;/blockquote&gt;&lt;/span&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-2712986830476461217?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/2712986830476461217/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=2712986830476461217" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/2712986830476461217?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/2712986830476461217?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2010/08/blog-post.html" title="春风疑不到天涯" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;D0EASXc_eSp7ImA9Wx5TFUU.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-327183147596242758</id><published>2010-07-31T22:14:00.001+08:00</published><updated>2010-07-31T22:14:08.941+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-31T22:14:08.941+08:00</app:edited><title>tornado.web.authenticated是怎么判断的？</title><content type="html">tornado/web.py：&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 17px; "&gt;&lt;pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font: normal normal normal 12px/normal Monaco, &amp;#39;Courier New&amp;#39;, &amp;#39;DejaVu Sans Mono&amp;#39;, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, monospace; line-height: 1.4em; font-family: &amp;#39;Bitstream Vera Sans Mono&amp;#39;, Courier, monospace; font-size: 15px; "&gt; &lt;div class="line" id="LC1367" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1em; line-height: 1.4em; "&gt;&lt;span class="k" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;def&lt;/span&gt; &lt;span class="nf" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; color: rgb(153, 0, 0); font-weight: bold; "&gt;authenticated&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;(&lt;/span&gt;&lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;method&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;):&lt;/span&gt;&lt;/div&gt; &lt;div class="line" id="LC1368" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1em; line-height: 1.4em; "&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="sd" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; color: rgb(221, 17, 68); "&gt;&amp;quot;&amp;quot;&amp;quot;Decorate methods with this to require that the user be logged in.&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;&lt;/div&gt; &lt;div class="line" id="LC1369" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1em; line-height: 1.4em; "&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="nd" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;@functools.wraps&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;(&lt;/span&gt;&lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;method&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;)&lt;/span&gt;&lt;/div&gt; &lt;div class="line" id="LC1370" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1em; line-height: 1.4em; "&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="k" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;def&lt;/span&gt; &lt;span class="nf" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; color: rgb(153, 0, 0); font-weight: bold; "&gt;wrapper&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;(&lt;/span&gt;&lt;span class="bp" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; color: rgb(153, 153, 153); "&gt;self&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;,&lt;/span&gt; &lt;span class="o" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;*&lt;/span&gt;&lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;args&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;,&lt;/span&gt; &lt;span class="o" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;**&lt;/span&gt;&lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;kwargs&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;):&lt;/span&gt;&lt;/div&gt; &lt;div class="line" id="LC1371" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1em; line-height: 1.4em; "&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="k" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;if&lt;/span&gt; &lt;span class="ow" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;not&lt;/span&gt; &lt;span class="bp" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; color: rgb(153, 153, 153); "&gt;self&lt;/span&gt;&lt;span class="o" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;.&lt;/span&gt;&lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;current_user&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;:&lt;/span&gt;&lt;/div&gt; &lt;div class="line" id="LC1372" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1em; line-height: 1.4em; "&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="k" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;if&lt;/span&gt; &lt;span class="bp" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; color: rgb(153, 153, 153); "&gt;self&lt;/span&gt;&lt;span class="o" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;.&lt;/span&gt;&lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;request&lt;/span&gt;&lt;span class="o" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;.&lt;/span&gt;&lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;method&lt;/span&gt; &lt;span class="o" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;==&lt;/span&gt; &lt;span class="s" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; color: rgb(221, 17, 68); "&gt;&amp;quot;GET&amp;quot;&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;:&lt;/span&gt;&lt;/div&gt; &lt;div class="line" id="LC1373" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1em; line-height: 1.4em; "&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;url&lt;/span&gt; &lt;span class="o" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;=&lt;/span&gt; &lt;span class="bp" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; color: rgb(153, 153, 153); "&gt;self&lt;/span&gt;&lt;span class="o" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;.&lt;/span&gt;&lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;get_login_url&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;()&lt;/span&gt;&lt;/div&gt; &lt;div class="line" id="LC1374" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1em; line-height: 1.4em; "&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="k" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;if&lt;/span&gt; &lt;span class="s" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; color: rgb(221, 17, 68); "&gt;&amp;quot;?&amp;quot;&lt;/span&gt; &lt;span class="ow" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;not&lt;/span&gt; &lt;span class="ow" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;in&lt;/span&gt; &lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;url&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;:&lt;/span&gt;&lt;/div&gt; &lt;div class="line" id="LC1375" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1em; line-height: 1.4em; "&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;url&lt;/span&gt; &lt;span class="o" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;+=&lt;/span&gt; &lt;span class="s" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; color: rgb(221, 17, 68); "&gt;&amp;quot;?&amp;quot;&lt;/span&gt; &lt;span class="o" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;+&lt;/span&gt; &lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;urllib&lt;/span&gt;&lt;span class="o" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;.&lt;/span&gt;&lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;urlencode&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;(&lt;/span&gt;&lt;span class="nb" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; color: rgb(0, 134, 179); "&gt;dict&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;(&lt;/span&gt;&lt;span class="nb" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; color: rgb(0, 134, 179); "&gt;next&lt;/span&gt;&lt;span class="o" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;=&lt;/span&gt;&lt;span class="bp" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; color: rgb(153, 153, 153); "&gt;self&lt;/span&gt;&lt;span class="o" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;.&lt;/span&gt;&lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;request&lt;/span&gt;&lt;span class="o" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;.&lt;/span&gt;&lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;uri&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;))&lt;/span&gt;&lt;/div&gt; &lt;div class="line" id="LC1376" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1em; line-height: 1.4em; "&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="bp" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; color: rgb(153, 153, 153); "&gt;self&lt;/span&gt;&lt;span class="o" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;.&lt;/span&gt;&lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;redirect&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;(&lt;/span&gt;&lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;url&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;)&lt;/span&gt;&lt;/div&gt; &lt;div class="line" id="LC1377" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1em; line-height: 1.4em; "&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="k" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;return&lt;/span&gt;&lt;/div&gt; &lt;div class="line" id="LC1378" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1em; line-height: 1.4em; "&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="k" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;raise&lt;/span&gt; &lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;HTTPError&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;(&lt;/span&gt;&lt;span class="mi" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; color: rgb(0, 153, 153); "&gt;403&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;)&lt;/span&gt;&lt;/div&gt; &lt;div class="line" id="LC1379" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1em; line-height: 1.4em; "&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="k" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;return&lt;/span&gt; &lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;method&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;(&lt;/span&gt;&lt;span class="bp" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; color: rgb(153, 153, 153); "&gt;self&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;,&lt;/span&gt; &lt;span class="o" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;*&lt;/span&gt;&lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;args&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;,&lt;/span&gt; &lt;span class="o" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;**&lt;/span&gt;&lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;kwargs&lt;/span&gt;&lt;span class="p" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;)&lt;/span&gt;&lt;/div&gt; &lt;div class="line" id="LC1380" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1em; line-height: 1.4em; "&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="k" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-weight: bold; "&gt;return&lt;/span&gt; &lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;wrapper&lt;/span&gt;&lt;/div&gt; &lt;div class="line" id="LC1380" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1em; line-height: 1.4em; "&gt;&lt;span class="n" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; "&gt;&lt;br&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class="line" id="LC1380" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1em; line-height: 1.4em; "&gt; 如果current_user为空就认为没有登陆，而current_user由get_current_user()设定。所以在重载get_current_user()时，如果返回不空，说明用户已经登陆；否则，表示用户尚未登陆。从上面的代码可以看出来，next会记录出错时的uri，登陆之后可供redirect，即self.redirect(self.get_argument(&amp;#39;next&amp;#39;, &amp;#39;xxxxx&amp;#39;))，其中xxxx一般为/。&lt;/div&gt; &lt;/pre&gt;&lt;/span&gt;&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-327183147596242758?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/327183147596242758/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=327183147596242758" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/327183147596242758?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/327183147596242758?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2010/07/tornadowebauthenticated.html" title="tornado.web.authenticated是怎么判断的？" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;DUMMSXg-eyp7ImA9Wx5TFE0.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-151452396043806124</id><published>2010-07-29T20:44:00.001+08:00</published><updated>2010-07-29T20:44:48.653+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-29T20:44:48.653+08:00</app:edited><title>removeslash和addslash</title><content type="html">&lt;div&gt;很多web framework中对URL pattern的匹配遇到的最常见的问题就是末尾的&amp;#39;/&amp;#39;，比如定义了r&amp;#39;/books/([0-9]+)&amp;#39;，那么&lt;a href="http://xxx/books/123/"&gt;http://xxx/books/123/&lt;/a&gt;就会报404网页找不到的错误；如果r&amp;#39;/books/([0-9]+)/&amp;#39;，那么&lt;a href="http://xx/books/123"&gt;http://xx/books/123&lt;/a&gt;也会报404错，就是因为URLpattern最后的一个&amp;#39;/&amp;#39;字符的匹配问题。很多framework需要程序员自己处理request回来的path，tornado&lt;/div&gt; &lt;div&gt;提供了两个方便的decorator：removeslash和addslash，参见&lt;/div&gt;&lt;a href="http://github.com/facebook/tornado/blob/master/tornado/web.py"&gt;http://github.com/facebook/tornado/blob/master/tornado/web.py&lt;/a&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-151452396043806124?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/151452396043806124/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=151452396043806124" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/151452396043806124?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/151452396043806124?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2010/07/removeslashaddslash.html" title="removeslash和addslash" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;Ak4ASX0zeCp7ImA9Wx5TE04.&quot;"><id>tag:blogger.com,1999:blog-33200808.post-971342462777121677</id><published>2010-07-29T01:42:00.001+08:00</published><updated>2010-07-29T01:42:28.380+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-29T01:42:28.380+08:00</app:edited><title>无眠</title><content type="html">铺了凉席，吹了电扇，后背还是不停出汗。困得很，却怎么都睡不着，脑子里嗡嗡一阵一阵，时而一片迷茫，时而万马奔腾，时而计划明日之安排，时而反省今日之工作。伸手碰到手机，不禁想写点东西。&lt;p&gt;近来事情繁杂，巧妇难为无米之炊，左支右绌，焦头烂额，忽如一叶浮萍，荡来荡去，又如一窝飘蓬，晃来晃去，行色匆匆，却不太知道去向何处。几位小弟的情绪也颇不宁静，然形势所迫，实为无奈之举。虽非力所能及，亦不知如何相劝，心里总有几分愧疚。此阶段一过，定要好好犒劳各位。&lt;p&gt;不过，最可怜的还是薛西子。早就盘算暑假接她过来一家团圆，这周形势不太乐观，即使周末过来，至下月中旬亦不能天天陪她玩耍，中旬之后即要计划回去，短短数日，如何弥补一年以来对她的亏欠？未能目睹她第一次翻身，未能目睹她第一次站立，未能目睹她迈出第一步，亦未能聆听她第一次张口，每思及此，不禁潸然。内人带她视频，熟料三月不见已是巧笑倩兮，美目盼兮，凝视屏幕，频频呼唤爸爸，虽然含混不清，却是如闻天籁，心神荡漾。我一张嘴，她就拼命把手里的小吃往屏幕前送；我一扮鬼脸，她就叽叽嘎嘎笑作一团；小辫子，小背心，小胳膊小腿小脸蛋，没有一样不是恰到好处；横着看，竖着看，前前后后总是看不厌：天伦之乐大概就是这个意思吧！眼前妻女，远在千里，梦里思念，无日不来，相聚时少，相离太多，期一小聚，亦难无忧，心虽铁石，情何以堪！&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33200808-971342462777121677?l=xueruini.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://xueruini.blogspot.com/feeds/971342462777121677/comments/default" title="帖子评论" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=33200808&amp;postID=971342462777121677" title="0 条评论" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/971342462777121677?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/33200808/posts/default/971342462777121677?v=2" /><link rel="alternate" type="text/html" href="http://xueruini.blogspot.com/2010/07/blog-post_29.html" title="无眠" /><author><name>LittleLeo</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://2.bp.blogspot.com/_BKlkfS6L7SY/SbJUwqFzg5I/AAAAAAAABjI/QtSz9-n1x8g/S220/1236423427.png" /></author><thr:total>0</thr:total></entry></feed>

