thread ubuntu 22.04 in
[ABC166E] This Message Will Self-Destruct in 5s
[This Message Will Self-Destruct in 5s の 传送门](https://www.luogu.com.cn/problem/AT_abc166_e) ## Solution 首先看到 > $j-i=A_i+A_j$ 转换一下,$i+a_i=j-a_j$。 接下来,对 ......
CodeForces 1840G In Search of Truth
[洛谷传送门](https://www.luogu.com.cn/problem/CF1840G2 "洛谷传送门") [CF 传送门](https://codeforces.com/problemset/problem/1840/G2 "CF 传送门") 每次询问获得的信息只有当前所在位置的数字。考 ......
RT-Thead学习(二)-GD32移植(基于RT-Thread Nano源码)
# 1 前言 当前关于RT的移植教程有很多,纯复制大佬们的很迷糊,参考官方手册和一些经验贴,完成了基于Nano源码的移植,最简单的移植教程就是基于keil的和这一种。 # 参考资料 1.野火资料(https://doc.embedfire.com/rtos/rtthread/zh/latest/ap ......
ubuntu 原始部署 和 宝塔部署 node
1. 选用Linux系统2.node 测试的包有express knex3. Linux 安装 nodejs 环境 https://github.com/nodesource/distributions4. Linux 系统权限(sudo) npm 安装 pm25. 用 pm2 启动后端服务 示例: ......
wazuh ALL-in-one ES账号密码位置(version:4.4)
ALL-in-one ES账号密码位置 ALL-in-one安装的账号密码其实默认就是webUI访问的账号密码。 也可以用证书私钥的方式访问ES,参考wazuh-install.sh安装脚本 截取的相关代码,如下第1行、18行红色标记: indexer_cert_path="/etc/wazuh-i ......
ubuntu20.4安装geant4和root
#下载需要的软件包和数据包下载roothttps://root.cern/install/all_releases 下载geant4 https://geant4.web.cern.ch/download/all #在家目录下面创建一个geant4的文件夹 #打开geant4文件夹,在里面创建一个f ......
ubuntu20.04安装minikube
一、安装docker(阿里云镜像安装) 1.卸载旧版本 sudo apt-get remove docker docker-engine docker-ce docker.io 2.添加阿里云GPG秘钥 curl -fsSL http://mirrors.aliyun.com/docker-ce/l ......
报错:[Vue warn]: Error in render: "TypeError: Cannot read properties of undefined (reading 'state')"
1.错误详情 2. 错误分析 百度此错误发现,很多人可能忘记在main.js中引入store.js并挂载在vue实例上,或者state单词写错了 我审查了很多遍代码,依然报错,读取不到state中的数据,后来想到可能是版本的问题此项目是vue2,要使用vuex3才能正常运行,我安装的时候没有指定版本 ......
关于项目报错“Error running 'All in IIDCNo junit.jar”
# 在我跑一个项目的时候遇到了如图所示问题 ![](https://img2023.cnblogs.com/blog/3145201/202306/3145201-20230608170021901-1735780674.png) ![](https://img2023.cnblogs.com/bl ......
zabbix--邮件告警报错“Support for SMTP authentication was not compiled in”
邮件报警失败:Support for SMTP authentication was not compiled in 解决办法:升级 curl 版本 具体操作步骤: 1)安装 curl # rpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/r ......
Ubuntu22.04安装低版本MySQL5.7
# 服务器Ubuntu Server 22.04安装低版本MySQL5.7 最近在腾讯云买了个服务器准备部署我的Django项目,由于需要保证服务器和本地开发的环境相同,所以要在Ubuntu 22.04安装一个与本地Windows版本相同的MySQL5.7.36 ## 第一个问题 首次安装我尝试使用 ......
ubuntu不能外放声音/声卡没有声音
解决办法: `/etc/modprobe.d/alsa-base.conf`文件加一行: ``` options snd-hda-intel model=dell-headset-multi ``` 然后设置里就可以选内置音频了,之前没有。 参考资料:https://askubuntu.com/qu ......
Ubuntu下制作deb包的方法详解
http://t.csdn.cn/ApH7u https://blog.csdn.net/gatieme/article/details/52829907#:~:text=Ubuntu%E4%B8%8B%E5%88%B6%E4%BD%9Cdeb%E5%8C%85%E7%9A%84%E6%96%B9% ......
get_object_or_404 method in Django Models
Some functions are hard as well as boring to code each and every time. But Django users don’t have to worry about that because Django has some awesome ......
Re: finding all cycles in a graph
ref: https://cs.stackexchange.com/questions/7216/find-the-simple-cycles-in-a-directed-graph Re: finding all cycles in a graph From: Juan Pablo Carbaja ......
ubuntu防火墙命令介绍
ubuntu在开启ufw防火墙前,为了避免与iptables现有规则冲突,建议先清空iptables的所有规则。相关命令如下: iptables -F更改iptables规则链默认操作命令如下: iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT ......
[LeetCode] 1351. Count Negative Numbers in a Sorted Matrix
Given a m x n matrix grid which is sorted in non-increasing order both row-wise and column-wise, return the number of negative numbers in grid. Exampl ......
English Learning Articles 2023-06-08 Multiple insomnia symptoms raise stroke risk in people under 50, study says
Multiple insomnia symptoms raise stroke risk in people under 50, study says If you have trouble falling asleep or staying asleep, wake up too early mo ......
在intelj idea中Debug启动tomcat时Address already in use:JVM_Bind
在debug重启web应用时,偶尔会报如下错误:Address already in use:JVM_Bind,一看端口占用 打开任务管理器,发现并没有java相关的进程。所以无法通过杀死进程来解除接口占用,可以通过如下方式解决 1.编辑服务器配置,Edit Configuration 2.点击St ......
解决电脑无法远程Ubuntu,不出界面
![](https://img2023.cnblogs.com/blog/3005444/202306/3005444-20230608120056059-1243156350.png) 我用的win11 远程 乌班图22.0 参考:https://service.oray.com/question ......
golang导入私有仓库报错:“server response: not found:xxx: invalid version: git ls-remote -q origin in xxx“
1.问题:go get导入私有仓库报错 ➜ go get "devops.gitlab.xxx.com/test/kafka-utils" go: devops.gitlab.xxx.com/test/kafka-utils@v0.0.1: verifying go.mod: devops.gitl ......
ubuntu 20.04 lxd 配置容器内使用GPU
1. 检查自己的显卡类型,同时在宿主机上安装显卡驱动 一般选择推荐的 proprietary,tested 2. 配置lxd的容器并添加GPU设备 3. 在容器中运行相同驱动版本 在nvidia官网上下载驱动 sh NVIDIA-Linux-x86_64-520.61.05.run --no-ker ......
ubuntu18.04或20.04安装显卡驱动
Ubuntu安装显卡驱动(方法超简单) 方法:只需要一条指令即可安装成功 1 sudo ubuntu-drivers autoinstall 等待安装完成后,需要重启 ......
ubuntu 20 permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock:
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/con ......
【Linux】Ubuntu apt 安装故障 Could not get lock /var/lib/dpkg/lock-frontend
报错提示 E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var ......
Three.js系列-报错export ‘Geometry‘ (imported as ‘THREE‘) was not found in ‘three‘
## 今天遇到报错export 'Geometry' (imported as 'THREE') was not found in 'three' ``` port 'Geometry' (imported as 'THREE') was not found in 'three' (possible ......
数据结构 in Golang:Hash Tables(哈希表)
# 数据结构 in Golang:Hash Tables(哈希表) ### 场景 - 水果店的价格表: - 苹果 Apple:3元 - 香蕉 Banana:4元 - 桃子 Peach:2元 - 梨 Pear:3元 - 找到一种水果的价格: - 可以使用 binary search,通过名称来查找,耗 ......
13_How to Deploy NodeJs app on Ubuntu in Production
地址:https://www.codewithharry.com/blogpost/deploy-nodejs-app-on-ubuntu/ How to deploy a Node.js application in production In this post, we will see how ......
11_install Ubuntu Full GUI Desktop on an Ubuntu VPS
地址:https://www.codewithharry.com/blogpost/install-ubuntu-desktop-vps/ How to install Ubuntu Desktop with Full GUI on an Ubuntu VPS This post will expl ......