<?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>逐渐老去的IT菜鸟</title>
	<atom:link href="http://www.willsonchen.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.willsonchen.com</link>
	<description>千里之行，始于足下，做好自己。</description>
	<lastBuildDate>Mon, 29 Aug 2011 09:19:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>用awk剔除两个文件中的重复行</title>
		<link>http://www.willsonchen.com/archives/378</link>
		<comments>http://www.willsonchen.com/archives/378#comments</comments>
		<pubDate>Mon, 29 Aug 2011 09:19:12 +0000</pubDate>
		<dc:creator>willson</dc:creator>
				<category><![CDATA[自由的LINUX]]></category>
		<category><![CDATA[awk]]></category>

		<guid isPermaLink="false">http://www.willsonchen.com/?p=378</guid>
		<description><![CDATA[有a、b两个文件，需要删除b文件中的所有a文件行，例如 a文件： 111 222 abc b文件： 111 ABc def 最后显示： def 使用awk如下即可： awk &#8216;NR==FNR{a[tolower($0)]}NR!=FNR&#038;&#038;!(tolower($0) in a){print $0}&#8217;... ]]></description>
			<content:encoded><![CDATA[<p>有a、b两个文件，需要删除b文件中的所有a文件行，例如<br />
a文件：<br />
111<br />
222<br />
abc</p>
<p>b文件：<br />
111<br />
ABc<br />
def</p>
<p>最后显示：<br />
def</p>
<p>使用awk如下即可：<br />
awk &#8216;NR==FNR{a[tolower($0)]}NR!=FNR&#038;&#038;!(tolower($0) in a){print $0}&#8217; a b</p>
]]></content:encoded>
			<wfw:commentRss>http://www.willsonchen.com/archives/378/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>使用shuf打乱文本顺序</title>
		<link>http://www.willsonchen.com/archives/377</link>
		<comments>http://www.willsonchen.com/archives/377#comments</comments>
		<pubDate>Mon, 29 Aug 2011 08:45:56 +0000</pubDate>
		<dc:creator>willson</dc:creator>
				<category><![CDATA[自由的LINUX]]></category>
		<category><![CDATA[shuf]]></category>

		<guid isPermaLink="false">http://www.willsonchen.com/?p=377</guid>
		<description><![CDATA[手头有100万的邮件地址，每行一个，按照字母顺序排序，现在需要将这些邮件地址全部打乱，使用linux自带的shuf命令： $shuf emailfile.txt 100万的数据瞬间完成，简单快捷。 但是很奇怪的时候，在... ]]></description>
			<content:encoded><![CDATA[<p>手头有100万的邮件地址，每行一个，按照字母顺序排序，现在需要将这些邮件地址全部打乱，使用linux自带的shuf命令：</p>
<p>$shuf emailfile.txt</p>
<p>100万的数据瞬间完成，简单快捷。</p>
<p>但是很奇怪的时候，在我的DEBIAN生产服务器上竟然找不到该命令，用aptitude search也找不到。 </p>
]]></content:encoded>
			<wfw:commentRss>http://www.willsonchen.com/archives/377/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chrome下的截图扩展</title>
		<link>http://www.willsonchen.com/archives/375</link>
		<comments>http://www.willsonchen.com/archives/375#comments</comments>
		<pubDate>Sat, 21 May 2011 05:05:08 +0000</pubDate>
		<dc:creator>willson</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[awescreenshot]]></category>
		<category><![CDATA[awescreenshot 截图快手]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[截图]]></category>

		<guid isPermaLink="false">http://www.willsonchen.com/?p=375</guid>
		<description><![CDATA[之前写了一篇在Ubuntu Linux下的截图软件shutter，shutter非常强大，但是对于添加自定义的文本比较麻烦，需要打开GIMP等图形编辑软件来处理。其实，可以使用浏览器的第三方扩展来截图，例如，... ]]></description>
			<content:encoded><![CDATA[<p>之前写了一篇<a href="http://www.willsonchen.com/archives/371">在Ubuntu Linux下的截图软件shutter</a>，shutter非常强大，但是对于添加自定义的文本比较麻烦，需要打开GIMP等图形编辑软件来处理。其实，可以使用浏览器的第三方扩展来截图，例如，“<a href="https://chrome.google.com/webstore/detail/alelhddbbhepgpmgidjdcjakblofbmce">截图快手</a>”就是一款非常优秀的浏览器扩展，可安装在Chrome、Friefox、Safari下。</p>
<p>截图快手可以很方便的在截取的区域中加入椭圆形、四方型的注释框，可以很方便加入注释文字，在完成批注或注释后，鼠标点击几下，就能将截图上传到截图网站，将返回的网址分享给朋友；还很方便将截图发送到twitter、facebook等社交网站。</p>
<p>截图快手官方网站： http://awesomescreenshot.com/<br />
<div id="attachment_376" class="wp-caption aligncenter" style="width: 373px"><a href="http://www.willsonchen.com/archives/375/awescreenshot" rel="attachment wp-att-376"><img src="http://www.willsonchen.com/wp-content/uploads/2011/05/awescreenshot-363x500.png" alt="awescreenshot 截图快手" title="awescreenshot 截图快手" width="363" height="500" class="size-medium wp-image-376" /></a><p class="wp-caption-text">awescreenshot 截图快手</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.willsonchen.com/archives/375/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu下的截图软件shutter</title>
		<link>http://www.willsonchen.com/archives/371</link>
		<comments>http://www.willsonchen.com/archives/371#comments</comments>
		<pubDate>Sat, 21 May 2011 04:44:17 +0000</pubDate>
		<dc:creator>willson</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[shutter]]></category>

		<guid isPermaLink="false">http://www.willsonchen.com/?p=371</guid>
		<description><![CDATA[shutter是一款非常强大的截图软件，支持窗口、控件、菜单以及自定义的任意区域截图，截图后，可以做3D旋转、水印、灰度、镜面、撕裂等十多种特殊效果，支持截图后默认上传到站点的FTP空... ]]></description>
			<content:encoded><![CDATA[<p>shutter是一款非常强大的截图软件，支持窗口、控件、菜单以及自定义的任意区域截图，截图后，可以做3D旋转、水印、灰度、镜面、撕裂等十多种特殊效果，支持截图后默认上传到站点的FTP空间，以及打开图像编辑器等。</p>
<p>截图后，要将图片上传到Flickr，只需要安装Postr即可。</p>
<div id="attachment_372" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.willsonchen.com/archives/371/%e9%80%90%e6%b8%90%e8%80%81%e5%8e%bb%e7%9a%84it%e8%8f%9c%e9%b8%9f-google-chrome-%e6%b5%8f%e8%a7%88%e5%99%a8_001" rel="attachment wp-att-372"><img src="http://www.willsonchen.com/wp-content/uploads/2011/05/逐渐老去的IT菜鸟-Google-Chrome-浏览器_001-500x350.png" alt="3D旋转效果" title="3D旋转效果" width="500" height="350" class="size-medium wp-image-372" /></a><p class="wp-caption-text">3D旋转效果</p></div>
<div id="attachment_373" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.willsonchen.com/archives/371/%e9%80%90%e6%b8%90%e8%80%81%e5%8e%bb%e7%9a%84it%e8%8f%9c%e9%b8%9f-google-chrome-%e6%b5%8f%e8%a7%88%e5%99%a8_002" rel="attachment wp-att-373"><img src="http://www.willsonchen.com/wp-content/uploads/2011/05/逐渐老去的IT菜鸟-Google-Chrome-浏览器_002-500x350.png" alt="球面效果" title="球面效果" width="500" height="350" class="size-medium wp-image-373" /></a><p class="wp-caption-text">球面效果</p></div>
<div id="attachment_374" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.willsonchen.com/archives/371/%e9%80%90%e6%b8%90%e8%80%81%e5%8e%bb%e7%9a%84it%e8%8f%9c%e9%b8%9f-google-chrome-%e6%b5%8f%e8%a7%88%e5%99%a8_003" rel="attachment wp-att-374"><img src="http://www.willsonchen.com/wp-content/uploads/2011/05/逐渐老去的IT菜鸟-Google-Chrome-浏览器_003-500x379.png" alt="相片效果" title="相片效果" width="500" height="379" class="size-medium wp-image-374" /></a><p class="wp-caption-text">相片效果</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.willsonchen.com/archives/371/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>用python写的一个简单刷票程序</title>
		<link>http://www.willsonchen.com/archives/367</link>
		<comments>http://www.willsonchen.com/archives/367#comments</comments>
		<pubDate>Sun, 15 May 2011 09:12:44 +0000</pubDate>
		<dc:creator>willson</dc:creator>
				<category><![CDATA[python]]></category>
		<category><![CDATA[刷票]]></category>

		<guid isPermaLink="false">http://www.willsonchen.com/?p=367</guid>
		<description><![CDATA[周五晚上花了一点时间用python写了一个刷互动力量投票系统的工具，原理很简单，先在代理网站上找代理IP，然后模拟http的方式，用urllib提交数据。这里有一些细节控制，修改一下user_agent，不... ]]></description>
			<content:encoded><![CDATA[<p>周五晚上花了一点时间用python写了一个刷互动力量投票系统的工具，原理很简单，先在代理网站上找代理IP，然后模拟http的方式，用urllib提交数据。这里有一些细节控制，修改一下user_agent，不然会在投票系统的服务器日志里显示“python/urllib”的user_agent信息。</p>
<p>我没有处理验证码这一块，因为我要刷的那个投票恰好没有验证码；就算有，那个验证码也是很有规律，用PIL或者自己写算法来分析也不是难事。</p>
<p>下面是整个刷票的程序，大约就20多行代码，非常简练。</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">#!/usr/bin/python  </span>
<span style="color: #808080; font-style: italic;">#-*-coding:utf-8-*-  </span>
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">urllib</span>,<span style="color: #dc143c;">urllib2</span>
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">re</span>
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">sys</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #008000;">len</span><span style="color: black;">&#40;</span><span style="color: #dc143c;">sys</span>.<span style="color: black;">argv</span><span style="color: black;">&#41;</span> <span style="color: #66cc66;">!</span>= <span style="color: #ff4500;">3</span>:
    <span style="color: #dc143c;">sys</span>.<span style="color: black;">stderr</span>.<span style="color: black;">write</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;Usage: begin page num, end page num<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: black;">&#41;</span>
    <span style="color: #ff7700;font-weight:bold;">raise</span> <span style="color: #008000;">SystemExit</span><span style="color: black;">&#40;</span><span style="color: #ff4500;">1</span><span style="color: black;">&#41;</span>
start = <span style="color: #008000;">int</span><span style="color: black;">&#40;</span><span style="color: #dc143c;">sys</span>.<span style="color: black;">argv</span><span style="color: black;">&#91;</span><span style="color: #ff4500;">1</span><span style="color: black;">&#93;</span><span style="color: black;">&#41;</span>
end = <span style="color: #008000;">int</span><span style="color: black;">&#40;</span><span style="color: #dc143c;">sys</span>.<span style="color: black;">argv</span><span style="color: black;">&#91;</span><span style="color: #ff4500;">2</span><span style="color: black;">&#93;</span><span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">for</span> i <span style="color: #ff7700;font-weight:bold;">in</span> <span style="color: #008000;">range</span><span style="color: black;">&#40;</span>start,end<span style="color: black;">&#41;</span>:
    f = <span style="color: #dc143c;">urllib</span>.<span style="color: black;">urlopen</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;http://www.proxycn.com/html_proxy/http-&quot;</span>+<span style="color: #008000;">str</span><span style="color: black;">&#40;</span>i<span style="color: black;">&#41;</span>+<span style="color: #483d8b;">&quot;.html&quot;</span><span style="color: black;">&#41;</span>
    html = f.<span style="color: black;">read</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
    proxies = <span style="color: #dc143c;">re</span>.<span style="color: black;">findall</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;clip<span style="color: #000099; font-weight: bold;">\(</span>'(.*?)'<span style="color: #000099; font-weight: bold;">\)</span>&quot;</span>,html,<span style="color: #dc143c;">re</span>.<span style="color: black;">S</span><span style="color: black;">&#41;</span>
    <span style="color: #ff7700;font-weight:bold;">for</span> n,proxy <span style="color: #ff7700;font-weight:bold;">in</span> <span style="color: #008000;">enumerate</span><span style="color: black;">&#40;</span>proxies<span style="color: black;">&#41;</span>:
        <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #008000;">str</span><span style="color: black;">&#40;</span>n+<span style="color: #ff4500;">1</span><span style="color: black;">&#41;</span>+<span style="color: #483d8b;">&quot; &quot;</span>+proxy
        proxy_handler = <span style="color: #dc143c;">urllib2</span>.<span style="color: black;">ProxyHandler</span><span style="color: black;">&#40;</span><span style="color: black;">&#123;</span><span style="color: #483d8b;">'http'</span>: <span style="color: #483d8b;">'http://'</span>+proxy<span style="color: black;">&#125;</span><span style="color: black;">&#41;</span>       
        data = <span style="color: #dc143c;">urllib</span>.<span style="color: black;">urlencode</span><span style="color: black;">&#40;</span><span style="color: black;">&#123;</span><span style="color: #483d8b;">'vote_id'</span>:<span style="color: #ff4500;">12345</span>,<span style="color: #483d8b;">'question_id'</span>:<span style="color: #ff4500;">67890</span><span style="color: black;">&#125;</span><span style="color: black;">&#41;</span>
        request = <span style="color: #dc143c;">urllib2</span>.<span style="color: black;">Request</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;http://vote.activepower.net/script/user/get_vote_save.asp&quot;</span><span style="color: black;">&#41;</span>
        request.<span style="color: black;">add_header</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'User-Agent'</span>, <span style="color: #483d8b;">'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)'</span><span style="color: black;">&#41;</span>
        opener = <span style="color: #dc143c;">urllib2</span>.<span style="color: black;">build_opener</span><span style="color: black;">&#40;</span>proxy_handler<span style="color: black;">&#41;</span>     
        <span style="color: #ff7700;font-weight:bold;">try</span>:
            ff = opener.<span style="color: #008000;">open</span><span style="color: black;">&#40;</span>request,data,<span style="color: #ff4500;">5</span><span style="color: black;">&#41;</span>
        <span style="color: #ff7700;font-weight:bold;">except</span>:
            <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">&quot;time out&quot;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.willsonchen.com/archives/367/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 11.04 Natty安装全过程截图</title>
		<link>http://www.willsonchen.com/archives/345</link>
		<comments>http://www.willsonchen.com/archives/345#comments</comments>
		<pubDate>Mon, 25 Apr 2011 01:43:21 +0000</pubDate>
		<dc:creator>willson</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[安装]]></category>
		<category><![CDATA[ubuntu 11.04]]></category>

		<guid isPermaLink="false">http://www.willsonchen.com/?p=345</guid>
		<description><![CDATA[... ]]></description>
			<content:encoded><![CDATA[
<a href='http://www.willsonchen.com/archives/345/1-2' title='1'><img width="150" height="150" src="http://www.willsonchen.com/wp-content/uploads/2011/04/1-150x150.png" class="attachment-thumbnail" alt="1" title="1" /></a>
<a href='http://www.willsonchen.com/archives/345/2-2' title='2'><img width="150" height="150" src="http://www.willsonchen.com/wp-content/uploads/2011/04/2-150x150.png" class="attachment-thumbnail" alt="2" title="2" /></a>
<a href='http://www.willsonchen.com/archives/345/3-2' title='3'><img width="150" height="150" src="http://www.willsonchen.com/wp-content/uploads/2011/04/3-150x150.png" class="attachment-thumbnail" alt="3" title="3" /></a>
<a href='http://www.willsonchen.com/archives/345/4-3' title='4'><img width="150" height="150" src="http://www.willsonchen.com/wp-content/uploads/2011/04/4-150x150.png" class="attachment-thumbnail" alt="4" title="4" /></a>
<a href='http://www.willsonchen.com/archives/345/5-3' title='5'><img width="150" height="150" src="http://www.willsonchen.com/wp-content/uploads/2011/04/5-150x150.png" class="attachment-thumbnail" alt="5" title="5" /></a>
<a href='http://www.willsonchen.com/archives/345/6-3' title='6'><img width="150" height="150" src="http://www.willsonchen.com/wp-content/uploads/2011/04/6-150x150.png" class="attachment-thumbnail" alt="6" title="6" /></a>
<a href='http://www.willsonchen.com/archives/345/7-2' title='7'><img width="150" height="150" src="http://www.willsonchen.com/wp-content/uploads/2011/04/7-150x150.png" class="attachment-thumbnail" alt="7" title="7" /></a>
<a href='http://www.willsonchen.com/archives/345/8-2' title='8'><img width="150" height="150" src="http://www.willsonchen.com/wp-content/uploads/2011/04/8-150x150.png" class="attachment-thumbnail" alt="8" title="8" /></a>
<a href='http://www.willsonchen.com/archives/345/9-2' title='9'><img width="150" height="150" src="http://www.willsonchen.com/wp-content/uploads/2011/04/9-150x150.png" class="attachment-thumbnail" alt="9" title="9" /></a>
<a href='http://www.willsonchen.com/archives/345/10-2' title='10'><img width="150" height="150" src="http://www.willsonchen.com/wp-content/uploads/2011/04/10-150x150.png" class="attachment-thumbnail" alt="10" title="10" /></a>
<a href='http://www.willsonchen.com/archives/345/attachment/11' title='11'><img width="150" height="150" src="http://www.willsonchen.com/wp-content/uploads/2011/04/11-150x150.png" class="attachment-thumbnail" alt="11" title="11" /></a>
<a href='http://www.willsonchen.com/archives/345/attachment/12' title='12'><img width="150" height="150" src="http://www.willsonchen.com/wp-content/uploads/2011/04/12-150x150.png" class="attachment-thumbnail" alt="12" title="12" /></a>
<a href='http://www.willsonchen.com/archives/345/attachment/13' title='13'><img width="150" height="150" src="http://www.willsonchen.com/wp-content/uploads/2011/04/13-150x150.png" class="attachment-thumbnail" alt="13" title="13" /></a>
<a href='http://www.willsonchen.com/archives/345/attachment/14' title='14'><img width="150" height="150" src="http://www.willsonchen.com/wp-content/uploads/2011/04/14-150x150.png" class="attachment-thumbnail" alt="14" title="14" /></a>
<a href='http://www.willsonchen.com/archives/345/attachment/15' title='15'><img width="150" height="150" src="http://www.willsonchen.com/wp-content/uploads/2011/04/15-150x150.png" class="attachment-thumbnail" alt="15" title="15" /></a>
<a href='http://www.willsonchen.com/archives/345/attachment/16' title='16'><img width="150" height="150" src="http://www.willsonchen.com/wp-content/uploads/2011/04/16-150x150.png" class="attachment-thumbnail" alt="16" title="16" /></a>
<a href='http://www.willsonchen.com/archives/345/attachment/17' title='17'><img width="150" height="150" src="http://www.willsonchen.com/wp-content/uploads/2011/04/17-150x150.png" class="attachment-thumbnail" alt="17" title="17" /></a>
<a href='http://www.willsonchen.com/archives/345/attachment/18' title='18'><img width="150" height="150" src="http://www.willsonchen.com/wp-content/uploads/2011/04/18-150x150.png" class="attachment-thumbnail" alt="18" title="18" /></a>
<a href='http://www.willsonchen.com/archives/345/attachment/19' title='19'><img width="150" height="150" src="http://www.willsonchen.com/wp-content/uploads/2011/04/19-150x150.png" class="attachment-thumbnail" alt="19" title="19" /></a>
<a href='http://www.willsonchen.com/archives/345/attachment/20' title='20'><img width="150" height="150" src="http://www.willsonchen.com/wp-content/uploads/2011/04/20-150x150.png" class="attachment-thumbnail" alt="20" title="20" /></a>
<a href='http://www.willsonchen.com/archives/345/attachment/21' title='21'><img width="150" height="150" src="http://www.willsonchen.com/wp-content/uploads/2011/04/21-150x150.png" class="attachment-thumbnail" alt="21" title="21" /></a>

]]></content:encoded>
			<wfw:commentRss>http://www.willsonchen.com/archives/345/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>差劲的快钱</title>
		<link>http://www.willsonchen.com/archives/343</link>
		<comments>http://www.willsonchen.com/archives/343#comments</comments>
		<pubDate>Fri, 01 Apr 2011 02:35:52 +0000</pubDate>
		<dc:creator>willson</dc:creator>
				<category><![CDATA[生活]]></category>
		<category><![CDATA[快钱]]></category>

		<guid isPermaLink="false">http://www.willsonchen.com/?p=343</guid>
		<description><![CDATA[这是我第一次使用快钱，因为有一笔款急需转帐。我注册登录后，在左侧菜单点击&#8221;我要付款&#8221;》&#8221;付款到银行帐号&#8221;，提交信息后系统说余额不足，需要充值，于是，我点击&#8221;... ]]></description>
			<content:encoded><![CDATA[<p>这是我第一次使用快钱，因为有一笔款急需转帐。我注册登录后，在左侧菜单点击&#8221;我要付款&#8221;》&#8221;付款到银行帐号&#8221;，提交信息后系统说余额不足，需要充值，于是，我点击&#8221;账户管理&#8221;》&#8221;充值&#8221;，从我的信用卡里将款打到快钱（我的借记卡没有网上银行功能），再次在&#8221;付款到银行帐号&#8221;里提交，系统提示操作成功，告知我在3个工作日内可以到帐。</p>
<p>两天后，收到快钱风控部门的邮件，说可能涉及套现，转帐不成功。但是从开始到结束我都没有看到任何关于套现的说明，尤其在&#8221;付款到银行帐号&#8221;页面，没有任何的文字说明。最后在充值页面看到一行关于&#8221;信用卡套现收取1%手续费&#8221;的文字，而这行文字并没有直接告知用户哪些行为是不允许的。</p>
<p>我认为在整个过程中，我没有做错，唯一的错误就是没有将快钱网站的每个页面都点击进去阅读10回；如果快钱在&#8221;付款到银行帐号&#8221;页面有说明，或者能检测到信用卡不能支付，又或者在提交信息时有提醒，那么都不会有这样的问题；快钱由于系统设计问题，提示严重不足，造成我延误了多天时间，还损失1%的手续费，这些损失，请问快钱怎么处理？还是说，这是快钱故意设陷收取手续费？</p>
<p>想不到我在快钱的第一次体验如此差劲，这是我的第一次使用，也是最后一次。<br />
<div id="attachment_344" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.willsonchen.com/archives/343/fukuan" rel="attachment wp-att-344"><img src="http://www.willsonchen.com/wp-content/uploads/2011/04/fukuan-500x375.png" alt="付款到银行帐号没有任何提示" title="付款到银行帐号没有任何提示" width="500" height="375" class="size-medium wp-image-344" /></a><p class="wp-caption-text">付款到银行帐号没有任何提示</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.willsonchen.com/archives/343/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>高朋网的低级错误，130元买100元代金券</title>
		<link>http://www.willsonchen.com/archives/339</link>
		<comments>http://www.willsonchen.com/archives/339#comments</comments>
		<pubDate>Thu, 31 Mar 2011 02:55:26 +0000</pubDate>
		<dc:creator>willson</dc:creator>
				<category><![CDATA[互联网的那点破事]]></category>
		<category><![CDATA[高朋]]></category>

		<guid isPermaLink="false">http://www.willsonchen.com/?p=339</guid>
		<description><![CDATA[今天收到高朋网给我发的订阅邮件，标题为“高朋“十全十美”系列活动第二“弹”！仅130元！抢购N°5时尚广场价值100元代金券！”，用130元抢购价值100元代金券，有这样的团购吗？点击进去... ]]></description>
			<content:encoded><![CDATA[<p>今天收到高朋网给我发的订阅邮件，标题为“高朋“十全十美”系列活动第二“弹”！仅130元！抢购N°5时尚广场价值100元代金券！”，用130元抢购价值100元代金券，有这样的团购吗？点击进去，邮件正文原来是说用3元可购买100原代金券，节省97元。</p>
<p>高朋可是groupon和QQ合作的最被看好的团购网站啊，怎么会出现这样的低级失误？可不是又是一次炒作吧？</p>
<div id="attachment_342" class="wp-caption aligncenter" style="width: 488px"><a href="http://www.willsonchen.com/archives/339/gaopeng1" rel="attachment wp-att-342"><img src="http://www.willsonchen.com/wp-content/uploads/2011/03/gaopeng1.png" alt="高朋群发的邮件标题，130元购买100元代金券" title="gaopeng1" width="478" height="31" class="size-full wp-image-342" /></a><p class="wp-caption-text">高朋群发的邮件标题，130元购买100元代金券</p></div>
<div id="attachment_341" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.willsonchen.com/archives/339/gaopeng2" rel="attachment wp-att-341"><img src="http://www.willsonchen.com/wp-content/uploads/2011/03/gaopeng2-500x484.png" alt="邮件正文" title="gaopeng2" width="500" height="484" class="size-medium wp-image-341" /></a><p class="wp-caption-text">邮件正文</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.willsonchen.com/archives/339/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>网络建立后自动运行程序或者脚本</title>
		<link>http://www.willsonchen.com/archives/337</link>
		<comments>http://www.willsonchen.com/archives/337#comments</comments>
		<pubDate>Fri, 18 Mar 2011 03:39:36 +0000</pubDate>
		<dc:creator>willson</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[网络]]></category>

		<guid isPermaLink="false">http://www.willsonchen.com/?p=337</guid>
		<description><![CDATA[在Debian/Ubuntu的发行版里，网络建立前/后和网络断开前/后都会到/etc/network里运行相应目录下的脚本： if-down.d &#8212; 网络关闭前 if-post-down.d &#8211;网络关闭后 if-pre-up.d &#8211;网络建立前 if-up.d &#8211... ]]></description>
			<content:encoded><![CDATA[<p>在Debian/Ubuntu的发行版里，网络建立前/后和网络断开前/后都会到/etc/network里运行相应目录下的脚本：</p>
<p>if-down.d    &#8212; 网络关闭前<br />
if-post-down.d   &#8211;网络关闭后<br />
if-pre-up.d  &#8211;网络建立前<br />
if-up.d  &#8211;网络建立后</p>
<p>例如，想每次在网络建立后运行一段自己写的脚本，则将此脚本拷贝到if-up.d目录下，并赋予755的权限即可。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.willsonchen.com/archives/337/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>自动登录远程SSH</title>
		<link>http://www.willsonchen.com/archives/335</link>
		<comments>http://www.willsonchen.com/archives/335#comments</comments>
		<pubDate>Fri, 18 Mar 2011 03:28:48 +0000</pubDate>
		<dc:creator>willson</dc:creator>
				<category><![CDATA[自由的LINUX]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.willsonchen.com/?p=335</guid>
		<description><![CDATA[目标 你想使用Linux和OpenSSH来自动化你的任务。因此，你需要从主机A中的用户a自动登录到主机B中用户b的过程中不想输入任何密码。 HOW TO 首先以用户a登录上主机A，生成密钥。不要输入密码： a... ]]></description>
			<content:encoded><![CDATA[<p><strong>目标</strong></p>
<p>你想使用Linux和OpenSSH来自动化你的任务。因此，你需要从主机A中的用户a自动登录到主机B中用户b的过程中不想输入任何密码。</p>
<p><strong>HOW TO</strong></p>
<p>首先以用户a登录上主机A，生成密钥。不要输入密码：</p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">a@A:~&gt; ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/a/.ssh/id_rsa): 
Created directory '/home/a/.ssh'.
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /home/a/.ssh/id_rsa.
Your public key has been saved in /home/a/.ssh/id_rsa.pub.
The key fingerprint is:
3e:4f:05:79:3a:9f:96:7c:3b:ad:e9:58:37:bc:37:e4 a@A</pre></div></div>

<p>用SSH以用户b的身份在主机B上创建~/.ssh目录：</p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">a@A:~&gt; ssh b@B mkdir -p .ssh
b@B's password:</pre></div></div>

<p>最后，将public key上传到B主机下:</p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">a@A:~&gt; cat .ssh/id_rsa.pub | ssh b@B 'cat &gt;&gt; .ssh/authorized_keys'
b@B's password:</pre></div></div>

<p>输入密码后，以后再登录主机B都不需要输入。</p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">a@A:~&gt; ssh b@B hostname</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.willsonchen.com/archives/335/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

