批量操作Tomcat Shell脚本 #!/bin/bash tom="/opt/ronghelist" product=$1 usage="{gongcheng1|all} {start|stop|restart|status}" if [ "$1" == "" -o "$2" == "" ];t ...
分类:
系统相关 时间:
2020-12-08 12:39:01
阅读次数:
9
#GET my_store/_search{ "query": { "match_all": {} }}#添加索引PUT /test2{ "mappings": { "properties": { "name":{ "type": "text" }, "age":{ "type": "long" } ...
分类:
其他好文 时间:
2020-12-08 12:13:35
阅读次数:
4
import time, threading, copy import win32api, win32con import win32gui import win32gui def zhaojb(aa): mu=0 jh=[] hwnd_title = dict() def get_all_hwnd ...
分类:
编程语言 时间:
2020-12-07 12:31:48
阅读次数:
6
##1、--list-hosts # 查看所有配置主机 ansible all --list-hosts #查看tt主机组主机 ansible tt --list-hosts ##2、shell模块 语法: ansible [主机组] -m shell -a '[参数]' 注:复杂命令会有出错得可能 ...
分类:
其他好文 时间:
2020-12-04 11:29:42
阅读次数:
5
一、理论 并查集的定义: 并查集是一种树型的数据结构,用于处理一些不交集的合并和查询问题。一般用数组实现。 Find:确定元素属于哪一个子集,它可以被用来确定两个元素是否属于同一个子集。 Union:将两个子集合并成同一个集合。 并查集的优化: 优化1: 降低rank,提高查询效率。合并时要考虑ra ...
分类:
其他好文 时间:
2020-12-04 11:19:39
阅读次数:
6
目录 jieba 分词 ''' 函数 jieba.cut(sentence, cut_all=False) 参数 sentence为待分词的字符串 cut_all为是否为全模式 返回指 生成器 ''' import jieba sentence = "我考上了清华大学" seg_list = jie ...
分类:
编程语言 时间:
2020-12-04 11:19:10
阅读次数:
7
按位使用数据以及union 例如:typedef union tagData{ long x:2; long y:4; long data;}data_item,*pdata_item; 上述是一个联合体,联合体的对象用的空间是类型中占用内存最大的哪个,例如上例中data_item变量占用4个字节。 ...
分类:
其他好文 时间:
2020-12-04 11:18:07
阅读次数:
7
在企业的应用场景中,为了知道优化SQL语句的执行,需要查看SQL语句的具体执行过程,以加快SQL语句的执行效率。 ...
分类:
数据库 时间:
2020-12-04 11:00:54
阅读次数:
7
tensorflow版本:1.15.0 tf.summary.scalar,tf.summary.histogram,tf.summary.merge_all,tf.summary.merge,tf.summary.FileWriter,writer.add_summary用法简单演示! impor ...
分类:
其他好文 时间:
2020-12-03 11:45:54
阅读次数:
4
Test Vehicle Model: Ford Ranger 2020 Programming: All Key Lost, Add a New Smart Key Tool Required: Autel IM508 and XP200 Ford Ranger 2020 Add Smart Ke ...
分类:
其他好文 时间:
2020-12-01 12:36:12
阅读次数:
8