前期准备 docker环境... 0_镜像_查询 [root@iZ2zeca7jric8sx4f3n7spZ ~]# docker search elasticsearch NAME DESCRIPTION STARS OFFICIAL AUTOMATED elasticsearch Elastic ...
分类:
其他好文 时间:
2021-06-02 12:27:50
阅读次数:
0
看代码: 1 int cal(int n) { 2 int sum = 0; 3 int i = 1; 4 for (; i <= n; ++i) { 5 sum = sum + i; 6 } 7 return sum; 8 } 从cpu角度来看,这段代码每一行都执行类似操作 读数据-运算-写数据 ...
分类:
编程语言 时间:
2021-06-02 12:25:48
阅读次数:
0
请求转发与重定向的区别 **请求转发:**request.getRequestDispatcher("path").forWard(request,response); **请求重定向:**response.sendRedirect("path"); 相同点: 实现页面的跳转 区别: 使用请求转发的 ...
分类:
其他好文 时间:
2021-06-02 12:15:16
阅读次数:
0
说明 适用平台:头歌(Educoder)实践教学平台 适用实训: Hive综合应用案例——学生成绩查询 Hive综合应用案例——用户学历查询 Hive综合应用案例——用户搜索日志分析 注意: 看清楚上面说的实训是不是和你需要做的实训是同一个实训!!! 如果是同一个实训,直接复制粘贴代码,然后点击测评 ...
分类:
其他好文 时间:
2021-06-02 11:35:33
阅读次数:
0
查空行 awk '/^$/{print NR}' demo1.txt 求某一列的和 awk '{sum+=$2} END {print "求和:"sum}' demo2.txt 数字排序 sort -n -t ' ' -k 2 demo3.txt sort -t ' ' -k 2nr demo3.t ...
分类:
系统相关 时间:
2021-06-02 11:35:11
阅读次数:
0
MLE(极大似然估计)与MAP(最大后验估计)在机器学习中是经常用到的参数估计的方法。都属于频率学派的参数估计。 一、极大释然估计(MLE) MLE在构造目标函数过程中非常常见。已知了观测的样本值为$D$,MLE核心思想是:假设我们已知了该样本内定的一个参数$\theta$,这个参数$\theta$ ...
分类:
其他好文 时间:
2021-06-02 11:21:36
阅读次数:
0
1,下载 Golang官网下载地址:https://golang.google.cn/dl/ 2,解压到指定目录 3,运行go 获取环境变量修改方法 go help env usage: go env [-json] [-u] [-w] [var ...] Env prints Go environ ...
分类:
其他好文 时间:
2021-06-02 11:10:05
阅读次数:
0
语法示例: while 条件为真 do echo ok done #!/bin/bash while true do echo ok done while循环数字 #!/bin/bash a=1 b=9 while [ $a -lt 10 ] do sum=$((a + b)) echo $a + ...
分类:
系统相关 时间:
2021-06-02 11:02:44
阅读次数:
0
Swagger 快速上手 1. Maven 依赖如下 <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger2 --> <dependency> <groupId>io.springfox</groupId> <a ...
分类:
其他好文 时间:
2021-06-02 10:44:59
阅读次数:
0
You have n boxes. You are given a binary string boxes of length n, where boxes[i] is '0' if the ith box is empty, and '1' if it contains one ball. In ...
分类:
其他好文 时间:
2021-06-02 10:37:12
阅读次数:
0