上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
摘要: 新建仓库 创建好后登录: docker login 登录完后,把所需上传的容器变为镜像 docker commit containerId dockerUserName/XXX 注:containerId为你需要上传的容器id,dockerUserName为dockerHub的登录名,xxx为仓库名 阅读全文
posted @ 2022-02-25 16:54 ToDarcy 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 如shiro.jar ps -ef | grep shiro.jar | grep -v grep | awk '{print $2}' | xargs kill -9 阅读全文
posted @ 2021-12-14 17:03 ToDarcy 阅读(954) 评论(0) 推荐(0) 编辑
摘要: int[] int[] ids= StringUtil.isEmpty(classIds)?null:Arrays.stream(classIds.split(",")).mapToInt(Integer::parseInt).toArray(); List<Integer> List<Intege 阅读全文
posted @ 2021-12-06 18:52 ToDarcy 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 1.删除文件命令: find 对应目录 -mtime +天数 -name "文件名" -exec rm -rf {} \; 实例命令: find /data/log/ -mtime +30 -name "*.log" -exec rm -rf {} \; 备注: 将/data/log/目录下所有30 阅读全文
posted @ 2021-11-29 11:32 ToDarcy 阅读(2386) 评论(0) 推荐(0) 编辑
摘要: 效果:B 分支内容合并到 A 分支 git check A git merge origin/B 比如冲突文件为t.txt 修改掉冲突后 git add t.txt git commit git push origin A 完成。 阅读全文
posted @ 2021-08-25 11:33 ToDarcy 阅读(220) 评论(0) 推荐(0) 编辑
摘要: package com.example.test.utils; import javax.net.ssl.*; import java.security.KeyStore; import java.security.SecureRandom; import java.security.cert.X5 阅读全文
posted @ 2021-08-05 16:53 ToDarcy 阅读(850) 评论(0) 推荐(0) 编辑
摘要: /** * * 根据开始日期 ,需要的工作日天数 ,计算工作截止日期,并返回截止日期 * @param startDate 开始日期 * @param workDay 工作日天数(周一到周五) */ public static String getWorkDay(Date startDate, in 阅读全文
posted @ 2021-08-02 17:53 ToDarcy 阅读(1032) 评论(0) 推荐(0) 编辑
摘要: package com.example.test.controller; import org.apache.pdfbox.Loader; import org.apache.pdfbox.cos.COSName; import org.apache.pdfbox.pdmodel.PDDocumen 阅读全文
posted @ 2021-07-29 15:52 ToDarcy 阅读(2014) 评论(0) 推荐(0) 编辑
摘要: win 系统docker pull nacos/nacos-server 提示timeout 找到C:\Users\你的用户名\.docker\daemon.json文件 阿里云{ "registry-mirrors":["https://6kx4zyno.mirror.aliyuncs.com"] 阅读全文
posted @ 2021-07-23 16:04 ToDarcy 阅读(840) 评论(0) 推荐(0) 编辑
摘要: /** * 创建文件夹 * */ public static boolean mkDirectory(String path) { File file = null; try { file = new File(path); if (!file.exists()) { return file.mkd 阅读全文
posted @ 2021-07-23 11:48 ToDarcy 阅读(881) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页