<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>一阁Blog</title>
	<atom:link href="http://yegle.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://yegle.net</link>
	<description>linux、智能手机、网络，所有我感兴趣的技术……</description>
	<lastBuildDate>Wed, 01 Jul 2009 05:59:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>暴风播放器上FFmpeg耻辱柱</title>
		<link>http://yegle.net/2009/05/27/baofeng-media-player-on-ffmpeg-hall-of-shame/</link>
		<comments>http://yegle.net/2009/05/27/baofeng-media-player-on-ffmpeg-hall-of-shame/#comments</comments>
		<pubDate>Wed, 27 May 2009 05:13:29 +0000</pubDate>
		<dc:creator>yegle</dc:creator>
				<category><![CDATA[Linux新闻]]></category>
		<category><![CDATA[ffmpeg]]></category>

		<guid isPermaLink="false">http://yegle.net/?p=411</guid>
		<description><![CDATA[
原文摘抄：
http://software.solidot.org/article.pl?sid=09/05/27/0319231
暴风影音被加入到FFmpeg耻辱名单中
matrix 发表于 2009年5月27日 11时18分 星期三   Printer-friendly   Email story
来自果然流氓部门
GNU 软件
FFmpeg是一个跨平台的视频和音频流方案，属于自由软件，采用LGPL或GPL许可证（依据你选择的组件）。 今年2月韩国播放软件KMPlayer被加入到FFmpeg耻辱名单中，随后网友yegle向FFmpeg举报，指出暴风影音使用了大量开源代码，侵犯了FFmpeg的许可证。5月10日，另一位用户cehoyos下载了暴风软件，用7z解压之后发现其安装程序内包含了大量的开源和私有解码器的dll：avcodec，avformat，avutil，x264，xvid，bass，wmvdmod等等。杀毒软件 AntiVir报告lib_VoiceEngine_dll.dll是木马程序“TR\Spy.Legmir.SS.2”。之后暴风影音被正式加入到FFmpeg耻辱名单之列。



cnbeta评论：
第15楼 匿名人士 发表于 2009-05-27 12:21:11
yegle同志,保重啊.当心被跨国追捕了.



以下为广告：
教育网可用电驴服务器：
211.68.71.81:4242
]]></description>
			<content:encoded><![CDATA[<p class="dropcap-first">
<p style="text-align: left;">原文摘抄：</p>
<h6 style="text-align: left;"><a href="http://software.solidot.org/article.pl?sid=09/05/27/0319231" target="_blank">http://software.solidot.org/article.pl?sid=09/05/27/0319231</a></h6>
<p style="text-align: left;">暴风影音被加入到FFmpeg耻辱名单中<br />
matrix 发表于 2009年5月27日 11时18分 星期三   Printer-friendly   Email story<br />
来自果然流氓部门<br />
GNU 软件<br />
FFmpeg是一个跨平台的视频和音频流方案，属于自由软件，采用LGPL或GPL许可证（依据你选择的组件）。 今年2月韩国播放软件KMPlayer被加入到FFmpeg耻辱名单中，随后网友yegle向FFmpeg举报，指出暴风影音使用了大量开源代码，侵犯了FFmpeg的许可证。5月10日，另一位用户cehoyos下载了暴风软件，用7z解压之后发现其安装程序内包含了大量的开源和私有解码器的dll：avcodec，avformat，avutil，x264，xvid，bass，wmvdmod等等。杀毒软件 AntiVir报告lib_VoiceEngine_dll.dll是木马程序“TR\Spy.Legmir.SS.2”。之后暴风影音被正式加入到FFmpeg耻辱名单之列。
</p>
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;"><a href="http://www.cnbeta.com/articles/85267.htm" target="_blank">cnbeta评论</a>：</p>
<p style="text-align: left;">第15楼 匿名人士 发表于 2009-05-27 12:21:11<br />
yegle同志,保重啊.当心被跨国追捕了.
</p>
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;"><strong>以下为广告：</strong></p>
<p style="text-align: left;"><strong>教育网可用电驴服务器：</strong></p>
<p style="text-align: left;"><strong>211.68.71.81:4242</strong></p>
<img src="http://yegle.net/34083cd2/26673f3d/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://yegle.net/2009/05/27/baofeng-media-player-on-ffmpeg-hall-of-shame/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>教育网可用电驴服务器</title>
		<link>http://yegle.net/2009/05/25/ed2k-server-for-cernet-users/</link>
		<comments>http://yegle.net/2009/05/25/ed2k-server-for-cernet-users/#comments</comments>
		<pubDate>Mon, 25 May 2009 15:55:29 +0000</pubDate>
		<dc:creator>yegle</dc:creator>
				<category><![CDATA[网络相关]]></category>
		<category><![CDATA[ed2k]]></category>
		<category><![CDATA[emule]]></category>

		<guid isPermaLink="false">http://yegle.net/?p=409</guid>
		<description><![CDATA[
随便找了台服务器架着
ip：211.68.71.81
端口：4242
请在nick里加入byr，以免陌生人满员时无法加入
ed2k://&#124;server&#124;211.68.71.81&#124;4242&#124;/

以下为SEO关键词
教育网电驴
教育网电骡
ed2k服务器
电驴服务器

UPDATE:端口已修改为42422，请更换使用最新端口。
]]></description>
			<content:encoded><![CDATA[<p class="dropcap-first">
<p style="text-align: left;">随便找了台服务器架着</p>
<p style="text-align: left;">ip：211.68.71.81</p>
<p style="text-align: left;">端口：4242</p>
<p style="text-align: left;">请在nick里加入byr，以免陌生人满员时无法加入</p>
<p style="text-align: left;">ed2k://|server|211.68.71.81|4242|/</p>
<p style="text-align: left;">
<p style="text-align: left;">以下为SEO关键词</p>
<p style="text-align: left;">教育网电驴</p>
<p style="text-align: left;">教育网电骡</p>
<p style="text-align: left;">ed2k服务器</p>
<p style="text-align: left;">电驴服务器</p>
<p style="text-align: left;">
<p style="text-align: left;">UPDATE:端口已修改为42422，请更换使用最新端口。</p>
<img src="http://yegle.net/34083cd2/26673f3d/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://yegle.net/2009/05/25/ed2k-server-for-cernet-users/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>绝对软文，不喜勿入</title>
		<link>http://yegle.net/2009/05/06/just-ad/</link>
		<comments>http://yegle.net/2009/05/06/just-ad/#comments</comments>
		<pubDate>Wed, 06 May 2009 10:56:22 +0000</pubDate>
		<dc:creator>yegle</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[tee]]></category>

		<guid isPermaLink="false">http://yegle.net/?p=405</guid>
		<description><![CDATA[
本篇日志是本人为了节省约12元RMB特地写的软文，不喜欢的同学请在看完此段之后迅速将浏览器窗口或者rss reader关闭，这是一篇很黄很暴力的软文。








OK前言结束，进入重点：夏天来了，短袖不够穿了……
想起以前看到的一个geek Tee，很多web2.0的那种，忘了是在哪看到的了
然后一顿狂搜，google很久未果，然后想起以前在水木上发过这个tee的链接，去搜了下全文，终于找到了：原来记错了，当时看到的不是Tee……
然后发现两件好看的tee：第一件，第二件。
然后看见了这个写博客免运费的活动。
流水帐记录完毕。请各位同学对我看上的那两件眼馋的Tee退避……严禁撞衫……



]]></description>
			<content:encoded><![CDATA[<p class="dropcap-first">
<p style="text-align: left;">本篇日志是本人为了节省约12元RMB特地写的软文，不喜欢的同学请在看完此段之后迅速将浏览器窗口或者rss reader关闭，这是一篇很黄很暴力的软文。</p>
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">OK前言结束，进入重点：夏天来了，短袖不够穿了……</p>
<p style="text-align: left;">想起以前看到的一个geek Tee，很多web2.0的那种，忘了是在哪看到的了</p>
<p style="text-align: left;">然后一顿狂搜，google很久未果，然后想起以前在水木上发过这个tee的链接，去搜了下全文，终于找到了：原来记错了，当时<a href="http://geekcook.blogspot.com/2009/03/web20-icon.html">看到的</a>不是Tee……</p>
<p style="text-align: left;">然后发现两件好看的tee：<a href="http://geekcook.blogspot.com/2009/04/teefollow-me-via-twitter.html">第一件</a>，<a href="http://geekcook.blogspot.com/2009/04/teeweb.html">第二件</a>。</p>
<p style="text-align: left;">然后看见了这个<a href="http://geekcook.blogspot.com/2009/03/20.html">写博客免运费</a>的活动。</p>
<p style="text-align: left;">流水帐记录完毕。请各位同学对我看上的那两件眼馋的Tee退避……严禁撞衫……</p>
<p style="text-align: left;"><a href="http://yegle.net/wp-content/uploads/2009/05/tee-twitter-detail-e59bbee6a188.jpg"><img class="alignnone size-thumbnail wp-image-406" title="tee-twitter-detail-e59bbee6a188" src="http://yegle.net/wp-content/uploads/2009/05/tee-twitter-detail-e59bbee6a188-150x150.jpg" alt="tee-twitter-detail-e59bbee6a188" width="150" height="150" /></a></p>
<p style="text-align: left;"><a href="http://yegle.net/wp-content/uploads/2009/05/tee-web-tbicon.jpg"><img class="alignnone size-thumbnail wp-image-407" title="tee-web-tbicon" src="http://yegle.net/wp-content/uploads/2009/05/tee-web-tbicon-150x150.jpg" alt="tee-web-tbicon" width="150" height="150" /></a></p>
<p style="text-align: left;">
<img src="http://yegle.net/34083cd2/26673f3d/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://yegle.net/2009/05/06/just-ad/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>php识别Google的爬虫</title>
		<link>http://yegle.net/2009/05/01/recognise-google-bot-using-php/</link>
		<comments>http://yegle.net/2009/05/01/recognise-google-bot-using-php/#comments</comments>
		<pubDate>Fri, 01 May 2009 14:02:18 +0000</pubDate>
		<dc:creator>yegle</dc:creator>
				<category><![CDATA[web编程]]></category>
		<category><![CDATA[byrbt]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://yegle.net/?p=403</guid>
		<description><![CDATA[
给byrbt稍微加点SEO，遇到一个问题是让google可以访问一些原本必须登录之后才能访问的页面。
google了一个晚上无果……这里有一个帖子从来没有人回答过……其他地方找到的方法就是用UA来识别google bot
参考了谷歌中文网站管理员博客上的一篇日志和这个帖子写了一个函数判断是否为googlebot
懒得排版了……

function isgooglebot(){
$ua=strtolower($_SERVER['HTTP_USER_AGENT']);
$ip=$_SERVER['REMOTE_ADDR'];
if(strpos($ua,&#8221;googlebot&#8221;)!==false){
$hostname=gethostbyaddr($ip);
if(strpos($hostname,&#8221;googlebot.com&#8221;) !==false ){
$ip_reversed=gethostbyname($hostname);
if($ip==$ip_reversed){
return true;
}else return false;
}else return false;
}else return false;
}



BTW：我依稀记得google提供了一个网页，提交用户名密码以及对应的字段名，google可以自己post用户名密码来完成登录再抓取需要登录才能看到的网页……谁知道这个页面在哪……
]]></description>
			<content:encoded><![CDATA[<p class="dropcap-first">
<p style="text-align: left;">给byrbt稍微加点SEO，遇到一个问题是让google可以访问一些原本必须登录之后才能访问的页面。</p>
<p style="text-align: left;">google了一个晚上无果……<a href="http://www.google.com/support/forum/p/webmasters/thread?tid=5f10a89b4e3a50d3&amp;hl=zh-CN">这里</a>有一个帖子从来没有人回答过……其他地方找到的方法就是用UA来识别google bot</p>
<p style="text-align: left;">参考了<a href="http://www.googlechinawebmaster.com/2008/02/googlebot.html">谷歌中文网站管理员博客上的一篇日志</a>和<a href="http://www.webmasterworld.com/webmaster/3181861.htm">这个帖子</a>写了一个函数判断是否为googlebot</p>
<p style="text-align: left;">懒得排版了……</p>
<p style="text-align: left;">
<p style="text-align: left;">function isgooglebot(){<br />
$ua=strtolower($_SERVER['HTTP_USER_AGENT']);<br />
$ip=$_SERVER['REMOTE_ADDR'];<br />
if(strpos($ua,&#8221;googlebot&#8221;)!==false){<br />
$hostname=gethostbyaddr($ip);<br />
if(strpos($hostname,&#8221;googlebot.com&#8221;) !==false ){<br />
$ip_reversed=gethostbyname($hostname);<br />
if($ip==$ip_reversed){<br />
return true;<br />
}else return false;<br />
}else return false;<br />
}else return false;<br />
}
</p>
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">BTW：我依稀记得google提供了一个网页，提交用户名密码以及对应的字段名，google可以自己post用户名密码来完成登录再抓取需要登录才能看到的网页……谁知道这个页面在哪……</p>
<img src="http://yegle.net/34083cd2/26673f3d/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://yegle.net/2009/05/01/recognise-google-bot-using-php/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>关于transmission的ipv6支持问题</title>
		<link>http://yegle.net/2009/04/27/transmission-ipv6-support/</link>
		<comments>http://yegle.net/2009/04/27/transmission-ipv6-support/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 13:43:48 +0000</pubDate>
		<dc:creator>yegle</dc:creator>
				<category><![CDATA[Linux技巧]]></category>
		<category><![CDATA[bt]]></category>
		<category><![CDATA[byrbt]]></category>
		<category><![CDATA[GFW]]></category>
		<category><![CDATA[transmission]]></category>

		<guid isPermaLink="false">http://yegle.net/?p=401</guid>
		<description><![CDATA[
transmission是一个在linux下比较流行的bt客户端，gtk界面，支持daemon，并有方便的web前端和第三方的客户端。
transmission在大约1.50版的时候开始声明支持ipv6了，但是实际使用过程中却发现连接到byrbt的tracker时，服务端见到的ip是v4的ip，即使在/etc/hosts文件中指定了tracker的v6地址也一样。
google到了transmission的trac上有讨论这个问题（1，2）。似乎是transmission在对byrbt这样的v4/v6双栈的tracker时只解析v4地址，不解析v6地址。
trac里原文：
Brief explanation for posterity and those out of the loop: In libTransmission (pre-1.60?, that&#8217;s the plan anyway) &#8220;torrent&#8221; and &#8220;tracker&#8221; are used interchangeably. With the addition of IPv6 support, the two concepts need to be separated. This is a fairly major refactoring job. For 1.5x and in trunk currently, IPv6 DNS resolution in libcurl (the [...]]]></description>
			<content:encoded><![CDATA[<p class="dropcap-first">
<p style="text-align: left;">transmission是一个在linux下比较流行的bt客户端，gtk界面，支持daemon，并有方便的<a href="http://www.newsimplelife.com/b20090417179.html">web前端</a>和<a href="http://code.google.com/p/transmisson-remote-gui/">第三方的客户端</a>。</p>
<p style="text-align: left;">transmission在大约1.50版的时候开始声明支持ipv6了，但是实际使用过程中却发现连接到byrbt的tracker时，服务端见到的ip是v4的ip，即使在/etc/hosts文件中指定了tracker的v6地址也一样。</p>
<p style="text-align: left;">google到了transmission的trac上有讨论这个问题（<a href="http://trac.transmissionbt.com/ticket/1937">1</a>，<a href="http://trac.transmissionbt.com/ticket/1731">2</a>）。似乎是transmission在对byrbt这样的v4/v6双栈的tracker时只解析v4地址，不解析v6地址。</p>
<p style="text-align: left;">trac里原文：</p>
<p style="text-align: left; padding-left: 30px;">Brief explanation for posterity and those out of the loop: In libTransmission (pre-1.60?, that&#8217;s the plan anyway) &#8220;torrent&#8221; and &#8220;tracker&#8221; are used interchangeably. With the addition of IPv6 support, the two concepts need to be separated. This is a fairly major refactoring job. For 1.5x and in trunk currently, IPv6 DNS resolution in libcurl (the library we use for tracker communication) is disabled to prevent breakage of trackers with AAAA and A records on the same hostname (notably, TPB). For those of you coming here from <a class="closed ticket" title="Bug: Curl doesn't resolve ipv6 formed address (closed: duplicate)" href="http://trac.transmissionbt.com.sixxs.org/ticket/1937">#1937</a>, the curl option to disable IPv6 &#8220;DNS resolution&#8221; apparently also causes curl to bail if given an explicit IPv6 tracker address (such as <a class="ext-link" href="http://%5b:1/announce"><span class="icon">http://[::1]/announce</span></a>), so that bug is the same as this one.</p>
<p style="text-align: left;">解决的办法很简单，修改源码里libtransmission/web.c，找到curl_easy_setopt( easy, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 );一行，将CURL_IPRESOLVE_V4修改为CURL_IPRESOLVE_V6，然后正常编译安装即可。如果同时需要使用v4的tracker，可以把这部分修改成CURL_IPRESOLVE_WHATEVER。</p>
<p style="text-align: left;">实际使用效果甚好。原本都是做种很久后才有零星的ipv6的peer连接，现在连上tracker后不久就能得到ipv6的peer了</p>
<p style="text-align: left;">
<p style="text-align: left;">BTW，不知道为什么，transmissionbt.com也被墙了……万恶的GFW……</p>
<img src="http://yegle.net/34083cd2/26673f3d/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://yegle.net/2009/04/27/transmission-ipv6-support/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>House S05E20片尾截图</title>
		<link>http://yegle.net/2009/04/24/screenshot-of-house-s05e20/</link>
		<comments>http://yegle.net/2009/04/24/screenshot-of-house-s05e20/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 13:56:15 +0000</pubDate>
		<dc:creator>yegle</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[house]]></category>
		<category><![CDATA[suicide]]></category>

		<guid isPermaLink="false">http://yegle.net/?p=399</guid>
		<description><![CDATA[

挺好的……
]]></description>
			<content:encoded><![CDATA[<p class="dropcap-first">
<p style="text-align: left;">
<div id="attachment_400" class="wp-caption alignnone" style="width: 160px"><a href="http://yegle.net/wp-content/uploads/2009/04/shot0003.png"><img class="size-thumbnail wp-image-400 " title="screenshot of House.S05E20" src="http://yegle.net/wp-content/uploads/2009/04/shot0003-150x150.png" alt="screenshot of House.S05E20" width="150" height="150" /></a><p class="wp-caption-text">screenshot of House.S05E20</p></div>
<p>挺好的……</p>
<img src="http://yegle.net/34083cd2/26673f3d/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://yegle.net/2009/04/24/screenshot-of-house-s05e20/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>用bash往豆瓣上更新广播</title>
		<link>http://yegle.net/2009/04/22/update-douban-status-using-bash/</link>
		<comments>http://yegle.net/2009/04/22/update-douban-status-using-bash/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 01:42:50 +0000</pubDate>
		<dc:creator>yegle</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://yegle.net/?p=398</guid>
		<description><![CDATA[
豆瓣……咋说呢……丫虽然有开放的API，反正我是没折腾明白怎么用最简单的方法把信息发布到它的“广播”上，还是和昨天一样，用wget模拟post
但是仔细看却发现一个问题……丫每次登录给一个不同的随机值，在表单里有个ck项，提交的时候会检查这个东东……
我只能说……何必呢？在正则面前算个毛……

以下为代码，是php的，我也懒得翻译了……自己替换一下就OK了……
btw似乎也就xiaonei和douban的服务这么恶心吧……非得模拟post才能搞定
$doubanlogincmd=&#8221;/usr/bin/wget &#8211;no-proxy -O &#8211; &#8211;post-data=\&#8221;form_email=$doubanusername&#38;form_password=$doubanpassword\&#8221;  &#8211;keep-session-cookies &#8211;save-cookies=doubancookie http://www.douban.com/login&#124;tee doubanlogin.log&#124;grep logout&#124;sed &#8217;s/.*ck=\([^\"]*\)\&#8221;.*/\\1/&#8217; &#62;ck&#8221;;
$doubanpostcmd=&#8221;/usr/bin/wget &#8211;no-proxy -O doubanpost.log &#8211;post-data=\&#8221;mb_text=$msg&#38;mb_submit=+我说+&#38;ck=`cat ck`\&#8221;  &#8211;keep-session-cookies &#8211;load-cookies=doubancookie http://www.douban.com/people/3983206/miniblogs &#8211;referer=http://www.douban.com/&#8221;
]]></description>
			<content:encoded><![CDATA[<p class="dropcap-first">
<p style="text-align: left;">豆瓣……咋说呢……丫虽然有开放的API，反正我是没折腾明白怎么用最简单的方法把信息发布到它的“广播”上，还是和昨天一样，用wget模拟post</p>
<p style="text-align: left;">但是仔细看却发现一个问题……丫每次登录给一个不同的随机值，在表单里有个ck项，提交的时候会检查这个东东……</p>
<p style="text-align: left;">我只能说……何必呢？在正则面前算个毛……</p>
<p style="text-align: left;">
<p style="text-align: left;">以下为代码，是php的，我也懒得翻译了……自己替换一下就OK了……</p>
<p style="text-align: left;">btw似乎也就xiaonei和douban的服务这么恶心吧……非得模拟post才能搞定</p>
<p>$doubanlogincmd=&#8221;/usr/bin/wget &#8211;no-proxy -O &#8211; &#8211;post-data=\&#8221;form_email=$doubanusername&amp;form_password=$doubanpassword\&#8221;  &#8211;keep-session-cookies &#8211;save-cookies=doubancookie http://www.douban.com/login|tee doubanlogin.log|grep logout|sed &#8217;s/.*ck=\([^\"]*\)\&#8221;.*/\\1/&#8217; &gt;ck&#8221;;<br />
$doubanpostcmd=&#8221;/usr/bin/wget &#8211;no-proxy -O doubanpost.log &#8211;post-data=\&#8221;mb_text=$msg&amp;mb_submit=+我说+&amp;ck=`cat ck`\&#8221;  &#8211;keep-session-cookies &#8211;load-cookies=doubancookie http://www.douban.com/people/3983206/miniblogs &#8211;referer=http://www.douban.com/&#8221;</p>
<img src="http://yegle.net/34083cd2/26673f3d/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://yegle.net/2009/04/22/update-douban-status-using-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>用bash脚本更新校内状态</title>
		<link>http://yegle.net/2009/04/21/use-bash-to-update-xiaonei-status-and-blog/</link>
		<comments>http://yegle.net/2009/04/21/use-bash-to-update-xiaonei-status-and-blog/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 03:43:09 +0000</pubDate>
		<dc:creator>yegle</dc:creator>
				<category><![CDATA[Linux技巧]]></category>
		<category><![CDATA[wget]]></category>
		<category><![CDATA[xiaonei]]></category>

		<guid isPermaLink="false">http://yegle.net/?p=396</guid>
		<description><![CDATA[
其实就是些模拟post操作……
昨天跟@liufeng在twitter上说研究一下那个python代码……其实我不懂python……仔细看了一下发现看不懂……还是自己用firefox+live http header模拟表单提交吧……
liufeng兄……辜负你的期望了……

我用wget搞定的，应该用curl也行，没去研究了……

登录
wget &#8211;no-proxy -O xiaoneilogin.log &#8211;post-data=&#8221;email=youremailaddr&#38;password=yourpasswd&#38;autoLogin=true&#8221;  &#8211;keep-session-cookies &#8211;save-cookies=xiaoneicookie http://login.xiaonei.com/Login.do


发新日志
wget &#8211;no-proxy -O xiaoneipost.log &#8211;post-data=&#8221;title=Your_blog_title&#38;body=Your_blog_content&#38;categoryId=0&#38;blogControl=99&#38;passwordProtected=0&#8243; &#8211;load-cookies=xiaoneicookie http://blog.xiaonei.com/NewEntry.do

默认发到“默认分类”

发新状态
wget &#8211;no-proxy -O xiaoneipost.log &#8211;post-data=&#8221;c=Your_Status&#8221;  &#8211;keep-session-cookies &#8211;load-cookies=xiaoneicookie http://status.xiaonei.com/doing/update.do &#8211;referer=http://status.xiaonei.com/getdoing.do
]]></description>
			<content:encoded><![CDATA[<p class="dropcap-first">
<p style="text-align: left;">其实就是些模拟post操作……</p>
<p style="text-align: left;">昨天跟<a href="http://twitter.com/liufeng">@liufeng</a>在twitter上说研究一下那个python代码……其实我不懂python……仔细看了一下发现看不懂……还是自己用firefox+live http header模拟表单提交吧……</p>
<p style="text-align: left;">liufeng兄……辜负你的<a href="http://blog.cnliufeng.com/2009/04/got-crazy-by-python-string.html">期望</a>了……</p>
<p style="text-align: left;">
<p style="text-align: left;">我用wget搞定的，应该用curl也行，没去研究了……</p>
<p style="text-align: left;">
登录<br />
wget &#8211;no-proxy -O xiaoneilogin.log &#8211;post-data=&#8221;email=youremailaddr&amp;password=yourpasswd&amp;autoLogin=true&#8221;  &#8211;keep-session-cookies &#8211;save-cookies=xiaoneicookie http://login.xiaonei.com/Login.do
</p>
<p style="text-align: left;">
<p style="text-align: left;">发新日志<br />
wget &#8211;no-proxy -O xiaoneipost.log &#8211;post-data=&#8221;title=Your_blog_title&amp;body=Your_blog_content&amp;categoryId=0&amp;blogControl=99&amp;passwordProtected=0&#8243; &#8211;load-cookies=xiaoneicookie http://blog.xiaonei.com/NewEntry.do
</p>
<p style="text-align: left;">默认发到“默认分类”</p>
<p style="text-align: left;">
<p style="text-align: left;">发新状态<br />
wget &#8211;no-proxy -O xiaoneipost.log &#8211;post-data=&#8221;c=Your_Status&#8221;  &#8211;keep-session-cookies &#8211;load-cookies=xiaoneicookie http://status.xiaonei.com/doing/update.do &#8211;referer=http://status.xiaonei.com/getdoing.do</p>
<img src="http://yegle.net/34083cd2/26673f3d/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://yegle.net/2009/04/21/use-bash-to-update-xiaonei-status-and-blog/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>显卡挂掉了……</title>
		<link>http://yegle.net/2009/04/20/my-display-card-doesnt-work-now/</link>
		<comments>http://yegle.net/2009/04/20/my-display-card-doesnt-work-now/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 15:18:39 +0000</pubDate>
		<dc:creator>yegle</dc:creator>
				<category><![CDATA[life]]></category>

		<guid isPermaLink="false">http://yegle.net/?p=395</guid>
		<description><![CDATA[
状况疑似NVIDIA经典的显卡门的现象，dmesg显示cannot copy vbios to main memory
问题是已经过保了……

目前是偶尔显卡会回光返照一下（比如现在），其余情况下只能在终端下用fbterm了……
话说fbterm真棒，支持ttf字体，配上ucimf做输入法，差不多解决了终端下的中文输入和显示。再用mplayer播放视频、mpd播放音乐、w3m上网＝。＝、finch聊天，基本没遇到啥问题……

受到linuxpilot的约稿……惭愧啊＝。＝

现在显卡回光返照，都不愿意重启电脑了，怕一重启显卡就又不行了……
]]></description>
			<content:encoded><![CDATA[<p class="dropcap-first">
<p style="text-align: left;">状况疑似NVIDIA经典的显卡门的现象，dmesg显示cannot copy vbios to main memory</p>
<p style="text-align: left;">问题是已经过保了……</p>
<p style="text-align: left;">
<p style="text-align: left;">目前是偶尔显卡会回光返照一下（比如现在），其余情况下只能在终端下用fbterm了……</p>
<p style="text-align: left;">话说fbterm真棒，支持ttf字体，配上ucimf做输入法，差不多解决了终端下的中文输入和显示。再用mplayer播放视频、mpd播放音乐、w3m上网＝。＝、finch聊天，基本没遇到啥问题……</p>
<p style="text-align: left;">
<p style="text-align: left;">受到linuxpilot的约稿……惭愧啊＝。＝</p>
<p style="text-align: left;">
<p style="text-align: left;">现在显卡回光返照，都不愿意重启电脑了，怕一重启显卡就又不行了……</p>
<img src="http://yegle.net/34083cd2/26673f3d/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://yegle.net/2009/04/20/my-display-card-doesnt-work-now/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>symbian s60上twitter客户端</title>
		<link>http://yegle.net/2009/03/31/twitter-on-s60/</link>
		<comments>http://yegle.net/2009/03/31/twitter-on-s60/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 07:20:43 +0000</pubDate>
		<dc:creator>yegle</dc:creator>
				<category><![CDATA[手机软件]]></category>

		<guid isPermaLink="false">http://yegle.net/?p=394</guid>
		<description><![CDATA[
人家ifanr网站可是第一时间就放出各种小道消息，什么“symbian下第一个原生twitter客户端”之类的，还有某个博客又把gravity称为“S60上第一款twitter软件Gravity”，结果到最后人家网站开始组织团购……不得不让人怀疑他们的居心……
其实不就是twitter客户端么，s60上用wirelessIRC上twitter还是很好的，某些博客的博主啊……少见多怪……
]]></description>
			<content:encoded><![CDATA[<p class="dropcap-first">
<p style="text-align: left;">人家ifanr网站可是第一时间就放出各种小道消息，什么“<a href="http://bbs.ifanr.com/viewthread.php?tid=1294&amp;extra=page%3D1">symbian下第一个原生twitter客户端</a>”之类的，还有某个博客又把gravity称为“<a href="http://moja1986.wordpress.com/2009/03/30/gravity/">S60上第一款twitter软件Gravity</a>”，结果到最后人家网站开始组织团购……不得不让人怀疑他们的居心……</p>
<p style="text-align: left;">其实不就是twitter客户端么，s60上用wirelessIRC上twitter还是很好的，某些博客的博主啊……少见多怪……</p>
<img src="http://yegle.net/34083cd2/26673f3d/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://yegle.net/2009/03/31/twitter-on-s60/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
