单条件查询: db.getCollection('task').find({"id": "dc717654-dc45-4bf9-8e8a-1f1b146d6524"}) 单条件查询(属性为叶子节点) db.getCollection('archive_result').find({"results. ...
分类:
数据库 时间:
2020-07-01 16:06:36
阅读次数:
84
HTML元素定位的方法: 1、id find_element_by_id 2、name find_element_by_name 3、class find_element_by_class_name 4、tag find_element_by_tag_name 5、link find_element ...
分类:
其他好文 时间:
2020-07-01 15:45:25
阅读次数:
67
hiredis 的应用程序出错。 ./example-libevent: error while loading shared libraries: libhiredis.so.0.14: cannot open shared object file: No such file or directo ...
分类:
其他好文 时间:
2020-07-01 13:03:53
阅读次数:
97
今天学习了一下Hive的自定义函数,于是乎想练习一下在本地编写一个自定义的函数,然后打包上传到集群,再进行执行的过程。但是中间遇到了一些小挫折,就是当我打包的时候,除了导入正常所需要的org.apache.hive包之外,并没导入其他的包。但是开始打包以后,报错了,报错信息如下: Could not ...
分类:
编程语言 时间:
2020-07-01 11:03:18
阅读次数:
199
需要找到某天(例如2020-07-1)以及这之后生成的空文件。那么这个要怎么处理呢?这个当然是用find命令来解决。如下所示, -mtime -5表示查找距现在5*24H内修改过的文件 -type f表示查找文件 -type f -empty表示空文件 由于需要以显示修改时间等文件信息,所以使用-e ...
分类:
其他好文 时间:
2020-07-01 09:52:01
阅读次数:
62
一.配置ssh 1.检查本机是否有ssh key设置 如果没有则提示: No such file or directory如果有则进入~/.ssh路径下(ls查看当前路径文件,rm删除所有文件) 2.使用Git Bash生成新的ssh key $ cd ~ #保证当前路径在”~”下 $ ssh-ke ...
分类:
其他好文 时间:
2020-07-01 00:07:34
阅读次数:
73
何为set set是STL中的一种关联容器,里面的元素根据关键字存储。set的元素都是唯一的,没有重复元素,我们可以利用这个特点进行去重的操作; set中常用的方法 函数名 作用 clear 清除内容 insert 插入元素或节点 emplace 原位构造元素 erase 移除元素 swap 交换内 ...
分类:
编程语言 时间:
2020-06-30 20:34:41
阅读次数:
160
git config --list List all the settings git can find at /etc/gitconfig, ~/.gitconfig, ~/.config/git/config or .git/config. git config --system --list ...
分类:
其他好文 时间:
2020-06-30 16:03:38
阅读次数:
57
例子:国际化语言切换xp = '//*[@id="app"]/div/div[1]/div/div/div[1]/div[2]/div/div/div[2]/span' #先点击下拉按钮语言框 element2 = self.driver.find_element_by_xpath(xp) #定位语 ...
分类:
其他好文 时间:
2020-06-30 14:33:49
阅读次数:
57
Sub 提取红色正确答案选项() Selection.HomeKey wdStory Selection.Find.ClearFormatting Selection.Find.Font.Color = wdColorRed Selection.Find.Replacement.ClearForma ...
分类:
编程语言 时间:
2020-06-30 12:48:07
阅读次数:
132