1、 #include <stdio.h> #include <time.h> char data_file[] = "datatime.dat"; void get_data(void) { FILE *fp; if((fp = fopen(data_file, "r")) == NULL) pr ...
分类:
编程语言 时间:
2021-06-10 17:48:54
阅读次数:
0
一、打包镜像并运行 1、项目代码打包上传服务器及相关配置文件ip设置 2、编写dockerfile Docker通过读取Dockerfile中的指令自动生成映像 Dockerfile 一般分为四部分:基础镜像信息、维护者信息、镜像操作指令和容器启动时执行指令,’#’ 为 Dockerfile 中的注 ...
分类:
其他好文 时间:
2021-06-10 17:33:19
阅读次数:
0
1 #!/usr/bin/env python 2 # -*- coding: utf-8 -*- 3 # @Time : 2021/4/16 10:42 上午 4 # @Name : peilun 5 # @File : Fly_book.py 6 # @Software: PyCharm 7 i ...
分类:
其他好文 时间:
2021-06-09 15:27:31
阅读次数:
0
docker入门 docker的基本组成 docker分为 docker客户端 发送指令与docker主机交互(这点与redis类似); docker服务主机 存放docker镜像及运行docker容器的核心引擎; docker仓库 docker hub上存放所有的docker镜像。 镜像(imag ...
分类:
其他好文 时间:
2021-06-09 10:34:18
阅读次数:
0
错误现象 runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized ...
分类:
Web程序 时间:
2021-06-08 23:40:55
阅读次数:
0
import multiprocessing, time, os# def pro(name):# print('hello', name, time.ctime())## if __name__ == '__main__':# l = []# for t in range(4):# t = mul ...
分类:
系统相关 时间:
2021-06-08 23:20:39
阅读次数:
0
1、 #include <stdio.h> #include <time.h> // time_t数据类型,日历时间头文件 int main(void) { time_t current = time(NULL); // 利用time函数获取日历时间(返回1970之后的秒数,整型) struct t ...
分类:
编程语言 时间:
2021-06-08 23:04:50
阅读次数:
0
一、nginx日志结构 nginx中access.log 的日志结构: $remote_addr 客户端地址 211.28.65.253 $remote_user 客户端用户名称 -- $time_local 访问时间和时区 18/Jul/2012:17:00:01 +0800 $request 请 ...
分类:
其他好文 时间:
2021-06-08 22:56:51
阅读次数:
0
PermissionError: [Errno 13] Permission denied:字段里不能有空格 执行文件 from docxtpl import DocxTemplatefrom datetime import datetimeimport timeimport datetimeimp ...
分类:
其他好文 时间:
2021-06-08 22:49:54
阅读次数:
0
docker安装kafka 1、下载zookeeper镜像 docker pull wurstmeister/zookeeper 2、下载kafka镜像 docker pull wurstmeister/kafka 3、查看镜像 docker images 4、单机方式先启动zookeeper容器 ...
分类:
系统相关 时间:
2021-06-08 22:39:02
阅读次数:
0