https 39 whitelist protocol

nodejs连接mysql报错:throw err; // Rethrow non-MySQL errors TypeError: Cannot read property 'query' of undefined

该问题的解决方案如下: win+R 输入cmd mysql -u root -p 输入密码进入到mysql 3.执行sql语句,将密码改成123456(自己可以记住的密码即可) alter user 'root'@'localhost' identified with mysql_native_pa ......

error TS2339: Property '$route' does not exist on type

<template> <div id="app"> <router-view v-slot="{ Component }"> <keep-alive> <component :is="Component" :key="$route.name" v-if="$route.meta.keepAlive" ......
Property error route exist 2339

Java代码忽略https证书:解决No subject alternative names present问题 HttpURLConnection https请求

Java代码忽略https证书:解决No subject alternative names present问题 import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.net.ssl.*; import java. ......

Whats's New In Seata 1.6.x

Seata 是一款开源的分布式事务解决方案,star 高达 23000+,社区活跃度极高,致力于在微服务架构下提供高性能和简单易用的分布式事务服务,本文将剖析 Seata 1.6.x 版本的核心特性,让用户对 Seata 有更深入的认识。 ......
Whats Seata New 39 In

TypeError: Cannot read property 'resetUpScroll' of null

在onshow中使用mescroll-body组件this.mescroll.resetUpScroll()方法会报错,延迟50秒会正常 这个报错通常是由于在onShow生命周期中访问某些组件的属性或方法时,这些组件尚未完全初始化所导致的。 延迟50毫秒后调用resetUpScroll方法可能是因为 ......
resetUpScroll TypeError property Cannot 39

execjs UnicodeEncodeError: 'gbk' codec can't encode character '\xff' in position 23995: illegal multibyte sequence

import subprocess # 创建一个新的 Popen 类,并继承自 subprocess.Popen class MySubprocessPopen(subprocess.Popen): def __init__(self, *args, **kwargs): # 在调用父类(即 sub ......

Android https忽略证书信任问题

【第一部分,忽略证书信任问题】 直接去第二部分性能问题搬运自:https://blog.csdn.net/lizeyang/article/details/18983843java程序在访问https资源时,出现报错 sun.security.validator.ValidatorException ......
证书 Android 问题 https

C#HTTP请求RestSharp.RestClient/HttpWebRequest发起https请求报错

C# RestSharp.RestClient/HttpWebRequest发起https请求时返回总是空 response.Content总是空 查看response.ErrorMessage属性发现报错信息 The SSL connection could not be established, ......

https

基本概念 对称加密 通信双方使用同一个密钥进行加密解密。 例:AES。 非对称加密 服务端用私钥加密,客户端用公钥解密。 公钥加密的数据只能用私钥解密,私钥加密的数据只能用公钥解密。 例:RSA。 摘要 通过摘要算法为原文生成固定长度的内容摘要,且摘要无法被逆向得到原文,不同的内容极大概率(绝大多数 ......
https

NameError: name 'tf' is not defined

NameError: name 'tf' is not defined 报错如下: /opt/conda/lib/python3.6/site-packages/tensorflow/python/keras/layers/core.py in <lambda>(x) 307 It defaults ......
NameError defined 39 name not

python 特定位置新建文件报错:PermissionError: [Errno 13] Permission denied: '1.txt'

先将指定位置设定为当前目录 import os os.chdir('E:\qi') with open("1.txt", "w") as f: f.write(jsonCookies) ......

Linux系列---【The authenticity of host 'node01 (192.168.1.200)' can't be established.】

#报错信息 我在设置免密登录的时候报了下面的错 /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/root/.ssh/id_rsa.pub" The authenticity of host 'node01 (192.16 ......
authenticity established 39 Linux host

时间转化和https证书

Person: Go millisecond timestamp string conversion ChatGPT: In what programming language would you like an example? The method for converting a millis ......
证书 时间 https

使用flask中flask_script时,报错:ModuleNotFoundError: No module named 'flask._compat'的解决方法

方法1:降级版本 pip install "Flask==1.1.4"pip install "werkzeug==1.0.1" 方法2:不降级版本: 可以尝试修改一下flask_script/__init__.py中from ._compat import text_type 改成 from fl ......

Brian Kernighan's 算法

##介绍 Brian Kernighan's 算法是一种用于计算一个整数的二进制表示中有多少个1的高效算法。该算法的基本思想是每次将该整数的最右边的一个1置为0,直到该整数变为0为止。每次将1置为0的操作都会使得该整数的二进制表示中的1的个数减少1。 int count_set_bits(int n ......
算法 Kernighan Brian 39

HTTPS加密原理

一、单向加密 单向加密算法又叫做不可逆算法, 就是明文被加密后,原则上是不能还原的; | 名称 | 运行速度 | 安全性 | | : | : | : | | MD5 | 快 | 中 | | SHA-1 | 慢 | 高 | | SHA-256 | 更慢 | 更高 | // hutool工具包有md5, ......
原理 HTTPS

How to 'apt-get install python-opengl' on Ubuntu22.04

ImportError: Error occurred while running `from pyglet.gl import *` HINT: make sure you have OpenGL install. On Ubuntu, you can run 'apt-get install p ......
python-opengl apt-get install Ubuntu python

Fatal error in launcher: Unable to create process using '"d:\software\python\python.exe"

Fatal error in launcher: Unable to create process using '"d:\software\python\python.exe" 问题发生: 是由于python 切换环境导致的。 本来python 放在D盘software 的python 中直接放置了 ......
python quot launcher software process

Coinc1dens's lessons for cryptography beginner

Coinc1dens's lessons for cryptography beginner 10分题懒得写,赛后浅写一下(有些还真写不出来)太屑了 古典懒得写,相信都写的出来 1.child exgcd i 即为m在模p情况下的乘法逆元,反着求i在模p下的乘法逆元即可。 2.child_quadr ......

[FastAPI-39]项目代码结构

代码结构 ── sql_app ├── main.py # 程序入口 ├── crud.py # 增删查改的方法 ├── database.py # 数据库相关 ├── models.py # ORM模型类相关 └── schemas.py # Pydantic的BaseModel,校验相关 ......
FastAPI 结构 代码 项目 39

mac os上python报错 fatal error: 'Python.h' file not found

1. 安装python (可安装任意版本) brew install python@3.9 2. 创建虚拟环境 cd ~ /opt/homebrew/bin/python3.9 -m venv ai3.9 3. 激活虚拟环境 source ~/ai3.9/bin/activate 4. 安装 pip ......
Python python fatal error found

第二篇 计算机网络基础 - Http协议【 Http协议概述 + Http发展 + Https + Tcp/Http 的区分 】

Http 概述 1、Http 即 超文本传输协议,指的是在网络,网络之间或者是计算机用户与计算机用户之间进行网络传输和文件传输的一种超文本传输协议,对计算机安全和网络安全起着至关重要的作用 1、协议 1、HTTP 是一个协议,不是开发语言,不是一个服务,也不是一种网络 2、HTTP 是一个用在计算机 ......
Http 网络基础 计算机 基础 Https

elementui重置表单 this.$refs['form'].resetFields()

this.$refs['form'].resetFields()这个做法其实是重置表单到初始值,不是清空表单,当表单第一次在页面中渲染时所用的数据就是初始数据。 dialog嵌套表单时,如果先选择编辑,填充了数据,那么每次resetFields()都是填充第一次选择编辑的值。 this.$refs[ ......
表单 resetFields elementui 39 this

=Required reguest parameter 'min' for method parameter type Integer is not present

出现这个错具体原因就是你前端的数据没有传到后端 后端只要就看你的注解有没有写对 controller层的get请求是@QequestParam 绝大部分就是前端的原因 前端没有把数据传过了 或者传过来的数据等于null 都会报这个错 ......
parameter Required Integer reguest present

Kubernetes集群(五)——Cert-manager与Let'sencrypt证书自动管理

1. Cert-manager安装 1.1. 安装自定义crd资源 kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.11.0/cert-manager.crds.yaml 1.2. ......

解决vscode由于sys.path.insert(0, './utils/')导致无法转定义问题

由于代码用到了当前utils文件夹下的文件里面函数。 from xml_utils import load_xml_and_parse_new 这里xml_utils是utils文件夹下的xml_utils.py。 然后无法转定义很是麻烦,搞了半天没找到方法,然后当我把鼠标放在波浪号上面的时候会显示 ......
vscode insert 问题 utils path

浏览器低版本兼容问题 解决可选链'?.'和双问号'??'

一次项目开发中,我本地浏览器没有任何问题,但是客户那边经常会有人打开页面就白屏,我这边也看不到报错,这种个别人必现问题,我就定位到是浏览器版本问题了。 一问他们版本 一个46,一个74。这是多么老的版本啊,让他么升版本,死活不升。 说是他们有什么东西需要U盾之类的东西,升了用不了,那好吧,客户至上, ......
39 问号 浏览器 版本 问题

elementUI使用v-if控制tab标签显示报错 Duplicate keys detected: 'xxx'

<el-tabs @tab-click="handleClick" v-model="activeTabName"> <el-tab-pane v-if="" label="用户管理" name="first" ref="first" >...</el-tab-pane> <el-tab-pane ......
elementUI Duplicate detected 标签 39

注入了一个记录日志的接口,启动微服务工程的时候报错了:No qualifying bean of type 'com.cscecnf.common.log.SysOprLogDao'

【问题描述】 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'monitorAreaServiceImpl': Injection of resour ......

day27 打卡39. 组合总和 40.组合总和II 131.分割回文串

day27 打卡39. 组合总和 40.组合总和II 131.分割回文串 39. 组合总和 39题目链接 class Solution { List<List<Integer>> result = new ArrayList<>(); LinkedList<Integer> path = new L ......
总和 回文 day 131 27