This file contains 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
adylab:script adyliu$ python3 htmlsubstring.py | |
<div class="test">测试<span>谁知道&<br>是<br/>什么<br />东东<i>也许吧</i></span><div>我靠,我就不信不行</div><h2>标题党</h2></div> | |
<div class="test">测试<span>谁知道&<br>是<br/>什么<br />东东<i>也许吧</i></span></div> | |
<div class="test">测试<span>谁知道&<br>是<br/>什么<br />东东<i>也许吧</i></span></div> | |
<div class="test">测试<span>谁知道&<br>是<br/>什么<br />东东<i>也许吧</i></span><div>我靠,</div></div> | |
<div class="test">测试<span>谁知道&<br>是<br/>什么<br />东东<i>也许吧</i></span><div>我靠,</div></div> | |
<div class="test">测试<span>谁知道&<br>是<br/>什么<br />东东<i>也许吧</i></span><div>我靠,我就不</div></div> | |
<div class="test">测试<span>谁知道&<br>是<br/>什么<br />东东<i>也许吧</i></span><div>我靠,我就不</div></div> |
This file contains 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
#!/usr/bin/env python3 | |
#-*- coding:utf-8 -*- | |
#author: adyliu(imxylz@gmail.com) | |
#version: 0.1 | |
import os | |
import os.path | |
import sys | |
DEBUG='--debug' in sys.argv |
This file contains 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
/** | |
* | |
*/ | |
package demo; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; | |
import java.util.Random; | |
import java.util.concurrent.ForkJoinPool; |
This file contains 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
import java.io.Closeable; | |
import java.io.IOException; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.Properties; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; | |
import com.shijiebang.xpower.configcenter.ConfigCenter; | |
import com.sohu.jafka.consumer.Consumer; |
NewerOlder