# 查看已安装dockeryum list installed | grep dockerrpm -qa | grep docker # 卸载旧版本(如果之前安装过的话)yum remove docker \ docker-client \ docker-client-latest \ docker ...
分类:
其他好文 时间:
2021-05-24 15:43:09
阅读次数:
0
DHCP (Dynamic Host Configuration Protocol): An application-layer client-server protocol for allowing a device to automatically obtain an IP address. D ...
分类:
其他好文 时间:
2021-05-24 14:38:40
阅读次数:
0
1.nigin添加一段配置 server { listen 80; # this is the key !!!!! proxy_set_header Host $host; location /client/pids { proxy_pass http://10.103.13.103:3200/cl ...
分类:
编程语言 时间:
2021-05-24 14:35:17
阅读次数:
0
发送方式一: struct data{ int a = 123; int b = 465; } *m_data; m_data = new data; QByteArray data; data.resize(sizeof(struct data)); memcpy(data.data(), m_d ...
分类:
其他好文 时间:
2021-05-24 14:00:37
阅读次数:
0
典型问题之一:Elasticsearch集群的磁盘被打爆 造成磁盘被打爆有以下几种原因: 索引泛滥,索引接入无流程管控; 索引无生命周期管理; 索引分片数量不合理,单分片过大; 日志类索引未按天等细粒度划分,单索引过大; 多集群复用同一服务器节点; 磁盘容量大小不一。 这些问题比较基础,其实也反映出 ...
分类:
其他好文 时间:
2021-05-24 12:58:48
阅读次数:
0
github地址 https://github.com/rest-client/rest-client gemfile里添加 gem 'rest-client', '~> 2.0' 执行 bundle install 代码里 # 要请求接口地址 # 上传文件的key名字 # file 文件的绝对路径 ...
分类:
Web程序 时间:
2021-05-24 12:42:18
阅读次数:
0
1.第三方提供了这么一个API接口,POST后将附件以file文件上传,通过postman工具界面是下面这种样子 Body为form-data类型,不管是文本还是文件,都能在value上填上去 2.C#实现接口调用代码 public static string PostForm(string url ...
client #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <time.h> #include <arpa/inet.h> #include <sys/socket.h> ...
分类:
其他好文 时间:
2021-05-24 12:27:36
阅读次数:
0
第一步获取待下载文件列表. 解压缩到到执行目录下面 我这边使用Windows10 里面的 WSL的方式直接进行相关工作 ls *.zip > list.url 将需要下载的zip包变成列表文件. 第二步 使用shell脚本进行判断文件是否存在 #!/bin/bash echo " "> /deplo ...
分类:
其他好文 时间:
2021-05-24 12:11:03
阅读次数:
0
2021/5/15 绵阳经开区小雨 周六 在家工作 getBoundingClientRect():这是一个非常优秀的属性; 例子: let A = document.getElementsByClassName('tag8')[0].getBoundingClientRect(); if(A.to ...
分类:
Web程序 时间:
2021-05-24 10:11:48
阅读次数:
0