line xxxapplication command running
org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 16 in the jsp file: /monday-01.jsp
``` org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 16 in the jsp file: /monday-01.jsp System.out canno ......
cpp: Command Pattern
/*****************************************************************//** * \file Gold.h * \brief Command Pattern 命令模式 亦称:动作、事务、Action、Transaction、Comman ......
failed to run Kubelet: validate service connection: CRI v1 runtime API is not implemented for endpoint
kubelet 1.27.0 ubuntu 20.04.6 kubeadm init ..... 异常 zxnl@zxnl-VirtuaBox:~# kubeadm init \ > --image-repository registry.aliyuncs.com/google_containers ......
AT2271 [ARC066A] Lining Up 题解
## 题目大意 有 $n$ 个人排成一列,每个人左边的人数减去右边的人数的绝对值已经固定,问有几种排列情况(如果报告错误,输出 $0$)。 ## 思路 ### 找规律 举一个例子,当 $n=5$ 的时候,从左到右他们的 $A_{i}$ 就分别为 $4$ $2$ $0$ $2$ $4$ ; 当 $n= ......
The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement 默认情况下,启动MySQL数据库实例期间,会读取所有的权限表条目到内存中,后续被缓存到内存中的权限条 ......
Graph Embedding:LINE算法
背景 如上图所示,结点6和7是相邻结点,他们应该是相似结点,结点5和6虽然不是相邻结点,但是它们有共同的相邻的结点,因此它们也应该是相似结点。 基于词观察,LINE算法提出了一阶相似性算法和二阶相似性算法 First-order 我们首先如如下公式来计算结点i和j的联合概率分布: 其中ui,uj分 ......
Linux shell command strings All In One
Linux shell command strings All In One
打印文件(默认为标准输入) 中可打印的字符串
......
傻傻的npm run serve吗?还有其他方法换项目中的代理
``` 1.直接修改 封装的axios host 使用浏览器跨域 2. hostconfig.js module.exports = { "target": "http://xxxxxx" }; vue.config.js /* target: 'that must have a empty pla ......
vim command not found
linux系统上一般默认的是vi,vim需要我们手动去安装 1. 检查是否存在vim的安装包 ``` rpm -qa|grep vim ``` ![](https://img2023.cnblogs.com/blog/2135157/202305/2135157-20230523231951568- ......
Linux shell command make & Makefile All In One
Linux shell command make & Makefile All In One
脚本自动化构建工具
......
命令模式(Command Pattern)
## 一、模式动机 >命令模式(Command Pattern)是一种常用的行为型设计模式,它将请求发送者与请求接收者解耦,请求发送者通过命令对象来间接引用接收者,使得系统具有更好的灵活性,可以在不修改现有系统源代码的情况下将相同的发送者对应不同的接收者,也可以将多个命令对象组合成宏命令,还可以在命 ......
VUE npm run serve 提示error Mixed spaces and tabs no-mixed-spaces-and-tabs 解决办法
解析: 看这个错误提示意思就是“不允许代码中出现空格和tab键混合的情况”大多数代码约定要求使用空格或 tab 进行缩进,禁止使用空格和tab混合缩进。因此,一行代码同时混有 tab 缩进和空格缩进,通常是错误的。 解决办法:原因找到了,解决办法就是找到spaces和tabs混合的地方,然后统一即可 ......
sqoop导数到hive任务状态一直是Accepted或Running
昨天晚上装了sqoop准备将数据从pg库导入Hive库备用,写了个sqoop脚本,运行脚本本后从yarn ui上看任务状态一直 Accepted,卡了三四个小时,最后发现是 yarn-site.xml 配置问题,给的资源太少,无法运行任务。 在 yarn-site.xml 中添加下面的内容: ``` ......
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fd dial unix /var/run/docker.sock: connect: permission denied
001、普通用户操作docker遇到如下问题 permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun% ......
[ARC114D] Moving Pieces on Line 解题报告
[AT题面](https://atcoder.jp/contests/arc114/tasks/arc114_d) ## 简要题意 有一个红色的数轴,相邻两个整点之间连有一条边,所有边初始为红色。数轴上有 $n$ 个棋子,将一个棋子从 $a$ 位置移到 $b$ 位置,可以将 $(a,b)$ 之间红边 ......
Linux下文本格式异常:with CRLF line terminators
linux下在处理文本时,有时会遇到列打印或者显示异常: 这是因为有些命令输出重写向到文本,会带入默认Windows文本格式,正常的linux文本中每行是以换行符(\n)结束,windows文本中每行是以回车+换行符(\r\n)结束,可以通过dos2unix工具进行转换: 通过file 文件名命令可 ......
docker run报错
1.背景 CentOS安装好docker后,测试时报错 [root@cloud ~]# docker run hello-world Unable to find image 'hello-world:latest' locally docker: Error response from daemo ......
Docker File创建镜像报错 出现=> ERROR [3/4] RUN yum -y install vim
在红色括号内添加版本号 然后就成功了 ......
OEM13.5安装推送客户端报错Executing command emctl secure agent
OEM13.5安装推送客户端报错Executing command emctl secure agent 现象: 建议部分显示如下方案: 1. ./emctl secure agent 2. ./emctl start agent 3. ./emctl config agent addinterna ......
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
[root@storage1 ~]# mount /dev/sdj3 /mnt/data-dir/ntfs_mst_post_read_fixup_warn: magic: 0xffffffff size: 1024 usa_ofs: 65535 usa_count: 65535: Invalid ......
解决CentOS 7出现docker-compose: command not found
解决CentOS 7出现docker-compose: command not found 1. 安装docker-compose 既然使用了docker-compose那自然得安装了 在GitHub上拉取过慢,建议在国内源DaoCloud中拉取: curl -L https://get.daocl ......
Flask中app.run()参数失效,设置端口、debug模式失效,真正解决
运行app.run(host="0.0.0.0",port=9000,debug=True),但是服务启动后,还是默认的ip和端口http://127.0.0.1:5000,debug模式也是off。 诸如修改pycharm的设置,勾选FLASK_DEBUG,都是治标不治本。 完美、真正的解决方案是 ......
Tool-CMake-add_custom_command-copy
Tool-CMake-add_custom_command-copy https://cmake.org/cmake/help/latest/command/add_custom_command.html?highlight=add_custom_command add_custom_command ......
通过 PowerShell 删除所有running状态的flow
我们经常会出现流出现多个running并且run不完的情况下。 并且积攒过多会导致降速问题。 所以我们可以通过powershell来运行cancel这些running状态运行。 首先我们要安装NPM,并且运行 npm i -g @pnp/cli-microsoft365 安装成功之后,我们要登陆 m ......
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager......
pip install -r requirements.txt 报错"WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system ......
How to use Linux command to find out the background process All In One
How to use Linux command to find out the background process All In One
......
How to use Linux command or Python code get Raspberry PI's Temperature All In One
How to use Linux command or Python code get Raspberry PI's Temperature All In One
如何使用 Linux 命令或 Python 代码获取 Raspberry PI 的温度
......
css 背景色渐变 line-gradient
background-image: linear-gradient(-55deg, #07265d, #0d3d92),linear-gradient(#2d323b, #2d323b); ......