1.通过配置文件确认zabbix关联的数据库信息 #find / -name zabbix_server.conf 查看管理数据库,密码,IP 2.登录数据库修改 #mysql -uzabbix -pzabbix >select user(); 查看当前用户 >show databases; >us ...
分类:
其他好文 时间:
2020-06-30 12:36:12
阅读次数:
43
题目链接:https://codeforces.com/contest/1354 想法: 很明显的权值线段树(值域线段树)板子题。 #include <algorithm> #include <string> #include <cstring> #include <vector> #include ...
分类:
其他好文 时间:
2020-06-30 00:43:08
阅读次数:
58
https://www.cnblogs.com/cute/archive/2011/08/26/2154137.html 1、判断字符串为空 if [ -z "$str" ]; then echo "empty string" fi 2、判断文件是否存在 if [ -f /home/builder/ ...
分类:
系统相关 时间:
2020-06-29 13:44:40
阅读次数:
107
其他命令 目标 查找文件 find 软链接 ln 打包和压缩 tar 软件安装 apt-get 01. 查找文件 find 命令功能非常强大,通常用来在 特定的目录下 搜索 符合条件的文件 序号命令作用 01 find [路径] -name "*.py" 查找指定路径下扩展名是 .py 的文件,包括 ...
分类:
系统相关 时间:
2020-06-29 13:15:26
阅读次数:
79
# 该方法用来确认元素是否存在,如果存在返回flag=true,否则返回false def isElementExist(self,element): flag=True try: driver.find_element_by_css_selector(element) return flag ex ...
分类:
其他好文 时间:
2020-06-29 11:57:42
阅读次数:
141
在登录自有npm库的时候发现输入正确的账号密码,依然会报错 Unable to authenticate, need: BASIC realm="Sonatype Nexus Repository Manager" 在尝试网上提供方法后没有得到解决, 然后尝试输入一个错误的密码,发现得到的结果相同, ...
分类:
其他好文 时间:
2020-06-29 11:43:57
阅读次数:
549
报错1. main.ts报错( Cannot find module './App.vue'.) 原因: typescript不能识别.vue文件 解决办法: 引入vue的typescript declare库在tsconfig.json中加入 其中,types是自己延伸的一些declare 下面的 ...
分类:
其他好文 时间:
2020-06-29 09:54:22
阅读次数:
74
1 Position Find(BinTree BST, ElementType X) { 2 if (!BST) return NULL;//查找失败 3 if (X > BST->Data) return Find(X, BST->Right);//在右子树中继续 4 else if (X < ...
分类:
其他好文 时间:
2020-06-29 00:32:28
阅读次数:
93
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, given the fo ...
分类:
其他好文 时间:
2020-06-29 00:18:05
阅读次数:
56
题目链接: 原题:http://codeforces.com/problemset/problem/1070/A 翻译过的训练题:https://vjudge.net/contest/361183#problem/A 题目大意: 给你两个正整数p和x,让你求出最小的正整数m,满足m被p整除且m的各数 ...
分类:
其他好文 时间:
2020-06-28 20:38:58
阅读次数:
51