摘要:
#!/bin/python#coding=utf-8import urllib,xlrd,lxml.html,re,pymongo,xlwtfail=open('fail','w')def getDocument(url,code='utf-8'): try: doc=lxml.html.fromstring(urllib.urlopen(url).read().decode(code)) print 'utf-8' except: doc=lxml.html.fromstring(urllib.urlopen(url).read 阅读全文
摘要:
gsettings set org.gnome.gedit.preferences.encodings auto-detected "['UTF-8','GB18030','GB2312','GBK','BIG5','CURRENT','UTF-16']"orgconf-editor/apps/gedit-2/preferences/encodings 阅读全文
摘要:
hehe 阅读全文
摘要:
!git add . |git commit -m "this is a swp file"|git push origin master 阅读全文