vscode failed xhr
Jenkins构建Host key verification failed. lost connection
使用jenkins发版,构建时使用了调用shell从jenkins服务器scp jar包到业务服务器。 由于新购买了服务器,并且要将jar包cp到新购买的服务器上,涉及到前任运维交接问题,这块一直没有了解。 在jenkins服务器 su jenkins切换到jenkins用户,找到/var/lib/ ......
win上vscode出现undefined reference to `__imp_WSACleanup'
示例代码 #include <iostream> // 推荐加上宏定义 #define WIN32_LEAN_AND_MEAN #include <winsock2.h> #include <Windows.h> using namespace std; int main() { WORD ver ......
VSCode 自定义 “Go to File”workbench.action.quickOpenNavigateNextInFilePicker 中上下移动的快捷键
默认情况下,是使用 Ctrl+p 也只能向下进行选择,如果用 down 或者 up 手则需要离开主键盘区域,非常的不方便。 放到vscode配置快捷键的json文件中 { "key": "ctrl+n", "command": "workbench.action.quickOpenNavigateN ......
hive执行sql报错 FAILED: Execution Error, return code 3 from org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask
前言: 执行hive sql报错,sql逻辑是两个表左连接并将数据插入新的表中。 报错信息: [ERROR] 2023-12-05 15:49:49.165 +0800 - execute sql error: Error while processing statement: FAILED: Ex ......
centos 8 Failed to download metadata for repo ‘AppStream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist
查询后发现问题的原因是Centos8于2021年年底停止了服务,我们在使用yum源安装时候,出现下面错误“错误:Failed to download metadata for repo ‘AppStream’: Cannot prepare internal mirrorlist: No URLs ......
vscode 工作区与文件夹设置
背景:学习vue3的时候发现 vue2对应的vetur插件 与vue3的volar 插件 冲突,于是开始了解vscode怎么实现兼容多项目兼容不用配置。 项目设置管理 为了适应不同项目的需要不一样的项目设置,vscode推出了文件夹设置(Folder),将差异的配置存放在项目根目录的.vscode/ ......
ansible 报错 "changed": false, "msg": "Failed to connect to the host
报错: "changed": false, "msg": "Failed to connect to the host via ssh: root@node1: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)." ......
Fetch和XHR有什么区别?
区别: 原生API vs ES6新增函数:XHR 是浏览器提供的原生API,而 fetch 是 ES6 中新增的全局函数。 使用对象差异:XHR 使用 XMLHttpRequest 对象,而 fetch 使用 Promise 对象。 Cookies 默认携带:fetch 默认不会携带 cookies ......
centos7 安装vscode 的问题记录
为方便搭建C的开发环境,在windows下始终开发有些不方便,比如dll引用的测试等等问题,windows下对于新手太不友好,果断需要切换到linux环境下。 一 问题 centos7 在测试安装时最高兼容 1.74,相关的历史版本可以在微软的这个地址找到,https://code.visualst ......
VSCode的git账户重置
https://blog.csdn.net/JohnJim0/article/details/111148923 使用VSCode想要在电脑上换一个git账户pull/push,有那种保存多账号方法,但是也可以直接重置, git config --global --unset credential. ......
vscode自动保存设置为afterDelay后prettier不生效
"files.autoSave": "afterDelay" "editor.formatOnSave": true 这两个配置不能一起使用 解决方法: 1.将"afterDelay"修改为“onFocusChange" 2.设置成onFocusChange或者onWindowChange 3.关闭 ......
vscode latex配置文件
{ "latex-workshop.latex.autoBuild.run":"never", // "latex-workshop.latex.autoBuild.run":"onSave", "latex-workshop.latex.autoBuild.interval":10000, "la ......
vscode建立python项目(转载)
原文地址:https://blog.csdn.net/shizheng_Li/article/details/115555596 问题 今天在做python的小项目的时候,需要建立虚拟环境,并且激化它,但是遇到的了问题,如下: PS D:\user\文档\python\python_work\lea ......
记Redux下载后,运行examples/todos时,报错Error: error:0308010C:digital envelope routines::unsupported 和 Failed to load config "react-app" to extend from.
1、Redux 下载 下载地址 git clone https://github.com/reactjs/redux.git 进入examples/todos,下载依赖: npm install 2、问题复现及解决 执行命令 npm run start 此时终端报错: Error: error:03 ......
linux/centos使用fail2ban实现计次登录失败封禁其ip
问题背景 使用命令 cat /var/log/secure 查询服务器登录记录,发现有ip在进行暴力破解 所以使用fail2ban进行ip限制,如果登录失败五次,则永久封禁其ip。 安装并配置fail2ban(来自ChatGPT) 下面是一份完整的Fail2Ban安装和配置,用于监视SSH服务并在登 ......
hive向表中导入数据出现FAILED: SemanticException
完整错误信息 FAILED: SemanticException Line 1:23 Invalid path ''~/Downloads/stocks.csv'': No files matching path file:/home/lcz/~/Downloads/stocks.csv 路径错误, ......
vscode远程连接linux
参考:https://zhuanlan.zhihu.com/p/667236864?utm_id=0# 一、安装过程 1、安装插件remote-ssh 2、点击远程资源管理器、新建远程 远程资源管理器:Remote Explorer,左侧extensions下一个像电脑一样的 新建远程:在ssh栏右 ......
记一次vscode 打开go项目的处理方式
问题:需要用vscode打开 没有用 go.mod 管理的项目 打包项目为linux执行的二进制文件 vscode 全局 settings.json配置 ```json { "go.formatTool": "gofmt", "go.gopath": "D:\\GoPath;", "go.goroo ......
记一次vscode 打开go项目的处理方式
问题:需要用vscode打开 没有用`go.mod` 管理的项目 打包项目为linux执行的二进制文件 vscode 全局`settings.json`配置``` <br/> ```json{ "go.formatTool": "gofmt", "go.gopath": "D:\\GoPath;", ......
关于Vue3中调试APP触发异常:exception:white screen cause create instanceContext failed,check js stack -> at useStore (app-service.js:2309:15)解决方案
bug:reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->at us ......
VScode 安装 R
md 想 install 一个包,发现装下来不支持 4.3.2 了,又找不到之前的版本,被迫重装。 参考: https://zhuanlan.zhihu.com/p/454702406?utm_id=0 流程: 安装 R https://mirrors.tuna.tsinghua.edu.cn/CR ......
【解决】模拟器设置system读写报错'/dev/block/sda6' is read-only mount: '/system' not in /proc/mounts adb disable-verity failed to read fstab '/dev/root' is read-only
remount 失败 '/dev/block/sda6' is read-only adb disable-verity failed to read fstab '/dev/root' is read-only mount -o remount,rw /system mount: '/system ......
ORA-01187 cannot read from file 201 because it failed verification tests..temp01
Description:We get this message in running the Upgrade Express 20-21 export (create_customer_data):ORA-01187: cannot read from file 201 because it fai ......
vite ts 安装 js-cookie 库,vscode找不到类型说明(有波浪线),解决方案
vite ts 安装 js-cookie 库,vscode找不到类型说明(有波浪线),解决方案 先安装库 https://www.npmjs.com/package/js-cookie 再安装类型 https://www.npmjs.com/package/@types/js-cookie 问题 然 ......
用matplot和seaborn作图,出现This application failed to start because not Qt platform plugin could be initialized的报错
用matplotlib和seaborn作图,出现这样的弹窗: 尝试过增加环境变量的方法没有解决。使用了一种临时的解决方法: import matplotlib matplotlib.use('TKAgg') 如果不需要图形化界面,只需要运行后的参数可以使用: import matplotlib ma ......
如何在vscode环境下使用arduino?
如何在vscode环境下使用arduino? 下载Arduino软件 在Arduino官网下载最新的Arduino软件(2.0版本以上)。 在下载Arduino之后,电脑中会出现两个非常重要的文件夹: C:\Users\用户名\Documents\Arduino 这个文件夹中会存放你安装的一些第三方 ......
aws场景安装fail2ban
ACCEPTED ANSWER Amazon Linux 2023 uses Python3.9 by default, and some of the old python version feature are abolished in Python3.9, so you need to use ......