上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 42 下一页
摘要: 引用自:https://blog.csdn.net/dream_broken/article/details/53115770 阅读全文
posted @ 2018-06-22 16:12 Presley 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 一、$(cmd) a=$(cmd) 将括号中的命令结果赋值给a 二、${} a=123 echo "wohaoshuai${a}" 阅读全文
posted @ 2018-06-22 10:30 Presley 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/pugu12/article/details/51564857 1. set -eset命令的-e参数,linux自带的说明如下:"Exit immediately if a simple command exits with a non-zero 阅读全文
posted @ 2018-06-22 10:07 Presley 阅读(924) 评论(0) 推荐(0) 编辑
摘要: 一、rz:上传 二、sz:下载 阅读全文
posted @ 2018-06-22 09:27 Presley 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.linuxidc.com/Linux/2015-05/117774.htm 一、history 78 cd /mnt/ 79 ls 80 cd / 81 history 82 ls 83 ls /mnt/ !78 相当于执行cd /mnt !-6 也相当于执行cd /m 阅读全文
posted @ 2018-06-22 09:25 Presley 阅读(111) 评论(0) 推荐(0) 编辑
摘要: kubernetes创建pod的yaml文件,参数说明 apiVersion: v1 #指定api版本,此值必须在kubectl apiversion中 kind: Pod #指定创建资源的角色/类型 metadata: #资源的元数据/属性 name: web04-pod #资源的名字,在同一个n 阅读全文
posted @ 2018-06-21 16:56 Presley 阅读(1751) 评论(0) 推荐(0) 编辑
摘要: 一、引用自:https://www.cnblogs.com/gaoyuechen/p/8685771.html#_label6 二、安装过程中docker 坑 转自:https://blog.csdn.net/youjin/article/details/80015377 阅读全文
posted @ 2018-06-21 14:52 Presley 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 一、一个函数调用时返回一个迭代器,那么这个函数就叫做生成器,如果函数中包含yield语法,那么这个函数就会变成生成器。 二、#生成器可以在函数执行的时候干其它事情,函数依然保持中断状态,为异步请求 <class 'generator'> 400 又来取钱啦 300 我好帅 又来取钱啦 200 又来取 阅读全文
posted @ 2018-06-20 22:16 Presley 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/gaoyuechen/p/8685771.html 阅读全文
posted @ 2018-06-20 16:46 Presley 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/zyc88888/article/details/79281954 阅读全文
posted @ 2018-06-20 15:38 Presley 阅读(163) 评论(0) 推荐(0) 编辑
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 42 下一页