connection the localhost actions
React项目中报错:Parsing error: The keyword 'import' is reservedeslint
记得更改完配置后,要重启编辑器(如:VSCode)!!! 记得更改完配置后,要重启编辑器(如:VSCode)!!! 记得更改完配置后,要重启编辑器(如:VSCode)!!! 这个错误通常发生在你尝试在一个不支持 ES6 模块语法的环境中使用 import 关键字。 ESLint 默认使用的是 ES5 ......
GPTs创建及action使用
一、新建GPTs New GPT:https://chat.openai.com/gpts/editor 二、创建GPT的选项 1、Create 进入创建GPT页面,在CreateTab下,点击左下角曲别针符号,可以向GPT上传知识库文档。GPT可以根据这些文档进行回答。 2、Configure 2 ......
Nacos启动:[NACOS HTTP-POST] The maximum number of tolerable server reconnection errors has been reached
一、表象 二、分析 源码: public HttpRestResult<String> httpPost(String path, Map<String, String> headers, Map<String, String> paramValues, String encode, long re ......
Github Actions - Error: The connection to the server localhost:8080 was refused - did you specify the right host or port?
Run kubectl apply -f eks/aws-auth.yaml kubectl apply -f eks/aws-auth.yaml kubectl apply -f eks/deployment.yaml kubectl apply -f eks/service.yaml shell ......
Github Action - Error: Kubectl '1.29.0' for 'amd64' arch not found
Error: Kubectl '1.29.0' for 'amd64' arch not found Changing - name: Install kubectl uses: azure/setup-kubectl@v3 with: version: '1.28.2' # version of ......
The Missing Semester of Your CS Education----shell工具和脚本
一.shell脚本 1.$的关键字 $0 - 脚本名 $1 到 $9 - 脚本的参数。 $1 是第一个参数,依此类推。 $@ - 所有参数 $# - 参数个数 $? - 前一个命令的返回值 $$ - 当前脚本的进程识别码 !! - 完整的上一条命令,包括参数。常见应用:当你因为权限不足执行命令失败时 ......
How can I do to protect the Environmental
How can I do to protect the Environmental Protecting the environment is an important responsibility that we all share. Here are some simple steps you ......
Why caused the dead factory?
The death of a factory can be caused by various factors, which can be broadly categorized into economic, social, and environmental reasons. Some of th ......
Should be the workers need to dress uniform for work?
The need for workers to dress in uniforms for work depends on the specific industry, company, and job role. In some cases, uniforms may be required fo ......
Why the developed country choose the countries of southeast Asia to build processing factory used their labour force?
The developed countries choose countries in Southeast Asia to build processing factories and utilize their labor force for various reasons. Some of th ......
An Introduction to Bioinformatics Algorithms, Neil C. Jones and Pavel Pevzner, the MIT Press, 2004.
An Introduction to Bioinformatics Algorithms, Neil C. Jones and Pavel Pevzner, the MIT Press, 2004. This introductory text offers a clear exposition o ......
B. Preparing for the Contest
原题链接 快速读题 给出一个序列,使其满足\(a[i]>a[i-1],i>1\)成立的次数恰好为k 思路 只要满足条件的序列都算作成立,我们就可以特殊化 先做出一个单增序列,由于前半部分所有元素都满足条件,所以前半部分保留(k+1)个元素,翻转后(n-k-1)个元素 但是sort默认升序,所以我们倒 ......
error: Your local changes to the following files would be overwritten by merge 解决方案
团队其他成员修改了某文件并已提交入库,你在pull之前修改了本地该文件,等你修改完代码再pull时,这时会报错如下错误 根据是否要保存本地修改,有以下两种解决方案 2.1 保留修改执行以下三条命令 git stash #封存修改 git pull origin master git stash po ......
MySQL server is running with the --super-read-only option的解决办法
原因 数据库是只读模式 解决办法 修改为读写模式 mysql -uroot -p你的密码 进入mysql select @@read_only; set global read_only=0; # 顺便设置可远程连接(不需要可跳到flush privileges) use mysql; update ......
CentOS7 yum错误:One of the configured repositories failed (Unknown)
一、现象 二、原因 可能会有其他原因造成该问题(如,网络问题)。我这边的问题是红框中指定镜像重复,导致yum命令执行失败。 三、解决 cd /etc/yum.repos.d 排查重复的repo并将其删除。 ......
Mac Scp Connection refused(关闭安全模式)
一、查看安全机制 csrutil status # System Integrity Protection status: enabled => 安全模式开启 # System Integrity Protection status: disabled => 安全模式未开启 二、重启 Intel 处 ......
GPTs创建及action使用
一、新建GPTs New GPT:https://chat.openai.com/gpts/editor 二、创建GPT的选项 1、Create 进入创建GPT页面,在CreateTab下,点击左下角曲别针符号,可以向GPT上传知识库文档。GPT可以根据这些文档进行回答。 2、Configure 2 ......
Nacos启动:[NACOS HTTP-POST] The maximum number of tolerable server reconnection errors has been reached
一、表象 二、分析 源码: public HttpRestResult<String> httpPost(String path, Map<String, String> headers, Map<String, String> paramValues, String encode, long re ......
WMTS . WMS focuses on flexibility in the client request enabling clients to obtain exactly the final image they want.
WMTS - Introduction — OGC e-Learning 2.0.0 documentation https://opengeospatial.github.io/e-learning/wmts/text/main.html WMTS - Introduction Introduct ......
CF1861C-Queries-for-the-Array-题解
title: CF1861C Queries for the Array 题解 date: 2023-09-06 07:53:53 categories: - 题解 因为插入和删除操作都在队尾,所以对序列前缀分析一下: 若一个序列的答案为 YES,那么它前缀的答案也为 YES。(对于没检查过的序列) ......
Nacos启动:[NACOS HTTP-POST] The maximum number of tolerable server reconnection errors has been reached
一、表象 二、分析 源码: public HttpRestResult<String> httpPost(String path, Map<String, String> headers, Map<String, String> paramValues, String encode, long re ......
The fourth day learning summary
一、for 循环循环就是重复做某件事,for循环是python提供第二种循环机制(第一种是while循环),理论上for循环能做的事情,while循环都可以做。目的:之所以要有for循环,是因为for循环在循环取值(遍历取值)比while循环更简洁。代码示例:for i in range(1, 11 ......
MVN 安装报错 java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
mvn pom 安装报错 java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty 方法一 主要是带有 https 仓库认证不通过 忽略ssl证书检验即可 mvn cl ......
CF757G Can Bash Save the Day?
牛子题 先观察询问怎么处理,因为是棵树,直接拆 \(dis\) ,有 \(dis(p_i,x)=dis[p_i]+dis[x]-2\times dis[lca]\) ,前两项很好处理,但是对于 \(dis[lca(p_i,x)],i \in [l,r]\) 比较难处理,但是可以转化成经过这条边的次数 ......
Queries for the Array 题解
前言 这场 CF 是我赛后打的,vp 赛时没做出来,后来发现是有个地方理解错了,有一些细节没有考虑到。现在换了一种思路来写,感觉更清晰了。 做法 首先需要动态维护三个变量,\(cnt\) 和 \(finishsort\) 和 \(unfinishsort\)。这三个变量分别表示当前数字的个数,已经排 ......
ssh远程到目标主机报错:ssh_exchange_identification: read: Connection reset by peer 问题的处理
问题描述 通过ssh连接到目标主机,报错如下: #ssh 10.192.121.202 ssh_exchange_identification: read: Connection reset by peer 问题分析 通过报错的信息可以看到,连接是被目标的主机给断了。 问题解决 在网上找了一些解决的 ......
《CLIP:Connecting text and images》论文学习
一、Abstract 尽管深度学习已经彻底改革了计算机视觉领域,但当前的深度学习视觉方案方法存在几个主要问题: 高质量的视觉数据集,制作过程耗时且成本高昂,同时只包含了有限范围的视觉概念 标准的深度学习视觉模型(例如ImageNet、ResNet)擅长完成单一任务,且只能完成一个任务,需要投入巨大的 ......
树的层次遍历 Trees on the level uva122
原题链接 这道题可以说基本涵盖了树的大部分知识点——树的创建,树的生成,树的删除,树的BFS(宽度优先搜索)。个人认为是学习树时很具有价值的一道题目。 题目意思很好理解,讨论区的题解写的也比本人优秀太多了,这里就不具体分析了。 ......
Nacos启动:[NACOS HTTP-POST] The maximum number of tolerable server reconnection errors has been reached
一、表象 二、分析 源码: public HttpRestResult<String> httpPost(String path, Map<String, String> headers, Map<String, String> paramValues, String encode, long re ......
BigdataAIML-ML-Models for machine learning Explore the ideas behind machine learning models and some key algorithms used for each
最好的机器学习教程系列:https://developer.ibm.com/articles/cc-models-machine-learning/ By M. Tim Jones, Published December 4, 2017 Models for machine learning Alg ......