https 39 whitelist protocol

python Pycharm出现“can't find '__main__' module”解决方案

是配置没配对,因为在配置时没有选择.py文件,而只选择了工程名。因此选择Edit Configurations。 选择Edit Configurations后,查看Script path只选择了工程名inner funs,而这里应该要选择工程名里面的.py文件(main函数,如果没有,选择你要执行的 ......
39 解决方案 Pycharm 方案 python

检测HTTPS证书过期的几种方式

# HTTPS的必要性 ## 为什么要使用https证书 ### 用户信任 流行的浏览器,例如chrome,在访问http域名时会直接提示不安全。 ​![image](https://img.pyw.one/siyuan_note_pyw_img/image-20230729161259-5htvd ......
证书 方式 HTTPS

Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed;

报错Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConf... ......

https

1、介绍 2、https建立过程 (1)客户端向服务端请求证书和公钥 (2)客户端向证书机构,获取证书与公钥的hash,验证是否正确 (3)客户端基于公钥,对接下来的对称加密的秘钥进行加密,发送给服务端 (4)服务端用自己的私钥进行解密,获取到对称加密的秘钥 (5)之后,客户端和服务端之间基于约定的 ......
https

[UNIQUE VISION Programming Contest 2023 Summer(AtCoder Beginner Contest 312) - AtCoder](https://atcoder.jp/contests/abc312)

# [UNIQUE VISION Programming Contest 2023 Summer(AtCoder Beginner Contest 312) - AtCoder](https://atcoder.jp/contests/abc312) ## [A - Chord (atcoder.j ......
Contest AtCoder Programming 312 Beginner

Python报错 | ImportError: To be able to use evaluate-metric/seqeval, you need to install the following dependencies['seqeval'] using 'pip install seqeval' for instance'

**报错信息** 使用`metric = evaluate.load("seqeval")`的时候,报如下错误: ```python ImportError: To be able to use evaluate-metric/seqeval, you need to install the fol ......

Angular:error TS2717: Subsequent property declarations must have the same type. Property 'contentRect' mu st be of type 'DOMRectReadOnly', but here has type 'DOMRectReadOnly'.

# 解决方案 在`tsconfig.json`的`compilerOptions`选项中添加如下内容`"skipLibCheck": true`。 如下图所示 ![image](https://img2023.cnblogs.com/blog/1795938/202307/1795938-20230 ......

解决报错UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa1 in position 13: invalid start byte

data_frame = pd.read_csv(Filepath, encoding='utf8') 在使用上述代码读取csv文件时报错“UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa1 in position 13: invalid ......
UnicodeDecodeError byte 39 position invalid

College Students'Booklist

College Students'Booklist As is clearly reflected in the table above,the percentage of the college students'booklist,from 1992 to 2012.we can see ther ......
Booklist Students College 39

STM32案例学习 GY-39环境监测传感器模块

# STM32案例学习 GY-39环境监测传感器模块 ## 硬件平台 1. 野火STM32F1系列开发板 2. 正点STM32F1系列开发板 3. STM32F103ZET6核心板 4. GY-39环境监测传感器模块 ![STM32产品](https://img-blog.csdnimg.cn/20 ......
环境监测 传感器 模块 案例 环境

python 问题from mysql import connector ModuleNotFoundError: No module named 'mysql'

python 问题: from mysql import connector ModuleNotFoundError: No module named 'mysql' 不能pip installl mysql不起任何作用 正确做法:pip install mysql-connector-python ......

如何从Notepad++运行python(转载自https://zhuanlan.zhihu.com/p/381986542)

从Notepad++可以直接配置快捷键运行当前python程序。 点击 运行(R) -运行(R)... 在弹出的输入框内输入以下命令,点击 保存... 分配一个名称与快捷键,即可以按快捷键运行当前程序。 cmd /k cd /d "$(CURRENT_DIRECTORY)" & python "$( ......
381986542 zhuanlan Notepad python https

apue.3e遇到的编译问题(recipe for target 'badexit2' failed)以及ls1.c案例测试

APUE( 慢慢啃这本书)编译问题,网上获得的前辈方法,本地测试可行,仅作记录。 1.系统环境 ![](https://img2023.cnblogs.com/blog/1881351/202307/1881351-20230728231228838-778223696.png) 2.下载解压 > ......
badexit2 案例 badexit recipe failed

【题解】[2023牛客多校] Qu'est-ce Que C'est?

题目传送门:[[2023牛客多校] Qu'est-ce Que C'est?](https://ac.nowcoder.com/acm/contest/57358/J) # 题意 给定 $n,m$ 构造 $a_{1},a_{2},...,a_{n}$, 其中 $a_{i} \in [-m, m]$ ......
题解 est est-ce 2023 39

.NET Core|--SkiaSharp 生成图像报错|--The type initializer for 'SkiaSharp.SKAbstractManagedStream' threw an exception.

### 前言 ```bash #SkiaSharp - 版本 2.88.3 #SkiaSharp.NativeAssets.Linux.NoDependencies - 版本 2.88.3 #部署服务器环境 Linux / docker / #Visual Studio 版本 Microsoft V ......

http转https

1,首先去下载相关域名的SSL证书 2,在linux中创建一个文件,将下载的证书放入其中 3,nginx的nginx.conf文件 ......
https http

Visual Studio Code -- 配置https

安装 live server 插件默认 Open with Live Server 是http,如果想用https访问,进行一些设备权限授权才能查看页面功能的时候还是需要配置一下,这样不需要每次都上传服务器: Setting --> 输入 live server --> Edit in settin ......
Visual Studio https Code

openresty配置https自签名证书

前提:服务器已安装上openresty和openssl 1、在/usr/local/openresty/nginx/conf/目录下创建一个cert文件夹用来存放证书和服务器私钥 cd /usr/local/openresty/nginx/confmkdir certcd cert/ 2、进入cer ......
openresty 证书 https

POJ1904 King's Quest

## [$POJ1904$ $King's$ $Quest$](http://poj.org/problem?id=1904) ### 一、题目描述 有$n$个王子,每个王子都有$k$个喜欢的妹子,每个王子只能和喜欢的妹子结婚。现有一个匹配表,将每个王子都与一个自己喜欢的妹子配对。请你根据这个表得出 ......
Quest 1904 King POJ 39

windows安装xadmin==0.6.1报错:UnicodeDecodeError: 'gbk' codec can't decode byte 0xa4 in position 3444: illegal multibyte sequence

直接用pip安装xadmin会报以下错误: pip install xadmin==0.6.1 报错: Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<s ......

mysql启动报错:ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost:3306' (10061)

mysql启动报错:ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost:3306' (10061) netstat -ano | findstr 3306 ,检查端口3306上是否有进程运行(或直接检查任务管理器中的进程), ......
localhost 39 connect server mysql

VS 还原 NuGet 程序包时出错: 无法加载源 https://dotnet.myget.org/F/aspnetcore-dev/api/v3

错误 还原 NuGet 程序包时出错: 无法加载源 https://dotnet.myget.org/F/aspnetcore-dev/api/v3 解决方法 在新源中添加地址: https://www.nuget.org/api/v2/ ![](https://img2023.cnblogs.co ......

Pyinstaller打包Pyro4为啥总是报:serializer 'json' is unknown or not available

### 现象描述: 在使用Pyro4时,当需要将其打包成exe运行时,总是遇到:Pyro4.errors.SerializeError: serializer 'json' is unknown or not available 的错误提示; 但是当我们直接使用 python xxxx.py 运行或 ......

Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported]

@RequestParam用来处理 Content-Type 为 application/x-www-form-urlencoded 编码的内容,Content-Type默认为该属性。 可以用于接收URL中的参数并捆绑到方法的参数中,也可以接受post请求体中的Content-Type 为 appl ......

php:获取https证书的信息(PHP 8.1.1)

一,代码: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ......
证书 https 信息 php PHP

Docker不能启动,ERROR: ZONE_CONFLICT: 'docker0' already bound to a zone

Docker服务意外停止,想要重启Docker服务时,却遇到了 ERROR: ZONE_CONFLICT: 'docker0' already bound to a zone 的错误,解决方案如下: https://stackoverflow.com/questions/67497455/faile ......

帝国CMS Table '***.phome_ecms_news_data_'doesn't exist

解决办法 delete from `phome_ecms_news_index` where id not in(select id from phome_ecms_news) ......
phome_ecms_news_data 39 Table phome doesn

rabbitmq告警Error: health check failed. Message: resource alarm(s) in effect:[{resource_limit,memory,'rabbit@rabbitmq-1'}]

这个错误信息表示 RabbitMQ 的内存使用量超出了预设的阈值,导致触发了 RabbitMQ 的内存警告阈值报警。 RabbitMQ 在运行过程中会不断地将消息存储在内存中,如果内存使用量超出了预设的阈值,就会触发内存警告阈值报警。这个阈值的默认值是 40% 的物理内存,可以通过修改 Rabbit ......

jenkins报错:Error: Cannot find module '/root/.jenkins/workspace/test/node_modules/ejs/postinstall.js'

+ npm install > core-js@3.31.1 postinstall /root/.jenkins/workspace/test-allsaintsmusic-html/node_modules/core-js > node -e "try{require('./postinstal ......