摘要: zxing 二维码 https://github.com/zxing/zxing Scan Kit 来自华为的二维码SDK https://github.com/HMS-Core/hms-scan-demo Sweet Alert Dialog 清新文艺,快意灵动的甜心弹框 https://gith 阅读全文
posted @ 2021-05-10 18:40 乱炖er 阅读(181) 评论(0) 推荐(0) 编辑
摘要: open class SingleClickListener(private val intervalMils: Long = 1000): OnClickListener{ private val TAG = this.javaClass.name private var mLastClickTi 阅读全文
posted @ 2023-07-31 23:41 乱炖er 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 重点: 不要在PyCharm里直接安装 wkhtmltopdf !!! 从wkhtmltopdf官网下载macOS下的pdg安装包,下载页面:wkhtmltopdf 下载完后安装,通过 which 找到安装路径 import pdfkit config = pdfkit.configuration( 阅读全文
posted @ 2023-04-26 16:20 乱炖er 阅读(115) 评论(0) 推荐(0) 编辑
摘要: yum update报错,原因是CentOS Linux 8在2022年12月31日来到生命周期终点(End of Life,EoL)。即CentOS Linux 8操作系统版本结束了生命周期(EOL),Linux社区已不再维护该操作系统版本。所以原来的CentOS Linux 8的yum源也都失效 阅读全文
posted @ 2023-04-22 17:21 乱炖er 阅读(108) 评论(0) 推荐(0) 编辑
摘要: Python抓取数据时,如果header添加了 accept_encoding = 'gzip, deflate, br' 无论如何转码都会出现 'utf-8' codec can't decode byte 0xxx in position 1: invalid start byte 的错误 只需 阅读全文
posted @ 2023-02-15 22:30 乱炖er 阅读(525) 评论(0) 推荐(0) 编辑
摘要: push时候一直提示这个错误,网上有几个方法,基本都是推荐将git的通信协议由 http/2 改为 http/1.1 http/2 和 http/1.1之间有个区别是“HTTP2 基于 SPDY,专注于性能,最大的一个目标是在用户和网站间只用一个连接” 于是关闭所有github所有页面,关闭所有和g 阅读全文
posted @ 2023-02-08 15:40 乱炖er 阅读(663) 评论(0) 推荐(0) 编辑
摘要: IntelliJ IDEA 启动 springboot 项目时出现提示“Lombok requires enabled annotation processing: Do you want to enable annotation processors?” 解决方案: Preferences -> 阅读全文
posted @ 2023-02-08 12:27 乱炖er 阅读(1659) 评论(0) 推荐(1) 编辑
摘要: 1,安装扩展 Markdown Preview Enhanced 2,设置 Enable Script Execution 3,设置md文件头部 在md文件头部输入以下内容,注意缩进 (头部文件规则说明前点击这里) html: toc: true toc_depth: 6 toc_float: tr 阅读全文
posted @ 2022-12-30 12:23 乱炖er 阅读(438) 评论(0) 推荐(0) 编辑
摘要: @Column的作用是来标识实体类中属性与数据表中字段的对应关系,其代码定义如下 @Target({ElementType.METHOD, ElementType.FIELD}) @Retention(RetentionPolicy.RUNTIME) public @interface Column 阅读全文
posted @ 2022-05-16 23:18 乱炖er 阅读(555) 评论(0) 推荐(0) 编辑
摘要: SpringBoot老版本引入单元测试 import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; .... @SpringBootTest @Ru 阅读全文
posted @ 2022-05-15 13:58 乱炖er 阅读(641) 评论(0) 推荐(1) 编辑
摘要: 配置Preferences 修改动态编译延迟时间 同时按住 SHIFT + OPTION + CMD + / 进入 Registry 修改延迟时间 重新运行项目,热部署完成 阅读全文
posted @ 2022-05-08 12:14 乱炖er 阅读(61) 评论(0) 推荐(0) 编辑