完整备份 命令:innobackupex --defaults-file=/etc/my.cnf --user=root --password=PASSWORD --database=DATE BACK_DIR_PATH PASSWORD 数据库密码 DATE 数据库名 --database=DAT ...
分类:
其他好文 时间:
2021-07-05 17:46:48
阅读次数:
0
2021-07-02 项目基本流程:Android客户端<->接口<->数据库,公司中各部分有专门的人来负责 Android开发工具:Android Studio 1.下载安装jdk 2.... project本来是Android,单击以切换为project 重要文件 线性布局LinearLayou ...
分类:
移动开发 时间:
2021-07-05 17:45:56
阅读次数:
0
后台Response和异常和日志封装 1.在小luffyapi中新建utils包,包下创建response.py,代码如下 from rest_framework.response import Response class APIResponse(Response): def __init__(s ...
分类:
其他好文 时间:
2021-07-05 17:24:29
阅读次数:
0
文件上传 新建一个项目,添加UploadController @RestController public class UploadController { @PostMapping("upload") public String post(@RequestParam("file") Multipa ...
分类:
Web程序 时间:
2021-07-05 16:40:02
阅读次数:
0
Parallels Desktop 16 被称为macOS上最强大的虚拟机软件,可以在 Mac 下同时模拟运行 Win、Linux、Android 等多种操作系统及软件而不必重启电脑,并能在不同系统间随意切换。 Parallels Desktop 16 在最新的macOS Big Sur 11.0系 ...
分类:
系统相关 时间:
2021-07-02 16:11:02
阅读次数:
0
file1=new File(path);//path 为文件地址String parentPath=file1.getParent();parentPath为path的父级目录String[] arr=null;//用来验证文件是否为空文件File parentFile=new File(pare ...
分类:
编程语言 时间:
2021-07-02 16:09:34
阅读次数:
0
容器数据卷 docker的理念是应用和环境包打包城镜像. 那么如果数据在容器中,容器被删除跑路,就嗝屁了,所以数据可以持久化的存储在容器外部 容器数据卷就可以让容器之间有一个数据共享技术.把docker容器产生的数据同步到本地. 注意这个本地是的是操作系统linux不是docker.这是个目录挂载技 ...
分类:
其他好文 时间:
2021-07-02 15:55:09
阅读次数:
0
1 public static bool IsInPath(string command) 2 { 3 bool isInPath = false; 4 // 判断PATH中是否存在 命令 5 foreach (string test in (Environment.GetEnvironmentVa ...
分类:
其他好文 时间:
2021-07-02 15:52:09
阅读次数:
0
File—Setting—Appearance&Beha—System Setting—Updates 取消勾选Automatically check updates 复选框 ...
分类:
Web程序 时间:
2021-07-02 15:25:29
阅读次数:
0
before commit, do: git rm --cached <filename> ATTENTION: do not use 'git rm <filename>', this will delete the file from disk if commited, first use: " ...
分类:
其他好文 时间:
2021-07-01 17:07:16
阅读次数:
0