摘要: 一、文件编辑监听事件 1、实现FileEditorManagerListener接口 @Override public void fileOpenedSync(@NotNull FileEditorManager source, @NotNull VirtualFile file, @NotNull 阅读全文
posted @ 2020-11-07 23:37 antlord 阅读(2033) 评论(0) 推荐(0) 编辑
摘要: IDEA 插件开发 一、PropertiesComponent.getInstance(project):临时储存数据,适用于application级别和project级别 PropertiesComponent.getInstance(project).setValue("kwy", "value 阅读全文
posted @ 2020-05-12 21:30 antlord 阅读(5171) 评论(2) 推荐(0) 编辑
摘要: opensuse系统安装jdk8 1、下载jdk 2、opensuse创建java目录 3、上传jdk文件到/usr/java 4、解压jdk到当前目录 5、设置环境变量 6、文件末尾加入配置 7、更新配置生效 阅读全文
posted @ 2019-04-03 09:50 antlord 阅读(969) 评论(0) 推荐(0) 编辑
摘要: opensuse系统免安装运行mysql 1、下载mysql 2、解压文件 3、创建软链 4、配置文件和参数:复制mysql/support-files/my-default.cnf到etc/my.cnf 5、修改my.cnf参数 6、初始化数据库:在mysql/bin或者mysql/scripts 阅读全文
posted @ 2019-04-03 09:42 antlord 阅读(616) 评论(0) 推荐(0) 编辑
摘要: opensuse安装nodejs 安装node.js:nodejs4/nodejs6 查询node和npm的路径 为node和npm建立两个软连接,以后在任意路径下都可以执行node 和 npm两个命令 查看node和npm版本 安装cli3 阅读全文
posted @ 2019-04-03 09:40 antlord 阅读(641) 评论(0) 推荐(0) 编辑
摘要: opensuse安装nginx 安装步骤如下 配置nginx.conf,配置文件路径 /etc/nginx/nginx.conf server { # 监听80端口 listen 80; # 服务器前端地址 server_name 255.255.255.0; # 配置根地址:即访问ip地址,默认端 阅读全文
posted @ 2019-04-03 09:33 antlord 阅读(950) 评论(0) 推荐(0) 编辑
摘要: 使用JWT(JSON WEB TOKEN)工具, <artifactId>jjwt</artifactId> 生成token方式 根据前端取回的token进行验证方式 token配置类 token配置文件 阅读全文
posted @ 2019-03-21 11:42 antlord 阅读(1165) 评论(0) 推荐(0) 编辑
摘要: springboot security 安全机制 认证流程: 代码块 自定义认证配置,实现WebSecurityConfigurerAdapter 自定义拦截器,继承AbstractAuthenticationProcessingFilter 自定义认证逻辑,继承AuthenticationProv 阅读全文
posted @ 2019-03-21 11:32 antlord 阅读(2117) 评论(0) 推荐(0) 编辑
摘要: xshell-centos服务器使用记录 centos与本地上传下载文件 centos常用命令 查看防火墙状态 关闭firewalld防火墙 开启防火墙 开放端口 查看已开放的端口 查看端口号、杀死进程 linux常用命令: https://mp.weixin.qq.com/s?__biz=MzI0 阅读全文
posted @ 2018-09-27 11:13 antlord 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 1、FindBugs:检测代码,发现bug 2、alibaba-java-coding-guidelines(推荐):检测代码规范 3、visualvm-launcher:查看运行时jvm内存情况 4、generateallsetter:一键调用类的所有set方法 5、mybatiscodehelp 阅读全文
posted @ 2018-08-27 17:59 antlord 阅读(2561) 评论(0) 推荐(0) 编辑