04 2020 档案

摘要:![](https://img2020.cnblogs.com/blog/1853305/202004/1853305-20200413152508793-36962702.png) 阅读全文
posted @ 2020-04-13 15:26 GhostAnt 阅读(110) 评论(0) 推荐(0)
摘要:```python ''' 对于有符号数而言: 1.二进制的最高位是符号位,0表示整数,1表示负数 2.正数的原码、反码、补码都一样(三码合一) 3.负数的反码=它的原码符号位不变,其他位取反 4.负数的补码=它的反码+1 5.0的反码补码都是0 6.计算机运算的时候,都是以补码的方式来运算的。 ''' ``` ```python ''' > 二进制右移运算符。将一个数的各二进制位全部右移若干位, 阅读全文
posted @ 2020-04-13 15:24 GhostAnt 阅读(166) 评论(0) 推荐(0)
摘要:```html 1.下面这段代码的输出结果是什么,并给出你的解释 def index(): return [lambda x : i * x for i in range(4)] print([m(2) for m in index()]) 2.有一个列表[3,4,1,2,5,6,6,5,4,3,3]请写出一个函数,找出该列表中没有重复的数的总和 3.什么是函数的递归调用?书写递归函数需要注意什么 阅读全文
posted @ 2020-04-13 15:19 GhostAnt 阅读(139) 评论(0) 推荐(0)
摘要:python 代码形式(3.6) conn=pymysql.connect( host=’127.0.0.1’, port=3306, user=’root’, passwd=’343434’, db=’kmind8’, charset=’utf8mb4’, ) mysql字符编码的问题,将表编码类 阅读全文
posted @ 2020-04-10 20:09 GhostAnt 阅读(803) 评论(0) 推荐(0)
摘要:验证码破解平台 阅读全文
posted @ 2020-04-08 19:34 GhostAnt 阅读(768) 评论(0) 推荐(0)
摘要:BS4的使用 查找文档树 阅读全文
posted @ 2020-04-08 19:33 GhostAnt 阅读(138) 评论(0) 推荐(0)
摘要:![](https://gitee.com/cyan_yyh/blogimage/raw/master/img/20200402145011.png) 阅读全文
posted @ 2020-04-08 12:44 GhostAnt 阅读(147) 评论(0) 推荐(0)
摘要:mysql安装使用 redis安装使用 阅读全文
posted @ 2020-04-08 12:43 GhostAnt 阅读(142) 评论(0) 推荐(0)
摘要:DockerFile 一、什么是dockerfile 二、dockerfile构建过程解析 小总结 三、dockerfile体系结构(保留字指令) 四、案例操作 1.创建一个centos镜像,默认工作路径为/tmp,并自带vim编辑器和ifconfig 2.CMD和ENTRYPOINT比较 阅读全文
posted @ 2020-04-08 12:42 GhostAnt 阅读(168) 评论(0) 推荐(0)
摘要:docker容器数据卷 一、什么是docker容器数据卷 二、数据卷的功能 三、容器卷的创建 1.命令直接添加 2.查看数据卷是否挂载成功 3.带权限的创建数据卷 三、dockerfile添加容器卷 1.根目录下新建mydocker文件夹并进入 2.可在dockerfile中使用volume指令来给 阅读全文
posted @ 2020-04-08 12:41 GhostAnt 阅读(151) 评论(0) 推荐(0)
摘要:docker镜像原理 UnionFS docker镜像加载原理 docker镜像使用这种分层结构的好处 特点 docker镜像的commit操作 阅读全文
posted @ 2020-04-08 12:39 GhostAnt 阅读(234) 评论(0) 推荐(0)
摘要:帮助命令 镜像命令 容器命令 命令总结 阅读全文
posted @ 2020-04-01 20:50 GhostAnt 阅读(167) 评论(0) 推荐(0)
摘要:一、docker出现的背景 二、以前的虚拟化技术比较 docker架构 普通虚拟化技术 阅读全文
posted @ 2020-04-01 19:58 GhostAnt 阅读(169) 评论(0) 推荐(0)