#使元素高亮def highlight_element(driver, element): driver.execute_script("arguments[0].setAttribute('style',arguments[1]);",element,"background:green ;bord ...
生命太短暂,不要去做一些根本没有人想要的东西。本文已被 https://www.yourbatman.cn 收录,里面一并有Spring技术栈、MyBatis、JVM、中间件等小而美的专栏供以免费学习。关注公众号【BAT的乌托邦】逐个击破,深入掌握,拒绝浅尝辄止。 前言 各位小伙伴大家好,我是A哥。 ...
分类:
其他好文 时间:
2020-07-18 11:24:12
阅读次数:
254
python脚本引用jenkins的选项参数 1.Jenkins-插件管理,下载安装插件(Python Plugin 和 Python Wrapper Plugin) 2.新建Job 3.选择参数化构建过程 (添加参数:文本参数和字符参数) 4.增加构建步骤-Execute Python scrip ...
分类:
编程语言 时间:
2020-07-18 00:51:16
阅读次数:
98
Nova服务运维 Nova中的安全组只是对进入虚拟机的流量加以控制,对虚拟机外出流量没有加以限制 (1)常用的安全组命令。 # nova secgroup-create 功能:创建安全组。 创建一个名为test的安全组,描述为'test the nova command about the rule ...
分类:
其他好文 时间:
2020-07-17 19:53:59
阅读次数:
163
在网上找了好多,试了都报错,最后发现直接用sysdate可以直接插入 1 cursor.execute("insert into px_jobtype (id, name, classify_id,create_user_id,create_user_name,create_time) values ...
分类:
数据库 时间:
2020-07-17 11:41:07
阅读次数:
101
通过归档日志定期增量同步数据实验: 一、再次实验从归档持续同步的方式:1.修改主库,开启归档,将日志归档到从库:archive_mode = onarchive_command = 'ssh 192.168.5.133 test ! -f /home/kingbase/test_fy/archive ...
分类:
数据库 时间:
2020-07-16 21:43:19
阅读次数:
166
详细错误: 1 gyp ERR! find Python 2 gyp ERR! find Python Python is not set from command line or npm configuration 3 gyp ERR! find Python Python is not set ...
分类:
编程语言 时间:
2020-07-16 12:28:08
阅读次数:
312
后台不挂断运行程序: nohup your_command & 同时指定输出日志文件并将错误重定向到标准输出: nohup your_command > your_out.file 2>&1 & 查看进程 ps -ef | grep "your_command" 杀死进程 kill -9 your_ ...
分类:
系统相关 时间:
2020-07-16 10:15:38
阅读次数:
95
#coding=utf-8 import sys,os ,shutil import struct import glob import time import subprocess def process_audio(file_name,to_file): command='ffmpeg -i { ...
分类:
其他好文 时间:
2020-07-16 00:27:27
阅读次数:
119
背景 目前 机器学习平台 后端采用k8s架构进行GPU和CPU资源的调度和容器编排。总所周知,k8s的后端核心存储使用etcd进行metadata持久化存储。机器学习平台采取[External etcd topology](http://way.xiaojukeji.com/article/Exte ...
分类:
其他好文 时间:
2020-07-15 23:14:34
阅读次数:
90