<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[a12hhhe的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/a12hhhe</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; a12hhhe]]></copyright><item><title><![CDATA[Swagger/ MongoDB 注解]]></title><link>https://blog.csdn.net/a12hhhe/article/details/107841945</link><guid>https://blog.csdn.net/a12hhhe/article/details/107841945</guid><author>a12hhhe</author><pubDate>Sun, 07 Mar 2021 20:57:32 +0800</pubDate><description><![CDATA[Swagger 常用注解使用详解

https://blog.csdn.net/wyb880501/article/details/79576784

SpringBoot中MongoDB注解概念及使用

https://blog.csdn.net/tianyaleixiaowu/article/details/73530679


]]></description><category></category></item><item><title><![CDATA[VMWare16上安装CentOS 7镜像]]></title><link>https://blog.csdn.net/a12hhhe/article/details/110137764</link><guid>https://blog.csdn.net/a12hhhe/article/details/110137764</guid><author>a12hhhe</author><pubDate>Wed, 25 Nov 2020 17:46:28 +0800</pubDate><description><![CDATA[1、下载虚拟机VMWare和镜像CentOS，可从各自的官网下载

2、安装VMWare 虚拟机，网上搜索版本密钥

3、安装CentOS 7

CentOS7 安装教程https://blog.csdn.net/qq_44714603/article/details/88829423

4，重启进入，如果是命令行界面则没有没有安装图形界面导致

CentOS7安装图形界面https://www.it610.com/article/1281423147844780032.htm

5，完毕，开始秀吧...]]></description><category></category></item><item><title><![CDATA[xshell连接远程服务器的 mongodb 数据库，导出数据，及mongoDB基本操作语法]]></title><link>https://blog.csdn.net/a12hhhe/article/details/109357964</link><guid>https://blog.csdn.net/a12hhhe/article/details/109357964</guid><author>a12hhhe</author><pubDate>Thu, 29 Oct 2020 14:41:12 +0800</pubDate><description><![CDATA[1、首先使用xshell连接到远程服务器


ssh 主机ip:端口号(默认为22)


根据提示输入用户名和密码登录

2、连接mogodb数据库


mongo 主机ip:端口号/连接的数据库名-u 用户名 -p 密码;


例如：mongo 172.168.0.000:8080/test -u root -p password

如下表示连接成功：



mongodb:菜鸟教程
...]]></description><category></category></item><item><title><![CDATA[AndroidStudio 打 jar 包]]></title><link>https://blog.csdn.net/a12hhhe/article/details/109220791</link><guid>https://blog.csdn.net/a12hhhe/article/details/109220791</guid><author>a12hhhe</author><pubDate>Thu, 22 Oct 2020 14:33:34 +0800</pubDate><description><![CDATA[先列出打包过程中可能会遇到的一些异常

1、异常：Execution failed for task ':app:lint'.

这个是因为代码不符合规范，lint检查时报错，因此中断了整个编译过程。

解决方案：https://www.jianshu.com/p/a9b1adcc6e81

Module:app的build.gradle文件下 


android { defaultConfig{} ，buildType{} 的同级目录 } 添加如下代码：


    defaultConfig {...]]></description><category></category></item><item><title><![CDATA[JS 正则表达式和replace]]></title><link>https://blog.csdn.net/a12hhhe/article/details/108664840</link><guid>https://blog.csdn.net/a12hhhe/article/details/108664840</guid><author>a12hhhe</author><pubDate>Fri, 18 Sep 2020 14:39:08 +0800</pubDate><description><![CDATA[示例：



if (!this.form.projectNo.replace(/ /g, "")) {
    this.$message.error("账号不能为空");
    return;
}
if (!(/^1[3456789]\d{9}$/).test(this.form.mobileNo))
    this.$message.error("手机号输入错误");
    return;
}
if (!this.form.authCode.replace(/ /g, "")) {
    th]]></description><category></category></item><item><title><![CDATA[SpringBoot项目Token的生成与解析]]></title><link>https://blog.csdn.net/a12hhhe/article/details/108159790</link><guid>https://blog.csdn.net/a12hhhe/article/details/108159790</guid><author>a12hhhe</author><pubDate>Fri, 21 Aug 2020 22:52:53 +0800</pubDate><description><![CDATA[有的时候我们需要传给后端一个值，只能通过前端的 token获取这个值，然后传给后端



后端生成Token 的方法


    private String jwtToken(String userId, String username, String role) {
        return JWT.create()
                .withClaim("userId", userId)
                .withClaim("username", usernam.]]></description><category></category></item><item><title><![CDATA[注解学习]]></title><link>https://blog.csdn.net/a12hhhe/article/details/107842086</link><guid>https://blog.csdn.net/a12hhhe/article/details/107842086</guid><author>a12hhhe</author><pubDate>Thu, 06 Aug 2020 15:56:00 +0800</pubDate><description><![CDATA[Swagger 常用注解使用详解

https://blog.csdn.net/wyb880501/article/details/79576784

SpringBoot中MongoDB注解概念及使用

https://blog.csdn.net/tianyaleixiaowu/article/details/73530679


]]></description><category></category></item><item><title><![CDATA[将多个项目上传到Github/Gitee 的同一个仓库下]]></title><link>https://blog.csdn.net/a12hhhe/article/details/107065312</link><guid>https://blog.csdn.net/a12hhhe/article/details/107065312</guid><author>a12hhhe</author><pubDate>Wed, 01 Jul 2020 16:23:38 +0800</pubDate><description><![CDATA[请确定本地已安装好了Git 工具

1、首先在你的Github下创建一个仓库 如：名为 practice-demo的仓库



删除.git相当于 撤销git init

2、找到你本地的项目，如下：上传uploadToGithub 下的 project 和 project-web 项目到Github仓库



3、在该文件夹下鼠标右键选择：Git Bash Here



4、输入命令：git init



成功之后文件夹下会出现一个隐藏的 . git 文件夹



5、输入命令：git add...]]></description><category></category></item><item><title><![CDATA[Linux 常用命令]]></title><link>https://blog.csdn.net/a12hhhe/article/details/107043248</link><guid>https://blog.csdn.net/a12hhhe/article/details/107043248</guid><author>a12hhhe</author><pubDate>Tue, 30 Jun 2020 15:22:22 +0800</pubDate><description><![CDATA[ls　　    显示文件或目录

  -l    列出文件详细信息l(list)

  -a    列出当前目录下所有文件及目录，包括隐藏的a(all)
  
mkdir     创建目录

  -p    创建目录，若无父目录，则创建p(parent)

cd      切换目录

touch     创建空文件

vim / vi   创建/编辑文件

  insert  编辑
  
  :q  ...]]></description><category></category></item><item><title><![CDATA[从写代码到公网访问整个流程]]></title><link>https://blog.csdn.net/a12hhhe/article/details/107034545</link><guid>https://blog.csdn.net/a12hhhe/article/details/107034545</guid><author>a12hhhe</author><pubDate>Tue, 30 Jun 2020 09:57:17 +0800</pubDate><description><![CDATA[https://blog.csdn.net/sunnyzyq/article/details/95062942
]]></description><category></category></item><item><title><![CDATA[JS 和Java mac12位16进制数据校验，及进制的转换]]></title><link>https://blog.csdn.net/a12hhhe/article/details/106618269</link><guid>https://blog.csdn.net/a12hhhe/article/details/106618269</guid><author>a12hhhe</author><pubDate>Mon, 08 Jun 2020 14:21:23 +0800</pubDate><description><![CDATA[JS 验证 mac是否为12位16进制数据



var format = /^[a-fA-F0-9]{12}$/;
if(!format.test(mac)){
    alert("mac格式不正确! 请重新输入");
    return;
}

]]></description><category></category></item><item><title><![CDATA[easy-poi 修改单元格样式]]></title><link>https://blog.csdn.net/a12hhhe/article/details/106264845</link><guid>https://blog.csdn.net/a12hhhe/article/details/106264845</guid><author>a12hhhe</author><pubDate>Thu, 21 May 2020 18:24:35 +0800</pubDate><description><![CDATA[// 导出路径
String outPath = "E:\\文件.xls";


// 导出excel表
Workbook workbook = ExcelExportUtil.exportExcel(
        new ExportParams("标题", "sheet名"),
        Build.class, buildBlgMacInfo
);
// 设置表格样式
// 设置字体样式，颜色置为红色
Font font = workbook.createFont();
short in..]]></description><category></category></item><item><title><![CDATA[Spring Boot 用 RestTemplate 发送HTTP 请求]]></title><link>https://blog.csdn.net/a12hhhe/article/details/106264047</link><guid>https://blog.csdn.net/a12hhhe/article/details/106264047</guid><author>a12hhhe</author><pubDate>Thu, 21 May 2020 17:58:07 +0800</pubDate><description><![CDATA[Spring RestTemplate 是 Spring 提供的用于访问 Rest 服务的客户端，RestTemplate 提供了多种便捷访问远程Http服务的方法，能够大大提高客户端的编写效率

调用 RestTemplate 的默认构造函数，RestTemplate 对象在底层通过使用 java.net 包下的实现创建 HTTP 请求，可以通过使用 ClientHttpRequestFactory 指定不同的HTTP请求方式。默认使用 SimpleClientHttpRequestFactory，是 C]]></description><category></category></item><item><title><![CDATA[用 命令行将指定java编译后的class 文件生成jar 包]]></title><link>https://blog.csdn.net/a12hhhe/article/details/106135609</link><guid>https://blog.csdn.net/a12hhhe/article/details/106135609</guid><author>a12hhhe</author><pubDate>Fri, 15 May 2020 10:30:19 +0800</pubDate><description><![CDATA[参考：怎样将java的class文件生成jar包

将一些*.class文件压缩成一个 .jar文件交付给用户使用。如果要想生成jar文件，直接使用JDK中bin目录里的jar.exe就可以将所有的类文件进行压缩。此命令是随JDK一起安装的，直接在命令行中输入jar，即可看到此命令的提示操作。



示例

有 2个都是class文件的文件夹com,demo，



命令行进入该目录下，输入命令 jar -cvf [给jar包命名] [需要打包的文件]，



打包成功后，在该目录下会生成一个ja...]]></description><category></category></item><item><title><![CDATA[Vue + Element-UI 记住用户名和密码到Cookie]]></title><link>https://blog.csdn.net/a12hhhe/article/details/106058676</link><guid>https://blog.csdn.net/a12hhhe/article/details/106058676</guid><author>a12hhhe</author><pubDate>Mon, 11 May 2020 17:40:12 +0800</pubDate><description><![CDATA[参考链接https://www.cnblogs.com/nxmin/p/8386031.html

实现功能：

1.记住密码勾选，点登陆时，将账号和密码保存到cookie，下次登陆自动显示到表单内
2.不勾选，点登陆时候则清空之前保存到cookie的值，下次登陆需要手动输入


大体思路就是通过存/取/删cookie实现的；每次进入登录页，先去读取cookie，如果浏览器的cookie中有账号信息，就自动填充到登录框中，存cookie是在登录成功之后，判断当前用户是否勾选了记住密码，如果勾选了，则把账号.]]></description><category></category></item><item><title><![CDATA[Vue项目运行报错，‘webpack-dev-server‘ 不是内部或外部命令，也不是可运行的程序 或批处理文件。]]></title><link>https://blog.csdn.net/a12hhhe/article/details/105968214</link><guid>https://blog.csdn.net/a12hhhe/article/details/105968214</guid><author>a12hhhe</author><pubDate>Thu, 07 May 2020 11:06:16 +0800</pubDate><description><![CDATA[刚导入的Vue项目报'webpack-dev-server' 不是内部或外部命令，也不是可运行的程序 或批处理文件。错误

在项目的控制台输入以下命令：


npm install webpack-dev-server --save-dev

文件加载完成之后运行：


npm run dev


...]]></description><category></category></item><item><title><![CDATA[Git 命令]]></title><link>https://blog.csdn.net/a12hhhe/article/details/105485612</link><guid>https://blog.csdn.net/a12hhhe/article/details/105485612</guid><author>a12hhhe</author><pubDate>Mon, 13 Apr 2020 13:38:00 +0800</pubDate><description><![CDATA[感谢大佬：本文引用该大佬文章，点击到原文

1.Git 和 Svn：分布式VS集中式

 svn是集中式版本管理,效果图如下：





git属于分布式版本管理,效果图如下：







git 的直接版本控制在于自己的主机，它拥有自己的本地仓库，因此他可以在不联网的情况下进行版本控制；对于git来说中央主机的存在只不过是提供一个众所周知的更新地址。但是svn的中央主机就是其工作命脉...]]></description><category></category></item><item><title><![CDATA[数据库基础语法---MySQL8.0忘记密码怎么办？写在最后]]></title><link>https://blog.csdn.net/a12hhhe/article/details/105435487</link><guid>https://blog.csdn.net/a12hhhe/article/details/105435487</guid><author>a12hhhe</author><pubDate>Fri, 10 Apr 2020 18:23:45 +0800</pubDate><description><![CDATA[一、启动MySQL

1、以管理员身份进入命令行

2、启动mysql


net start mysql


3、停止mysql


net stop mysql


二、登陆MySQL

1、命令行进入MySQL的安装路径的bin目录下，输入命令mysql -u root -p 回车进入数据库


mysql -u root -p




2、退出数据库，exit 或 quit 回车退出......]]></description><category></category></item><item><title><![CDATA[正则表达式]]></title><link>https://blog.csdn.net/a12hhhe/article/details/104769615</link><guid>https://blog.csdn.net/a12hhhe/article/details/104769615</guid><author>a12hhhe</author><pubDate>Tue, 10 Mar 2020 11:15:01 +0800</pubDate><description><![CDATA["^\d+$"　　//非负整数（正整数 + 0）
 "^[0-9]*[1-9][0-9]*$"　　//正整数
 "^((-\d+)|(0+))$"　　//非正整数（负整数 + 0）
 "^-[0-9]*[1-9][0-9]*$"　　//负整数
 "^-?\d+$"　　　　//整数
 "^\d+(\.\d+)?$"　　//非负浮点数（正浮点数 + 0）
 "^(([0-9]...]]></description><category></category></item><item><title><![CDATA[Java 求向量夹角，坐标旋转]]></title><link>https://blog.csdn.net/a12hhhe/article/details/104022488</link><guid>https://blog.csdn.net/a12hhhe/article/details/104022488</guid><author>a12hhhe</author><pubDate>Fri, 17 Jan 2020 17:21:20 +0800</pubDate><description><![CDATA[Java实现 求两个向量的夹角


​​​​​​​// 向量1的坐标:(x1,y1)，向量2的坐标:(x2,y2); 则
double value = (x1 * x2 + y1 * y2) / (Math.sqrt(x1 * x1 + y1 * y1) * Math.sqrt(x2 * x2 + y2 * y2)); // 余弦值
double angle = Math.toDegrees(Ma...]]></description><category></category></item></channel></rss>