零.docker常用命令 ~~~yml 镜像名 版本标签 镜像id 创建时间 镜像大小 REPOSITORY TAG IMAGE ID CREATED SIZE hello world latest fce289e99eb9 6 months ago 1.84kB ~~~ ~~~yml docker ...
分类:
其他好文 时间:
2020-02-22 12:16:23
阅读次数:
83
源程序: #include<iostream> #include<iomanip> #include<string> using namespace std; string Months[13] = { "","Jan","Feb","Mar","Apr","May","Jun","Jul","Au ...
分类:
其他好文 时间:
2020-01-27 17:01:56
阅读次数:
75
一、搜索镜像的两种方式1.1网页搜索https://hub.docker.com/search?q=&type=image1.2 命令搜索二、使用国内源加速由于国外源下载慢,使用国内源加速。curl -sSL https://get.daocloud.io/daotools/set_mirror.s... ...
分类:
其他好文 时间:
2020-01-25 11:47:44
阅读次数:
769
其他常用查询 https://www.cnblogs.com/luxd/p/9916677.html 1、查询当前时间 年月日时分秒 mysql> select now(); + + | now() | + + | 2018-03-19 23:12:52 | + + 2、查询当前时间 前三小时 的时 ...
分类:
数据库 时间:
2020-01-20 12:36:41
阅读次数:
100
// java时间获取类 public class DateUtil { // 获取当前时间 public static Date getNowTime() { Calendar calendar = Calendar.getInstance(); return calendar.getTime() ...
分类:
编程语言 时间:
2020-01-19 09:43:30
阅读次数:
112
joda time 在开始学习jdk8.time之前,先接触一下joda time。 example: Java中日期时间的api Java8中的所有时间都是不可变的,确保了线程安全。 没有必要去研究源代码。会用就可以了。省下时间去学习更重要,更有价值的事情上。 Java8的回顾和复盘 总共50节课 ...
分类:
编程语言 时间:
2020-01-11 14:59:32
阅读次数:
143
本文主要介绍了单master的k8s集群的部署,如果部署多个master,通过kubeadm join命令加上参数--experimental-control-plane即可,如果未添加此参数,默认是join的node节点,而非master节点
分类:
其他好文 时间:
2020-01-11 10:10:08
阅读次数:
449
【C 风格的转换】 将要转换的数据类型放在括号中,位于值要转换的操作数的前面。因为类型转换运算符在操作数前面,所以这种类型转换表示法被称为前缀表示法, 示例如下: booksPerMonth = (double)books / months; 【预标准 C++ 形式类型强制转换】 表达式也是将要转换 ...
分类:
其他好文 时间:
2019-12-31 12:42:46
阅读次数:
97
接口声明的三种形式 抛出一切形式的异常 void freeobj(mycoach &t) { if (t.age < 16) { cout <<"精神可嘉~但还是年龄太小" <<endl; throw t.age; } if (t.months <= 12) { cout << "精神可嘉~再练一段 ...
分类:
编程语言 时间:
2019-12-22 20:26:12
阅读次数:
107
Can't generate API documentation in l5-swagger Ask Question Asked 3 months ago Active 1 month ago Viewed 286 times 0 I'm starting to study swagger. I' ...