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