摘要: /** * 递归获取路径下所有文件 * * @param path 要获取的路径 * @param depth 初始深度 * @param maxDepth 最大递归深度 * @return 该路径下所有文件 */ private static List<File> rListFiles(File 阅读全文
posted @ 2022-01-15 11:23 博麗靈夢 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 艹,原来这个仓库有教程的 仓库地址 首先,添加 插件 javafxplugin plugins { kotlin("jvm") version "1.6.10" application id("org.openjfx.javafxplugin").version("0.0.9") } 然后,配置 j 阅读全文
posted @ 2022-01-07 11:26 博麗靈夢 阅读(505) 评论(0) 推荐(0) 编辑
摘要: 引入 ShadowJar 插件 主要是第一、五行 import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar plugins { kotlin("jvm") version "1.6.10" java id("com.githu 阅读全文
posted @ 2022-01-03 20:13 博麗靈夢 阅读(984) 评论(0) 推荐(0) 编辑
摘要: 后端接口为 http://localhost/upload 后端获取文件用的 key 为 file 文件名为 1.png 等价于 input type="file" name="media"> curl 命令: curl -F "file=@1.png" http://localhost/uploa 阅读全文
posted @ 2022-01-02 09:35 博麗靈夢 阅读(772) 评论(0) 推荐(0) 编辑
摘要: 将配置文件里的 设置为 最终效果 就好了 最后,Swagger3 的访问地址是 http://localhost:9999/swagger-ui/index.html 阅读全文
posted @ 2021-12-31 17:19 博麗靈夢 阅读(184) 评论(0) 推荐(0) 编辑
摘要: @Suppress("DEPRECATION") @Suppress("UNCHECKED_CAST") @Suppress("UNUSED") @SuppressLint("PrivateApi") 阅读全文
posted @ 2021-12-31 11:02 博麗靈夢 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 依赖 implementation("org.apache.xmlgraphics:fop:2.6") // https://mvnrepository.com/artifact/org.apache.xmlgraphics/batik-codec implementation("org.apach 阅读全文
posted @ 2021-12-27 12:44 博麗靈夢 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 依赖 implementation("org.apache.logging.log4j:log4j-slf4j-impl:2.17.0") implementation("org.apache.logging.log4j:log4j-core:2.17.0") 代码 import org.apach 阅读全文
posted @ 2021-12-26 12:25 博麗靈夢 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 编译流程 查看内核版本 登录 Alpine , 输入 uname -r 查看内核版本 安装对应包 根据内核版本安装对应包 等待安装完毕 上传源码 将 Hello World 程序发送到 Alpine 修改 Makefile 要适当修改 Makefile 里的 modules 路径 编译模块 进入程序 阅读全文
posted @ 2021-12-09 22:57 博麗靈夢 阅读(518) 评论(0) 推荐(0) 编辑
摘要: 目录结构如下 Makefile LAME_ROOT=. CC=gcc CFLAG=-Iinclude -DSTDC_HEADERS -Duint8_t="unsigned char" -Duint16_t="unsigned short" -Duint32_t="unsigned int" -Dui 阅读全文
posted @ 2021-12-06 09:48 博麗靈夢 阅读(490) 评论(0) 推荐(0) 编辑