2020年8月16日

docker 基础命令总结

摘要: ## 基本操作### 镜像管理#### 搜索镜像> docker search 镜像名 #### 获取镜像> docker pull 镜像名#### 查看本地镜像> docker images 镜像名#### 修改tag 包括镜像名> docker tag 镜像名:tag 新镜像名:tag##### 或者> docker tag IMAGEID 新镜像名:tag#### 查看镜像制作历程> doc... 阅读全文

posted @ 2020-08-16 16:48 janus1345 阅读(146) 评论(0) 推荐(0) 编辑

2018年6月19日

进程&&线程

摘要: 进程和线程 进程 定义:进程就是一个程序在一个数据集上的一次动态执行过程 程序、数据集、进程控制块 数据集: 进程控制块: 线程 线程: python的GIL python的GIL threading的两种调度方法 threading的两种调度方法 直接调用: 继承调用: join和setDaemo 阅读全文

posted @ 2018-06-19 18:22 janus1345 阅读(169) 评论(0) 推荐(0) 编辑

2018年6月11日

[编程题]福尔摩斯的约会 (20)

摘要: 链接:https://www.nowcoder.com/questionTerminal/7335f56d49e946c2a7cd2a93661b293b来源:牛客网大侦探福尔摩斯接到一张奇怪的字条:“我们约会吧! 3485djDkxh4hhGE 2984akDfkkkkggEdsb s&hgsfd 阅读全文

posted @ 2018-06-11 20:21 janus1345 阅读(175) 评论(0) 推荐(1) 编辑

2018年5月7日

面向对象————类的创建过程 metaclass

摘要: 流程图: 阅读全文

posted @ 2018-05-07 17:24 janus1345 阅读(93) 评论(0) 推荐(0) 编辑

2018年5月1日

RE正则

摘要: 常用正则表达式: 1 '.' 默认匹配除\n之外的任意一个字符,若指定flag DOTALL,则匹配任意字符,包括换行 2 '^' 匹配字符开头,若指定flags MULTILINE,这种也可以匹配上(r"^a","\nabc\neee",flags=re.MULTILINE) 3 '$' 匹配字符 阅读全文

posted @ 2018-05-01 20:08 janus1345 阅读(133) 评论(0) 推荐(0) 编辑

导航