正则表达式 字符相关 匹配文中的指定字符串 import re text = "我一把把把把住了,tom差点就掉下去了,tom得救了" data_list = re.findall('tom',text) print(data_list) ['tom', 'tom'] [abc]匹配单一字符a或b或 ...
分类:
编程语言 时间:
2021-01-13 11:02:54
阅读次数:
0
原文链接 -http://www.xianxianlabs.com/blog/2020/05/27/355.html ...
分类:
数据库 时间:
2021-01-13 10:30:39
阅读次数:
0
###链接 调了好久。。。 我平常写平衡树时 \(push\) \(tag\) 的操作都习惯把 \(rev\) 数组清零,但在 \(LCT\) 中不行,因为 \(rev\) 储存了节点间的父子关系,直接清零会改变树的结构。 \(\frak{code}\) #include<bits/stdc++.h ...
分类:
其他好文 时间:
2021-01-12 11:26:50
阅读次数:
0
前排 本文参考-使用Docker安装IK中文分词器 前提 es已经启动 安装ik分词器 ##第一步 下载ik分词器 ik分词器官方下载地址 下载比较慢 这里提供一下 ik7.10.1下载链接 下载对应自己es的ik分词器 第二步 上传ik分词器到服务器 新建文件夹 mkdir -p /data/el ...
分类:
其他好文 时间:
2021-01-11 11:28:47
阅读次数:
0
一、镜像操作 1)构建镜像 docker build -t REPOSITORY:TAG . 注意最后一个点[.]不能缺少,生成完:runoob/centos为REPOSITORY,6.7为TAG 2)获取镜像 sudo docker pull REPOSITORY[:TAG] 3)为镜像打个标签 ...
分类:
其他好文 时间:
2021-01-11 11:04:35
阅读次数:
0
清除未使用的卷 「How To Remove Docker Containers, Images, Volumes, and Networks」 清除没有使用的卷:docker system prune --volumes 从镜像中还原Dockerfile文件 -「How to generate a ...
分类:
其他好文 时间:
2021-01-11 11:04:04
阅读次数:
0
package main import ( "fmt" "reflect" ) type Reflect struct { Name string `json:"name" test:"tag"` PassWord string Three int } func (m Reflect)Hello(v ...
分类:
其他好文 时间:
2021-01-07 12:35:17
阅读次数:
0
拉取nexus3镜像 [root@server-04 ~]# docker pull docker.io/sonatype/nexus3 查看镜像 [root@server-04 ~]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE sonat ...
分类:
其他好文 时间:
2021-01-07 12:09:23
阅读次数:
0
django入门到精通⑥消息管理器的升级处理,对关键词进行过滤示例# 安装分词工具(python37_django2) D:\python\message_test>pip install jieba 设置message_test/settings.py 1.自定义分词工具app/templatet ...
分类:
其他好文 时间:
2021-01-07 12:05:08
阅读次数:
0
将本地 tag 标签推送到远程: git push origin v0.1.0 当分支名与 tag 标签名相同时, 会出现无法推送指定标签的问题: error: src refspec v0.1.0 matches more than one. 尝试使用以下命令: git push origin r ...
分类:
其他好文 时间:
2021-01-07 11:55:33
阅读次数:
0