上一页 1 2 3 4 5 6 7 ··· 21 下一页
摘要: 1 Install Chrome 基于 Google Chrome 79.0.3945.88 版本 $ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb $ sudo dpkg -i goog 阅读全文
posted @ 2021-02-10 10:35 Cool· 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 1. 查看python 对应的版本 ll /usr/local/bin/python 查看python3 对应的版本 ll /usr/local/bin/python3 2.删除python软链接文件 rm -rf python33.重新创建软连接 ln -s /usr/local/bin/pyth 阅读全文
posted @ 2021-01-20 13:52 Cool· 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 背景: Debug: 发现在request参数的内存地址与 self.request属性地址是一样 猜想: request 是个可变对象 查询资料及请教同事: 不可变(immutable)对象类型 int float decimal complex bool str tuple range froz 阅读全文
posted @ 2020-11-16 14:00 Cool· 阅读(658) 评论(0) 推荐(0) 编辑
摘要: 删除前先解除 id 对该序列的依赖 ALTER TABLE tablename ALTER COLUMN id SET DEFAULT null; DROP SEQUENCE IF EXISTS sequence_name; id_max 即 id 目前的最大值,可写为1,可通过 “SELECT M 阅读全文
posted @ 2020-11-10 10:08 Cool· 阅读(1437) 评论(0) 推荐(0) 编辑
摘要: 非常有质量的一篇文章,转发 https://cloud.tencent.com/developer/article/1426211 阅读全文
posted @ 2020-10-15 16:05 Cool· 阅读(1030) 评论(0) 推荐(0) 编辑
摘要: docker 如何删除none镜像 $ docker images $ docker rmi $(docker images | grep "none" | awk '{print $3}') 如报错了。提示先停止容器。 $ docker stop $(docker ps -a | grep "Ex 阅读全文
posted @ 2020-04-21 16:35 Cool· 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-04-13 16:47 Cool· 阅读(389) 评论(0) 推荐(0) 编辑
摘要: 新建网络 下面先创建一个新的 Docker 网络。 docker network create -d bridge test-net 参数说明: -d:参数指定 Docker 网络类型,有 bridge、overlay。 其中 overlay 网络类型用于 Swarm mode,在本小节中你可以忽略 阅读全文
posted @ 2020-02-12 14:24 Cool· 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 查找镜像 1.我们可以从 Docker Hub 网站来搜索镜像,Docker Hub 网址为https://hub.docker.com/ 2.我们也可以使用 docker search 命令来搜索镜像。比如我们需要一个 httpd 的镜像来作为我们的 web 服务。我们可以通过 docker se 阅读全文
posted @ 2020-02-12 14:10 Cool· 阅读(163) 评论(0) 推荐(0) 编辑
摘要: docker: 从docker图标可以看到是一个鲸鱼背着很多像集装箱一样的东西,每一个集装箱里面装的就是我们写的代码及运行环境,无论把集装箱放到哪里,都可以直接使用运行 教程:Docker 是一个开源的应用容器引擎,基于 Go 语言 并遵从 Apache2.0 协议开源。容器是完全使用沙箱机制,更重 阅读全文
posted @ 2020-02-11 17:43 Cool· 阅读(208) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 21 下一页