<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feed.hanghang.name/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:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feed.hanghang.name" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feed.feedsky.com/heyward" type="application/rss+xml"></fs:self_link><lastBuildDate>Mon, 22 Feb 2010 07:36:35 GMT</lastBuildDate><title>雪落窗台</title><description>依窗望雪的心情，雪落窗台的宁静。</description><link>http://hanghang.name</link><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>1</sy:updateFrequency><language>en</language><pubDate>Mon, 22 Feb 2010 07:36:35 GMT</pubDate><item><title>VSS 自动登录</title><link>http://hanghang.name/vss-auto-login.html</link><content:encoded>&lt;p&gt;VSS （Visual SourceSafe）快捷方式后添加一个启动参数 –&lt;strong&gt;y &lt;/strong&gt;就可以实现自动登录。&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&amp;quot;C:\Program Files\VSS\win32\SSEXP.EXE&amp;quot; –yUsername,Password&lt;/p&gt;
&lt;/blockquote&gt;

	Tags: &lt;a href=&quot;http://hanghang.name/tag/vss&quot; title=&quot;vss&quot; rel=&quot;tag&quot;&gt;vss&lt;/a&gt;&lt;br /&gt;

	&lt;h4&gt;Related posts&lt;/h4&gt;
	&lt;ul class=&quot;st-related-posts&quot;&gt;
	&lt;li&gt;No related posts.&lt;/li&gt;
	&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/334860536/heyward/feedsky/s.gif?r=http://hanghang.name/vss-auto-login.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/heyward/334860536/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/heyward/334860536/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://hanghang.name/vss-auto-login.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>VSS （Visual SourceSafe）快捷方式后添加一个启动参数 –y 就可以实现自动登录。
&amp;#34;C:\Program Files\VSS\win32\SSEXP.EXE&amp;#34; –yUsername,Password


	Tags: vss

	Related posts
	
	No related posts.&lt;img src=&quot;http://www1.feedsky.com/t1/334860536/heyward/feedsky/s.gif?r=http://hanghang.name/vss-auto-login.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/heyward/334860536/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/heyward/334860536/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>电脑应用</category><category>vss</category><pubDate>Mon, 22 Feb 2010 15:36:35 +0800</pubDate><author>Heyward</author><comments>http://hanghang.name/vss-auto-login.html#comments</comments><guid isPermaLink="false">http://hanghang.name/vss-auto-login.html</guid><dc:creator>Heyward</dc:creator><fs:srclink>http://hanghang.name/vss-auto-login.html</fs:srclink><fs:srcfeed>http://hanghang.name/feed</fs:srcfeed><fs:itemid>feedsky/heyward/~6987599/334860536/5095537</fs:itemid></item><item><title>Home for Happy</title><link>http://hanghang.name/home-for-happy.html</link><content:encoded>&lt;p&gt;过年回家，回家过年。&lt;/p&gt;
&lt;p&gt;晚上火车回家，半年多了，想家啊，想爸妈，想小妹，想那帮子兄弟，真的，想你们。&lt;/p&gt;
&lt;p&gt;回家要开开心心的，高高兴兴的，忘掉工作，远离网络，好好的陪爸妈说话，跟兄弟们耍乐。&lt;/p&gt;
&lt;p&gt;Home for happy!~&lt;/p&gt;

	Tags: &lt;a href=&quot;http://hanghang.name/tag/happy&quot; title=&quot;happy&quot; rel=&quot;tag&quot;&gt;happy&lt;/a&gt;&lt;br /&gt;

	&lt;h4&gt;Related posts&lt;/h4&gt;
	&lt;ul class=&quot;st-related-posts&quot;&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/happy-new-year.html&quot; title=&quot;新年おめでとう (2010/01/07)&quot;&gt;新年おめでとう&lt;/a&gt; (2)&lt;/li&gt;
&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/334860537/heyward/feedsky/s.gif?r=http://hanghang.name/home-for-happy.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/heyward/334860537/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/heyward/334860537/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://hanghang.name/home-for-happy.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>过年回家，回家过年。
晚上火车回家，半年多了，想家啊，想爸妈，想小妹，想那帮子兄弟，真的，想你们。
回家要开开心心的，高高兴兴的，忘掉工作，远离网络，好好的陪爸妈说话，跟兄弟们耍乐。
Home for happy!~

	Tags: happy

	Related posts
	
	新年おめでとう (2)&lt;img src=&quot;http://www1.feedsky.com/t1/334860537/heyward/feedsky/s.gif?r=http://hanghang.name/home-for-happy.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/heyward/334860537/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/heyward/334860537/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>happy</category><category>算是日记</category><pubDate>Wed, 10 Feb 2010 11:15:24 +0800</pubDate><author>Heyward</author><comments>http://hanghang.name/home-for-happy.html#comments</comments><guid isPermaLink="false">http://hanghang.name/home-for-happy.html</guid><dc:creator>Heyward</dc:creator><fs:srclink>http://hanghang.name/home-for-happy.html</fs:srclink><fs:srcfeed>http://hanghang.name/feed</fs:srcfeed><fs:itemid>feedsky/heyward/~6987599/334860537/5095537</fs:itemid></item><item><title>入手黑莓小记</title><link>http://hanghang.name/notes-of-start-blackberry.html</link><content:encoded>&lt;p&gt;那天在 Twitter 上看见 @wangguan 年关促销一批黑莓，突发奇想的想入一个玩，于是就入了一个 8700，准确的型号是 BlackBerry 8705g。用了差不多两个星期，随便写两句。&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;全键盘确实很爽，尤其是写英文的时候。自带的中文输入法有点类似微软拼音，熟悉后准确率在 80% 以上，当然，自带的输入法没有点讯爽快，不过点讯默认切换中英文输入法的快捷键跟 QuickWheel 冲突，暂时放弃。 &lt;/li&gt;
&lt;li&gt;机子是 4.2 的 ROM，暂时没有刷 4.5，各方面情况都非常稳定，虽然只有 64M 内存，除去系统占用也就30M 左右的空闲内存，但是运行速度很快。 &lt;/li&gt;
&lt;li&gt;自带的浏览器很方便，各种快捷键，不过不能 番羽土啬，配上 4.2 改键 Opera，爽快。&lt;/li&gt;
&lt;li&gt;黑莓的人性化设计真叫人舒服，各种快捷键设计，尤其是英文系统下快捷键更多更爽。 &lt;/li&gt;
&lt;li&gt;因为是两三年前的机子，再加上 RIM 一直都是重商务轻娱乐，所以 8700 没有摄像头，不能存储卡，但是纯手机应用的话，完全没有问题。&lt;/li&gt;
&lt;li&gt;黑莓很容易让人低头沉迷。&lt;/li&gt;
&lt;/ul&gt;

	Tags: &lt;a href=&quot;http://hanghang.name/tag/blackberry&quot; title=&quot;BlackBerry&quot; rel=&quot;tag&quot;&gt;BlackBerry&lt;/a&gt;&lt;br /&gt;

	&lt;h4&gt;Related posts&lt;/h4&gt;
	&lt;ul class=&quot;st-related-posts&quot;&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/moblie-phone-requirements-analysis.html&quot; title=&quot;我的手机需求分析 (2009/04/29)&quot;&gt;我的手机需求分析&lt;/a&gt; (2)&lt;/li&gt;
&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/334860538/heyward/feedsky/s.gif?r=http://hanghang.name/notes-of-start-blackberry.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/heyward/334860538/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/heyward/334860538/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://hanghang.name/notes-of-start-blackberry.html/feed</wfw:commentRss><slash:comments>1</slash:comments><description>那天在 Twitter 上看见 @wangguan 年关促销一批黑莓，突发奇想的想入一个玩，于是就入了一个 8700，准确的型号是 BlackBerry 8705g。用了差不多两个星期，随便写两句。

全键盘确实很爽，尤其是写英文的时候。自带的中文输入法有点类似微软拼音，熟悉后准确率在 80% 以上，当然，自带的输入法没有点讯爽快，不过点讯默认切换中英文输入法的快捷键跟 QuickWheel 冲突，暂时放弃。 
机子是 4.2 的 ROM，暂时没有刷 4.5，各方面情况都非常稳定，虽然只有 64M 内存，除去系统占用也就30M 左右的空闲内存，但是运行速度很快。 
自带的浏览器很方便，各种快捷键，不过不能 番羽土啬，配上 4.2 改键 Opera，爽快。
黑莓的人性化设计真叫人舒服，各种快捷键设计，尤其是英文系统下快捷键更多更爽。 
因为是两三年前的机子，再加上 RIM 一直都是重商务轻娱乐，所以 8700 没有摄像头，不能存储卡，但是纯手机应用的话，完全没有问题。
黑莓很容易让人低头沉迷。


	Tags: BlackBerry

	Related posts
	
	我的手机需求分析 (2)&lt;img src=&quot;http://www1.feedsky.com/t1/334860538/heyward/feedsky/s.gif?r=http://hanghang.name/notes-of-start-blackberry.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/heyward/334860538/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/heyward/334860538/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>默认分类</category><category>BlackBerry</category><pubDate>Sun, 07 Feb 2010 15:25:10 +0800</pubDate><author>Heyward</author><comments>http://hanghang.name/notes-of-start-blackberry.html#comments</comments><guid isPermaLink="false">http://hanghang.name/notes-of-start-blackberry.html</guid><dc:creator>Heyward</dc:creator><fs:srclink>http://hanghang.name/notes-of-start-blackberry.html</fs:srclink><fs:srcfeed>http://hanghang.name/feed</fs:srcfeed><fs:itemid>feedsky/heyward/~6987599/334860538/5095537</fs:itemid></item><item><title>GAE urlfetch 登陆人人</title><link>http://hanghang.name/urlfetch-login-renren-on-gae.html</link><content:encoded>&lt;p&gt;其实 Python 中一般都是直接用 urllib.urlopen() 来抓取网页内容或者模拟登陆等操作，但是 GAE 出于安全考虑不可以用 urlopen 操作，取而代之的就是 urlfetch.fetch()。fetch() 函数、参数(&lt;a href=&quot;http://code.google.com/intl/en/appengine/docs/python/urlfetch/fetchfunction.html&quot; target=&quot;_blank&quot;&gt;via&lt;/a&gt;)：&lt;/p&gt;
&lt;p&gt;fetch(url, payload=None, method=GET, headers={}, allow_truncated=False, follow_redirects=True, deadline=None)&lt;/p&gt;
&lt;div style=&quot;background: #fdfdfd; color: black&quot;&gt;&lt;u&gt;Python语言&lt;/u&gt;: &lt;a href=&quot;http://fayaa.com/code/view/8914/&quot;&gt;GAE urlfetch登录人人&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;#39;[object HTMLOptionElement]&amp;#39;, consolas, &amp;#39;Lucida Console&amp;#39;, &amp;#39;Courier New&amp;#39;; color: rgb(0,0,0)&quot; class=&quot;source&quot;&gt;&lt;span style=&quot;font-style: italic; color: rgb(0,136,0)&quot;&gt;01 &lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,128); font-weight: bold&quot;&gt;def&lt;/span&gt; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;login_renren&lt;/span&gt;(&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;self&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;):&lt;/span&gt;     &lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(0,136,0)&quot;&gt;02 &lt;/span&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;login_url&lt;/span&gt; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: rgb(0,0,255)&quot;&gt;&amp;#8216;http://passport.renren.com/PLogin.do&amp;#8217;&lt;/span&gt;     &lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(0,136,0)&quot;&gt;03 &lt;/span&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;login_data&lt;/span&gt; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;urllib&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;urlencode&lt;/span&gt;(     &lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(0,136,0)&quot;&gt;04 &lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;{&lt;/span&gt;     &lt;br /&gt;&lt;span style=&quot;color: rgb(248,16,176)&quot;&gt;05 &lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: rgb(0,0,255)&quot;&gt;&amp;#8216;domain&amp;#8217;&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,255)&quot;&gt;&amp;#8216;renren.com&amp;#8217;&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;,&lt;/span&gt;     &lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(0,136,0)&quot;&gt;06 &lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: rgb(0,0,255)&quot;&gt;&amp;#8216;email&amp;#8217;&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;:&lt;/span&gt;&amp;#160; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;renren_username&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;,&lt;/span&gt;     &lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(0,136,0)&quot;&gt;07 &lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: rgb(0,0,255)&quot;&gt;&amp;#8216;password&amp;#8217;&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;renren_passwd&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;,&lt;/span&gt;     &lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(0,136,0)&quot;&gt;08 &lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: rgb(0,0,255)&quot;&gt;&amp;#8216;origURL&amp;#8217;&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,255)&quot;&gt;&amp;#8216;http://home.renren.com/Home.do&amp;#8217;&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;,&lt;/span&gt;     &lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(0,136,0)&quot;&gt;09 &lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;})&lt;/span&gt;     &lt;br /&gt;&lt;span style=&quot;color: rgb(248,16,176)&quot;&gt;10 &lt;/span&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;result&lt;/span&gt; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;urlfetch&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;fetch&lt;/span&gt;(     &lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(0,136,0)&quot;&gt;11 &lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;url&lt;/span&gt; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;login_url&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;,&lt;/span&gt;     &lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(0,136,0)&quot;&gt;12 &lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;payload&lt;/span&gt; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;login_data&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;,&lt;/span&gt;     &lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(0,136,0)&quot;&gt;13 &lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;method&lt;/span&gt; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;urlfetch&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;POST&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;,&lt;/span&gt;     &lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(0,136,0)&quot;&gt;14 &lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;headers&lt;/span&gt; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,255)&quot;&gt;&amp;#8216;Cookie&amp;#8217;&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;make_cookie_header&lt;/span&gt;(&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;cookie&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;),&lt;/span&gt;     &lt;br /&gt;&lt;span style=&quot;color: rgb(248,16,176)&quot;&gt;15 &lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: rgb(0,0,255)&quot;&gt;&amp;#8216;Content-Type&amp;#8217;&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,255)&quot;&gt;&amp;#8216;application/x-www-form-urlencoded&amp;#8217;&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;,&lt;/span&gt;     &lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(0,136,0)&quot;&gt;16 &lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: rgb(0,0,255)&quot;&gt;&amp;#8216;User-Agent&amp;#8217;&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(0,0,255)&quot;&gt;&amp;#8216;Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6&amp;#8242;&lt;/span&gt; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;},&lt;/span&gt;     &lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(0,136,0)&quot;&gt;17 &lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;follow_redirects&lt;/span&gt; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: rgb(0,0,0)&quot;&gt;False&lt;/span&gt;) &lt;/div&gt;
&lt;p&gt;继续学习 GAE。&lt;/p&gt;

	Tags: &lt;a href=&quot;http://hanghang.name/tag/coding&quot; title=&quot;Coding&quot; rel=&quot;tag&quot;&gt;Coding&lt;/a&gt;, &lt;a href=&quot;http://hanghang.name/tag/gae&quot; title=&quot;gae&quot; rel=&quot;tag&quot;&gt;gae&lt;/a&gt;, &lt;a href=&quot;http://hanghang.name/tag/python&quot; title=&quot;python&quot; rel=&quot;tag&quot;&gt;python&lt;/a&gt;, &lt;a href=&quot;http://hanghang.name/tag/renren&quot; title=&quot;renren&quot; rel=&quot;tag&quot;&gt;renren&lt;/a&gt;&lt;br /&gt;

	&lt;h4&gt;Related posts&lt;/h4&gt;
	&lt;ul class=&quot;st-related-posts&quot;&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/python-backup-fxprofiles-script.html&quot; title=&quot;Python 自动备份 Firefox 配置小脚本 (2009/10/09)&quot;&gt;Python 自动备份 Firefox 配置小脚本&lt;/a&gt; (0)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/project-summary.html&quot; title=&quot;项目小结 (2009/09/24)&quot;&gt;项目小结&lt;/a&gt; (0)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/graduation-thesis.html&quot; title=&quot;毕业设计开始了 (2009/02/21)&quot;&gt;毕业设计开始了&lt;/a&gt; (0)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/content-assistants-for-pydev.html&quot; title=&quot;Content Assistants for PyDev (2009/10/20)&quot;&gt;Content Assistants for PyDev&lt;/a&gt; (0)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/byteofpython-clips002.html&quot; title=&quot;Clips002 (2009/09/24)&quot;&gt;Clips002&lt;/a&gt; (0)&lt;/li&gt;
&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/334860539/heyward/feedsky/s.gif?r=http://hanghang.name/urlfetch-login-renren-on-gae.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/heyward/334860539/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/heyward/334860539/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://hanghang.name/urlfetch-login-renren-on-gae.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>其实 Python 中一般都是直接用 urllib.urlopen() 来抓取网页内容或者模拟登陆等操作，但是 GAE 出于安全考虑不可以用 urlopen 操作，取而代之的就是 urlfetch.fetch()。fetch() 函数、参数(via)：
fetch(url, payload=None, method=GET, headers={}, allow_truncated=False, follow_redirects=True, deadline=None)
Python语言: GAE urlfetch登录人人
01 def login_renren(self):     02 &amp;#160;&amp;#160;&amp;#160; login_url = &amp;#8216;http://passport.renren.com/PLogin.do&amp;#8217;     03 &amp;#160;&amp;#160;&amp;#160; login_data = urllib.urlencode(     04 &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; {     05 &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#8216;domain&amp;#8217;:&amp;#8216;renren.com&amp;#8217;,   [...]&lt;img src=&quot;http://www1.feedsky.com/t1/334860539/heyward/feedsky/s.gif?r=http://hanghang.name/urlfetch-login-renren-on-gae.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/heyward/334860539/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/heyward/334860539/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>python</category><category>gae</category><category>Coding</category><category>renren</category><category>专业学习</category><pubDate>Tue, 19 Jan 2010 14:22:01 +0800</pubDate><author>Heyward</author><comments>http://hanghang.name/urlfetch-login-renren-on-gae.html#comments</comments><guid isPermaLink="false">http://hanghang.name/urlfetch-login-renren-on-gae.html</guid><dc:creator>Heyward</dc:creator><fs:srclink>http://hanghang.name/urlfetch-login-renren-on-gae.html</fs:srclink><fs:srcfeed>http://hanghang.name/feed</fs:srcfeed><fs:itemid>feedsky/heyward/~6987599/334860539/5095537</fs:itemid></item><item><title>Bye</title><link>http://hanghang.name/bye.html</link><content:encoded>&lt;p&gt;We recognize that this may well mean having to shut down Google.cn, and potentially our offices in China.via &lt;a href=&quot;http://googleblog.blogspot.com/2010/01/new-approach-to-china.html&quot; target=&quot;_blank&quot;&gt;A new approach to China&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Now,work diligently, make money diligently,then Go.&lt;/p&gt;

	Tags: &lt;a href=&quot;http://hanghang.name/tag/google&quot; title=&quot;Google&quot; rel=&quot;tag&quot;&gt;Google&lt;/a&gt;&lt;br /&gt;

	&lt;h4&gt;Related posts&lt;/h4&gt;
	&lt;ul class=&quot;st-related-posts&quot;&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/3g-iphone-so-cheap.html&quot; title=&quot;白菜化的3G iPhone (2008/06/10)&quot;&gt;白菜化的3G iPhone&lt;/a&gt; (2)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/google-coop-wp-speed.html&quot; title=&quot;无事找事干 (2008/08/18)&quot;&gt;无事找事干&lt;/a&gt; (0)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/my-twitter-tools.html&quot; title=&quot;我的 Twitter 工具集 (2009/09/24)&quot;&gt;我的 Twitter 工具集&lt;/a&gt; (1)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/weekend-11-09.html&quot; title=&quot;Weekend-1109 (2008/11/09)&quot;&gt;Weekend-1109&lt;/a&gt; (3)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/google-music-break-firefox.html&quot; title=&quot;Google音乐在线播放不支持firefox解决 (2008/08/08)&quot;&gt;Google音乐在线播放不支持firefox解决&lt;/a&gt; (4)&lt;/li&gt;
&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/334860540/heyward/feedsky/s.gif?r=http://hanghang.name/bye.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/heyward/334860540/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/heyward/334860540/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://hanghang.name/bye.html/feed</wfw:commentRss><slash:comments>1</slash:comments><description>We recognize that this may well mean having to shut down Google.cn, and potentially our offices in China.via A new approach to China.
Now,work diligently, make money diligently,then Go.

	Tags: Google

	Related posts
	
	白菜化的3G iPhone (2)
	无事找事干 (0)
	我的 Twitter 工具集 (1)
	Weekend-1109 (3)
	Google音乐在线播放不支持firefox解决 (4)&lt;img src=&quot;http://www1.feedsky.com/t1/334860540/heyward/feedsky/s.gif?r=http://hanghang.name/bye.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/heyward/334860540/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/heyward/334860540/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>Google</category><category>默认分类</category><pubDate>Wed, 13 Jan 2010 09:42:04 +0800</pubDate><author>Heyward</author><comments>http://hanghang.name/bye.html#comments</comments><guid isPermaLink="false">http://hanghang.name/bye.html</guid><dc:creator>Heyward</dc:creator><fs:srclink>http://hanghang.name/bye.html</fs:srclink><fs:srcfeed>http://hanghang.name/feed</fs:srcfeed><fs:itemid>feedsky/heyward/~6987599/334860540/5095537</fs:itemid></item><item><title>新年おめでとう</title><link>http://hanghang.name/happy-new-year.html</link><content:encoded>&lt;p&gt;１月１日は新年です。私はこの日に休みました。朝、私と彼女一緒野菜の市場に行って買い野菜をしました。それから、私たちはギョーザを作りました。ごご、私たちはデパートに行って買い服をしました。新年だから、人がたくさんいました。どこもとてもにぎやかでした。新年はおめでとうございます。&lt;/p&gt;
&lt;p&gt;老师布置的日语短文作业，这个就是我用日语写的第一篇小短文，就是小学一年级小学生作文嘛。用了俩语法，套了俩句型，鼓励鼓励，继续努力。&lt;/p&gt;

	Tags: &lt;a href=&quot;http://hanghang.name/tag/happy&quot; title=&quot;happy&quot; rel=&quot;tag&quot;&gt;happy&lt;/a&gt;&lt;br /&gt;

	&lt;h4&gt;Related posts&lt;/h4&gt;
	&lt;ul class=&quot;st-related-posts&quot;&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/home-for-happy.html&quot; title=&quot;Home for Happy (2010/02/10)&quot;&gt;Home for Happy&lt;/a&gt; (0)&lt;/li&gt;
&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/334860541/heyward/feedsky/s.gif?r=http://hanghang.name/happy-new-year.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/heyward/334860541/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/heyward/334860541/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://hanghang.name/happy-new-year.html/feed</wfw:commentRss><slash:comments>2</slash:comments><description>１月１日は新年です。私はこの日に休みました。朝、私と彼女一緒野菜の市場に行って買い野菜をしました。それから、私たちはギョーザを作りました。ごご、私たちはデパートに行って買い服をしました。新年だから、人がたくさんいました。どこもとてもにぎやかでした。新年はおめでとうございます。
老师布置的日语短文作业，这个就是我用日语写的第一篇小短文，就是小学一年级小学生作文嘛。用了俩语法，套了俩句型，鼓励鼓励，继续努力。

	Tags: happy

	Related posts
	
	Home for Happy (0)&lt;img src=&quot;http://www1.feedsky.com/t1/334860541/heyward/feedsky/s.gif?r=http://hanghang.name/happy-new-year.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/heyward/334860541/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/heyward/334860541/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>happy</category><category>默认分类</category><pubDate>Thu, 07 Jan 2010 15:22:02 +0800</pubDate><author>Heyward</author><comments>http://hanghang.name/happy-new-year.html#comments</comments><guid isPermaLink="false">http://hanghang.name/happy-new-year.html</guid><dc:creator>Heyward</dc:creator><fs:srclink>http://hanghang.name/happy-new-year.html</fs:srclink><fs:srcfeed>http://hanghang.name/feed</fs:srcfeed><fs:itemid>feedsky/heyward/~6987599/334860541/5095537</fs:itemid></item><item><title>唯一的二零零九</title><link>http://hanghang.name/the-only-2009.html</link><content:encoded>&lt;p&gt;每一天是唯一的，每一年是唯一的，过去了就不能再回头来过，更何况是对我很有意义的 2009 年，那唯一的二零零九。 &lt;/p&gt;
&lt;p&gt;年初，由于考研不理想，开始着手找工作。现在回想三月份和四月份的日子，只能用失败形容，那段时间一直在怀疑自己大学四年是个失败，甚至怀疑自己的人生是个失败。去年整个就业大环境很不好，今年年底时候学校官方有个统计，截至到十二月份，学院就业率 37%，而去年同期只有 9%。这个数字是可信的，去年年前我们班整个只有三个人签约。在大环境不好的情况下，公司招人都少，这样像自己这样学习只能算中等的毕业生很少有机会的。另一方面，在找工作的时候我自己的准备不足，不说别的，毕业设计开始的太晚，而之前好几家公司面试的问题在我进行毕业设计时候都有学到，用到。在这种状态下找工作真的不容易，面试一个失败一个，所以四月下旬时候我选择逃离学校那个氛围，到郑州丫头的小窝里“蜗居”，找一丝安慰。BTW，人精神状态不好的时候，肯定会影响身体，那段时间，我一下子瘦了十五斤，是啊，没心思吃饭，睡觉失眠，怎么吃怎么瘦，吃再多也白搭。 &lt;/p&gt;
&lt;p&gt;五一时候回家了一趟，大学四年第一次五一、十一假期回家。因为 CHAOFEI 参军三年，终于转士官可以休探亲假，三年多兄弟们没见肯定要聚聚的。那次聚会真真切切是兄弟们最后的一次青春酒，工作后感触更深啊。那天晚上我们都喝高了，我跟 BEI 打地铺睡觉时候说了很多话，前三个月的郁闷无助失落终于发泄了一下，趁着酒劲终于不再失眠。那天晚上是兄弟们几年来最 High 的一次吧，只可惜 XIAOJIE 由于时间紧没有赶回来，残缺美。 &lt;/p&gt;
&lt;p&gt;五一回家聚会是主要原因，另外就是跟爸妈交代一下找工作的情况，让他们安心一下。爸妈都是老实的农民，没啥门路，所以爸老说我找工作这事他使不上劲，干着急。临走的那天晚上跟爸说话到深夜，工作这事让他们不用太担心，肯定会有的，就算专业不对口，苦力活，毕业时候我都会找个地方把自己安顿下来，长大了已经，你们不用太操心，我这样跟爸妈说。那晚也把丫头跟爸妈说了一下，爸说谈恋爱这事家里不会过多干涉我，一切都由我自己拿主意。 &lt;/p&gt;
&lt;p&gt;再次回到学校就开始忙毕业设计。英文翻译，开题报告，查资料写设计书，学习了很多东西，Java Web 开发流程，Struts 框架应用，MVC 开发模式，Servlet 机制等等。只可惜我学的太晚了，之前有公司面试问的就是这些东西，而那时我却不懂。 &lt;/p&gt;
&lt;p&gt;六月初的时候，我终于把自己卖了，一家对日外包的公司。紧接着就是毕业前的各种饭局酒场，尽自己最大可能跟宿舍的人同吃同玩，联机打游戏，晚上卧谈到两三点，去新区看看我们大一大二时候的宿舍，再吃一顿新区食堂，等到分别的时候，我们只有不舍。走之前我一个人在宿舍收拾东西，看着一片狼藉的宿舍，忍不住嚎嚎大哭，大学生活结束了，我们的青春结束了。 &lt;/p&gt;
&lt;p&gt;没有太多时间留给我感伤。七月开始实习培训，日语，业务，凭着自己还算好的基础慢慢给拿下，工作一步一步的上手，可以在老大的帮助下做一些简单的项目模块。付出就有回报，十月份，有幸在第一批次转正。算上实习，工作也有半年了，自己要学的东西还有很多，还得努力。 &lt;/p&gt;
&lt;p&gt;八月中旬，丫头公司倒了，就来到我这里。没钱我们也可以一起逛超市逛街，两个人啃一个烤玉米，周末我们去爬山，在家下厨捞面条，煮饺子。虽然刚开始很辛苦，但是两个人只要在一起就是最好的，什么都不怕。上个月丫头通过试用期工作也安顿下来，生活是越来越好的。两个人在一起难免会吵架闹别扭，爱你乖，能在一起感觉很幸福。 &lt;/p&gt;
&lt;p&gt;09 年就过去了，来年还得继续努力。来几个小计划吧：&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;工作再进一步，争取再过半年能带几个人； &lt;/li&gt;
&lt;li&gt;日语，逼自己去学； &lt;/li&gt;
&lt;li&gt;自己做些东西，不管大小，重要的是去做； &lt;/li&gt;
&lt;li&gt;减肥到 150 以下，为了健康减肥； &lt;/li&gt;
&lt;li&gt;挣钱！ &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;font size=&quot;2&quot;&gt;PS：原本应该是年前做的总结，由于最近服务器整顿，拖到今天。&lt;/font&gt;&lt;/p&gt;

	Tags: &lt;a href=&quot;http://hanghang.name/tag/%ef%bd%8c%ef%bd%89%ef%bd%86%ef%bd%85&quot; title=&quot;ｌｉｆｅ&quot; rel=&quot;tag&quot;&gt;ｌｉｆｅ&lt;/a&gt;&lt;br /&gt;

	&lt;h4&gt;Related posts&lt;/h4&gt;
	&lt;ul class=&quot;st-related-posts&quot;&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/drunken.html&quot; title=&quot;醉酒 (2009/10/29)&quot;&gt;醉酒&lt;/a&gt; (0)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/it-is-time-to-reduce-weight.html&quot; title=&quot;该减肥了 (2009/10/22)&quot;&gt;该减肥了&lt;/a&gt; (0)&lt;/li&gt;
&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/334860542/heyward/feedsky/s.gif?r=http://hanghang.name/the-only-2009.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/heyward/334860542/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/heyward/334860542/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://hanghang.name/the-only-2009.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>每一天是唯一的，每一年是唯一的，过去了就不能再回头来过，更何况是对我很有意义的 2009 年，那唯一的二零零九。 
年初，由于考研不理想，开始着手找工作。现在回想三月份和四月份的日子，只能用失败形容，那段时间一直在怀疑自己大学四年是个失败，甚至怀疑自己的人生是个失败。去年整个就业大环境很不好，今年年底时候学校官方有个统计，截至到十二月份，学院就业率 37%，而去年同期只有 9%。这个数字是可信的，去年年前我们班整个只有三个人签约。在大环境不好的情况下，公司招人都少，这样像自己这样学习只能算中等的毕业生很少有机会的。另一方面，在找工作的时候我自己的准备不足，不说别的，毕业设计开始的太晚，而之前好几家公司面试的问题在我进行毕业设计时候都有学到，用到。在这种状态下找工作真的不容易，面试一个失败一个，所以四月下旬时候我选择逃离学校那个氛围，到郑州丫头的小窝里“蜗居”，找一丝安慰。BTW，人精神状态不好的时候，肯定会影响身体，那段时间，我一下子瘦了十五斤，是啊，没心思吃饭，睡觉失眠，怎么吃怎么瘦，吃再多也白搭。 
五一时候回家了一趟，大学四年第一次五一、十一假期回家。因为 CHAOFEI 参军三年，终于转士官可以休探亲假，三年多兄弟们没见肯定要聚聚的。那次聚会真真切切是兄弟们最后的一次青春酒，工作后感触更深啊。那天晚上我们都喝高了，我跟 BEI 打地铺睡觉时候说了很多话，前三个月的郁闷无助失落终于发泄了一下，趁着酒劲终于不再失眠。那天晚上是兄弟们几年来最 High 的一次吧，只可惜 XIAOJIE 由于时间紧没有赶回来，残缺美。 
五一回家聚会是主要原因，另外就是跟爸妈交代一下找工作的情况，让他们安心一下。爸妈都是老实的农民，没啥门路，所以爸老说我找工作这事他使不上劲，干着急。临走的那天晚上跟爸说话到深夜，工作这事让他们不用太担心，肯定会有的，就算专业不对口，苦力活，毕业时候我都会找个地方把自己安顿下来，长大了已经，你们不用太操心，我这样跟爸妈说。那晚也把丫头跟爸妈说了一下，爸说谈恋爱这事家里不会过多干涉我，一切都由我自己拿主意。 
再次回到学校就开始忙毕业设计。英文翻译，开题报告，查资料写设计书，学习了很多东西，Java Web 开发流程，Struts 框架应用，MVC 开发模式，Servlet 机制等等。只可惜我学的太晚了，之前有公司面试问的就是这些东西，而那时我却不懂。 
六月初的时候，我终于把自己卖了，一家对日外包的公司。紧接着就是毕业前的各种饭局酒场，尽自己最大可能跟宿舍的人同吃同玩，联机打游戏，晚上卧谈到两三点，去新区看看我们大一大二时候的宿舍，再吃一顿新区食堂，等到分别的时候，我们只有不舍。走之前我一个人在宿舍收拾东西，看着一片狼藉的宿舍，忍不住嚎嚎大哭，大学生活结束了，我们的青春结束了。 
没有太多时间留给我感伤。七月开始实习培训，日语，业务，凭着自己还算好的基础慢慢给拿下，工作一步一步的上手，可以在老大的帮助下做一些简单的项目模块。付出就有回报，十月份，有幸在第一批次转正。算上实习，工作也有半年了，自己要学的东西还有很多，还得努力。 
八月中旬，丫头公司倒了，就来到我这里。没钱我们也可以一起逛超市逛街，两个人啃一个烤玉米，周末我们去爬山，在家下厨捞面条，煮饺子。虽然刚开始很辛苦，但是两个人只要在一起就是最好的，什么都不怕。上个月丫头通过试用期工作也安顿下来，生活是越来越好的。两个人在一起难免会吵架闹别扭，爱你乖，能在一起感觉很幸福。 
09 年就过去了，来年还得继续努力。来几个小计划吧：

工作再进一步，争取再过半年能带几个人； 
日语，逼自己去学； 
自己做些东西，不管大小，重要的是去做； 
减肥到 150 以下，为了健康减肥； 
挣钱！ 

PS：原本应该是年前做的总结，由于最近服务器整顿，拖到今天。

	Tags: ｌｉｆｅ

	Related posts
	
	醉酒 (0)
	该减肥了 (0)&lt;img src=&quot;http://www1.feedsky.com/t1/334860542/heyward/feedsky/s.gif?r=http://hanghang.name/the-only-2009.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/heyward/334860542/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/heyward/334860542/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>ｌｉｆｅ</category><category>算是日记</category><pubDate>Thu, 07 Jan 2010 08:46:13 +0800</pubDate><author>Heyward</author><comments>http://hanghang.name/the-only-2009.html#comments</comments><guid isPermaLink="false">http://hanghang.name/the-only-2009.html</guid><dc:creator>Heyward</dc:creator><fs:srclink>http://hanghang.name/the-only-2009.html</fs:srclink><fs:srcfeed>http://hanghang.name/feed</fs:srcfeed><fs:itemid>feedsky/heyward/~6987599/334860542/5095537</fs:itemid></item><item><title>css之中文注释</title><link>http://hanghang.name/css-chinese-comment.html</link><content:encoded>&lt;p&gt;css 中不能有中文注释，在 Firefox 中没有关系，但是在 IE6 中就不行了，会造成样式混乱。&lt;/p&gt;
&lt;p align=&quot;right&quot;&gt;&amp;#8212;-2009/11/30&lt;/p&gt;

	Tags: &lt;a href=&quot;http://hanghang.name/tag/css&quot; title=&quot;css&quot; rel=&quot;tag&quot;&gt;css&lt;/a&gt;, &lt;a href=&quot;http://hanghang.name/tag/firefox&quot; title=&quot;firefox&quot; rel=&quot;tag&quot;&gt;firefox&lt;/a&gt;&lt;br /&gt;

	&lt;h4&gt;Related posts&lt;/h4&gt;
	&lt;ul class=&quot;st-related-posts&quot;&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/rebuild-firefox-profiles.html&quot; title=&quot;重构firefox配置 (2009/04/03)&quot;&gt;重构firefox配置&lt;/a&gt; (3)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/sth-of-today.html&quot; title=&quot;扯淡：Firefox 3,NBA (2008/06/18)&quot;&gt;扯淡：Firefox 3,NBA&lt;/a&gt; (0)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/my-firefox-extensions.html&quot; title=&quot;我的Firefox扩展分享 (2008/08/11)&quot;&gt;我的Firefox扩展分享&lt;/a&gt; (2)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/my-firefox-custombuttons2-share.html&quot; title=&quot;我的Custom Buttons2按钮分享 (2008/08/12)&quot;&gt;我的Custom Buttons2按钮分享&lt;/a&gt; (3)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/uninstall-ms-net-framework-assistant.html&quot; title=&quot;卸载Microsoft .NET Framework Assistant扩展 (2009/02/17)&quot;&gt;卸载Microsoft .NET Framework Assistant扩展&lt;/a&gt; (2)&lt;/li&gt;
&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/334860543/heyward/feedsky/s.gif?r=http://hanghang.name/css-chinese-comment.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/heyward/334860543/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/heyward/334860543/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://hanghang.name/css-chinese-comment.html/feed</wfw:commentRss><slash:comments>2</slash:comments><description>css 中不能有中文注释，在 Firefox 中没有关系，但是在 IE6 中就不行了，会造成样式混乱。
&amp;#8212;-2009/11/30

	Tags: css, firefox

	Related posts
	
	重构firefox配置 (3)
	扯淡：Firefox 3,NBA (0)
	我的Firefox扩展分享 (2)
	我的Custom Buttons2按钮分享 (3)
	卸载Microsoft .NET Framework Assistant扩展 (2)&lt;img src=&quot;http://www1.feedsky.com/t1/334860543/heyward/feedsky/s.gif?r=http://hanghang.name/css-chinese-comment.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/heyward/334860543/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/heyward/334860543/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>firefox</category><category>技术整理</category><category>css</category><pubDate>Mon, 14 Dec 2009 15:49:18 +0800</pubDate><author>alonealive</author><comments>http://hanghang.name/css-chinese-comment.html#comments</comments><guid isPermaLink="false">http://hanghang.name/css-chinese-comment.html</guid><dc:creator>alonealive</dc:creator><fs:srclink>http://hanghang.name/css-chinese-comment.html</fs:srclink><fs:srcfeed>http://hanghang.name/feed</fs:srcfeed><fs:itemid>feedsky/heyward/~6987599/334860543/5095537</fs:itemid></item><item><title>MySQL 导出数据库</title><link>http://hanghang.name/mysql-export-database.html</link><content:encoded>&lt;p&gt;Windows下：DOS 窗口：开始－＞运行－＞ cmd &lt;/p&gt;
&lt;p&gt;打开mysql服务器安装目录的bin目录，比如&lt;/p&gt;
&lt;p&gt;\Program Files\MySQL\MySQL Server 5.0\bin&lt;/p&gt;
&lt;p&gt;导出为： mysqldump -u 用户名 -p –opt 数据库名 &amp;gt; 数据库名.sql &lt;/p&gt;
&lt;p&gt;输入你的数据库密码!&lt;/p&gt;
&lt;p&gt;导入为：mysql -u 用户名 -p 数据库用户名 &amp;lt; 数据库名.sql （要在当前目录下操作）&lt;/p&gt;
&lt;p align=&quot;right&quot;&gt;&amp;#8212;-2009/11/25&lt;/p&gt;

	Tags: &lt;a href=&quot;http://hanghang.name/tag/mysql&quot; title=&quot;mysql&quot; rel=&quot;tag&quot;&gt;mysql&lt;/a&gt;&lt;br /&gt;

	&lt;h4&gt;Related posts&lt;/h4&gt;
	&lt;ul class=&quot;st-related-posts&quot;&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/use-mysql-to-study-database.html&quot; title=&quot;用Mysql学数据库 (2008/04/11)&quot;&gt;用Mysql学数据库&lt;/a&gt; (0)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/sql-study-select-2.html&quot; title=&quot;SQL学习&amp;#8211;连接查询 (2008/04/14)&quot;&gt;SQL学习&amp;#8211;连接查询&lt;/a&gt; (0)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/sql-study-select-3.html&quot; title=&quot;SQL学习&amp;#8211;嵌套查询 (2008/04/14)&quot;&gt;SQL学习&amp;#8211;嵌套查询&lt;/a&gt; (0)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/sql-study-select-1.html&quot; title=&quot;SQL学习&amp;#8211;单表查询 (2008/04/14)&quot;&gt;SQL学习&amp;#8211;单表查询&lt;/a&gt; (0)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/creat-mysql-database.html&quot; title=&quot;SQL学习&amp;#8212;学生-课程数据库 (2008/04/11)&quot;&gt;SQL学习&amp;#8212;学生-课程数据库&lt;/a&gt; (0)&lt;/li&gt;
&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/334860544/heyward/feedsky/s.gif?r=http://hanghang.name/mysql-export-database.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/heyward/334860544/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/heyward/334860544/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://hanghang.name/mysql-export-database.html/feed</wfw:commentRss><slash:comments>2</slash:comments><description>Windows下：DOS 窗口：开始－＞运行－＞ cmd 
打开mysql服务器安装目录的bin目录，比如
\Program Files\MySQL\MySQL Server 5.0\bin
导出为： mysqldump -u 用户名 -p –opt 数据库名 &amp;#62; 数据库名.sql 
输入你的数据库密码!
导入为：mysql -u 用户名 -p 数据库用户名 &amp;#60; 数据库名.sql （要在当前目录下操作）
&amp;#8212;-2009/11/25

	Tags: mysql

	Related posts
	
	用Mysql学数据库 (0)
	SQL学习&amp;#8211;连接查询 (0)
	SQL学习&amp;#8211;嵌套查询 (0)
	SQL学习&amp;#8211;单表查询 (0)
	SQL学习&amp;#8212;学生-课程数据库 (0)&lt;img src=&quot;http://www1.feedsky.com/t1/334860544/heyward/feedsky/s.gif?r=http://hanghang.name/mysql-export-database.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/heyward/334860544/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/heyward/334860544/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>mysql</category><category>技术整理</category><pubDate>Mon, 14 Dec 2009 15:47:26 +0800</pubDate><author>alonealive</author><comments>http://hanghang.name/mysql-export-database.html#comments</comments><guid isPermaLink="false">http://hanghang.name/mysql-export-database.html</guid><dc:creator>alonealive</dc:creator><fs:srclink>http://hanghang.name/mysql-export-database.html</fs:srclink><fs:srcfeed>http://hanghang.name/feed</fs:srcfeed><fs:itemid>feedsky/heyward/~6987599/334860544/5095537</fs:itemid></item><item><title>MySQL 更改表的字符编码</title><link>http://hanghang.name/mysql-alter-table-encoding.html</link><content:encoded>&lt;p&gt;有时候会出现这样的情况，几个表 联合查询的时候，他们的字符编码不一样，就得不到我们想要的结果，通常我们手动去改表的options属性，保证这几个表的字符编码一致。但是还会有另外的问题存在，就是数据库里面已经有值了，你虽然改了表的字符编码，但是以前存进去的数据字符编码还没有改过来，所以最好的办法就是用sql语句： &lt;/p&gt;
&lt;p&gt;alter table&amp;#160; privilege(1) convert to character set utf8 collate utf8_general_ci(2);&lt;/p&gt;
&lt;p&gt;(1)表示要改的表的字符编码 (2)表示要改成什么样的字符编码&lt;/p&gt;
&lt;p align=&quot;right&quot;&gt;&amp;#8212;-2009/11/20&lt;/p&gt;

	Tags: &lt;a href=&quot;http://hanghang.name/tag/mysql&quot; title=&quot;mysql&quot; rel=&quot;tag&quot;&gt;mysql&lt;/a&gt;&lt;br /&gt;

	&lt;h4&gt;Related posts&lt;/h4&gt;
	&lt;ul class=&quot;st-related-posts&quot;&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/use-mysql-to-study-database.html&quot; title=&quot;用Mysql学数据库 (2008/04/11)&quot;&gt;用Mysql学数据库&lt;/a&gt; (0)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/sql-study-select-2.html&quot; title=&quot;SQL学习&amp;#8211;连接查询 (2008/04/14)&quot;&gt;SQL学习&amp;#8211;连接查询&lt;/a&gt; (0)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/sql-study-select-3.html&quot; title=&quot;SQL学习&amp;#8211;嵌套查询 (2008/04/14)&quot;&gt;SQL学习&amp;#8211;嵌套查询&lt;/a&gt; (0)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/sql-study-select-1.html&quot; title=&quot;SQL学习&amp;#8211;单表查询 (2008/04/14)&quot;&gt;SQL学习&amp;#8211;单表查询&lt;/a&gt; (0)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://hanghang.name/creat-mysql-database.html&quot; title=&quot;SQL学习&amp;#8212;学生-课程数据库 (2008/04/11)&quot;&gt;SQL学习&amp;#8212;学生-课程数据库&lt;/a&gt; (0)&lt;/li&gt;
&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/334860545/heyward/feedsky/s.gif?r=http://hanghang.name/mysql-alter-table-encoding.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/heyward/334860545/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/heyward/334860545/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://hanghang.name/mysql-alter-table-encoding.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>有时候会出现这样的情况，几个表 联合查询的时候，他们的字符编码不一样，就得不到我们想要的结果，通常我们手动去改表的options属性，保证这几个表的字符编码一致。但是还会有另外的问题存在，就是数据库里面已经有值了，你虽然改了表的字符编码，但是以前存进去的数据字符编码还没有改过来，所以最好的办法就是用sql语句： 
alter table&amp;#160; privilege(1) convert to character set utf8 collate utf8_general_ci(2);
(1)表示要改的表的字符编码 (2)表示要改成什么样的字符编码
&amp;#8212;-2009/11/20

	Tags: mysql

	Related posts
	
	用Mysql学数据库 (0)
	SQL学习&amp;#8211;连接查询 (0)
	SQL学习&amp;#8211;嵌套查询 (0)
	SQL学习&amp;#8211;单表查询 (0)
	SQL学习&amp;#8212;学生-课程数据库 (0)&lt;img src=&quot;http://www1.feedsky.com/t1/334860545/heyward/feedsky/s.gif?r=http://hanghang.name/mysql-alter-table-encoding.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/heyward/334860545/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/heyward/334860545/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>mysql</category><category>技术整理</category><pubDate>Mon, 14 Dec 2009 15:42:30 +0800</pubDate><author>alonealive</author><comments>http://hanghang.name/mysql-alter-table-encoding.html#comments</comments><guid isPermaLink="false">http://hanghang.name/mysql-alter-table-encoding.html</guid><dc:creator>alonealive</dc:creator><fs:srclink>http://hanghang.name/mysql-alter-table-encoding.html</fs:srclink><fs:srcfeed>http://hanghang.name/feed</fs:srcfeed><fs:itemid>feedsky/heyward/~6987599/334860545/5095537</fs:itemid></item></channel></rss>