本文主要讲解如何通过RabbitMQ实现定时任务(延时队列) 环境准备 需要在MQ中进行安装插件 地址链接 插件介绍地址:https://www.rabbitmq.com/blog/2015/04/16/scheduling-messages-with-rabbitmq/ 使用场景 作为一个新的预支 ...
MySQL spring.datasource.url=jdbc:mysql://localhost:3306/twitter_test?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8spring. ...
分类:
移动开发 时间:
2021-04-27 14:38:30
阅读次数:
0
1.安装依赖npm install --save-dev stylelint stylelint-scss stylelint-config-standard stylelint-csstree-validator stylelint-config-prettier 2.安装插件stylelint ...
分类:
其他好文 时间:
2021-04-27 14:36:39
阅读次数:
0
一、配置: igase-message-archiving源码也有的,工程导进去就可以,init.properties的加配置, --comp-name-2=message-archive --comp-class-2=tigase.archive.MessageArchiveComponent m ...
分类:
其他好文 时间:
2021-04-27 14:31:39
阅读次数:
0
ESLint模式下for in遍历对象会报错,可以这样解决: let val = { shu: [1, 2, 3] }; for (let item in val) { if (val.hasOwnProperty(item)) { console.log(item); } } 因为我们在遍历一个对 ...
分类:
移动开发 时间:
2021-04-27 14:25:28
阅读次数:
0
学习无他法,唯有持之以恒 Git解决中文乱码问题git status 乱码解决方法:git config --global core.quotepath false?git commit 乱码解决方法:git config --global i18n.commitencoding utf-8?git ...
分类:
其他好文 时间:
2021-04-26 13:50:31
阅读次数:
0
unzip -q wenjian.zip #指定GBK GB18030编码也是可以的 unzip -O CP936 资料.zip 主要的原因是因为unzip在解压的时候会将编码转化为其内部默认的编码,而默认的编码根本不支持中文CP936编码。因此我们需要在解压的时候明确的指定需要使用的编码。 修改u ...
分类:
系统相关 时间:
2021-04-26 13:45:07
阅读次数:
0
Logger配置文件说明 文件一定在src下,并命名为log4j.properties ### 全局默认配置 log4j.rootLogger = debug,stdout,D,E ### 设置控制台日志输出 ### log4j.appender.stdout = org.apache.log4j. ...
分类:
其他好文 时间:
2021-04-26 13:30:43
阅读次数:
0
1、点击 File -> settings -> File Types 这时候右侧有俩个框, 在上面的框 选中 PHP FILES然后在下方的框 点击 绿色小加号 , 在弹出的框中 输入 *.php 2、这样做的目的, 是把以 .php 结尾的文件用 PHP FILES所定义的渲染方式渲染文档, 不 ...
分类:
Web程序 时间:
2021-04-26 13:27:25
阅读次数:
0
系统:win10 今天在使用控制台打印内容时, 发现个人对制表符不是很清楚,在此记录,以便日后查阅. 分割线 函数: int printf(const char* _Format, ...) 注1:这货竟然有返回值, 返回输出的字符数量 注2:关于输出乱码的问题:printf打印,包括Qt控件上显示 ...
分类:
其他好文 时间:
2021-04-26 13:25:33
阅读次数:
0