<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Not in Education, Employment, or Training</title>
	
	<link>http://neet.im</link>
	<description>似乎是一個家裏蹲的網站,你在這個網站上大概找不到有用的信息 : )</description>
	<lastBuildDate>Sun, 26 Jun 2011 03:22:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/wandsea" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="wandsea" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2Fwandsea" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Fwandsea" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2Fwandsea" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bloglines.com/sub/http://feeds.feedburner.com/wandsea" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Fwandsea" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Fwandsea" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Fwandsea" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2Fwandsea" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2Fwandsea" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2Fwandsea" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2Fwandsea" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Fwandsea" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Fwandsea" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Fwandsea" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2Fwandsea" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2Fwandsea" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><item>
		<title>NULL</title>
		<link>http://neet.im/2011/06/04/null/</link>
		<comments>http://neet.im/2011/06/04/null/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 03:55:53 +0000</pubDate>
		<dc:creator>Wandsea</dc:creator>
				<category><![CDATA[It's My Life]]></category>

		<guid isPermaLink="false">http://neet.im/?p=54</guid>
		<description><![CDATA[Copyright &#169; 2011 Wandsea.com本Blog采用 知识共享署名-非商业性使用-相同方式共享 许可协议进行许可 转载请署... ]]></description>
			<content:encoded><![CDATA[Copyright &#169; 2011 Wandsea.com本Blog采用 知识共享署名-非商业性使用-相同方式共享 许可协议进行许可 转载请署... <img src="http://feeds.feedburner.com/~r/wandsea/~4/SjNX721os2s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://neet.im/2011/06/04/null/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>教育网内Openwrt路由器使用ipv6线路连接国外OpenVPN上网</title>
		<link>http://neet.im/2011/04/10/openwrt_ipv6_openvpn%e4%b8%8a%e7%bd%91%e9%85%8d%e7%bd%ae/</link>
		<comments>http://neet.im/2011/04/10/openwrt_ipv6_openvpn%e4%b8%8a%e7%bd%91%e9%85%8d%e7%bd%ae/#comments</comments>
		<pubDate>Sat, 09 Apr 2011 17:01:02 +0000</pubDate>
		<dc:creator>Wandsea</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[openvpn]]></category>
		<category><![CDATA[openwrt]]></category>
		<category><![CDATA[路由器]]></category>

		<guid isPermaLink="false">http://neet.im/?p=50</guid>
		<description><![CDATA[好长的标题.好处有两个,学校的ipv6是免费的,而且自带穿墙. 手边需要wifi的设备越来越多了,特别是在入了Motorola defy之后发现寝室没wifi的话流量太大. 支持Openwrt的设备可以在淘宝找到,大亚的DB120... ]]></description>
			<content:encoded><![CDATA[<p>好长的标题.好处有两个,学校的ipv6是免费的,而且自带穿墙.</p>
<p>手边需要wifi的设备越来越多了,特别是在入了Motorola defy之后发现寝室没wifi的话流量太大.</p>
<p>支持Openwrt的设备可以在淘宝找到,大亚的DB120或者是贝尔的RG100都可以.ROM要是S29的(据说M29刷机不方便)</p>
<p>下面针对DB-120说明.</p>
<p>openwrt固件:http://downloads.openwrt.org/backfire/10.03.1-rc4/brcm63xx/openwrt-RG100A_DB120-jffs2-128k-cfe.bin</p>
<p>按住reset开机,直到红灯常亮,Lan4与电脑相连,电脑ip 192.168.1.2,浏览器载入192.168.1.1进入刷机页面(RG100需要一个刷机密码请自行Google),载入上述固件.</p>
<p>等待5分钟左右(重启完毕+一些时间),电脑与lan1口相连,lan4口接外网.</p>
<p>电脑浏览器载入192.168.1.1,空密码进入,进行基本配置(wan口ip地址,wifi设置,root密码)</p>
<p>在终端(windows下载putty)下,连接root@192.168.1.1(此时要保证能访问国外网站)</p>
<blockquote><p>opkg update<br />
opkg install kmod-ipv6 ip kmod-ip6tables ip6tables openvpn-devel<br />
opkg install ntpdate<br />
ntpdate pool.ntp.org</p></blockquote>
<p>修改/etc/firewall.user,增加:</p>
<blockquote><p>iptables -I FORWARD -o tun+ -j ACCEPT<br />
iptables -I FORWARD -o eth+ -j ACCEPT<br />
iptables -t nat -A POSTROUTING -s 192.168.1.1/24 -j MASQUERADE</p></blockquote>
<p>将openvpn的证书及ovpn配置文件通过scp复制进路由器的/etc/openvpn</p>
<p>把学校提供的外网连接关闭,尝试是否现在openvpn还能够联通?</p>
<hr /><small>Copyright &copy; 2011 Wandsea.com<br />本Blog采用 知识共享署名-非商业性使用-相同方式共享 许可协议进行许可 转载请署名 </small><img src="http://feeds.feedburner.com/~r/wandsea/~4/7fETsl0Wnys" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://neet.im/2011/04/10/openwrt_ipv6_openvpn%e4%b8%8a%e7%bd%91%e9%85%8d%e7%bd%ae/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Nginx下Dabr+itap的配置</title>
		<link>http://neet.im/2011/01/11/nginx%e4%b8%8bdabritap%e7%9a%84%e9%85%8d%e7%bd%ae/</link>
		<comments>http://neet.im/2011/01/11/nginx%e4%b8%8bdabritap%e7%9a%84%e9%85%8d%e7%bd%ae/#comments</comments>
		<pubDate>Tue, 11 Jan 2011 05:14:51 +0000</pubDate>
		<dc:creator>Wandsea</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[dabr]]></category>
		<category><![CDATA[itap]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://blog.wandsea.com/?p=44</guid>
		<description><![CDATA[主要就是nginx的rewrite要自己写一下. dabr放在"/dabr",itap在"/dabr/itap" nginx的rewrite规则 location /itap/ { if (!-e $request_filename) { rewrite . /itap/index.php last; } } &#160; location / { if (!-e $request_filename) { rewrite ^/(.*)$... ]]></description>
			<content:encoded><![CDATA[<p>主要就是nginx的rewrite要自己写一下.</p>
<p>dabr放在"/dabr",itap在"/dabr/itap"</p>
<p>nginx的rewrite规则</p>

<div class="wp_syntax"><div class="code"><pre class="conf" style="font-family:monospace;">   location /itap/ {
      if (!-e $request_filename) {
         rewrite . /itap/index.php last;
      }
   }
&nbsp;
   location / {
      if (!-e $request_filename) {
         rewrite ^/(.*)$ /index.php?q=$1 last;
      }
   }</pre></div></div>

<p>/dabr/common/user.php</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$authorise_url</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://example.com/dabr/itap/authorize?oauth_token='</span><span style="color: #339933;">.</span><span style="color: #000088;">$token</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'oauth_token'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span></pre></div></div>

<hr /><small>Copyright &copy; 2011 Wandsea.com<br />本Blog采用 知识共享署名-非商业性使用-相同方式共享 许可协议进行许可 转载请署名 </small><img src="http://feeds.feedburner.com/~r/wandsea/~4/DUTGVm6RsYs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://neet.im/2011/01/11/nginx%e4%b8%8bdabritap%e7%9a%84%e9%85%8d%e7%bd%ae/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ipv6环境下OpenVPN的ip6tables规则设置</title>
		<link>http://neet.im/2011/01/10/ipv6%e7%8e%af%e5%a2%83%e4%b8%8bopenvpn%e7%9a%84ip6tables%e8%a7%84%e5%88%99%e8%ae%be%e7%bd%ae/</link>
		<comments>http://neet.im/2011/01/10/ipv6%e7%8e%af%e5%a2%83%e4%b8%8bopenvpn%e7%9a%84ip6tables%e8%a7%84%e5%88%99%e8%ae%be%e7%bd%ae/#comments</comments>
		<pubDate>Mon, 10 Jan 2011 11:56:36 +0000</pubDate>
		<dc:creator>Wandsea</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[openvpn]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[网络]]></category>

		<guid isPermaLink="false">http://blog.wandsea.com/?p=26</guid>
		<description><![CDATA[主机开启了ipv4和ipv6环境下的OpenVPN服务,iptables对于INPUT和FORWARD默认采取DROP规则 iptables配置如下,###的部分需要特别注意.(快一个小时被浪费在这上面OTL) 有一种说法是说这个主机的ipv6环境是基于i... ]]></description>
			<content:encoded><![CDATA[<p>主机开启了ipv4和ipv6环境下的OpenVPN服务,iptables对于INPUT和FORWARD默认采取DROP规则</p>
<p>iptables配置如下,<strong>###</strong>的部分需要特别注意.(快一个小时被浪费在这上面OTL)<br />
<del datetime="2011-01-12T07:38:09+00:00"><br />
有一种说法是说这个主机的ipv6环境是基于ipv6tunnel上搭建的,但是这个主机是通过一个ipv6网关对外访问的,为什么仍然必须要让ipv6这种包通过呢?<br />
iptables  -A INPUT -p ipv6 -j ACCEPT<br />
ip6tables  -A INPUT -p ipv6 -j ACCEPT<br />
</del></p>
<p>今天试了一下确实是不需要的,搞错了,只要icmpv6能通过就可以了</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">iptables <span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-i</span> lo <span style="color: #660033;">-j</span> ACCEPT
ip6tables <span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-i</span> lo <span style="color: #660033;">-j</span> ACCEPT
&nbsp;
iptables  <span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-p</span> all <span style="color: #660033;">-m</span> state <span style="color: #660033;">--state</span> RELATED,ESTABLISHED <span style="color: #660033;">-j</span> ACCEPT
ip6tables <span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-p</span> all <span style="color: #660033;">-m</span> state <span style="color: #660033;">--state</span> RELATED,ESTABLISHED <span style="color: #660033;">-j</span> ACCEPT
&nbsp;
iptables  <span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-i</span> tun+ <span style="color: #660033;">-j</span> ACCEPT
iptables  <span style="color: #660033;">-A</span> FORWARD <span style="color: #660033;">-i</span> tun+ <span style="color: #660033;">-j</span> ACCEPT
ip6tables <span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-i</span> tun+ <span style="color: #660033;">-j</span> ACCEPT
ip6tables <span style="color: #660033;">-A</span> FORWARD <span style="color: #660033;">-i</span> tun+ <span style="color: #660033;">-j</span> ACCEPT
&nbsp;
<span style="color: #666666; font-style: italic;">##########</span>
ip6tables <span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-p</span> icmpv6 <span style="color: #660033;">-j</span> ACCEPT
<span style="color: #666666; font-style: italic;">##########</span>
&nbsp;
iptables  <span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-p</span> udp <span style="color: #660033;">--dport</span> <span style="color: #000000;">1194</span> <span style="color: #660033;">-j</span> ACCEPT
ip6tables <span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-p</span> udp <span style="color: #660033;">--dport</span> <span style="color: #000000;">1194</span> <span style="color: #660033;">-j</span> ACCEPT
&nbsp;
iptables  <span style="color: #660033;">-t</span> nat <span style="color: #660033;">-A</span> POSTROUTING <span style="color: #660033;">-s</span> 10.8.0.0<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">24</span> <span style="color: #660033;">-o</span> eth0 <span style="color: #660033;">-j</span> MASQUERADE
iptables  <span style="color: #660033;">-t</span> nat <span style="color: #660033;">-A</span> POSTROUTING <span style="color: #660033;">-s</span> 10.8.10.0<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">24</span> <span style="color: #660033;">-o</span> eth0 <span style="color: #660033;">-j</span> MASQUERADE
&nbsp;
iptables <span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-s</span> 10.8.10.0<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">24</span> <span style="color: #660033;">-p</span> all <span style="color: #660033;">-j</span> ACCEPT
iptables <span style="color: #660033;">-A</span> FORWARD <span style="color: #660033;">-d</span> 10.8.10.0<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">24</span> <span style="color: #660033;">-j</span> ACCEPT
iptables <span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-s</span> 10.8.0.0<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">24</span> <span style="color: #660033;">-p</span> all <span style="color: #660033;">-j</span> ACCEPT
iptables <span style="color: #660033;">-A</span> FORWARD <span style="color: #660033;">-d</span> 10.8.0.0<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">24</span> <span style="color: #660033;">-j</span> ACCEPT</pre></div></div>

<hr /><h2>Related posts:</h2><ul><li><a href="http://neet.im/2011/04/10/openwrt_ipv6_openvpn%e4%b8%8a%e7%bd%91%e9%85%8d%e7%bd%ae/" rel="bookmark" title="Permanent Link: 教育网内Openwrt路由器使用ipv6线路连接国外OpenVPN上网">教育网内Openwrt路由器使用ipv6线路连接国外OpenVPN上网</a></li></ul><hr /><small>Copyright &copy; 2011 Wandsea.com<br />本Blog采用 知识共享署名-非商业性使用-相同方式共享 许可协议进行许可 转载请署名 </small><img src="http://feeds.feedburner.com/~r/wandsea/~4/46Apr1GfEMg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://neet.im/2011/01/10/ipv6%e7%8e%af%e5%a2%83%e4%b8%8bopenvpn%e7%9a%84ip6tables%e8%a7%84%e5%88%99%e8%ae%be%e7%bd%ae/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hello world！</title>
		<link>http://neet.im/2011/01/08/hello-world/</link>
		<comments>http://neet.im/2011/01/08/hello-world/#comments</comments>
		<pubDate>Sat, 08 Jan 2011 17:22:10 +0000</pubDate>
		<dc:creator>Wandsea</dc:creator>
				<category><![CDATA[Trash]]></category>
		<category><![CDATA[站务]]></category>

		<guid isPermaLink="false">http://vps.wandsea.com/blog/?p=1</guid>
		<description><![CDATA[欢迎使用 WordPress。这是系统自动生成的演示文章。编辑或者删除它，开始您的博客！ 收了一个128M的VPS用来搭建HTTP和VPN服务. LNMP架构,用的是www.lnmp.org这里的安装包. 内存的话,把php-cgi的并发数... ]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration: line-through;">欢迎使用 WordPress。这是系统自动生成的演示文章。编辑或者删除它，开始您的博客！</span></p>
<p>收了一个128M的VPS用来搭建HTTP和VPN服务.</p>
<p>LNMP架构,用的是www.lnmp.org这里的安装包.</p>
<p>内存的话,把php-cgi的并发数减小至2,速度还是可以承受的.</p>
<p>不准备导入之前的日志.寒假再开始整理东西好了.</p>
<p>接下来专心考试OTL.</p>
<p>用了一个晚上配置这个好有罪恶感.= =..</p>
<p>测试下代码插件</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;"><span style="color: #ff7700;font-weight:bold;">def</span> checkalert<span style="color: black;">&#40;</span>html<span style="color: black;">&#41;</span>:
    regex=ur<span style="color: #483d8b;">&quot;alert<span style="color: #000099; font-weight: bold;">\(</span>.+<span style="color: #000099; font-weight: bold;">\)</span>&quot;</span>
    match = <span style="color: #dc143c;">re</span>.<span style="color: black;">search</span><span style="color: black;">&#40;</span>regex,html<span style="color: black;">&#41;</span>
    <span style="color: #ff7700;font-weight:bold;">if</span> match:
        result = match.<span style="color: black;">group</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
    <span style="color: #ff7700;font-weight:bold;">else</span>:
        result = <span style="color: #483d8b;">&quot;&quot;</span>
    <span style="color: #ff7700;font-weight:bold;">print</span> result</pre></div></div>

<hr /><small>Copyright &copy; 2011 Wandsea.com<br />本Blog采用 知识共享署名-非商业性使用-相同方式共享 许可协议进行许可 转载请署名 </small><img src="http://feeds.feedburner.com/~r/wandsea/~4/QthFa6ryv_w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://neet.im/2011/01/08/hello-world/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss><!-- Dynamic page generated in 1.284 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-02-15 03:51:27 --><!-- Compression = gzip -->

