configured currently snapshots to

「Temp」To Do List

## DP 方向 - [x] 单调队列优化 DP - [ ] 斜率优化 DP - [ ] 状压 DP - [ ] 数位 DP ## 图论方向 - [ ] 差分约束 - [ ] 强联通分量、点双边双 - [ ] Floyd(拓展) ## 字符串方向 - [x] ACAM - [ ] SAM ## 数论 ......
Temp List Do

【解决方法】各类软件启动报错:Failed to create the Java Virtual Machine

# 环境: >工具:小锐云服 PRO ,Windows 命令处理器,Java 环境 系统版本:Windows 10 # 问题描述: >描述:不知名原因导致的 Java 虚拟机创建失败,百度良久后通过修改系统环境变量,完成了对问题的处理。 >提示:若按照教程还是无法完成操作,可以进入右侧的企鹅,找我看 ......
Virtual Machine 方法 Failed create

AttributeError: partially initialized module 'cv2' has no attribute 'gapi_wip_gst_GStreamerPipeline' (most likely due to a circular import)

It appears that you are encountering an AttributeError related to the `cv2` module in Python. This error typically occurs when there is a circular imp ......

Unable to start activity Comandroid.content.res.Resources$NotFoundException: String resource ID #0x0

Unable to start activity Comandroid.content.res.Resources$NotFoundException: String resource ID #0x0 打开app->res->values->strings.xml文件添加 <string name= ......

.NET Core读取配置文件 配置文件可以是JSON、XML或INI等格式,需要添加 Microsoft.Extensions.Configuration 扩展包

.NET Core读取配置文件 配置文件可以是JSON、XML或INI等格式 需要添加 Microsoft.Extensions.Configuration 扩展包 原文链接:https://pythonjishu.com/qipsfiygesyrqfi/ 下面是“.NET Core读取配置文件”的 ......

背包问题 (to be continued)

# 背包问题 (to be continued) ## 0x01 01 背包 ### Problem 有 $N$ 件物品和一个容量为 $V$ 的背包. 第 $i$ 件物品的费用是 $v_i$ , 价值是 $w_i$ . 求 $\max \left\{ \left. \sum_{1\leq i\leq ......
背包 continued 问题 to be

spring注入bean错误-Bean named 'abc' is expected to be of type 'AAA' but was actually of type 'BBB'

@Resource注解有两个重要的属性:name和type。在一个使用@Resource来注入bean的声明语句中,@Resource优先是按name来解析bean的 ......
39 type actually expected 错误

git报错can't push refs to remote. Try running "Pull" first to integrate to your changes

# 0 前言 这是我在使用git提交代码到GitHub上时遇到的一个报错,刚遇到此问题,内心充满了恐惧,不知如何解决,花了不少时间查资料,因此有必要在此记录一下,同时希望可以为读者提供一定参考。 # 1 该错误出现的时期 在远程创建空仓库,然后本地写一些代码,尝试提交到远程时,出现标题所指的错误。 ......
quot integrate to changes running

vite打包报错:ERROR: Top-level await is not available in the configured target environment ("es2015" + 2 overrides)

在开发时,vita打包报错如下: 原因: ECMAScript 提案 Top-level await 由 Myles Borins 提出,它可以让你在模块的最高层中使用 await 操作符。在这之前,你只能通过在 async 函数或 async generators 中使用 await 操作符。To ......

springmvc 开启异步请求报错 Java code using the Servlet API or by adding "true" to servlet and filter declarations in web.xml.

报错内容: java.lang.IllegalStateException: Async support must be enabled on a servlet and for all filters involved in async request processing. This is do ......
quot declarations springmvc Servlet servlet

Docker安装Redis错误Reading the configuration file, at line 416 >>> 'locale-collate ""' Bad directive or wrong number of arguments

docker安装redis报错*** FATAL CONFIG FILE ERROR (Redis 7.0.12) *** Reading the configuration file, at line 416 >>> 'locale-collate ""' Bad directive or wro... ......

执行kubeadm 出现 FATAL: the ConfigMap "kubeadm-config" in the kube-system namespace used for getting configuration information was not found

现象: [upgrade/config] Making sure the configuration is correct:[upgrade/config] Reading configuration from the cluster...[upgrade/config] FYI: You can ......

Alpine install to disk/Alpine安装到磁盘 (UEFI)

* alpine-standard-3.18.0_rc6-x86_64.iso * hyper-v * virtual-disk, max 1GB * hyper-v default NAT switch # 开始 添加光驱,并将其启动顺序调至最前 __,启动! 输入root直接登陆安装环境(无密码 ......
Alpine 磁盘 install disk UEFI

[ARC125C] LIS to Original Sequence

首先考虑 $k = 1$,唯一的方案就是倒序输出 $1$ 到 $n$。 我们可以想到,这道题的方法是向已经确定的序列 $A$ 中插入其他数。 对于一个数 $x(x #include #include using namespace std; const int N = 200500; int n,k ......
Original Sequence 125C ARC 125

Git常见报错:Your local changes to the following files would be overwritten by merge

### 1、报错原因 该报错在git pull时出现,一句话解释就是你在本地改动了代码但是还没有提交,此时再拉取最新代码,远程代码和你当前的本地代码发生冲突!(注意有冲突时才会提示,如果没有冲突,则git pull成功,因为git pull实质上就是一个远程分支merge到本地分支过程。 ### 2 ......
overwritten following changes local files

Hadoop - WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform...

# Hadoop - WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... 配置完hadoop启动的时候出现如下警告信息: ```shell WARN util.NativeCode ......

library initialization failed - unable to allocate file descriptor table - out of memory 问题处理

1、修改docker服务启动配置文件 # vim /usr/lib/systemd/system/docker.service ... [Service] ... ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/con ......

【maven】spring-boot-configuration-processor依赖

依赖: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-configuration-processor</artifactId> <optional>true</optional> </ ......

c++ std::to_string实现原理

写这篇的起因是看到 MSVC STL 的一个[issue](https://github.com/microsoft/STL/issues/3857),里面提到```to_string```的实现,正常人的思维是直接除10拿到每位, 其实有个更高效的查表法 # 字符串转数字 除100拿到两位,并查表 ......
to_string 原理 string std to

nuxt 移动端适配 postcss-px-to-viewport

module.exports = { plugins: { autoprefixer: {}, //给不同的浏览器添加前缀 'postcss-px-to-viewport': { unitToConvert: 'px', //需要转换的单位 viewportWidth: '375', //视窗的宽度 ......

Git:Vscode提交报错Make sure you configure your "user.name" and "user.email" in git

使用VScode编辑代码后,Push到云端报错:Make sure you configure your "user.name" and "user.email" in git 解决步骤: 1.进入本地端的文件夹,右键Git Bash; 2.输入命令: $ git config --global u ......
quot user configure Vscode email

[nc 记录] CF13333E Road to 1600

赛时没做出来一直在往随机想。 题意挺明确。发现到 $n \times n$ 这个条件,联想到做过的 CF1172D,递归去掉一行一列的基本想法就有了。 那么让两个棋子从右下开始,走完多出的一行一列,然后走进剩余的 $(n-1) \times (n-1)$。 真可以?这就是 `*2400` 的构造?这 ......
13333E 13333 1600 Road nc

使用swagger时出现Unable to infer base url. This is common when using dynamic servlet registra

在使用Swagger的时候访问地址后出现了错误,`http://localhost:8001/swagger-ui.html` 一直在弹窗提示,还取消不了 ![image-20230813164309945](https://img2023.cnblogs.com/blog/2446184/2023 ......
registra swagger dynamic servlet Unable

org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException

## 一、报错信息 org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.l ......

How to compare two linked lists are equal in Python All In One

How to compare two linked lists are equal in Python All In One 在 Python 中如何比较两个链表是否相等 ......
compare Python linked equal lists

How to use Javascript JSON.stringify similar method in Python All In One

How to use Javascript JSON.stringify similar method in Python All In One 如何在 Python 中使用类似 JavaScript JSON.stringify 的方法 ......
Javascript stringify similar method Python

WARNING: Use of this script to execute namenode is deprecated. WARNING: Attempting to execute replacement "hdfs namenode" instead.问题的解决

# 问题描述 在我使用这个命令进行hdfs初始化时: ``` hadoop-daemon.sh start namenode ``` 爆出了这样的警告 # 问题解决 发现是这个命令现在已经有一点过时,需要换成这个命令才行: ``` hdfs namenode ``` ......
namenode WARNING execute quot replacement

Project Fields to Return from Query

https://www.mongodb.com/docs/manual/tutorial/project-fields-from-query-results/ Project Fields to Return from Query ➤ Use the Select your language dro ......
Project Fields Return Query from

【转载】The secret to success

## Article Format Source ChatGPT ## Main Content Source Title: The secret to success Source: https://zhuanlan.zhihu.com/p/35819739 Author:壹号课堂 ## Main ......
success secret The to

springmvc学习之com.fasterxml.jackson.core:jackson-databind:pom:2.15.2 failed to transfer from

- 错误的原因是我们通过坐标依赖导入的jar包没有完全下载,也就是下载了一半就停了,是个下载类型的文件而不是真正的jar包,出现这种错误的原因典型的就比如我这种情况,正在下载的时候断网了,然后这个网络链接突然中断,此时文件就是一个损坏的半成品,Maven中的代码似乎不能像迅雷那样继续下载,但是又能检 ......