Sub 提取红色正确答案选项() Selection.HomeKey wdStory Selection.Find.ClearFormatting Selection.Find.Font.Color = wdColorRed Selection.Find.Replacement.ClearForma ...
分类:
编程语言 时间:
2020-06-30 12:48:07
阅读次数:
132
最近再做spring junit 做单元测试中,报 Failed to load ApplicationContext 错误。 import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.bea ...
分类:
移动开发 时间:
2020-06-30 12:38:56
阅读次数:
60
1.通过配置文件确认zabbix关联的数据库信息 #find / -name zabbix_server.conf 查看管理数据库,密码,IP 2.登录数据库修改 #mysql -uzabbix -pzabbix >select user(); 查看当前用户 >show databases; >us ...
分类:
其他好文 时间:
2020-06-30 12:36:12
阅读次数:
43
想利用 service mysql start 启动mysql数据库,但是发现出现错误: Failed to start mysql.service: Unit not found. 1、查询/etc/init.d/下是否存在mysql ll /etc/init.d/ | grep mysql 发现 ...
分类:
数据库 时间:
2020-06-30 11:00:02
阅读次数:
154
/usr/include/eigen3/Eigen/src/Core/util/StaticAssert.h:32: error: static assertion failed: YOU_MIXED_MATRICES_OF_DIFFERENT_SIZES #define EIGEN_STATIC_ ...
分类:
编程语言 时间:
2020-06-30 10:51:31
阅读次数:
95
Setup script exited with error: command 'gcc' failed with exit status 1 由于没有正确安装Python开发环境导致。 Debin/Ubuntu Python2sudo apt-get install python-dev Pyth ...
分类:
其他好文 时间:
2020-06-30 10:34:36
阅读次数:
284
题目链接: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