<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Rm_and_Rf的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/Rm_and_Rf</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Rm_and_Rf]]></copyright><item><title><![CDATA[vite+vue3+electron搭建项目]]></title><link>https://blog.csdn.net/Rm_and_Rf/article/details/134987561</link><guid>https://blog.csdn.net/Rm_and_Rf/article/details/134987561</guid><author>Rm_and_Rf</author><pubDate>Thu, 14 Dec 2023 10:27:21 +0800</pubDate><description><![CDATA[使用vscode+vite+vue3+electron搭建项目]]></description><category></category></item><item><title><![CDATA[如何判断oracle是否启动及启动oracle数据库]]></title><link>https://blog.csdn.net/Rm_and_Rf/article/details/127634120</link><guid>https://blog.csdn.net/Rm_and_Rf/article/details/127634120</guid><author>Rm_and_Rf</author><pubDate>Tue, 01 Nov 2022 15:28:32 +0800</pubDate><description><![CDATA[plsql连接Oracle超时，完犊子了肯定是服务器断电了。得马上检查Oracle服务器状态。]]></description><category></category></item><item><title><![CDATA[Oracle 使用不等于判断null时缺少数据]]></title><link>https://blog.csdn.net/Rm_and_Rf/article/details/122084437</link><guid>https://blog.csdn.net/Rm_and_Rf/article/details/122084437</guid><author>Rm_and_Rf</author><pubDate>Wed, 22 Dec 2021 14:44:09 +0800</pubDate><description><![CDATA[报错场景：
数据库 t_user表有如下三条数据，01对应性别男，02对应性别女，03对应未知




姓名(name)
性别(sex)




张三
01


李四
02


王五
null


老六
03


使用Oracle查询不等于01和02的数据：
-- 查询结果为空，即查不到王五的数据
select * from t_user where sex != 01 and sex != 02

原因：
Oracle文档解释：

如果行中的列没有值，则称该列为null或包含 null。零点可以出现在不受]]></description><category></category></item><item><title><![CDATA[2021最新PhpStorm+wamp+Xdebug调试wordpress]]></title><link>https://blog.csdn.net/Rm_and_Rf/article/details/117457131</link><guid>https://blog.csdn.net/Rm_and_Rf/article/details/117457131</guid><author>Rm_and_Rf</author><pubDate>Wed, 02 Jun 2021 10:41:51 +0800</pubDate><description><![CDATA[1、安装好的wampServer
2、安装好的PHPStorm
3、使用wampServer自带的PHP环境和Xdebug
步骤一、
使用PHPStorm打开www文件夹


]]></description><category></category></item><item><title><![CDATA[windows使用git给github设置ssh密钥]]></title><link>https://blog.csdn.net/Rm_and_Rf/article/details/117295791</link><guid>https://blog.csdn.net/Rm_and_Rf/article/details/117295791</guid><author>Rm_and_Rf</author><pubDate>Wed, 26 May 2021 16:57:11 +0800</pubDate><description><![CDATA[PS:博主为什么要改成ssh方式提交代码呢？还不是每次使用https协议提交的时候都要输入账号和密码，这也太麻烦了啊！！！
步骤一、使用git生成ssh密钥
不知道有没有ssh密钥的可以进入C:\Users\你的电脑用户名.ssh 查看有没有.ssh文件
生成步骤：

打开Git Bash。
将以下文本粘贴，替换为您在GitHub上的帐户的电子邮件地址。
ssh-keygen -t ed25519 -C "your_email@example.com""


注意：如果使用的旧系统不支持Ed25519算法，]]></description><category></category></item><item><title><![CDATA[intellij IDEA新建类时添加作者等信息]]></title><link>https://blog.csdn.net/Rm_and_Rf/article/details/111866474</link><guid>https://blog.csdn.net/Rm_and_Rf/article/details/111866474</guid><author>Rm_and_Rf</author><pubDate>Mon, 28 Dec 2020 14:48:50 +0800</pubDate><description><![CDATA[实现方案
步骤：
File–&gt; Settings–&gt; Editor–&gt; File and Code Templates–&gt; Includes–&gt; File Header–&gt; “添加以下代码”
/**
 * @Author ${USER}
 * @Date ${DATE} ${TIME}
 * @Version 1.0
 */


其他可以显示的参数信息
${PACKAGE_NAME} 在其中创建新文件的包的名称

${USER} 当前用户系统登录名

${DATE} 当前]]></description><category></category></item><item><title><![CDATA[CONNECT BY loop in user data]]></title><link>https://blog.csdn.net/Rm_and_Rf/article/details/111589964</link><guid>https://blog.csdn.net/Rm_and_Rf/article/details/111589964</guid><author>Rm_and_Rf</author><pubDate>Wed, 23 Dec 2020 16:57:25 +0800</pubDate><description><![CDATA[问题描述：
使用Oracle层次START WITH CONNECT BY PRIOR查询时，因为一行既是另一行的父母（或祖父母或直接祖先）又是孩子（或孙子或直接后代），发生了循环，导致报错
ORA-01436：CONNECT BY loop in user data

解决方案：
在CONNECT BY 后面加入关键词NOCYCLE，加了关键词查询过后，查询到本级和子集ID相同的时候就不会报错了，如果出现重复的话就使用DISTINCT关键词

...]]></description><category></category></item><item><title><![CDATA[如何让table中的td内容自动换行]]></title><link>https://blog.csdn.net/Rm_and_Rf/article/details/110547082</link><guid>https://blog.csdn.net/Rm_and_Rf/article/details/110547082</guid><author>Rm_and_Rf</author><pubDate>Thu, 03 Dec 2020 16:49:47 +0800</pubDate><description><![CDATA[博主在设置table的时候因为td的内容太多了，table的样式都被td给撑大了，所以得限制一下。
方法1：在中设置样式style为word-wrap:break-word;word-break:break-all;
方法2：把表格的sytle的table-layout：fixed，表格固定宽度，然后设置td的word-wrap：break-word；让td换行

...]]></description><category></category></item><item><title><![CDATA[教你实现mysql全连接的方法]]></title><link>https://blog.csdn.net/Rm_and_Rf/article/details/110188133</link><guid>https://blog.csdn.net/Rm_and_Rf/article/details/110188133</guid><author>Rm_and_Rf</author><pubDate>Thu, 26 Nov 2020 15:18:27 +0800</pubDate><description><![CDATA[前提：因为MySQL没有full join，所以只能通过其他方法来实现全连接，下面请看操作。
先直接上代码，下面再慢慢解释：
select a.*,b.* from a left join b on a.id = b.id union
select a.*,b.* from a right join b on a.id = b.id 

简介：先使用left join左连接将数据a表满足条件的数据查出来，再使用right join右连接将b表满足条件的数据查出来，最后使用union将查出来的数据联合组成并去]]></description><category></category></item><item><title><![CDATA[java使用反射给对象赋值]]></title><link>https://blog.csdn.net/Rm_and_Rf/article/details/109997703</link><guid>https://blog.csdn.net/Rm_and_Rf/article/details/109997703</guid><author>Rm_and_Rf</author><pubDate>Mon, 23 Nov 2020 15:28:02 +0800</pubDate><description><![CDATA[对于Java的反射因为不是经常使用，所以记录一下，方便自己查阅
测试类:
public class Test {

    private String name;
    
    public String getName() {
        return name;
    }
    public void setName( String name) {
         this.name= name;
    }
}


方法1：
Test t = new Test();

Field f ]]></description><category></category></item><item><title><![CDATA[mysqli_real_connect(): (HY000/1045):]]></title><link>https://blog.csdn.net/Rm_and_Rf/article/details/109668194</link><guid>https://blog.csdn.net/Rm_and_Rf/article/details/109668194</guid><author>Rm_and_Rf</author><pubDate>Fri, 13 Nov 2020 09:43:28 +0800</pubDate><description><![CDATA[前言：在使用wamp的时候，不小心忘记了PHPadmin的密码，在登录的时候输入错误的密码就会报这个错误 mysqli_real_connect(): (HY000/1045): Access denied for user ‘root’@‘localhost’ (using password: YES）
第一次发布在吃饭用大碗的程序猿
找回密码方法如下：
一、config.inc.php
1、在wamp的目录下找到apps

2、进入phpmyadmin4.6.4文件夹（版本号可能跟我弟不一样）

3、在]]></description><category></category></item><item><title><![CDATA[ERROR  Error: EBUSY: resource busy or locked, unlink....]]></title><link>https://blog.csdn.net/Rm_and_Rf/article/details/109216839</link><guid>https://blog.csdn.net/Rm_and_Rf/article/details/109216839</guid><author>Rm_and_Rf</author><pubDate>Thu, 22 Oct 2020 10:37:01 +0800</pubDate><description><![CDATA[第一次发布在吃饭用大碗的程序猿
项目场景
uniApp制作应用wgt包的时候报错：
错误描述
ERROR  Error: EBUSY: resource busy or locked,
错误 错误：EBUSY:资源忙或已锁定
解决方法：
尝试重启HBuilderX

]]></description><category></category></item><item><title><![CDATA[js中通过key获取json格式字符串的值]]></title><link>https://blog.csdn.net/Rm_and_Rf/article/details/109073473</link><guid>https://blog.csdn.net/Rm_and_Rf/article/details/109073473</guid><author>Rm_and_Rf</author><pubDate>Wed, 14 Oct 2020 14:49:41 +0800</pubDate><description><![CDATA[记录一下在javascript如何将json格式的string通过key取值
let data = '{"name":"张三","age":"16"}'
var jsObject = JSON.parse(data);
console.log(jsObject.name)
//输出 张三


]]></description><category></category></item><item><title><![CDATA[js获取div下的所有a标签]]></title><link>https://blog.csdn.net/Rm_and_Rf/article/details/108509103</link><guid>https://blog.csdn.net/Rm_and_Rf/article/details/108509103</guid><author>Rm_and_Rf</author><pubDate>Thu, 10 Sep 2020 10:37:47 +0800</pubDate><description><![CDATA[代码如下，使用each遍历即可
 $(".div a").each(function(index, element) {
    $(this).attr('href',$(this).attr('href')+"&amp;type=" + index);
 });


]]></description><category></category></item><item><title><![CDATA[解决div挡住要点击的元素]]></title><link>https://blog.csdn.net/Rm_and_Rf/article/details/108508524</link><guid>https://blog.csdn.net/Rm_and_Rf/article/details/108508524</guid><author>Rm_and_Rf</author><pubDate>Thu, 10 Sep 2020 10:17:40 +0800</pubDate><description><![CDATA[前言：在使用toast弹窗的时候，因为toast位置原因，是点击不了toast后面的&lt;a&gt;&lt;/a&gt;标签的，因为toast不需要点击事件，所以我在taost外面的div里面加上了下面的代码：
-webkit-pointer-events: none;
-moz-pointer-events: none;
-ms-pointer-events: none;
-o-pointer-events: none;
pointer-events: none;

如果，div里面存在需要点击的时间的]]></description><category></category></item><item><title><![CDATA[win10电脑锁屏快捷键]]></title><link>https://blog.csdn.net/Rm_and_Rf/article/details/108381550</link><guid>https://blog.csdn.net/Rm_and_Rf/article/details/108381550</guid><author>Rm_and_Rf</author><pubDate>Thu, 03 Sep 2020 14:09:24 +0800</pubDate><description><![CDATA[前言：在平时的工作当中，如果需要外出一会，但是不想关电脑，这时候你就可以一键锁屏。别人就不能看到你电脑的内容啦。下面我给大家讲解一下如何操作。
一、快捷键
win + L
PS：前提是你的电脑有用户，并且你设置过密码的情况，不然锁屏了不需要密码就能解锁。
二、如果没有用户，新建用户
1、在win10桌面找到控制面板

2、在控制面板里面找到用户账号

3、进入用户账号，如果没有用户则点击添加用户，设置密码即可。

按照上面的操作就可以在使用win10快捷键一键锁屏，再也不用担心别人会乱翻自己的电脑啦。

.]]></description><category></category></item><item><title><![CDATA[使用JS获取两个时间差，精确到年月日时分秒]]></title><link>https://blog.csdn.net/Rm_and_Rf/article/details/108371446</link><guid>https://blog.csdn.net/Rm_and_Rf/article/details/108371446</guid><author>Rm_and_Rf</author><pubDate>Wed, 02 Sep 2020 22:07:44 +0800</pubDate><description><![CDATA[写博客的时候需要计算一下博客运行的时间，记录一下。
&lt;script&gt;
	var startTime = "2020-09-02";
	var calculationTime = function(startTime) {
    var s1 = new Date(startTime.replace(/-/g, "/")),
    s2 = new Date(),
    runTime = parseInt((s2.getTime() - s1.getTime()) / 1000);
   ]]></description><category></category></item><item><title><![CDATA[利用CSS的animation属性实现图片放大缩小]]></title><link>https://blog.csdn.net/Rm_and_Rf/article/details/108256876</link><guid>https://blog.csdn.net/Rm_and_Rf/article/details/108256876</guid><author>Rm_and_Rf</author><pubDate>Thu, 27 Aug 2020 12:00:54 +0800</pubDate><description><![CDATA[前言：
在新开发模板的时候看到别人家的网站有个小爱心跳动，于是好奇的去搜索了一下CSS的animation属性，做了类似的一个放大缩小的案例。
HTML代码
&lt;script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"&gt;&lt;/scr]]></description><category></category></item><item><title><![CDATA[解决Avue新增带出上次编辑的内容]]></title><link>https://blog.csdn.net/Rm_and_Rf/article/details/108195813</link><guid>https://blog.csdn.net/Rm_and_Rf/article/details/108195813</guid><author>Rm_and_Rf</author><pubDate>Mon, 24 Aug 2020 11:26:48 +0800</pubDate><description><![CDATA[问题描述：
在使用avue生成的dialog编辑数据保存过后，再点击添加数据，表单里面就会带出上次编辑的数据。

原因分析：
可能是编辑数据保存过后，关闭dialog的时候没有清空表单数据

解决方案：
使用avue提供的:before-open，判断在添加的时候执行下面的代码，进行清空数据。
案例：弹窗执行前后
let self = this;//防止取不到this
for(let key in self.formData){
  self.formData[key]=undefined;
 }


..]]></description><category></category></item><item><title><![CDATA[idea撤回已经commit但是还没push的代码]]></title><link>https://blog.csdn.net/Rm_and_Rf/article/details/108195473</link><guid>https://blog.csdn.net/Rm_and_Rf/article/details/108195473</guid><author>Rm_and_Rf</author><pubDate>Mon, 24 Aug 2020 11:15:44 +0800</pubDate><description><![CDATA[前言
博主在使用idea的时候，因为提交了不该提交的代码，在commit过后才发现，但是还没push，那么想撤回commit的代码应该如何做呢？
一、点击控制台的version control，进入log

在log里面可以看见刚刚提交了错误文件的commit日志
二、选择错误的提交，右键点击，选择undo commit

三、点击ok即可还原

四、结论
通过以上操作就可以撤回commit的代码了。如果你是直接commit push上去的话，建议你还是比较文件差异再进行还原吧

...]]></description><category></category></item></channel></rss>