在 菜单栏 》 虚拟机 》 安装 vmtools 进入虚拟机后,查看设备管理文件 /dev 新建待挂载目录 /mnt/cdrom mkdir /mnt/cdrom *** 挂载设备至 /mnt/cdrom *** mount /dev/cdrom /mnt/cdrom 进入到 /mnt/cdrom ...
问题出现: 在eclipse中pull项目至github上出现该问题 查看报错日志 org.eclipse.jgit.api.errors.TransportException: https://github.com/muzhiyi1996/test1.git: cannot open git-up ...
分类:
Web程序 时间:
2020-07-12 22:33:02
阅读次数:
155
TypeError: Cannot read property '$createElement' of undefinedat render (eval at ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_module ...
分类:
其他好文 时间:
2020-07-12 18:55:59
阅读次数:
111
1、给你一个数组 nums 和一个值 val,你需要 原地 移除所有数值等于 val 的元素,并返回移除后数组的新长度。 算法思路:新数组: nums[0.......l] def removeElement(nums,val): #想象一个新数组nums[0....l],其索引从0...l。 l= ...
分类:
其他好文 时间:
2020-07-12 17:18:27
阅读次数:
71
首先说明本教程基于jenkins 2.183,但是其他版本基本差不多,主要说一下其中比较坑的几点,做一个总结。 1.rpm 包的下载 从官网上下载rpm的速度简直让人不能忍受,所以千万不要去官网下载。推荐清华大学镜像站下载:https://mirrors.tuna.tsinghua.edu.cn/j ...
分类:
其他好文 时间:
2020-07-12 16:31:53
阅读次数:
47
字符串: 字符串用单引号(’)或双引号(")括起来,不可变1,find通过元素找索引,可切片,找不到返回-12,index,找不到报错。3,split 由字符串分割成列表,默认按空格。4,captalize 首字母大写,其他字母小写。5,upper 全大写。6,lower 全小写。7,title,每 ...
分类:
编程语言 时间:
2020-07-12 16:28:35
阅读次数:
59
1、查找/etc目录下大于1M且类型为普通文件的所有文件[root@jubian520~]#find/etc-typef-size+1M/etc/udev/hwdb.bin/etc/selinux/targeted/contexts/files/file_contexts.bin/etc/selinux/targeted/policy/policy.30/etc/selinux/targeted/
分类:
其他好文 时间:
2020-07-12 14:25:30
阅读次数:
60
[root@kunpeng82 mininet]# ls /lib/systemd/system/zebra.service /lib/systemd/system/zebra.service [root@kunpeng82 mininet]# vi /lib/systemd/system/zebr ...
分类:
其他好文 时间:
2020-07-12 14:15:10
阅读次数:
68
Page<AoaQuestionHeader> findAll(Specification<AoaQuestionHeader> spec, Pageable pageable); List<AoaQuestionHeader> headerPage = questionHeaderDao.find ...
分类:
其他好文 时间:
2020-07-12 12:33:57
阅读次数:
85
find /etc/ -name "*.conf" | xargs tar -cpvf `date +%F`.tar && cp -a `date +%F`.tar /usr/local/src/ ...
分类:
其他好文 时间:
2020-07-11 22:51:16
阅读次数:
94