This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#用正则简单过滤html的<>标签 | |
import re | |
str = "<img /><a>srcd</a>hello</br><br/>" | |
str = re.sub(r'</?\w+[^>]*>','',str) | |
print str |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// .stglobalignore | |
// Incomplete Downloads and such. | |
// For now, these prevent Syncthing from transferring data that's | |
// going to be thrown out anyway once the download is finished and the | |
// file is renamed. Stuff may alter when Syncthing gets smarter. | |
// | |
// Firefox downloads and other things | |
*.part | |
// Chrom(ium|e) downloads |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@||ithome.com | |
||jsfiddle.net | |
||go.com | |
||cloudfront.net | |
||live.com | |
||coursera.org | |
||fluidui.com | |
@@||temp.im | |
||uxpin.com | |
||slack.com |
NewerOlder