摘要:
import re s = ''' {"type":"buy","order_no":"2020061613141386691649969"} ''' ret = re.search(r'"type":"(.*?)"', s) print(ret.group()) print(ret.group(0 阅读全文
摘要:
import json from Db import Db db = Db() ''' 参考配置文件 { "file": "test.json", "path": "data", "table": "tk_bill", "comitcount": 50, "map": { "trade_id": " 阅读全文
摘要:
{ "file": "OrderDetail-2020-06-03.xls", "startRow": 1, "table": "tk_bill", "comitcount":50, "map": { "trade_id": "o", "tk_status": "p", "item_title": 阅读全文
摘要:
1、top查看消耗cpu高的java程序进程2、ps -mp 【替换为进程ID PID】 -o THREAD,tid,time3、printf "%x" 114134、stack 【进程ID PID】 | grep 【线程ID十六进制】 -A 10 -B 10 阅读全文
摘要:
package com.xf.config; import java.util.Date; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org. 阅读全文
摘要:
https://www.cnblogs.com/cheyunhua/p/10670070.html 阅读全文
摘要:
https://www.jianshu.com/p/c770c1e97531 tomcat8 性能优化参考 阅读全文
摘要:
poi导入的字符串空格ASCll值:160,而空格(Space)的ASCII码值是:32 阅读全文
摘要:
location /saleapi/ { ## 指定HOST proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded- 阅读全文
摘要:
package com.xf.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import com.google.common.base.Function; import com.google.com... 阅读全文