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 com.kevin; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileOutputStream; | |
import org.apache.poi.xwpf.extractor.XWPFWordExtractor; | |
import org.apache.poi.xwpf.usermodel.XWPFDocument; | |
import org.apache.poi.xwpf.usermodel.XWPFParagraph; | |
import org.apache.poi.xwpf.usermodel.XWPFRun; |
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 com.kw.test | |
import org.apache.commons.collections.CollectionUtils | |
import org.apache.commons.lang3.StringUtils | |
String s = ''' | |
2018年04月 上海海隆グループの資本参加を受け、株式会社海隆一創に商号変更しました。 | |
2017年12月 社員数が60名を突破しました。 | |
2017年10月 事業拡大の為資本金を4000万に増資しました。事業拡大の為資本金を4000万に増資しました。 | |
2016年04月 社員数が40名を突破しました。社員数が40名を突破しました。 |
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
var arr = $(".members .member").toArray() | |
arr.shift() | |
var arr = arr.reduce(function(a,v){ | |
a.push($("<span>").html($(v).attr("title")).text()); | |
return a; | |
},[]); | |
document.write(JSON.stringify(arr)) |
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 sys | |
from SimpleHTTPServer import SimpleHTTPRequestHandler | |
import BaseHTTPServer | |
def test(HandlerClass=SimpleHTTPRequestHandler, | |
ServerClass=BaseHTTPServer.HTTPServer): | |
protocol = "HTTP/1.0" | |
host = '' |
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
# coding:utf-8 | |
''' | |
Created on 2017/12/20 | |
@author: shikw | |
''' | |
import sys | |
import unittest | |
import openpyxl | |
from openpyxl.xml.constants import MAX_ROW |
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 com.kevin.spider; | |
import com.mongodb.DB; | |
import com.mongodb.Mongo; | |
import com.mongodb.MongoClient; | |
import com.mongodb.client.MongoCollection; | |
import com.mongodb.client.MongoDatabase; | |
import org.bson.Document; | |
/** |
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
/** | |
kaiwen | |
表单工具类集合,方法可以在此添加 | |
**/ | |
(function($){ | |
var methods = { |
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
//最简单的查询 | |
{ | |
"from": 0, | |
"size": 10000, | |
"query": { | |
"filtered": { | |
"query": { | |
"match_all": {} | |
}, |
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 com.jjshome.tool.kevin; | |
import java.sql.Connection; | |
import java.sql.DriverManager; | |
import java.sql.ResultSet; | |
import java.sql.Statement; | |
import java.util.List; | |
import org.mybatis.generator.api.IntrospectedTable; | |
import org.mybatis.generator.api.PluginAdapter; |