文件的操作命令 (1)文件的创建(增) 命令:touch 文件名称 —– 空文件 示例:在test目录下创建一个空文件 touch aaa.txt (2)文件的查看(查) 命令:cat/more/less/tail 文件 示例:使用cat查看/etc/sudo.conf文件,只能显示最后一屏内容 示 ...
分类:
其他好文 时间:
2020-07-21 21:50:17
阅读次数:
63
打开IDEA编辑器,点击编辑器左上角file,出现菜单栏,点击菜单栏中的Settings选项。 在出现的Settings窗口中的左侧菜单栏中找到Plugins选项,点击进入'Plugins'窗口。 在"Plugins"窗口中的,点击'Marktplace',进入Marktplace页面 在Markt ...
分类:
其他好文 时间:
2020-07-21 14:18:25
阅读次数:
218
block design 在进行验证时出现一下报错 [BD 5-336] This command cannot be run, as the BD-design is locked. Locked reason(s):* BD design contains locked IPs. Please ...
分类:
其他好文 时间:
2020-07-21 14:06:34
阅读次数:
127
Record the process of Leetcode by issue Weekly Contest Date Weekly Contest 162 11/10/2019 BiWeekly Contest 13 11/16/2019 Weekly Contest 163 11/17/2019 ...
分类:
其他好文 时间:
2020-07-21 14:05:16
阅读次数:
84
\(DP\) 没有长度为奇数的回文串,必定满足没有长度为$3$的回文串 我们要避免$x,y,x$的情况 即$a[i]≠a[i+2]$ 根据这一规律,我们把序列拆成下标分别为奇数和偶数的两个序列分别处理 可以发现,一段$-1$的区间的可能性只与其两端的数是否相等有关,故可以预处理出$dp$数组。 $d ...
分类:
其他好文 时间:
2020-07-20 20:33:56
阅读次数:
84
问题 import Mock from 'mockjs' var data = Mock.mock({ // 属性 list 的值是一个数组,其中含有 1 到 10 个元素 'list|1-10': [{ // 属性 id 是一个自增数,起始值为 1,每次增 1 'id|+1': 1 }] }) / ...
分类:
其他好文 时间:
2020-07-20 00:02:09
阅读次数:
246
. 1.看以上错误 "TypeError: Cannot read property 'path' of null".说明是执行了null.path导致报错, 那么正常情况下应该是有一个数组,path是数组里面的其中一个值,但是返回的数据为null,赋值给了这个数组。 所以执行array.path时 ...
分类:
其他好文 时间:
2020-07-19 16:25:04
阅读次数:
84
cd ~/Desktop/ 进入桌面 查 pwd 查看当前目录绝对路径 ls 查看当前文目录内容 ls+path 查看指定目录内容 cat 查看文件内容(全部) head(使用较少) 查看文件内容(前十行) head -n 14 查看文件内容(前14行) tail 查看文件内容(后十行) less( ...
分类:
其他好文 时间:
2020-07-19 15:49:19
阅读次数:
63
You are given three positive (i.e. strictly greater than zero) integers xx , yy and zz . Your task is to find positive integers aa , bb and cc such th ...
分类:
其他好文 时间:
2020-07-18 19:56:20
阅读次数:
82
给Xcode命令行工具指定路径 sudo xcode-select --switch /Applications/Xcode.app 其他命令参考 $ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/ //查 ...
分类:
其他好文 时间:
2020-07-18 15:36:16
阅读次数:
87