<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[dream_follower的博客]]></title><description><![CDATA[微信公众号：拱卒王]]></description><link>https://blog.csdn.net/dream_follower</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; dream_follower]]></copyright><item><title><![CDATA[linux ubuntu常用查看命令]]></title><link>https://blog.csdn.net/dream_follower/article/details/121185997</link><guid>https://blog.csdn.net/dream_follower/article/details/121185997</guid><author>dream_follower</author><pubDate>Sat, 06 Nov 2021 23:37:26 +0800</pubDate><description><![CDATA[最近在自己电脑上安装了ubuntu server，有很多命令不知道，这里汇总一下：
查看cpu使用率
参考链接1，dstat
使用top命令，可以看到整体的使用率，

99.9id，表示空闲的是99.9%,那使用率就是 1- 99.9%=0.1%。 参考连接，
在输入top以后，看到的是整体的cpu利用率，可以再按1，然后就可以看到每个逻辑cpu的使用率了。

top更加专业的操作参考链接
cpu核数
我也是才知道，cpu有物理cpu数，cpu核数以及逻辑cpu数

物理cpu数：就是主板上安装的cpu的个]]></description><category></category></item><item><title><![CDATA[put(java.lang.String, com.fasterxml.jackson.databind.JsonNode)‘ is deprecated]]></title><link>https://blog.csdn.net/dream_follower/article/details/120519160</link><guid>https://blog.csdn.net/dream_follower/article/details/120519160</guid><author>dream_follower</author><pubDate>Mon, 27 Sep 2021 22:43:57 +0800</pubDate><description><![CDATA[最近在写代码时遇到一个问题就是jackson中objectnode对象的put方法，当put的属性是jsonnode的时候，idea会提示这个方法不推荐，我在stackoverflow 看到推荐使用objectNode.set(k,v）方法就可以了

]]></description><category></category></item><item><title><![CDATA[ubuntu下idea下搜狗输入法中文输入不跟随光标的解决方案]]></title><link>https://blog.csdn.net/dream_follower/article/details/119537826</link><guid>https://blog.csdn.net/dream_follower/article/details/119537826</guid><author>dream_follower</author><pubDate>Mon, 09 Aug 2021 15:20:31 +0800</pubDate><description><![CDATA[idea出现这个问题是一个由来已久的问题，但是idea一直没有解决这个bug。
要解决这个问题，就要修改JetBrainsRuntime的源码。我在网上看了一些教程，但是我的环境和别人的不太一样，还是有点出入的。这里记录总结一下。
首先介绍一些我的环境：
操作系统：Ubuntu20.04
idea版本:2020.3.3
JDK版本;jdk1.8，这个是我自己配置的jdk的版本。
下面这张图里Runtime version 是我重新编译后的版本。

下面编译步骤：
第一步是先下载：JetBrainsRunti]]></description><category></category></item><item><title><![CDATA[ubuntu20.04安装qq和微信]]></title><link>https://blog.csdn.net/dream_follower/article/details/115863085</link><guid>https://blog.csdn.net/dream_follower/article/details/115863085</guid><author>dream_follower</author><pubDate>Mon, 19 Apr 2021 14:02:22 +0800</pubDate><description><![CDATA[今天想在ubuntu上安装QQ和微信，我首先在网上搜了qqlinux版安装教程，但是安装了以后，用QQ扫描根本登录不上去，后来在网上搜到了deep-wine，参考链接。
wget -O- https://deepin-wine.i-m.dev/setup.sh | sh 
# 安装微信和QQ
sudo apt-get install deepin.com.wechat 
sudo apt-get install deepin.com.qq.im

安装完以后运行QQ，但是QQ图标显示异常，可以安装一个插件T]]></description><category></category></item><item><title><![CDATA[SecureCRT 登录Ubuntu失败Key exchange failure（解决Ubutu密钥交换失败的问题）]]></title><link>https://blog.csdn.net/dream_follower/article/details/113660115</link><guid>https://blog.csdn.net/dream_follower/article/details/113660115</guid><author>dream_follower</author><pubDate>Thu, 04 Feb 2021 17:51:29 +0800</pubDate><description><![CDATA[首先先安装openssh-server
sudo apt-get install -y openssh-server

然后修改/etc/ssh目录下的sshd_config文件,添加
cd /etc/ssh 
vi sshd_config
 添加下面这行代码就可以了
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-]]></description><category></category></item><item><title><![CDATA[ifconfig Command ‘ifconfig‘ not found, but can be installed with:]]></title><link>https://blog.csdn.net/dream_follower/article/details/112839011</link><guid>https://blog.csdn.net/dream_follower/article/details/112839011</guid><author>dream_follower</author><pubDate>Tue, 19 Jan 2021 15:25:57 +0800</pubDate><description><![CDATA[最近在VMware上安装了ubuntu的虚拟机，想查看一下IP地址，发现，在终端输入命令：ifconfig,没有用，提示：Command 'ifconfig' not found, but can be installed with:
需要安装一个软件：net-tools，输入以下命令：
sudo apt-get update
sudo apt-get install net-tools

安装完成以后就可以使用ifconfig这个命令了。

...]]></description><category></category></item><item><title><![CDATA[nginx防盗链]]></title><link>https://blog.csdn.net/dream_follower/article/details/112807473</link><guid>https://blog.csdn.net/dream_follower/article/details/112807473</guid><author>dream_follower</author><pubDate>Tue, 19 Jan 2021 12:10:18 +0800</pubDate><description><![CDATA[最近我的网站刚上线没几天，本来还发愁通过浏览器直接搜索搜不到，但是昨天我在通过百度搜索了一下编程学习notes,一下子就搜索到了我的网站，可是我点进去缺发现那个域名根本就不是我的域名，我后来又仔细的看了一下，发现确实不是我的域名，我这个时候才意识到我的网站被盗链了，生气归生气，但是还是要赶紧想解决办法，赶紧就给nginx配置了防盗链，具体配置如下：
当不是通过www.gongzuwang.top这个域名访问的话就会直接返回403
location / {

防盗链配置
valid_referers none]]></description><category></category></item><item><title><![CDATA[ubuntu20.4更新软件源]]></title><link>https://blog.csdn.net/dream_follower/article/details/112602380</link><guid>https://blog.csdn.net/dream_follower/article/details/112602380</guid><author>dream_follower</author><pubDate>Thu, 14 Jan 2021 10:59:55 +0800</pubDate><description><![CDATA[参考链接
参考链接2

]]></description><category></category></item><item><title><![CDATA[ubuntu20.4.1 vmware虚拟机同步时间]]></title><link>https://blog.csdn.net/dream_follower/article/details/112545976</link><guid>https://blog.csdn.net/dream_follower/article/details/112545976</guid><author>dream_follower</author><pubDate>Tue, 12 Jan 2021 20:02:28 +0800</pubDate><description><![CDATA[参考链接：https://blog.csdn.net/bruceoxl/article/details/104841076
我装的虚拟机系统是ubuntu20.4.1,我安装ntpdate同步时间，似乎没有啥用。
但是修改时区可以：
sudo dpkg-reconfigure tzdata # 选择亚洲上海
# 第二步似乎执行不了，但是我重启系统以后，时间并没有变成原来的
sudo cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime -r

首发于：个人网]]></description><category></category></item><item><title><![CDATA[webstrom狂吃内存解决办法 there is not enough memory to perform the requested operation]]></title><link>https://blog.csdn.net/dream_follower/article/details/111150910</link><guid>https://blog.csdn.net/dream_follower/article/details/111150910</guid><author>dream_follower</author><pubDate>Mon, 14 Dec 2020 10:13:47 +0800</pubDate><description><![CDATA[最近用webstorm进行开发的时候，突然发现报了一个内存错误的问题，我显示更改webstorm使用的内存大小，发现并没有用，后来在网上看到了一个帖子，要忽略掉项目所依赖的node_modules就可以了，
点击file-》settings-&gt;editor
在最后面输入:node_modules;就可以完美解决了

...]]></description><category></category></item><item><title><![CDATA[idea ctrl+shift+F失效]]></title><link>https://blog.csdn.net/dream_follower/article/details/111051668</link><guid>https://blog.csdn.net/dream_follower/article/details/111051668</guid><author>dream_follower</author><pubDate>Fri, 11 Dec 2020 19:07:49 +0800</pubDate><description><![CDATA[最近，突然发现idea的快捷键ctrl+shfit+F 失效，就很纳闷，然后在网上搜了一下，网上说的都是和输入法冲突，比如和搜狗输入法冲突，参考链接，但是我没有装输入法，我用的是windows自带的输入法，然后我看到上面参考链接里有说到微软自带的输入法的简繁体切换的快捷键就是ctrl+shfit+F，但是我的输入法在任务栏上不显示，只能通过设置进行操作，







把简繁体输入切换给关掉就可以了。

...]]></description><category></category></item><item><title><![CDATA[Vue 无法监测到数据或者对象的变化]]></title><link>https://blog.csdn.net/dream_follower/article/details/110875525</link><guid>https://blog.csdn.net/dream_follower/article/details/110875525</guid><author>dream_follower</author><pubDate>Tue, 08 Dec 2020 16:09:54 +0800</pubDate><description><![CDATA[今天遇到一个问题，就是我修改Vue里面的数组的数据，发现页面并没有发生变化，我在网上搜了一下，发现对于数组，如果我们根据索引来修改它的数据的话，Vue是无法监测到它的变化的，如果想要修改对象的属性值，不能通过obj.props=newValue来进行设置。
可以通过下面这个方法来设置：
Vue.set(vm.items, indexOfItem, newValue)

参考链接：参考链接1
参考链接2

...]]></description><category></category></item><item><title><![CDATA[springboot整合shiro实现登录认证授权以及退出]]></title><link>https://blog.csdn.net/dream_follower/article/details/110532284</link><guid>https://blog.csdn.net/dream_follower/article/details/110532284</guid><author>dream_follower</author><pubDate>Thu, 03 Dec 2020 17:51:59 +0800</pubDate><description><![CDATA[文章目录springboot整合shiro实现登录认证授权以及退出shrio简介环境准备创建一个springboot的项目导入相关的依赖springboot整合shiro的依赖thymleaf的依赖创建首页创建controllershiro重要概念拦截器拦截请求创建配置类修改首页登录页面登录认证授权退出
springboot整合shiro实现登录认证授权以及退出
shrio简介
shiro是一个权限管理框架，用于实现登录认证以及授权。
环境准备
创建一个springboot的项目
这里我创建的是最简单的we]]></description><category></category></item><item><title><![CDATA[sql多表联结(三张表联结)查询]]></title><link>https://blog.csdn.net/dream_follower/article/details/109037720</link><guid>https://blog.csdn.net/dream_follower/article/details/109037720</guid><author>dream_follower</author><pubDate>Mon, 12 Oct 2020 21:50:24 +0800</pubDate><description><![CDATA[今天看了一道sql的题，
查询所有学生的Sname、Cname和Degree列。
这个查询需要联结三张表，具体的表格内容参考 参考链接
很自然的想到了内联结，但是之前做的大部分都是两张表的内连接，这次是三张表，在网上搜也都是讲两张表的内连接，这里总结一下：
SELECT
	A.SNAME,
	B.CNAME,
	C.DEGREE
FROM
	STUDENT A
INNER JOIN COURSE B
INNER JOIN SCORE C ON A.SNO = C.SNO
AND B.CNO = C.CNO;]]></description><category></category></item><item><title><![CDATA[leetcode根据数组创建一棵二叉树(用于测试)]]></title><link>https://blog.csdn.net/dream_follower/article/details/107491132</link><guid>https://blog.csdn.net/dream_follower/article/details/107491132</guid><author>dream_follower</author><pubDate>Tue, 21 Jul 2020 16:12:57 +0800</pubDate><description><![CDATA[最近一直在刷题，很多树的题目，用例都是一个数组，这样的话自己测试起来就比较麻烦，所以自己写 了一个工具类，专门用于生成测试用的二叉树。
本例中所构建的树的结构
      5
     / \
    4   8
   /   / \
  11  13  4
 /  \      \
7    2      1


对应的数组是：{5, 4, 8, 11, null, 13, 4, 7, 2, null, null, 5, 1}
我的思路参考了这篇文档：https://blog.csdn.net/lenfr]]></description><category></category></item><item><title><![CDATA[graphviz设置节点间箭头的方向]]></title><link>https://blog.csdn.net/dream_follower/article/details/106140173</link><guid>https://blog.csdn.net/dream_follower/article/details/106140173</guid><author>dream_follower</author><pubDate>Fri, 15 May 2020 13:40:15 +0800</pubDate><description><![CDATA[使用graphviz这个软件，可以很容易就画出一颗二叉树来，有关这个软件的使用教程连接参考连接
参考连接2
上面的只是画出了二叉树，但是我想改变一下二叉树的节点之间，箭头的方向，我在官网上我找到了这个
比如下面这样：
1 -&gt;2 [dir=back];
	1-&gt;3[dir=back];
	1-&gt;1;
	1 -&gt;4 [dir=back];
	4 -&gt;5 [dir=back];


通过设置dir的属性值，我们可以改变箭头的方向；
官网地址

...]]></description><category></category></item><item><title><![CDATA[springmvc上传文件到阿里云oss]]></title><link>https://blog.csdn.net/dream_follower/article/details/105880008</link><guid>https://blog.csdn.net/dream_follower/article/details/105880008</guid><author>dream_follower</author><pubDate>Fri, 01 May 2020 17:45:13 +0800</pubDate><description><![CDATA[最近做项目的时候，实现了一个功能就是上传文件到阿里云oss上，
关于阿里云oss的相关操作，具体的可以看官方文档：添加链接描述

]]></description><category></category></item><item><title><![CDATA[mybatis 代码生成器 无法覆盖之前已经生成的文件]]></title><link>https://blog.csdn.net/dream_follower/article/details/105787127</link><guid>https://blog.csdn.net/dream_follower/article/details/105787127</guid><author>dream_follower</author><pubDate>Mon, 27 Apr 2020 11:48:32 +0800</pubDate><description><![CDATA[最近使用mybatis代码生成器，发现有的时候会报下面这个错误：

Caused by: java.lang.IllegalArgumentException: Result Maps collection already contains value for life.majiang.community.mapper.CommentMapper.BaseResultMap

这个很烦人，之前的解...]]></description><category></category></item><item><title><![CDATA[org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [XXX.xml]';报错问题]]></title><link>https://blog.csdn.net/dream_follower/article/details/105731445</link><guid>https://blog.csdn.net/dream_follower/article/details/105731445</guid><author>dream_follower</author><pubDate>Fri, 24 Apr 2020 15:10:25 +0800</pubDate><description><![CDATA[今天在写代码的时候遇到一个问题，org.springframework.core.NestedIOException，无法解析xml配置文件，网上搜了一下解决方案，有的说是，
mybaits中的id命名有相同的
排除了这个，
看到有其他人说，可能是target目录下有一个同名的文件，把target目录下的同名的文件删除就可以了。

...]]></description><category></category></item><item><title><![CDATA[js 删除多个子节点]]></title><link>https://blog.csdn.net/dream_follower/article/details/105727019</link><guid>https://blog.csdn.net/dream_follower/article/details/105727019</guid><author>dream_follower</author><pubDate>Fri, 24 Apr 2020 11:50:17 +0800</pubDate><description><![CDATA[js中删除子节点的方法：removeChild
比如下面这个节点
&lt;ul&gt;
        &lt;li&gt;熊大&lt;/li&gt;
        &lt;li&gt;熊二&lt;/li&gt;
        &lt;li&gt;光头强&lt;/li&gt;
    &lt;/ul&gt;

想要把里面的li全部删除。
如果使用下面的代码，无法完全删除
var ule=doc...]]></description><category></category></item></channel></rss>