原因:由于使用的是绝对路径导致出现'/'的情况 解决办法:添加参数 -P tar -zcvPf ${bak_dir}/${tar_name2}-${time}.tar.gz ${tar2} 参考网址: https://www.cnblogs.com/operationhome/p/9802554.h ...
分类:
其他好文 时间:
2021-03-15 10:35:07
阅读次数:
0
简介基于thinkphp6.0 开发的后台快速开发包 本项目是一个快速开发后台的工具库,完全基于面向对象思想; 一切都是可以通过重写继承达到自定义的; 本项目无任何业务功能上的封装,业务上的一切都需要您自己开发,只是会让您开发得更流畅; gitee地址: https://gitee.com/wsh2 ...
分类:
Web程序 时间:
2021-03-15 10:33:14
阅读次数:
0
# author: zhaoboomboom# time: 2021/3/12# 三元运算符存在的意义在于让代码变得更加简洁,易懂(个人理解)# 实现表达式: res = if判断成立的结果 if 变量判断语句 else else成立的结果# 例子: r = '不及格' if s <60 else ...
分类:
编程语言 时间:
2021-03-12 14:41:45
阅读次数:
0
##安装依赖 yum install gcc gcc-c++ automake pcre pcre-devel zlip zlib-devel openssl openssl-devel ##解压 tar xf nginx-1.18.0.tar.gz -C /data/ ##创建虚拟用户 usera ...
分类:
其他好文 时间:
2021-03-12 13:27:36
阅读次数:
0
一首页热点数据放到缓存(不经常修改的数据) 1.轮播图 2.热门课程 3.名师 代码实现 1.导入依赖 <!-- redis --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-st ...
分类:
其他好文 时间:
2021-03-12 12:15:40
阅读次数:
0
前面的练习记录了查询access数据将结果显示在microsoft datagrid控件上面,有时候需要对显示的某些列隐藏。 在画面上放置microsoft form checkbox控件,数量与datagrid中查询结果的字段数量相关,本次联系对温度1至温度4,压力1至压力4,流量1,流量2一共十 ...
分类:
编程语言 时间:
2021-03-11 18:25:58
阅读次数:
0
配置加速器(最新版的配置方法) [root@ming2 containers]# vim registries.conf [root@ming2 containers]# cat registries.conf unqualified-search-registries = ["docker.io" ...
分类:
其他好文 时间:
2021-03-11 14:17:03
阅读次数:
0
翻译来源- DataStream API Event Time 翻译来源- DataStream API Generating Watermarks 翻译来源- DataStream API Builtin Watermark Generators 概览 事件时间 原文Event Time。 在本节 ...
分类:
移动开发 时间:
2021-03-10 13:40:25
阅读次数:
0
安装podmen [root@localhostl ~]# yum -y remove docker-ce [root@localhostl ~]# yum -y install podman [root@localhostl ~]# cd /etc/containers/ [root@localh ...
分类:
其他好文 时间:
2021-03-10 13:05:54
阅读次数:
0
import time'''时间戳'''# time()时间戳,1615279063.568697秒,从1970年1月1日凌晨0点开始计时,可用于做计算print('时间戳:', time.time())'''时间戳转换为结构化时间'''# localtime()结构化时间(当地时间),按顺序是:年 ...
分类:
其他好文 时间:
2021-03-10 13:05:40
阅读次数:
0