上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页
摘要: PV(Physical Volume)- 物理卷 物理卷在逻辑卷管理中处于最底层,它可以是实际物理硬盘上的分区,也可以是整个物理硬盘,也可以是raid设备。 VG(Volumne Group)- 卷组 卷组建立在物理卷之上,一个卷组中至少要包括一个物理卷,在卷组建立之后可动态添加物理卷到卷组中。一个 阅读全文
posted @ 2020-07-07 14:53 jingsupo 阅读(875) 评论(2) 推荐(0) 编辑
摘要: du -sh #统计当前目录的大小,以直观方式展现 du -h --max-depth=1 #查看当前目录下所有一级子目录文件夹大小 du -h --max-depth=1 | sort #查看当前目录下所有一级子目录文件夹大小并排序 du -h --max-depth=1 | grep [TG] 阅读全文
posted @ 2020-07-02 11:20 jingsupo 阅读(4046) 评论(0) 推荐(0) 编辑
摘要: Git 全局设置: git config --global user.name "车厘子" git config --global user.email "xxx@outlook.com" 创建 git 仓库: mkdir working cd working git init touch READ 阅读全文
posted @ 2020-06-28 15:57 jingsupo 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 在 JavaScript 中, null 用于对象, undefined 用于变量,属性和方法。 对象只有被定义才有可能为 null,否则为 undefined。 如果我们想测试对象是否存在,在对象还没定义时将会抛出一个错误。 正确的方式是我们需要先使用 typeof 来检测对象是否已定义: if 阅读全文
posted @ 2020-06-24 11:35 jingsupo 阅读(4361) 评论(0) 推荐(2) 编辑
摘要: // 对日期进行升序排序 arr.sort(function (a, b) {return Date.parse(a) - Date.parse(b);}); 阅读全文
posted @ 2020-06-23 11:37 jingsupo 阅读(1628) 评论(0) 推荐(0) 编辑
摘要: // 过滤掉数组中的空字符串 arr= arr.filter((x) => x !== ''); // 删除数组中的指定元素 arr= arr.filter((x) => x !== '待删除元素'); 阅读全文
posted @ 2020-06-23 11:34 jingsupo 阅读(6122) 评论(0) 推荐(0) 编辑
摘要: In[1]: dic = {'drivechain_1': '前主轴承径向', 'drivechain_10': '发电机非驱动端轴承', 'drivechain_11': '发电机转子', 'drivechain_2': '后主轴承径向', 'drivechain_3': '齿轮箱内齿圈径向', 阅读全文
posted @ 2020-06-19 16:03 jingsupo 阅读(752) 评论(0) 推荐(0) 编辑
摘要: 解决Tab切换echarts图表不能正常显示问题: // 绘图div父容器的宽度 let w = $('.figure').width(); $('#fig-t').css('width', w); // 获取父容器的宽度直接赋值给图表以达到宽度100%的效果 $('#fig-f').css('wi 阅读全文
posted @ 2020-06-04 11:29 jingsupo 阅读(865) 评论(0) 推荐(0) 编辑
摘要: 以下只是其中一种方法: .figure { height: 1400px; width: calc(100% - 200px); background: white; float: left; } .figure_side { height: 1400px; width: 200px; backgr 阅读全文
posted @ 2020-06-03 09:59 jingsupo 阅读(898) 评论(0) 推荐(0) 编辑
摘要: 以下只是其中一种方法: .left { height: 1600px; width: 300px; background: rgb(235,235,235); float: left; } .middle { height: 1600px; background: skyblue; margin-l 阅读全文
posted @ 2020-06-03 09:57 jingsupo 阅读(414) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页

欢迎光临