??xml version="1.0" encoding="utf-8" standalone="yes"?>国产亚洲欧美精品久久久,久久99精品久久久久久秒播,久久人人爽人人爽人人片AV麻烦http://www.shnenglu.com/jihaiming/archive/2009/12/11/102993.html明明明明Fri, 11 Dec 2009 09:48:00 GMThttp://www.shnenglu.com/jihaiming/archive/2009/12/11/102993.htmlhttp://www.shnenglu.com/jihaiming/comments/102993.htmlhttp://www.shnenglu.com/jihaiming/archive/2009/12/11/102993.html#Feedback0http://www.shnenglu.com/jihaiming/comments/commentRss/102993.htmlhttp://www.shnenglu.com/jihaiming/services/trackbacks/102993.html

公司所E營項目如下|?/span>

代理|?/span>

國際票、國內機、航IZ險、電子機、巴士船、商務簽證、訂房租車、刷卡服?/span>

廣州-深圳-珠v國際場飛世界各地單E?/span>/往q機?/span>

Ҏ國內票最?#8220;2折v

國際票|?/span>

香港飛台?/span>/人民q︰1200    香港飛台?/span>/人民q︰1230

澳門飛台?/span>/高雄|?/span>人民q︰1480

直飛航線|?/span>

廣州-台北-廣州/人民q︰1320

深圳-台北-深圳/人民q︰1280

px門國際場車票人民q︰200元整Q雙E)

p至香港國際機場車?/span>人民q︰300元整Q雙E)

虎門至香港國際機場船?/span>人民q︰500元整Q雙E)

台胞agq多?/span>人民q︰280

台胞a換a加一q?/span>人民q︰550

聯繫人︰高經?/span>

電話|?/span>0769-81520273  FAX:0769-81520273

MSN|?/span>kaowang_0000@hotmail.com      p商旅QQ:279767242

SKYPE:kaowang_2009



明明 2009-12-11 17:48 发表评论
]]>
python 编码字W串恢复http://www.shnenglu.com/jihaiming/archive/2009/11/30/102279.html明明明明Mon, 30 Nov 2009 07:46:00 GMThttp://www.shnenglu.com/jihaiming/archive/2009/11/30/102279.htmlhttp://www.shnenglu.com/jihaiming/comments/102279.htmlhttp://www.shnenglu.com/jihaiming/archive/2009/11/30/102279.html#Feedback0http://www.shnenglu.com/jihaiming/comments/commentRss/102279.htmlhttp://www.shnenglu.com/jihaiming/services/trackbacks/102279.html在抓取网|d以前写的E序在存储非acsii码时, l常会遇到得到的字符串变量如
 a= "\u6469\u5c14\u5e84\u56ed"
可以用unicode('\u6469\u5c14\u5e84\u56ed','unicode-escape') 或?\u6469\u5c14\u5e84\u56ed'.decode('unicode_escape') 来解?/div>
的情? q种情况也不?原来在python的语a转换中除指定~码? q有些其它应用的Ҏ格式.
具体? http://docs.python.org/library/codecs.html#standard-encodings


明明 2009-11-30 15:46 发表评论
]]>?picasa 相册 讉K 解决办法http://www.shnenglu.com/jihaiming/archive/2009/10/09/98159.html明明明明Fri, 09 Oct 2009 07:12:00 GMThttp://www.shnenglu.com/jihaiming/archive/2009/10/09/98159.htmlhttp://www.shnenglu.com/jihaiming/comments/98159.htmlhttp://www.shnenglu.com/jihaiming/archive/2009/10/09/98159.html#Feedback0http://www.shnenglu.com/jihaiming/comments/commentRss/98159.htmlhttp://www.shnenglu.com/jihaiming/services/trackbacks/98159.htmlWindows XP

新徏一个txt文Q复制以下内容ƈ保存, 然后修改txt后缀名ؓBAT,双击q行卛_解决picasaweb讉K囄I白的问题了.

@attrib %windir%\SYSTEM32\drivers\etc\hosts -r

@echo 203.208.39.104 picadaweb.google.com >> %windir%\SYSTEM32\drivers\etc\hosts

@echo 203.208.39.104 lh1.ggpht.com >> %windir%\SYSTEM32\drivers\etc\hosts

@echo 203.208.39.104 lh2.ggpht.com >> %windir%\SYSTEM32\drivers\etc\hosts

@echo 203.208.39.104 lh3.ggpht.com >> %windir%\SYSTEM32\drivers\etc\hosts

@echo 203.208.39.104 lh4.ggpht.com >> %windir%\SYSTEM32\drivers\etc\hosts

@echo 203.208.39.104 lh5.ggpht.com >> %windir%\SYSTEM32\drivers\etc\hosts

@echo 203.208.39.104 lh6.ggpht.com >> %windir%\SYSTEM32\drivers\etc\hosts

————————————————————————————————————————?/p>

Linuxpȝ

修改/etc/hostsQroot执行以下命oQ?/p>

echo 203.208.39.104 picadaweb.google.com >> /etc/hosts

echo 203.208.39.104 lh1.ggpht.com >> /etc/hosts

echo 203.208.39.104 lh2.ggpht.com >> /etc/hosts

echo 203.208.39.104 lh3.ggpht.com >> /etc/hosts

echo 203.208.39.104 lh4.ggpht.com >> /etc/hosts

echo 203.208.39.104 lh5.ggpht.com >> /etc/hosts

echo 203.208.39.104 lh6.ggpht.com >> /etc/hosts



明明 2009-10-09 15:12 发表评论
]]>
lxml 抽取html面指定内容http://www.shnenglu.com/jihaiming/archive/2009/09/10/95825.html明明明明Thu, 10 Sep 2009 10:18:00 GMThttp://www.shnenglu.com/jihaiming/archive/2009/09/10/95825.htmlhttp://www.shnenglu.com/jihaiming/comments/95825.htmlhttp://www.shnenglu.com/jihaiming/archive/2009/09/10/95825.html#Feedback0http://www.shnenglu.com/jihaiming/comments/commentRss/95825.htmlhttp://www.shnenglu.com/jihaiming/services/trackbacks/95825.htmlimport lxml.html  
import urllib2  
import lxml.html as H
import sys 

if __name__ == '__main__':  
    ss = u"<html>  <body>    <form>      <div id='leftmenu'>        <h3>案</h3>\
        <ul><!-- 扑ֈq里 --></ul>      </div>    </form>  </body> </html>"
    ss = urllib2.urlopen("http://auto.qq.com/a/20090910/000052.htm").read()
    doc = H.document_fromstring(ss)
    nodes = doc.xpath("http://div[@id='ArticleTit']")
    if nodes is not None:
        #print nodes[0].text.encode(sys.getfilesystemencoding())
        print nodes[0].text.encode(sys.getfilesystemencoding())
    nodes = doc.xpath("http://div[@id='ArticleCnt']")
    if nodes is not None:
        print nodes[0].text_content().encode(sys.getfilesystemencoding())
        #print nodes[0].text.encode(sys.getfilesystemencoding())

呵呵, 单高? 之前用java写了N长的代码. 真是不爽. 参? http://www.go4pro.org/?p=118

附录QXPATH的简单语法介l?br>
XPATH基本上是用一U类似目录树的方法来描述在XML文档中的路径。比如用“/”来作Z下层U间的分隔。第一?#8220;/”表示文档的根节点Q注意,不是指文档最外层的tag节点Q而是指文本w)。比如对于一个HTML文g来说Q最外层的节点应该是”/html”?br>同样的,“..”?#8220;.”分别被用来表C父节点和本节点?br>XPATHq回的不一定就是唯一的节点,而是W合条g的所有节炏V比如在HTML文里?#8220;/html/head/scrpt”׃把head里的所有script节点都取出来?br>Z~小定位范围Q往往q需要增加过滤条件。过滤的Ҏ是?#8220;[”“]”把过滤条件加上。比如在HTML文里?#8220;/html/body/div[@id='main']”Q即可取出body里id为main的div节点?br>其中@id表示属性idQ类似的q可以用如@name, @value, @href, @src, @class….
?函数text()的意思则是取得节点包含的文本。比如:<div>hello<p>world</p>< /div>中,?#8221;div[text()='hello']“卛_取得q个divQ而world则是p的text()?br>函数position()的意思是取得节点的位|。比?#8220;li[position()=2]”表示取得W二个li节点Q它也可以被省略?#8220;li[2]”?br>不过要注意的是数字定位和qo 条g的顺序。比?#8220;ul/li[5][@name='hello']”表示取ul下第五项liQƈ且其name必须是helloQ否则返回空。而如果用 “ul/li[@name='hello'][5]”的意思就不同Q它表示Lul下第五个name?#8221;hello“的li节点?br>此外Q?#8220;*”可以代替所有的节点名,比如?#8221;/html/body/*/span”可以取出body下第二的所有spanQ而不它上一U是divq是p或是其它什么东东?br>?“descendant::”前缀可以指代L多层的中间节点,它也可以被省略成一?#8220;/”。比如在整个HTML文档中查找id?#8220;leftmenu”?divQ可以用“/descendant::div[@id='leftmenu']”Q也可以单地使用“ //div[@id='leftmenu']”?br>至于“following-sibling::”前缀如其名所_表示同一层的下一个节炏V?#8221;following-sibling::*”是L下一个节点,?#8220;following-sibling::ul”是下一个ul节点?br>更复杂的XPATH语法q是请参考官文档《XML Path Language (XPath)》?/a>


明明 2009-09-10 18:18 发表评论
]]>
转蝲: 解决Vim在Windows下的q问题http://www.shnenglu.com/jihaiming/archive/2009/05/31/86264.html明明明明Sun, 31 May 2009 06:45:00 GMThttp://www.shnenglu.com/jihaiming/archive/2009/05/31/86264.htmlhttp://www.shnenglu.com/jihaiming/comments/86264.htmlhttp://www.shnenglu.com/jihaiming/archive/2009/05/31/86264.html#Feedback0http://www.shnenglu.com/jihaiming/comments/commentRss/86264.htmlhttp://www.shnenglu.com/jihaiming/services/trackbacks/86264.html文gq、菜单ؕ码、右键菜单ؕ码、消息提CZؕ码、文件关联右键菜单ؕ码等?br>

Ҏ很简单,?_vimrc 中加入以下代码即可:
"""""""""""""""""""""""""""""
"解决windows下的中文q问题
"""""""""""""""""""""""""""""
set encoding=utf-8
"set termencoding=utf-8
set fileencodings=ucs-bom,utf-8,chinese,latin-1
if has("win32")
  set fileencoding=chinese
else
  set fileencoding=utf-8
endif
"解决中文菜单q
set langmenu=zh_CN.utf-8
source $VIMRUNTIME/delmenu.vim
source $VIMRUNTIME/menu.vim
"解决console输出q
language messages zh_cn.utf-8


明明 2009-05-31 14:45 发表评论
]]>
ActivePerl PPM 安装包的搜烦地址http://www.shnenglu.com/jihaiming/archive/2009/05/07/82159.html明明明明Thu, 07 May 2009 08:11:00 GMThttp://www.shnenglu.com/jihaiming/archive/2009/05/07/82159.htmlhttp://www.shnenglu.com/jihaiming/comments/82159.htmlhttp://www.shnenglu.com/jihaiming/archive/2009/05/07/82159.html#Feedback0http://www.shnenglu.com/jihaiming/comments/commentRss/82159.htmlhttp://www.shnenglu.com/jihaiming/services/trackbacks/82159.html= 819), for the uwinnipeg Perl 5.8 repository http://trouchelle.com/ppm/, for the trouchelle Perl 5.8 repository http://ppm.tcool.org/archives/, for the ppm.tcool.org Perl 5.8 repository 针对版本5.10的有 http://www.bribes.org/perl/ppm, for the www.bribes.org Perl 5.10 repository http://trouchelle.com/ppm10/, for the trouchelle Perl 5.10 repository http://cpan.uwinnipeg.ca/PPMPackages/10xx/, for the uwinnipeg Perl 5.10 repository q几个地址有比较多的PPM安装包,也就是Perl模块的发布版本,直接可以用ActivePerl PPM 包管理器安装的,呵呵Q很方便?img src ="http://www.shnenglu.com/jihaiming/aggbug/82159.html" width = "1" height = "1" />

明明 2009-05-07 16:11 发表评论
]]>
仔细啊仔l? 问题折腾h?http://www.shnenglu.com/jihaiming/archive/2009/03/02/75354.html明明明明Mon, 02 Mar 2009 13:48:00 GMThttp://www.shnenglu.com/jihaiming/archive/2009/03/02/75354.htmlhttp://www.shnenglu.com/jihaiming/comments/75354.htmlhttp://www.shnenglu.com/jihaiming/archive/2009/03/02/75354.html#Feedback0http://www.shnenglu.com/jihaiming/comments/commentRss/75354.htmlhttp://www.shnenglu.com/jihaiming/services/trackbacks/75354.html

明明 2009-03-02 21:48 发表评论
]]>
大家元宵节快乐http://www.shnenglu.com/jihaiming/archive/2009/02/09/73318.html明明明明Mon, 09 Feb 2009 09:53:00 GMThttp://www.shnenglu.com/jihaiming/archive/2009/02/09/73318.htmlhttp://www.shnenglu.com/jihaiming/comments/73318.htmlhttp://www.shnenglu.com/jihaiming/archive/2009/02/09/73318.html#Feedback0http://www.shnenglu.com/jihaiming/comments/commentRss/73318.htmlhttp://www.shnenglu.com/jihaiming/services/trackbacks/73318.html

明明 2009-02-09 17:53 发表评论
]]>
xp 查看q程命o行参?/title><link>http://www.shnenglu.com/jihaiming/archive/2009/01/07/71399.html</link><dc:creator>明明</dc:creator><author>明明</author><pubDate>Wed, 07 Jan 2009 01:47:00 GMT</pubDate><guid>http://www.shnenglu.com/jihaiming/archive/2009/01/07/71399.html</guid><wfw:comment>http://www.shnenglu.com/jihaiming/comments/71399.html</wfw:comment><comments>http://www.shnenglu.com/jihaiming/archive/2009/01/07/71399.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/jihaiming/comments/commentRss/71399.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/jihaiming/services/trackbacks/71399.html</trackback:ping><description><![CDATA[在XP下是可以查看q程命o行参数的。用下面的命o? wmic process get caption,commandline /value 如果x询某一个进E的命o行参敎ͼ使用下列方式Q? wmic process where caption="svchost.exe" get caption,commandline /value<img src ="http://www.shnenglu.com/jihaiming/aggbug/71399.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/jihaiming/" target="_blank">明明</a> 2009-01-07 09:47 <a href="http://www.shnenglu.com/jihaiming/archive/2009/01/07/71399.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>有意思的几个微Y工具http://www.shnenglu.com/jihaiming/archive/2009/01/04/71135.html明明明明Sun, 04 Jan 2009 08:26:00 GMThttp://www.shnenglu.com/jihaiming/archive/2009/01/04/71135.htmlhttp://www.shnenglu.com/jihaiming/comments/71135.htmlhttp://www.shnenglu.com/jihaiming/archive/2009/01/04/71135.html#Feedback0http://www.shnenglu.com/jihaiming/comments/commentRss/71135.htmlhttp://www.shnenglu.com/jihaiming/services/trackbacks/71135.html

明明 2009-01-04 16:26 发表评论
]]>
Ʒþþþþþ| պþþþƷӰԺҳ| ƷþþĻ| þ߿ۿƷ㽶| 91þþþþþ| þֻоƷƵ99| ޾Ʒþǧն| þùƷ-Ʒ| Ը߳þþþþþþþ| þþþþ޾Ʒ| 99þùۺϾƷˮ | AV12þ| aëƬþ| 91鶹Ʒ91þþ| þùƷþþƷ| һɫۺϾþ| þòӰ| þݹֻƬ| þҹƵ| ƷþþþþĻ | ޺ݺۺϾþþþ| ƷžžþþƷŮͬŷպۺ | vĻþ| 88þþƷһëƬ | ҹƷþ| avԾþþþa| ɫ͵͵88ŷƷþþ| 뾫Ʒþþ| þӰԺۺϾƷ| һþ㽶| þseƷһӰԺ | ҹƷþþþþ| seguiþùƷ| 99þ˾ƷۺϹۿ| ˾þۺ| 999þþѾƷ| ھƷþþþӰԺձ| þֻоƷ18| Ʒþþþþר| һֻƴƬ99þ| ˮϵþþƷ|