dremio 多集群共享zk 配置有些问题,官方说明不是很明确,而且从运行测试会有一些问题,以下是一个整理 配置 配置 zookeeper: "<host1>:2181,<host2>:2181,<host3>:2181/path/to/dremio" 说明 注意zk root 需要写在后边,而且需 ...
分类:
其他好文 时间:
2021-06-24 17:56:09
阅读次数:
0
1.sdk:搭配android studio 安装 2.appium desktop 安装 Android命令 adb logcat adb logcat | grep -i xueqiu过滤特定app数据 adb logcat | grep -i xueqiu | les 缩小过滤范围 ...
分类:
移动开发 时间:
2021-06-24 17:53:34
阅读次数:
0
使用Android studio自带的profiler功能生成trace文件 分析profiler生成trace文件 有时需要分析app冷启动时间耗时情况,单独使用profiler功能生成trace文件就有点不好操作,可以借助代码生成trace文件,然后再通过profiler功能进行分析 //开始t ...
分类:
移动开发 时间:
2021-06-24 17:49:12
阅读次数:
0
QFile file("E:\\community.txt"); QTextStream in(&file); in.setCodec(QTextCodec::codecForName("UTF-8"));//让文件以UTF-8的方式译码。 if(!file.open(QIODevice::Read ...
分类:
其他好文 时间:
2021-06-24 17:42:59
阅读次数:
0
使用gist检测恶意文件的代码——TODO,看实际效果 import os import scipy import array filename = '<Malware_File_Name_Here>'; f = open(filename,'rb'); ln = os.path.getsize(f ...
分类:
编程语言 时间:
2021-06-23 17:17:51
阅读次数:
0
前言 httprunner 3.x可以支持正则匹配断言,使用assert_regex_match方法 assert_regex_match assert_regex_match 源码如下 def assert_regex_match( self, jmes_path: Text, expected_ ...
分类:
Web程序 时间:
2021-06-23 17:08:14
阅读次数:
0
在自动化测试中,一个测试用例对应一个测试点,通常一组测试数据无法完全覆盖测试范围,所以,需要参数化来传递多组数据。 将每个用例及对应需要输入的参数都保存在excel表的每一行里,执行用例时循环取出每组数据就可以了。 测试用例如下: operation_excel.py import xlrd fro ...
分类:
编程语言 时间:
2021-06-22 18:32:26
阅读次数:
0
import android.annotation.TargetApi; import android.content.Context; import android.content.res.TypedArray; import android.os.Build; import android.ut ...
分类:
移动开发 时间:
2021-06-22 17:57:53
阅读次数:
0
1.安装编码依赖包 nginx在linux安装的前提需要:wget、gcc、pcre、openssl、zlib [root@master ~]# yum -y install gcc gcc-c++ [root@master ~]# yum install -y pcre pcre-devel [r ...
分类:
其他好文 时间:
2021-06-21 21:09:19
阅读次数:
0
今天完成了昨天的初步构想,详细介绍见上一篇博客,具体项目结构和案例如下: MainActivity.java: package com.example.familybooks; import android.os.Bundle; import android.provider.ContactsCon ...
分类:
移动开发 时间:
2021-06-21 20:51:37
阅读次数:
0