https 39 whitelist protocol
2023-05-29 Cannot read property 'access_token' of undefined
调用微信小程序登录接口,返回Cannot read property 'access_token' of undefined,即access_token未定义,登陆失败了,没有返回这个字段。 解决方案:把开发人员添加到小程序的开发者名单里去就可以了。 ......
SpringBoot单元测试出错:No ConfigurationProperties annotation found on 'org.springframework.cloud.client.loadbalancer.LoadBalancerProperties'
### 问题详情: ``` java.lang.IllegalStateException: No ConfigurationProperties annotation found on 'org.springframework.cloud.client.loadbalancer.LoadBalan ......
java 操作 mysql -报错 LockException: Failure obtaining db row lock: Table 'xxx' doesn't exist
1.背景 Java 使用mybatis plus 操作mysql 报错 原因是 mysql 开启了 表明区分大小写 MySQL在Windows下都不区分大小写,但是在Linux下默认是区分大小写的。 在mysql 执行指令 show variables like '%lower_case%'; 需要 ......
wireshark 结合 go 对每个请求进行 https tls tcp 内容解密
众所周知,wireshark 是一款流行的抓包软件,我们可以很方便地查看每个 TCP 包的具体信息。对于 HTTP 协议的数据,还可以查看每个协议层具体信息内容。 但是对于 HTTPS 的数据,我们只能查看 IP 层以下的数据,TLS 及以上的数据都是被加密过的,如下图所示。 在某些特殊的场景下,我 ......
报错ImportError: cannot import name 'Iterable' from 'collections' in Python
参考https://stackoverflow.com/questions/72032032/importerror-cannot-import-name-iterable-from-collections-in-python 答案为 3.10版本的python把Iterable从collectio ......
https
server { listen 80; server_name jira.bdgatewaynet.com; rewrite ^(.*) https://$server_name$1 permanent; } server { listen 443 ssl; server_name jira.bdg ......
python -- 解决连接sqlserver出现的“ pymssql._pymssql.OperationalError: (20009, b'DB-Lib error message 20009, severity 9:\nUnable to connect: Adaptive Server is unavailable or does not exist”问题
因为工作关系,近期需要用python连接sqlserver处理一些数据问题。 由于笔记本上的软件是新安装的,所以有些配置避免不了重新设置,期间遇到一些小问题,记录一下。 下面正式开始 写一段代码,测试sqlserver数据库连接 import pymssql # 写法1# conn = pymssq ......
China's digital economy achievements impress foreign youth
GUIYANG, May 27 (Xinhua) -- The ongoing China International Big Data Industry Expo 2023, held in southwest China's Guizhou province, has attracted att ......
ModuleNotFoundError: No module named 'requests' 解决方案
ModuleNotFoundError: No module named 'requests' 一般就是没导入库,可以在脚本当前目录下,运行一下代码: pip install request # 同理,如果别的库缺漏,就把request替换掉 我是在vscode里面跑的python,所以就用的pow ......
GET https://registry.npmmirror.com/update-Broswerslist-db ... error (ERR_PNPM_FETCH_404)
这是一个不知道什么原因的错误。最开始我的疑问点: 1. 淘宝镜像源问题,更换了默认的和其他源都不行。 2. 清除 pnpm 和 npm 缓存,还是不行! 3. 删除本地 node_modules,依旧还是不行!! > 淘宝镜像源于 2022 年进行了域名更新操作,具体请查看镜像源👉[公告](htt ......
[犯病记] DPDK报错Symbol `rte_eth_devices' has different size in shared object, consider re-linking
# [犯病记] DPDK报错Symbol `rte_eth_devices' has different size in shared object, consider re-linking > 背景:有一天,我犯了个病,试图在一个机器上安装DOCA,然后安装程序就下了一堆库,把机器上的环境搞得一团 ......
力扣 662 https://leetcode.cn/problems/maximum-width-of-binary-tree/
需要了解树的顺序存储 如果是普通的二叉树 ,底层是用链表去连接的 如果是满二叉树,底层用的是数组去放的,而数组放的时候 会有索引对应 当前父节点是索引i,下一个左右节点就是2i,2i+1 利用满二叉树的索引特征 所以需要对每个节点进行一个索引赋值,赋值在队列中,队列用数组表示 核心代码如下 publ ......
https:imnks.com369.html hosts处理
# https:imnks.com369.html hosts处理 ``` sudo -i #手动筛选的ip,2022.11.1更新 curl http://code.imnks.com/hosts.sh | bash #自动筛选的ip curl http://code.imnks.com/host ......
彻底搞懂https02
阅读前,请详细搞懂廖大的“加密与安全章节”:https://www.liaoxuefeng.com/wiki/1252599548343744/1304227968188450 数字证书 在传输的过程中,客户端如何获得服务器端的公钥呢?当时是服务器分发给客户端,如果一开始服务端发送的公钥到客户端的过 ......
Spring boot+vue打包、上传宝塔面板并配置https
终于把网站搞完了,也终于能够通过域名访问了,这次就简单回顾一下这么多时间的经历,总结一下。 项目地址[穆音博客](https://blog.muvocal.com),本文发布原地址在[Spring boot+vue打包、上传宝塔面板并配置https](https://blog.muvocal.com ......
Plugin 'maven-clean-plugin:3.1.0' not found
解决方案 增加如下代码: <groupId>org.apache.maven.plugins</groupId> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifact ......
出现https原因
出现https原因,在我看来有两点 1,因为http是明文传输,极不安全,需要对报文进行加密。 2,我们无法确认浏览的网站的身份信息,如果是钓鱼网站,诱使我们输入银行账号密码之类的就麻烦了。 怎么做 简而言之,「https规定了 加密算法对报文进行加密,解决明文传输的问题。采用数字证书的方式解决对服 ......
python flask 启动报错 'utf-8' codec can't decode byte 0xb2 in position 4: invalid start byte
原因:在python下lib文件夹里的socket.py文件中的name=gethostname()代码执行获取本机电脑名称时,遇到中文导致乱码报错。 解决方法: 1.将电脑“设备名称”中中文改为英文; 2.修改socket.py代码,如下(参考 https://blog.csdn.net/weix ......
day 39 素数
1.给出start与end; 2.有数i,遍历start~end中的素数; 3.输出; #include <iostream>#include<cmath> using namespace std; int main(void){ int m,n; int flag; printf("请输入star ......
Python - matplotlib 不显示中文 && findfont: Font family ['simsun'] not found
# 一.发现问题 python matplotlib.plt 使用 plt.title 写标题时,标题显示为方框,无法正常显示中文,遂开始修复之旅。 ![](https://img2023.cnblogs.com/blog/2864832/202305/2864832-202305261554041 ......
x509: cannot validate certificate for xxx because it doesn't contain any IP SANs
项目中有时候需要访问https网站,但如果该网站使用的是自建证书,那client端验证server端证书时,有时候会报错: > x509: cannot validate certificate for xxx because it doesn't contain any IP SANs 碰到这种情 ......
The Open Graph protocol(开放图谱协议)的介绍及应用
### 介绍 `Open Graph 协议`使任何网页都可以成为社交中的丰富对象。例如,用于 `Facebook` 以允许任何网页具有与 `Facebook `上任何其他对象相同的功能。 以下是把链接分享到`钉钉`,钉钉识别后显示的效果: ![](https://oss.milovetingting ......
Module '"element-plus"' has no exported member 'ElMessage'
tsconfig.json,tsconfig.app.json,tsconfig.node.json都要加 "compilerOptions.moduleResolution":"node", 然后重启vscode ......
https 原理与实践
# https 原理与实践 ## 经典三问,是什么,为什么,怎么做? ### 是什么 是一种http的安全协议,在tcp ip网络模型里,http应用层是在tcp 传输层之上的,https协议规定了在tcp传输层之上还有一层tls/ssl层,这一层对http应用层发出去和接收的报文做加密和解密。 ! ......
关闭浏览器https 调用http 文件的问题
关闭浏览器https调用http的JS文件拦截和警告会涉及到安全性问题,建议不要直接禁用。如果确实需要屏蔽提醒,可以参考以下方法: 使用浏览器插件:可以安装一些浏览器插件,例如HTTPS Everywhere、Disable Mixed Content等来屏蔽https调用http的js文件的拦截和 ......
详解 HTTPS 概念
导读 我们都知道HTTPS能够加密信息,以免敏感信息被第三方获取。所以很多银行网站或电子邮箱等等安全级别较高的服务都会采用HTTPS协议。 HTTPS简介 HTTPS其实是有两部分组成:HTTP SSL / TLS,也就是在HTTP上又加了一层处理加密信息的模块。服务端和客户端的信息传输都会通过TL ......
c++打卡练习(39)
验证2000以内哥德巴赫猜想 2000以内,大于4的所有偶数都可以由两个素数a,b相加得到,求出a最小的那个的结果 流程图: 伪代码: 源代码: #include<iostream>using namespace std;int judge(int a){ int j,k=0; for(j=2;j< ......
dataFrame['col_name'].str.contains(str_name,case=False)用法
#### dataFrame['col_name'].str.contains(str_name,case=False)用法 主要功能:在`dataframe`某一列中找到包含特定字符串的`dataframe` 例如: ![](https://img2023.cnblogs.com/blog/258 ......
用Indy控件访问HTTPS
https://www.cnblogs.com/guorongtao/p/11976664.html 访问 Web 网站,最简单用法直接使用 TIdHTTP 控件: 例如:AA := IdHTTP1.Get('www.baidu.com.'); 访问 https 的网站,需要 SSL 库。 在 Wi ......
宝塔面板登录 phpMyAdmin 提示服务器和客户端上指示的HTTPS之间不匹配
宝塔面板登录 phpMyAdmin 提示服务器和客户端上指示的HTTPS之间不匹配 https://www.niuqi360.com/btpanel/mismatch-between-https-indicated-on-server-and-client/ ......