##Socket函数 #include <sys/types.h> #include <sys/socket.h> int socket(int domain, int type, int protocol); domain 协议族: AF_OCAL, AF_INT, AF_INET7 type S ...
分类:
其他好文 时间:
2021-04-19 15:04:18
阅读次数:
0
1.Ingress测试示例 1.定义一个deployment [root@k8s-master01 service-ingress]# cat nginx-test.yaml apiVersion: v1 kind: Service metadata: name: ingress-test labe ...
分类:
其他好文 时间:
2021-04-16 12:25:19
阅读次数:
0
用途: scp命令用于linux上跨服务器拷贝资源 本地文件拷贝到远程: scp filename 远程服务器用户名@远程服务器ip:远程服务器存在该文件的位置(scp local_file remote_username@remote_ip:remote_folder ) 输入命令后需要输入远程服 ...
分类:
系统相关 时间:
2021-04-15 12:21:27
阅读次数:
0
# cuda10.0 include_directories(/usr/local/cuda/include) link_directories(/usr/local/cuda/lib64) # tensorrt 7.0.0.11 set(TENSORRT_ROOT ${CMAKE_SOURCE_D ...
分类:
其他好文 时间:
2021-04-13 12:52:23
阅读次数:
0
Zhou B., Khosla A., Lapedriza A., Oliva A. and Torralba A. Learning Deep Features for Discriminative Localization. CVPR, 2016. Selvaraju R., Das A., V ...
分类:
移动开发 时间:
2021-04-12 12:52:24
阅读次数:
0
1. vi /etc/my.cnf 2. update mysql.user set authentication_string=password('123456') where user='root' and host='localhost'; 3. FLUSH PRIVILEGES; ...
分类:
数据库 时间:
2021-04-12 12:44:01
阅读次数:
0
内容简介 当使用Elasticsearch做为“大时间”的数据分析的时候,建议使用时间作为索引,并设置三种不同类型的节点(主、热、温),也就是我们说的「Hot-Warm」架构。 本文介绍了「Hot-Warm」架构的一些基本概念、要注意的一些问题、如何搭建集群。 节点类型 每个节点都有他们自己的作用, ...
分类:
其他好文 时间:
2021-04-12 12:30:53
阅读次数:
0
凌晨0点 fields['startTime']=new Date(new Date(fields.searchTime2[0]).toLocaleDateString()).getTime() 当天23点59分59秒 fields['endTime']=new Date(new Date(fiel ...
分类:
Web程序 时间:
2021-04-10 13:03:41
阅读次数:
0
环境准备: 系统版本:CentOS Linux release 7.5.1804 (Core) 软件版本:apache-maven-3.8.1-bin.zip 安装目录:/application/ 安装: 下载安装包: wget https://mirrors.bfsu.edu.cn/apache/ ...
分类:
其他好文 时间:
2021-04-09 13:05:21
阅读次数:
0
import time ''' %Y 四位数的年份表示(000-9999) %y 两位数的年份表示(00-99) %m 月份(01-12) %d 月内中的一天(0-31) %H 24小时制小时数(0-23) %I 12小时制小时数(01-12) %M 分钟数(00-59) %S 秒(00-59) % ...
分类:
编程语言 时间:
2021-04-08 13:39:18
阅读次数:
0