在学习 Spring 的时候,我们必须得有个整体性的概念。 这个概念就是: Spring 到底是什么? 官网给了如下的介绍: The Spring Framework provides a comprehensive programming and configuration model for m ...
分类:
编程语言 时间:
2020-07-01 16:15:49
阅读次数:
77
一.查看日志 说明:输出Pod中一个容器的日志信息,如果pod只包含一个容器则可以省略容器名。 kubectl logs [-f] [-p] POD [-c CONTAINER] 举例说明 # 返回包含一个容器的kuboard的容器日志 [root@k8s001 ~]# kubectl logs k ...
分类:
Web程序 时间:
2020-07-01 11:06:05
阅读次数:
72
当 display: flex 配合 justify-content: center 使用时可以让view水平居中 而配合 align-items: center 用时可以实现垂直居中效果 .card-image-container{ width: 40%; height: 90%; align-i ...
分类:
微信 时间:
2020-06-30 10:35:20
阅读次数:
123
A∩B array_intersect example: $array1 = array("a" => "green", "red", "blue"); $array2 = array("b" => "green", "yellow", "red"); $result = array_interse ...
分类:
Web程序 时间:
2020-06-30 00:46:45
阅读次数:
92
这两种模型都是为了做到一种左右固定中间自适应的效果,听到的有人对于圣杯布局和双飞翼布局的描述很形象,首先一个圣杯的左右把柄和圣杯是一体的,所以body里面的代码是这样的: 1 <div class="container"> 2 <div class="center"></div> 3 <div cl ...
分类:
其他好文 时间:
2020-06-29 23:08:56
阅读次数:
112
Flex(弹性布局),是一种响应式布局,能自动伸缩盒模型达到自适应的效果。 弹性布局由弹性容器(flex container)和弹性项目(flex item)组成。 在弹性容器中,水平方向称为主轴(main axis)(起点main start,终点main end);垂直方向称为纵轴(cross ...
分类:
Web程序 时间:
2020-06-29 21:27:31
阅读次数:
87
1:找个容器: .container { display: flex | inline-flex; //可以有两种取值:块元素,行内元素 } 2:容器的设置: .container { flex-direction: row | row-reverse | column | column-rever ...
分类:
其他好文 时间:
2020-06-29 13:17:23
阅读次数:
63
本文转自https://www.freeaihub.com/article/bridge-module-in-docker-network.html,该页可在线运行以下实例 在前两篇Docker 网络:host模式,Docker 网络:container模式中我们已经介绍Docker网络模型中的ho ...
分类:
其他好文 时间:
2020-06-29 09:29:59
阅读次数:
59
man docker NAME docker - Docker image and container command line interface SYNOPSIS docker [OPTIONS] COMMAND [ARG...] docker [--help|-v|--version] DES... ...
分类:
其他好文 时间:
2020-06-29 00:10:32
阅读次数:
47
局部引用示例: 1.首先,先进行下载安装 命令: npm install --save swiper 2.在局部页面中引入(一般用于首页) 注:vue项目哦// html代码 写的有点过于简陋,不过主要就是这个格式 <div class="swiper-container"> <div class= ...
分类:
其他好文 时间:
2020-06-28 18:58:37
阅读次数:
80