1、nginx日志字段解析 包含的变量注释如下: $remote_addr, $http_x_forwarded_for 记录客户端IP地址 $remote_user 记录客户端用户名称 $request 记录请求的URL和HTTP协议 $status 记录请求状态 $body_bytes_sent ...
分类:
其他好文 时间:
2021-06-02 18:47:12
阅读次数:
0
原文地址,请访问https://www.caofanqi.cn/archives/使用fiddler抓取微信二维码请求地址 最近开发中在做一个需求时,需要提前获取到微信二维码请求的地址,在此将过程记录下来。 首先需要一个抓包工具,这里我选择的是Fiddler,可以选择相应的版本下载,下载地址http ...
分类:
微信 时间:
2021-06-02 18:17:53
阅读次数:
0
Leetcode 第243场周赛 前两题简单。 第三题一个模拟,容易边界处理不好。 第四题dp,卡精度。 第一题 https://leetcode-cn.com/problems/check-if-word-equals-summation-of-two-words/ 直接算就行。 class So ...
分类:
其他好文 时间:
2021-06-02 18:17:06
阅读次数:
0
原文:https://www.cnblogs.com/YangJiaXin/p/10211649.html 列举了MySQL主从复制主要的相关参数 binlog server_id 服务器在集群中唯一标识符 log_bin[=binlog_name] 启动二进制日志 log_bin_index 二进 ...
分类:
数据库 时间:
2021-06-02 18:10:05
阅读次数:
0
测试环境 系统 IP 软件 Centos8 192.168.248.80 lvs+keepalived Centos8 192.168.248.81 lvs+keepalived Centos8 192.168.248.100 Web server Centos8 192.168.248.101 W ...
分类:
其他好文 时间:
2021-06-02 17:50:07
阅读次数:
0
非关系型数据库我只知道两种,那么在Net中开发平台用得比较多的是memorycache,但是这玩意只是缓存,redis还能持久化.... 今天我们来研究一下这个redis怎么用 首先需要去官网下载 我这里就使用 5.0.1版本了 1.启动redis 在程序目录下cmd执行:redis-server. ...
我用ssh连上了ubuntu虚拟机, 尝试xclip命令时, 输入ls | xclip -sel c, 得到报错: Error: Can't open display: (null). 搜索后, 发现好像和X11和DISPLAY有关. 还说ssh应该打开-X选项. 可用ssh -X连接, 还是不行. ...
分类:
其他好文 时间:
2021-06-02 17:07:02
阅读次数:
0
1. chrony 服务器端配置 假设chrony服务器端192.168.1.1 $ cat /etc/chrony.conf # Use public servers from the pool.ntp.org project. server ntp1.aliyun.com iburst serv ...
分类:
其他好文 时间:
2021-06-02 16:47:45
阅读次数:
0
1 使用ntp同步时间 1.1 如果开启了ntp服务,使用ntpsta查看同步状态 1.2 如果不使用用ntp服务,使用ntpdate -u ntp.aliyun.com 直接同步时间 echo "*/20 * * * * /usr/sbin/ntpdate -u ntp1.aliyun.com > ...
分类:
其他好文 时间:
2021-06-02 16:45:57
阅读次数:
0
首先使用bert获取词向量bert-as-service 1.安装Bert-as-Service pip install bert-serving-server # server pip install bert-serving-client # client, independent of `be ...
分类:
其他好文 时间:
2021-06-02 16:44:56
阅读次数:
0