seqeval install 39 evaluate-metric

[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

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 ......

k8s install es

# Source: elasticsearch/templates/test/test-elasticsearch-health.yaml apiVersion: v1 kind: Pod metadata: name: "elasticsearch2-csamz-test" annotations ......
install k8s k8 8s es

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

pip install pycrypto

pycrypto,pycrytodome和crypto是一个东西,crypto在python上面的名字是pycrypto它是一个第三方库,但是已经停止更新三年了,所以不建议安装这个库; python2下安装: pip install pycrypto1python3下安装 pip install p ......
pycrypto install pip

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

ubuntu install pgsql

sudo apt update; sudo apt upgrade; sudo apt install postgresql postgresql-contrib; sudo systemctl start postgresql.service https://www.digitalocean.co ......
install ubuntu pgsql

Install Redis on macOS

Use Homebrew to install and start Redis on macOS This guide shows you how to install Redis on macOS using Homebrew. Homebrew is the easiest way to ins ......
Install Redis macOS on

报错: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 ......

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

从链接器的角度详细分析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

ruby: install sass

https://www.ruby-lang.org/zh_cn/https://rubyinstaller.cn/gem install sass gem update sass sass -v sass -h ......
install ruby sass

windows 启用wsl wsl --install 操作超时

在启用或关闭Windows功能中启用Windows虚拟机监控程序平台 ......
wsl windows install

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

Argument for '--moduleResolution' option must be: 'node', Unknown compiler option 'verbatimModuleSyntax'.

node_modules/@vue/tsconfig/tsconfig.json(12,25): error TS6046: Argument for '--moduleResolution' option must be: 'node', 'classic', 'node16', 'nodenex ......

King's Tour 题解

King's Tour 题面大意 在 \(n\times m\) 的网格中构造一种从 \((1,1)\) 走到 \((a,b)\) 的方案,要求经过所有格子恰好一次,格子之间八联通。 思路分析 模拟赛题,赛时写了一个半小时过了( 思路不是很复杂,但是需要一些分类讨论。 引理:对于任意大小的矩形,一定 ......
题解 King Tour 39

To install it, you can run: npm install --save svg-baker-runtime/browser-symbol

运行vue项目npm run dev命令报错 报错信息: 错误提示: To install it, you can run: npm install --save svg-baker-runtime/browser-symbol 解决: npm install --save regenerator- ......

leaflet使用heatmap.js出现heatmap.js:527 Uncaught TypeError: Cannot assign to read only property 'data' of object '#<ImageData>'问题

一、问题背景 问题是这样发生的,因为项目中需要实现热力图的功能,所以使用了第三方的库 heatmap.js。 但是在一些浏览器中使用它时,会出现这个错误: > Uncaught TypeError: Cannot assign to read only property 'data' of obje ......
heatmap 39 TypeError ImageData Uncaught