上一页 1 2 3 4 5 6 7 8 ··· 70 下一页
摘要: #解决方案 把 …\anaconda3\Library\bin 加入到系统环境变量即可。总是提示SSL有问题,然而只是SSL就在bin里边,所以没有生效。主要参考:https://github.com/conda/conda/issues/6064感谢github,中文的社区都搜遍了了,全是linu 阅读全文
posted @ 2022-11-30 00:22 littlevigra 阅读(1406) 评论(0) 推荐(0)
摘要: SELECT employee_id, first_name, last_name, salary FROM employees ORDER BY salary DESC LIMIT 1 OFFSET 1; 总结,使用 limit 字句可以限制sql查询的返回数据行数,也可以通过offeset 来先 阅读全文
posted @ 2022-11-16 00:24 littlevigra 阅读(21) 评论(0) 推荐(0)
摘要: 1. 选择除了其中一行的所有行 import pandas as pd import numpy as np df = pd.DataFrame(np.random.rand(8,4),columns=['a','b','c','d']) df df.loc[:,df.columns !='d'] 阅读全文
posted @ 2022-11-15 20:46 littlevigra 阅读(643) 评论(1) 推荐(0)
摘要: 1. 准备慢日志的csv文件 import pandas as pd import matplotlib.pyplot as plt # 选取耗时大于7000的日志 # awk -F '耗时:' '{if (int(substr($2,0,length($2)-2)) >7000) print $0 阅读全文
posted @ 2022-11-10 00:14 littlevigra 阅读(124) 评论(0) 推荐(0)
摘要: 当一个数据库表过于庞大,LIMIT offset, length中的offset值过大,则SQL查询语句会非常缓慢,你需增加order by,并且order by字段需要建立索引。 16、使用limit offset 分页时,为什么越往后翻越慢?如何解决? - 追风的小蚂蚁 - 博客园 (cnblo 阅读全文
posted @ 2022-10-26 18:41 littlevigra 阅读(105) 评论(0) 推荐(0)
摘要: violates the following Content Security Policy directive: "default-src 'self'". Nginx 解决内容安全策略CSP(Content-Security-Policy)配置方式(漏洞修复) - 龙凌云端 - 博客园 (cnb 阅读全文
posted @ 2022-10-19 22:42 littlevigra 阅读(467) 评论(0) 推荐(1)
摘要: [root@iZwz9ayhnug196k9jk1iukZ yunwei]# cat /etc/pam.d/system-auth #%PAM-1.0 # This file is auto-generated. # User changes will be destroyed the next t 阅读全文
posted @ 2022-10-09 17:09 littlevigra 阅读(155) 评论(0) 推荐(0)
摘要: 2.1 在绘图代码中设置全局字体 from pylab import mpl # 设置显示中文字体 mpl.rcParams["font.sans-serif"] = ["SimHei"] 使用matplotlib绘图中文字符显示问题:UserWarning: missing from curren 阅读全文
posted @ 2022-09-25 23:33 littlevigra 阅读(747) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2022-09-24 18:43 littlevigra 阅读(315) 评论(0) 推荐(0)
摘要: proxy_http_version 1.1; proxy_set_header Connection ""; Allows proxying requests with NTLM Authentication. The upstream connection is bound to the cli 阅读全文
posted @ 2022-09-21 22:51 littlevigra 阅读(687) 评论(4) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 70 下一页