//-n 预览需要删除版本控制的文件列表 git rm -r -n --cached "vendor" //执行删除命令 git rm -r --cached "vendor" //添加文件到.gitignore //提交git commit -m "remove vendor" //提交到远程服务 ...
分类:
其他好文 时间:
2021-07-01 17:03:23
阅读次数:
0
背景 参考了狂神老师的 Docker 教程,非常棒! https://www.bilibili.com/video/BV1og4y1q7M4?p=15 直接运行容器 本地找不到镜像会自动下载 --rm Automatically remove the container when it exits ...
分类:
其他好文 时间:
2021-07-01 16:48:43
阅读次数:
0
changeData (data) { const arr = [] if (data.length !== 0) { data.forEach(item => { const obj = {} obj.id = item.path obj.label = item.name if (item.ch ...
分类:
其他好文 时间:
2021-07-01 16:42:14
阅读次数:
0
准备工作 系统要求 Docker 支持 64 位版本 CentOS 7/8,并且要求内核版本不低于 3.10。 CentOS 7 满足最低内核的要求,但由于内核版本比较低,部分功能(如 overlay2 存储层驱动)无法使用,并且部分功能可能不太稳定。 卸载旧版本 sudo yum remove d ...
分类:
其他好文 时间:
2021-06-30 18:36:24
阅读次数:
0
1、什么是Velocity Velocity 是一个简单而强大的基于 Java 的模板引擎,可将数据从纯 Java 对象呈现为文本、xml、电子邮件、SQL、Post Script、HTML 等。模板语法和呈现引擎既易于理解,又易于学习和实施. 功能远远超出了 Web 领域(例如 xdoclet、m ...
分类:
其他好文 时间:
2021-06-28 20:55:07
阅读次数:
0
常用 # 安装apk到手机 driver.install_app(app_path) 参数: app_path:脚本机器中APK的文件路径 # 手机中移除app driver.remove_app(app_id) 参数: app_id:需要卸载的app包名 # 判断app是否安装 driver.is ...
分类:
移动开发 时间:
2021-06-28 20:11:33
阅读次数:
0
代码演示 没什么可说的直接看代码 <?php namespace app\controller; class Category { //模拟假数据 protected static function arr() { $rows = [ [ 'id' => '1', 'name' => '一级菜单', ...
分类:
Web程序 时间:
2021-06-28 19:52:45
阅读次数:
0
1.什么是伪数组 JavaScript中存在有一种类数组,或者说伪数组。经常见到的伪数组有函数的arguments对象、dom.querySelectorAll等获取的NodeList类(NodeList本身具有forEach方法)等。 伪数组并不是数组,它没有继承Array.prototype,但 ...
分类:
编程语言 时间:
2021-06-28 18:31:57
阅读次数:
0
public class ResList { public int ID { get; set; } public List<ResList> Child { get; set; } = null; public int Parent { get; set; } public int Rank { ...
分类:
其他好文 时间:
2021-06-25 17:23:59
阅读次数:
0
1. 题目 1.1 英文题目 Given an integer array nums and an integer val, remove all occurrences of val in nums in-place. The relative order of the elements may ...
分类:
编程语言 时间:
2021-06-25 17:23:46
阅读次数:
0