09 2022 档案
摘要:2.1 在绘图代码中设置全局字体 from pylab import mpl # 设置显示中文字体 mpl.rcParams["font.sans-serif"] = ["SimHei"] 使用matplotlib绘图中文字符显示问题:UserWarning: missing from curren
阅读全文
摘要:1. jar包解包和封包 jar -xf dynamic-bizengine-service-1.0.0.jar rm -rf BOOT-INF/lib/fastjson-1.2.47.jar cp fastjson-1.2.83.jar BOOT-INF/lib/ jar -cf0M dynami
阅读全文
upstream timed out (110: Connection timed out) while reading response header from upstream nginx配置例子
摘要:proxy_http_version 1.1; proxy_set_header Connection ""; Allows proxying requests with NTLM Authentication. The upstream connection is bound to the cli
阅读全文
摘要:1.报表模板 #cat xunjian_table.html [root@yinliao-yanshi report_jinja2]# cat xunjian_table.html <html> <head> <meta http-equiv="Content-Type" content="text
阅读全文
摘要:1. 读取excel文件。由列变成行。每个item是一个字典 import pandas as pd from jinja2 import Environment, FileSystemLoader df = pd.read_excel('回测指标汇总.xlsx') df['消耗本金'] = df[
阅读全文
摘要:/sbin/sysctl -w vm.dirty_ratio=10 /sbin/sysctl -w vm.dirty_background_ratio=5 sysctl -p (16条消息) linux 出错 “INFO: task xxxxxx: 634 blocked for more than
阅读全文
摘要:1. Linux 密码复杂度设置pam_pwquality cp /etc/pam.d/system-auth /etc/pam.d/system-auth_0906 vim /etc/pam.d/system-auth password requisite pam_pwquality.so try
阅读全文