#1、安装ElasticSearch ###拉取镜像 docker pull docker.elastic.co/elasticsearch/elasticsearch:7.1.1 ###创建资料卷 docker volume create es-data docker volume create ...
分类:
其他好文 时间:
2021-06-28 21:17:34
阅读次数:
0
direct(current time and current queue number, 25 queue number equals 1 minute) reverse(target time and current queue number, 25 queue number equals 1 ...
分类:
其他好文 时间:
2021-06-28 21:06:27
阅读次数:
0
一、简介 基于matlab计步 二、源代码 %对原始观测得到的数据进行获取 clc, clear; %加速度数组 accspe_data = []; time_record = []; fid=fopen('sensor_normal.txt', 'r', 'n', 'utf-8'); %初始赋值使 ...
分类:
其他好文 时间:
2021-06-28 20:19:46
阅读次数:
0
1、镜像构建过程 包含Dockerfile目录的所有内容称为上下文,上下文通过docker build命令传入到Docker daemon后,便开始按照Dockerfile中的内容一层层构造镜像。 为了提高镜像构建的速度,Docker daemon会缓存构建过程中的中间镜像。当从一个已在缓存中的基础 ...
分类:
其他好文 时间:
2021-06-28 20:12:04
阅读次数:
0
package main //程序的包名 /* import "fmt" import "time" */ import ( "fmt" "time" ) //main函数 func main() { //函数的{ 一定是 和函数名在同一行的,否则编译错误 //golang中的表达式,加";", 和 ...
分类:
其他好文 时间:
2021-06-28 20:07:48
阅读次数:
0
package main import ( "fmt" "math/rand" "sync" "time" ) var wg sync.WaitGroup func f1(i int) { wg.Done() fmt.Println(i) } func main() { rand.Seed(time ...
分类:
其他好文 时间:
2021-06-28 19:53:07
阅读次数:
0
mkdir -p /mydata/redis/conf [root@iZwz9hw4qywrrl4vj6o0j1Z ~]# cd /mydata/redis/conf/ [root@iZwz9hw4qywrrl4vj6o0j1Z conf]# touch redis.conf docker run ...
分类:
其他好文 时间:
2021-06-28 19:50:31
阅读次数:
0
1、SpringBoot Actuator 1、简介 未来每一个微服务在云上部署以后,我们都需要对其进行监控、追踪、审计、控制等。SpringBoot就抽取了Actuator场景,使得我们每个微服务快速引用即可获得生产级别的应用监控、审计等功能。 <dependency> <groupId>org. ...
分类:
编程语言 时间:
2021-06-28 19:28:31
阅读次数:
0
1. 原理: 递归:函数自己调用自己 1 function fn() { 2 fn(); 3 } 4 fn();//会导致栈溢出 1 function fn() { 2 setTimeout(fn,0); 3 } 4 fn();//不会导致栈溢出 2. 代码实现: 3.时间复杂度: 空间复杂度: ...
分类:
编程语言 时间:
2021-06-28 19:12:32
阅读次数:
0
脚本如下: # @Time : 2021/6/26 13:31# @Author : cici#左上行号参数row = 1#右上行号2row2 = 1#左下行号3row3 = 9#右下行号4row4 = 9while row <= 9 and row2 <= 9: #列号参数 col = 1 whi ...
分类:
编程语言 时间:
2021-06-28 19:05:56
阅读次数:
0