摘要: 1、ssh连接到服务器 2、执行命令 vim /etc/my.cnf 在 [mysqld]添加以下内容: skip-grant-tables 3、systemctl restart mysqld 4、mysql -uroot -p 然后回车登录 5、update user → set authent 阅读全文
posted @ 2021-09-15 22:03 cqrunnerxjzh 阅读(25) 评论(0) 推荐(0) 编辑
摘要: public String getParentId(String id) { // 当前用户id String currentId = id; // 层级链 List parentChain = new ArrayList<>(); do { // 检查是否存在循环关系 if (parentChai 阅读全文
posted @ 2021-08-24 11:12 cqrunnerxjzh 阅读(286) 评论(0) 推荐(0) 编辑
摘要: MarkDown介绍 Markdown 是一种轻量级标记语言,创始人为约翰·格鲁伯(John Gruber)。它允许人们“使用易读易写的纯文本格式编写文档,然后转换成有效的XHTML(或者HTML)文档”。这种语言吸收了很多在电子邮件中已有的纯文本标记的特性。 常用语法 1、标题 一级目录 二级目录 阅读全文
posted @ 2019-12-11 13:43 cqrunnerxjzh 阅读(266) 评论(0) 推荐(0) 编辑
摘要: vi svnserve.conf anon = none #匿名用户不可读 auth-access #认证可写 password-db = passwd #默认是关闭的,启用passwd这个文件 authz-db authz #默认是关闭的,打开授权文件 vi passwd [users] 账号= 阅读全文
posted @ 2019-12-09 14:30 cqrunnerxjzh 阅读(163) 评论(0) 推荐(1) 编辑
摘要: Optional.ofNullable(变量).orElse(默认值); 例1:求字符串 s 的长度( 为空的时候返回0 ) jdk8前写法: jdk8写法: 例2:循环遍历集合 jdk8前写法: jdk8写法: 阅读全文
posted @ 2019-10-28 14:54 cqrunnerxjzh 阅读(1973) 评论(0) 推荐(0) 编辑
摘要: file >settings >plugins >Browse repositories... >manage repositories >单击右上角的 + 号,把 下列地址复制进去 https://plugins.jetbrains.com/plugins/alpha/9188 阅读全文
posted @ 2019-10-24 17:13 cqrunnerxjzh 阅读(489) 评论(0) 推荐(0) 编辑
摘要: 参考资料 Easy Code参考文档: https://github.com/makejavas/EasyCode https://gitee.com/makejava/EasyCode/wikis/pages mock参考文档: https://github.com/nuysoft/Mock/wi 阅读全文
posted @ 2019-10-24 10:42 cqrunnerxjzh 阅读(1324) 评论(0) 推荐(0) 编辑
摘要: 1、pom.xml引入相关jar 2、java代码使用 阅读全文
posted @ 2019-10-16 10:22 cqrunnerxjzh 阅读(3329) 评论(0) 推荐(1) 编辑
摘要: 1、计算机——右键——属性 2、高级系统设置——高级——性能——设置 3、高级——更改 4、取消勾选——C盘自定义大小,最小1024,最大2048 5、点击设置后,即改变,需重启电脑生效。 阅读全文
posted @ 2019-07-26 09:14 cqrunnerxjzh 阅读(3248) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-07-25 17:02 cqrunnerxjzh 阅读(2406) 评论(0) 推荐(0) 编辑