Linux下常用的关机命令有:shutdown、halt、poweroff、init;重启命令有:reboot。 一、命令 1、关机命令 1)halt 立刻关机 2)poweroff 立刻关机 3)shutdown -h now 立刻关机(root用户使用) 4)shutdown -h 10 10分 ...
分类:
系统相关 时间:
2021-01-11 11:03:30
阅读次数:
0
vue项目报错: Cannot read property 'init' of undefined 原因: echarts版本过高 解决: 1、查看package.json中的echarts版本: 结果为5.0 2、终端中输入: npm uninstall echarts 卸载echarts 3、终 ...
分类:
其他好文 时间:
2021-01-11 11:03:02
阅读次数:
0
tomcat9.0配置跨域 在web.xml添加: <filter> <filter-name>ExpiresFilter</filter-name> <filter-class>org.apache.catalina.filters.ExpiresFilter</filter-class> <in ...
分类:
其他好文 时间:
2021-01-11 11:02:02
阅读次数:
0
asp.net core 5.0 中的 JsonConsole Intro asp.net core 5.0 中日志新增了 JsonConsole,还是输出日志到 Console,但是会应用 Json 格式的一个 Formatter 把日志序列化成 json 再输出到控制台 Sample 一起来看一 ...
分类:
Web程序 时间:
2021-01-11 10:50:29
阅读次数:
0
ls -a : 可以查看到当前目录下所隐藏的文件,比如 .git文件夹 .git 目录是本地仓库 git config :来配置 git .gitignore : 创建这个文件,里面填写不需要提交到git的文件名,就可以不提交 git init : 会创建.git目录 git add (路径) xx ...
分类:
其他好文 时间:
2021-01-11 10:47:32
阅读次数:
0
If a file is larger than 5MB size limit for pushing t, the files must be tracked and updated using git lfs. Note: Please follow the instructions here( ...
分类:
其他好文 时间:
2021-01-11 10:39:35
阅读次数:
0
UICollectionView的方法registerClass,如果调用会使注册的cell类在xib或storyboard里的相关内容失效。比如你在storyboard里为这个cell类加了一个button,那么实际上不会显示。 // If a class is registered, it wi ...
分类:
其他好文 时间:
2021-01-08 11:45:41
阅读次数:
0
gradle根据Git信息生成README文件 task createReadMe{ doLast { // String str = "${buildDir}/libs/exploded/"+project.getName().toString()+ "-${version}.war"+"/REA ...
分类:
其他好文 时间:
2021-01-08 11:42:16
阅读次数:
0
城市和城市连在一块,有多少个省? 一群人里面自己和自己亲戚连在一块,有多少组亲戚? 你俩是不是一个小区的? 他俩是不是有一腿 以上所有问题,抽象,概括为分组问题 老并查集了 这里引用一个知乎大佬的并查集讲解,gang的非常好,我就不赘述了。 并查集讲解 大家主要了解一下并查集的两种优化方法,路径压缩 ...
分类:
其他好文 时间:
2021-01-08 11:38:43
阅读次数:
0
1、安装Git 在Git Bash里输入git --version 如果显示版本号,则说明Git安装成功。 2、在GitHub上新建一个仓库 例如:myrepo 3、在本地新建一个文件夹,作为VSCode代码的工作文件夹 例如:mycode 4、mycode既是VSCode的代码工作文件夹又应该是G ...
分类:
其他好文 时间:
2021-01-08 11:31:51
阅读次数:
0