
开发工具类
wang_1220
对IT主流框架技术极为敏感,写过两年Android开发,用Python、js做过一年游戏,至今有2年的后台PHP开发经验,希望能成为一名全栈工程师。
展开
-
Another git process seems to be running in this repository, e.g. an editor opened by ‘git commit‘.
问题描述:Another git process seems to be running in this repository, e.g.an editor opened by 'git commit'. Please make sure all processesare terminated then try again. If it still fails, a git processmay have crashed in this repository earlier:remove the原创 2020-11-14 13:03:41 · 421 阅读 · 0 评论 -
SpringBoot 注解@NotBlank、@NotNull、@NotEmpty的区别以及用法
@NotNull 验证对象是否不为null, 无法查检长度为0的字符串.@NotBlank 检查约束 (字符串) 是不是Null还有被Trim的长度是否大于0,只对字符串,且会去掉前后空格.@NotEmpty 检查(集合)约束元素是否为NULL或者是EMPTY.@Data@AllArgsConstructor@NoArgsConstructor@Builderpublic class DepartmentDto extends BaseDto { @NotBlank(mes...原创 2020-09-18 11:28:25 · 4742 阅读 · 1 评论 -
Server returns invalid timezone. Go to ‘Advanced‘ tab and set ‘serverTimezone‘ property manually
项目场景:每一次遇到的Bug就是提升经验和能力的时候。SpringBoot 每次增加Entity之后,需要Refresh Data Sources,以更新IDE和数据库的链接,当然也可以不更新,如果补鞥更新那么Entity里面的Table的name就会标红线,强迫症使我不得不更新,哈哈哈哈。问题描述:IDEA连接mysql,地址,用户名,密码,数据库名,全都配置好了,但是依然报错Server returns invalid timezone. Go to ‘Advanced’ tab and se原创 2020-09-16 17:57:16 · 547 阅读 · 0 评论 -
IDEA 设置背景图片
Idea设置背景图片工欲善其事,必先利其器。点击左上角的File,选择Settings,双击Appearance&Behavior,打开Appearance点击Background Image,选择背景图片,在Opacity处调整透明度后,点击OK即可原创 2020-08-19 15:55:38 · 1451 阅读 · 1 评论 -
Java springboot 跳出双层for循环
1.跳出单层for循环 for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { if (i == 1) { System.out.println("结束了当次for循环!"); break; } System.out.println("i= " + i + "; j=" + j); }}打印记录:i= ..原创 2020-08-04 17:42:58 · 762 阅读 · 0 评论 -
本地项目上传至git仓库
本主为了方便后面上传,所以偷懒的认为创建仓库的时候创建空仓库更好,当然,这个要因人而异了,但是本主的这篇文章就是创建爱你空仓库为前提的哈,毕竟简单很多。哈哈哈1.在https://gitee.com/中创建项目2.在本地新建你的项目接下来就是上传项目到git仓库了。3.把这个目录变成git可以管理的仓库 git init4.提交检出时忽...原创 2020-04-17 15:36:41 · 223 阅读 · 0 评论 -
webstorm vue 向内缩进4个空格
创建一个vue新工程后,在webstorm等ide里面打开项目,发现每行的缩进是2个空格,但是个人觉得看着整体页面实在怪怪的,强迫性的希望能向内缩进4个空格。首先想到的就是设置webstorm的CodeStyle配置:File > Settings > Editor > Code Style > JavaScript的设置,发现Indent的键值就是为4:这...原创 2020-03-23 15:12:10 · 3667 阅读 · 1 评论