上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
摘要: 效果: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 阅读(219) 评论(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 阅读(793) 评论(0) 推荐(0) 编辑
摘要: /** * * 根据开始日期 ,需要的工作日天数 ,计算工作截止日期,并返回截止日期 * @param startDate 开始日期 * @param workDay 工作日天数(周一到周五) */ public static String getWorkDay(Date startDate, in 阅读全文
posted @ 2021-08-02 17:53 ToDarcy 阅读(987) 评论(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 阅读(1862) 评论(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 阅读(756) 评论(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 阅读(840) 评论(0) 推荐(0) 编辑
摘要: 在open打开的项目A下面的.ide的workspace.xml中,查找到 RunDashboard ;新增以下的配置: <option name="configurationTypes"> <set> <option value="SpringBootApplicationConfiguratio 阅读全文
posted @ 2021-04-27 17:25 ToDarcy 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 拉取mysql5.7镜像 docker pull mysql:5.7 运行容器 docker run -di --name master -p3307:3306 -e MYSQL_ROOT_PASSWORD=root mysql:5.7 docker run -di --name slave -p3 阅读全文
posted @ 2021-04-17 13:59 ToDarcy 阅读(120) 评论(0) 推荐(1) 编辑
摘要: 我这里用两台服务器,一个Linux、一个mac使用docker容器搭建的mysql 进行演示,IP分别是15(Master)【端口为3307】,222(Slave)【端口为3308】 注意:配置时,根据自己对应的端口进行配置,一般情况下,安装的默认都是3306端口,自行修改即可。 备注(mysql允 阅读全文
posted @ 2021-04-16 17:33 ToDarcy 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 使用脚本进行去重 获取重复数据后保留最小值ID后进行批量删除 代码如下: controller: /** * 更新并删除重复数据 */ @Async @GetMapping("/up") @ApiOperation(value = "更新并删除重复数据", notes = "更新并删除重复数据") 阅读全文
posted @ 2021-04-13 14:23 ToDarcy 阅读(1213) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页