摘要: 1. linux环境 报错 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintain 阅读全文
posted @ 2021-12-20 11:10 西伯利亚狼666 阅读(1291) 评论(0) 推荐(0)
摘要: nmcli是redhat系列操作系统用来管理NetworkManager的命令行工具。 nmcli常用命令 ]$ sudo nmcli device [status] #查看网卡状态 DEVICE TYPE STATE CONNECTION ens33 ethernet connected ens3 阅读全文
posted @ 2021-12-14 09:58 西伯利亚狼666 阅读(219) 评论(0) 推荐(0)
摘要: 使用layui框架 1. upload组件 // html部分 <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;"> <legend>选完文件后不自动上传</legend> </fieldset 阅读全文
posted @ 2021-09-24 00:13 西伯利亚狼666 阅读(1366) 评论(0) 推荐(0)
摘要: 1. linux系统收包过程 收包过程中,数据包先经过网络设备层,再到协议层进行处理,如果tcpdump抓包的话,可以抓到原始数据包,不会受netfilter影响 tcpdump抓包 2. linux系统发包过程 在发包过程中,数据包由协议层先处理,再到网络设备层进行处理。如果netfilter设置 阅读全文
posted @ 2021-09-09 10:15 西伯利亚狼666 阅读(198) 评论(0) 推荐(0)
摘要: 参考:http://www.bubuko.com/infodetail-260176.html http://nginx.org/en/docs/http/ngx_http_core_module.html#listen 阅读全文
posted @ 2021-07-30 16:49 西伯利亚狼666 阅读(65) 评论(0) 推荐(0)
摘要: 1. 搜狐 http://pv.sohu.com/cityjson http://pv.sohu.com/cityjson?ie=utf-8 2. 国际化显示 http://ip-api.com/json/ http://ip-api.com/json/?lang=zh-CN 阅读全文
posted @ 2021-07-28 15:36 西伯利亚狼666 阅读(639) 评论(0) 推荐(0)
摘要: 1. MinIO 阅读全文
posted @ 2021-07-26 09:33 西伯利亚狼666 阅读(23) 评论(0) 推荐(0)
摘要: 1. 常用函数 2. 索引 3. 存储过程 4. 执行计划 5. 定时任务 阅读全文
posted @ 2021-07-22 08:57 西伯利亚狼666 阅读(24) 评论(0) 推荐(0)
摘要: https://rdc.hundsun.com/portal/article/731.html 阅读全文
posted @ 2021-07-21 09:28 西伯利亚狼666 阅读(23) 评论(0) 推荐(0)
摘要: 导出文件显示的名称和预想不符,一般是文件名的无法被识别,需要通过单独编码才行 response["Content-Disposition"] = "attachment; filename*=UTF-8''{}".format(escape_uri_path(filename)) filename为 阅读全文
posted @ 2021-06-16 14:55 西伯利亚狼666 阅读(94) 评论(0) 推荐(0)