39 mount block error

[914] In Python's datetime library, you can format dates using the strftime() method

In Python's datetime library, you can format dates using the strftime() method. This method allows you to create a formatted string representation of ......
datetime strftime library Python format

Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'jira.ji.ID' which is not functionally dependent on columns in GROUP BY clause;only_full_group_by

这个报错的完整信息 Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'jira.ji.ID' which is not functionally dependent on ......

Program does not contain a static 'Main' method suitable for an entry point

http://www.kangry.net/blog/?article_id=391&type=article 修改办法,对着项目右键-》属性-》application-》output type设为Class Library即可。 ......
suitable Program contain method static

【git】git pull更新项目报错git error:invalid path

1、报错内容 error: invalid path 'xxxxxxx' 原因是某分支下的文件名格式不支持,最终导致在git clone的时候找不到这个文件路径导致的! 2、解决方法 git config core.protectNTFS false 作用是关掉NTFS下的路径保护机制,防止文件系统 ......
git invalid 项目 error pull

Plugin 'org.springframework.boot:spring-boot-maven-plugin:' not found

Plugin 'org.springframework.boot:spring-boot-maven-plugin:' not found 一、问题现象 pom.xml 文件中有报红的错误提示,“Plugin 'org.springframework.boot:spring-boot-maven-p ......

【Python入门教程】CV2报错:cv2.error: OpenCV(4.7.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\s

OpenCV作为一个强大计算机视觉库被各个领域广泛应用,今天分享下cv2.error: OpenCV(4.7.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\s报错信息以及解决办法。 ......

python报错解决-ValueError: Trusted host URL must include a host part: '#!

删掉#后面的字符 参考: pip install总是报错:ValueError: Trusted host URL must include a host part: ‘#‘-CSDN博客 ......
host ValueError Trusted include python

ModuleNotFoundError: No module named 'conda.auxlib'

[ ~/software]$ condaTraceback (most recent call last): File "/ppp/software/Anaconda3.8/bin/conda", line 15, in <module> sys.exit(main()) File "/ppp/so ......

使用 'for' 循环遍历字典

内容来自 DOC[ https://q.houxu6.top/?s=使用 'for' 循环遍历字典](https://q.houxu6.top/?s=使用 'for' 循环遍历字典) d = {'x': 1, 'y': 2, 'z': 3} for key in d: print(key, '对应于 ......
字典 39 for

JavaScript中'??'和'?.'

??空值合并运算符 判断一直变量是否为'null'/'undefined',进行不同的返回值处理 console.log(1 ?? 2) // 1console.log(null ?? 2) // 2console.log(undefined ?? 2) // 2console.log(1 ?? 2 ......
39 JavaScript

找出名字中包含S的人的信息 like '%S%'; 以S开头的值 like '%S';以S结尾的值 like 'S%';

# 模糊匹配 %包含的值%select * from emp where ENAME like '%S%'; # 找出名称以S开头的人的信息select * from emp where ENAME like 'S%'; # 找出名字以第二个字母是O的人的信息select * from emp wh ......
39 like 开头 名字 信息

Django中出现报错:TypeError: unsupported operand type(s) for /: 'str' and 'str' 时的解决办法

如果遇到上述报错情况 解决办法: 1、点击报错路径,进入源码 2、将' / '替换为' , ' 3、再次运行Django 问题解决。 ......
39 unsupported TypeError str operand

[906] Replace NaN (Not-a-Number) values with 'Null' in Pandas

In Pandas, you can replace NaN (Not-a-Number) values in a DataFrame with None (Python's None type) or np.nan (NumPy's NaN) values. Here's how you can ......
Not-a-Number Replace Number Pandas values

为网站接入免费SSL证书let's encrypt 并实现自动续签功能

以ubuntu系统为例: 1.安装certbot: apt update apt upgrade sudo apt install certbot python3-certbot-nginx 2.验证Web服务器端口是否打开并允许通过防火墙 sudo ufw status verbose 3.获取S ......
证书 encrypt 功能 网站 SSL

python+playwright 学习-39.登录页面滑动解锁

前言 登录页面会遇到滑块解锁,滑动解锁的目的就是为了防止别人用代码登录(也就是为了防止你自动化登录),有些滑动解锁是需要去拼图这种会难一点。有些直接拖到最最右侧就可以了,本篇讲下最简单的直接滑动最右侧的滑块解锁。 滑动解锁场景 看下图,是我本地写的一个 slider.html 网页 除了输入账号和密 ......
playwright 页面 python 39

关于crontab运行脚本时报错KeyError: 'PATH'

最近在服务器上为let's encrypt证书添加自动续签计划任务时,发现总是不成功,但手动执行该计划任务所对应的sh脚本则没问题,这让我怀疑crontab执行时可能缺少了点什么导致的,想追踪一下crontab的执行日志,发现并没有,需要手动修改配置文件打开: sudo vim /etc/rsysl ......
脚本 KeyError 时报 crontab 39

Error:java: Compilation failed: internal java compiler error

Error:java: Compilation failed: internal java compiler error 出现这个错误的原因主要是因为 JDK 版本问题,有两个原因,一个是编译器版本不匹配,一个是当前项目 JDK 版本不支持。 File --> Project Structure - ......
java Compilation compiler internal failed

宝塔:国际版本宝塔,安装SSL后报错Certificate ERROR,please check!....

使用宝塔国际版搭建好网站后,正准备开启SSL证书,不料安装后,一闪而过,后面在证书夹里找到了SSL证书,但是点击保存的时候,报错:Certificate ERROR,please check!.... nginx: [emerg] "lua package path" directive is du ......
宝塔 Certificate 版本 please 国际

Math teacher's homework 题解

preface 网上的题解看不懂,看代码看懂了 :) solution 考虑 \(\mathrm{x_i}\) 的倒数第 \(\mathrm{low_i - 1}\) 位到倒数第 \(\mathrm{1}\) 位可以乱选(选 \(\mathrm{0/1}\) 都满足 \(\mathrm{x_i \l ......
题解 homework teacher Math 39

微服务-gateway-Cross-Origin Read Blocking (CORB) blocked cross-origin response with MIME type text/plain

问题描述: 前端在访问后端获取验证码时,响应码200,但是浏览器并未显示出验证码(响应码及浏览器显示如下图) 查看浏览器控制台显示如下信息(如图): 看不清,可以看这 Cross-Origin Read Blocking (CORB) blocked cross-origin response ht ......

WslRegisterDistribution failed with error: 0x80370102

wsl 安装Ubuntu、启动Ubuntu 报错:0x80370102 WslRegisterDistribution failed with error: 0x80370102 Please enable the Virtual Machine Platform Windows feature a ......

报错:Could not resolve view with name 'xxx' in servlet with name 'dispatcherServlet' at org.springframework.web.servlet.DispatcherServlet.render

报错: Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Could not resolve view with name 'xxx' in servlet with ......

用友U8 同步许可提示failed 1091,sync license unknown error?

软件版本:用友U8 16.5 问题:许可管理--导入许可--在线同步许可报错 解决办法: 服务器上面找到U8的应用服务器,停止所有的U8服务; 将软件安装目录/U8SOFT/SoftSeccurity/data中的.temp文件剪切放到其他的文件下做并备份; 重新启动U8服务; 打开许可管理--导入 ......
license unknown failed error 1091

【分布式】解决树莓派4B-64位更换清华源问题(GPG error:because the public key is not available)

【分布式】解决树莓派4B-64位更换清华源问题(GPG error:because the public key is not available) 别出BUG求求了 于 2022-04-30 16:15:38 发布 阅读量3.1k 收藏 18 点赞数 7分类专栏: 分布式 文章标签: debian ......
树莓 分布式 available because public

ORA-01502: index 'xxx' or partition of such index is in unusable state

SELECT 'alter index ' ||INDEX_NAME || ' REBUILD;' INDEX_NAME, INDEX_TYPE, TABLESPACE_NAME, TABLE_TYPE, STATUS FROM DBA_INDEXES WHERE STATUS = 'UNUSABL ......
index partition unusable 01502 state

Error: Vue packages version mismatch: - vue@2.6.14 (D:\前端\vue01\node_modules\vue\dist\vue.runtime.common.js)- vue-template-compiler@2.7.14 (D:\前端\vue01\node_modules\vue-template-compiler\package.json)

Error: Vue packages version mismatch: - vue@2.6.14 (D:\\前端\vue01\node_modules\vue\dist\vue.runtime.common.js) - vue-template-compiler@2.7.14 (D:\前端\vu ......

从链接器的角度详细分析g++报错: (.text+0x24): undefined reference to `main'

/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': (.text+0x24): undefined reference to `main' coll ......
reference undefined 角度 链接 text

Codeforces Round 903 (Div. 3) E. Block Sequence(DP)

Codeforces Round 903 (Div. 3) E. Block Sequence 思路: 设dp[i]为当i~n为完美的最少删除次数 dp[n]=1,dp[n+1]=0; 从后至前对于dp[i]更新 若直接删除当前点,则为 dp[i+1]+1 若不删除 则为 min(dp[i+a[i] ......
Codeforces Sequence Block Round 903

Flask中render_template('index.html')查找index.html文件

问题:jinja2.exceptions.TemplateNotFound: index.html 解决方法如下: 普通: render_template('index.html'),其中index.html的查询是找创建app = Flask(name)文件的同级目录的templates中查找 注 ......
index html render_template template 文件

cdhit-common.h:39:17: fatal error: zlib.h: No such file or directory

001、问题 cd-hit 编译报错如下: cdhit-common.h:39:17: fatal error: zlib.h: No such file or directory 002、解决方法 yum -y install zlib zlib-devel 003、验证 [root@pc1 cd ......
cdhit-common directory common cdhit fatal