官网链接 https://kubernetes.io/zh/docs/reference/kubectl/overview/#%e8%af%ad%e6%b3%95 概述:kubectl是一个命令行接口,用于对kubernetes集群运行命令。 kubect命令行 语法结构 kubetctl [com ...
分类:
Web程序 时间:
2020-01-31 14:17:35
阅读次数:
186
array是stl最简单的模板,其在c++lib中定义如下: template<typename _Tp, std::size_t _Nm> struct array { typedef _Tp value_type; //为类定义别名 typedef value_type& reference; ...
分类:
其他好文 时间:
2020-01-30 23:17:16
阅读次数:
105
1. 单例模式DCL写法 单例设计模式中,有一种双重检查锁的写法, 也就是所谓的懒汉式 class Single{ private static Single sSingle; private Single() {} public static Single getInstance() { if(s ...
分类:
编程语言 时间:
2020-01-30 19:18:28
阅读次数:
92
名称空间 using编译指令 名称空间是用来区分不同库的相同函数名,仅当引用头文件没有.h时使用名称空间。 变量的声明 定义声明(defining declaration) 声明即定义,在同一个文件 引用声明(reference declaration) A文件声明,B文件定义 ...
分类:
编程语言 时间:
2020-01-30 17:01:39
阅读次数:
61
Given a binary search tree and a node in it, find the in-order successor of that node in the BST. The successor of a node p is the node with the small ...
分类:
其他好文 时间:
2020-01-30 12:39:54
阅读次数:
54
Java运算符 算术运算符 关系运算符 位运算符 逻辑运算符 赋值运算符 其他运算符 算术运算符 关系运算符 位运算符 逻辑运算符 主要用于boolean判断??? 短路逻辑运算符 当使用与逻辑运算符时,在两个操作数都为true时,结果才为true,但是当得到第一个操作为false时,其结果就必定是 ...
分类:
编程语言 时间:
2020-01-29 23:17:42
阅读次数:
94
每天玩转3分钟 MyBatis-Plus - 1. 配置环境 每天玩转3分钟 MyBatis-Plus - 2. 普通查询 每天玩转3分钟 MyBatis-Plus - 3. 高级查询(一) 每天玩转3分钟 MyBatis-Plus - 4. 高级查询(二) 代码下载:https://github. ...
分类:
其他好文 时间:
2020-01-29 19:37:09
阅读次数:
334
C++ 11提供的智能指针有:shared_ptr、unique_ptr、weak_ptr。在 头文件 memory 中。 一、new delete 直接管理内存 1、初始化 string * ps = new string // 初始换为一个空string int * pi = new int ; ...
分类:
编程语言 时间:
2020-01-28 10:49:44
阅读次数:
99
原因及解决办法: "https://docs.spring.io/spring boot/docs/2.0.3.RELEASE/reference/htmlsingle/ howto use tomcat legacycookieprocessor" @Configuration public cl ...
分类:
编程语言 时间:
2020-01-28 09:15:11
阅读次数:
80
本篇可参看: Salesforce LWC学习(六) @salesforce & lightning/ui*Api Reference salesforce零基础学习(八十七)Apex 中Picklist类型通过Control 字段值获取Dependent List 值 拥有dependence的p ...
分类:
其他好文 时间:
2020-01-26 17:40:09
阅读次数:
80