一、创建 docker create:创建容器,处于停止状态。 centos:latest:centos容器:最新版本(也可以指定具体的版本号)。本地有就使用本地镜像,没有则从远程镜像库拉取。创建成功后会返回一个容器的ID。docker run:创建并启动容器。交互型容器:运行在前台,容器中使用ex
转载
2021-07-09 16:13:22
119阅读
Screen cheatsheet
转载
2011-07-08 13:23:39
292阅读
Comprehensive Python Cheatsheet =============================== "Download text file" , "Buy PDF" , "Fork me on GitHub" or "Check out FAQ" . Contents 1
原创
2022-06-07 23:29:26
278阅读
Python sys Variables 变量 说明 argv Command line args builtin_module_names Linked C modules byteorder Native byte order exec_prefix Root directory executable Na...
原创
2022-02-17 15:38:41
200阅读
import random 1、seed() 种子,默认种子是系统时钟 2、random()函数,生成0到1的随机小数 3、uniform(a,b)生成a到b的随机小数 4、randint(a,b)生成一个a到b的随即整数 5、randrange(a,b,c) 生成一个a到b,以c递增的数 6、ch
原创
2021-07-09 09:32:17
171阅读
TensorFlow Docker requirements Note: To run the docker command without sudo, create the docker group and add your user. For details, see the post-inst
原创
2021-07-15 15:53:18
231阅读
Python sys Variables 变量 说明 argv Command line args builtin_module_names Linked C modules byteorder Native byte order exec_prefix Root directory executable Na...
原创
2021-07-12 10:53:17
165阅读
Javascript Cheatsheet有许多方法可以解决JavaScript和Odoo中的问题。 但是,Odoo框架被设计为可扩展(这是一个非常大的约束),并且一些常见问题有一个很好的标准解决方案。 标准解决方案可能具有易于理解的odoo开发人员的优势,并且可能会在修改Odoo时继续工作。本文档试图解释解决其中一些问题的方法。 请注意,这不是参考。 这只是一个随机的菜单集合,或者在某些情况下如
转载
2024-06-24 05:51:22
54阅读
Mongo cheatsheet:
JSON-style documents with dynamic schemas offer simplicity and power.
>show dbs;
>show collections
>db.createCollection("mycoll", {capp
原创
2012-03-29 21:29:43
644阅读
点赞
SHORTCUTSKey/Command Description Ctrl + A Go to the beginning of the line you are currently typing on Ctrl + E Go to the end of the line you are currently typing ...
原创
2023-05-05 14:26:14
91阅读
使用docker搭建steam饥荒服务器本教程主要是基于我在GitHub上的小项目https://github.com/LaiQE/Dont-Starve-Together-Docker-Cluster,实现了使用docker在服务器上一键搭建饥荒服务器,并支持mod。 steam上的饥荒联机受到房主网速的影响,房主网不好的时候就经常卡,手里又有一个阿里云学生机,就趁着五一休息,写了一个在Linu
转载
2023-08-22 14:25:29
66阅读
pdf 版本 https://www.jrebel.com/system/files/maven-cheat-sheet.pdf April 19, 2017(MVN) Maven Options Cheat SheetJava ToolsJava Application DevelopmentIn this article, we continue ou
转载
2022-09-24 01:31:44
227阅读
Python 速查表中文版 本手册是 Python cheat sheet 的中文翻译版。原作者:Arianne Colton and Sean Chen(data.scientist.info@gmail.com) 编译:
翻译
2024-09-14 15:58:32
154阅读
el.com/system/files/maven-cheat-sheet.pdf April 19, 2017 (MVN) Maven Options C
转载
2022-09-24 01:32:50
28阅读
#################### 系统命令 #################### system-view sysname display current-configuration undo info-center enable description TO-R1-E0/0/1 #################### PC的IP ####################...
原创
2021-07-16 16:49:06
158阅读
# 如何实现“Python Cheatsheet从入门到实践”
Python 是一种强大而灵活的编程语言,适合用于各种项目。对于初学者而言,学习并掌握 Python 非常重要。在这篇文章中,我们将逐步构建一个 Python Cheatsheet,通过这个过程掌握基础知识,并了解如何在实践中使用 Python。
## 整体流程
以下是实现 Python Cheatsheet 的流程概述:
|
原创
2024-09-10 07:10:29
92阅读
//www.jrebel.com/system/files/java-generics-cheat-sheet.pdf December 1, 2016 Java
转载
2022-09-24 01:31:37
53阅读
1、URL: https://html5sec.org/ 2、通过点击如图button(也可点击其他:xss firefox)那行的button可以搜索所有button的Cheatsheet,查看都有哪些button是存在问题的;通过点击Safari Latest可以查看最新的Safari浏览器存在
转载
2016-08-02 10:55:00
93阅读
2评论
卸载Docker# 较旧版本的Docker被称为docker或docker-engine。
# 如果已安装这些,请卸载它们以及相关的依赖项。
# 卸载Docker包
$ sudo yum remove -y docker \
docker-client \
docker-client-latest \
转载
2023-08-04 15:26:38
30阅读
>>> st='hello kitty {name} is {age}' >>> print(st) hello kitty {name} is {age} >>> print(st.count('l')) # 统计元素个数 2 >>> print(st.capitalize()) # 首字母大写
原创
2021-07-08 17:32:25
262阅读