博客园 - 迷途的小狗
uuid:24b78886-0ed1-41c2-8670-e3f31dcf42c4;id=179056
2024-02-28T01:29:32Z
迷途的小狗
https://www.cnblogs.com/python924/
feed.cnblogs.com
https://www.cnblogs.com/python924/p/17811853.html
mac打开2023.2版本idea闪退 - 迷途的小狗
一、打开Mac的应用程序 右键IntelliJ IDEA.app图标点击显示包含内容 二、依次进入Contents/MacOS目录 三、双击IDEA 四、查看控制台报错信息 百度搜: parseVMOptions: platform=19 user=3 file=/Users/xxx/Library
2023-11-06T01:36:00Z
2023-11-06T01:36:00Z
迷途的小狗
https://www.cnblogs.com/python924/
【摘要】一、打开Mac的应用程序 右键IntelliJ IDEA.app图标点击显示包含内容 二、依次进入Contents/MacOS目录 三、双击IDEA 四、查看控制台报错信息 百度搜: parseVMOptions: platform=19 user=3 file=/Users/xxx/Library <a href="https://www.cnblogs.com/python924/p/17811853.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/python924/p/15856979.html
break语法使用 - 迷途的小狗
public static void main(String[] args) { int[] asteroids=new int[]{-2,-2,2,-1}; Stack<Integer> stack=new Stack<>(); for(int star:asteroids){ collision
2022-01-30T07:38:00Z
2022-01-30T07:38:00Z
迷途的小狗
https://www.cnblogs.com/python924/
【摘要】public static void main(String[] args) { int[] asteroids=new int[]{-2,-2,2,-1}; Stack<Integer> stack=new Stack<>(); for(int star:asteroids){ collision <a href="https://www.cnblogs.com/python924/p/15856979.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/python924/p/15854870.html
字符串的排列 - 迷途的小狗
太久没写博客,随便来一个class Solution { public boolean checkInclusion(String s1, String s2) { int n=s1.length(); int m=s2.length(); if(n>m) return false; //cnt1为
2022-01-29T05:18:00Z
2022-01-29T05:18:00Z
迷途的小狗
https://www.cnblogs.com/python924/
【摘要】太久没写博客,随便来一个class Solution { public boolean checkInclusion(String s1, String s2) { int n=s1.length(); int m=s2.length(); if(n>m) return false; //cnt1为 <a href="https://www.cnblogs.com/python924/p/15854870.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/python924/p/14305581.html
岛屿数量——BFS / DFS对比 - 迷途的小狗
DFS 解法 class Solution { public int numIslands(char[][] grid) { int count=0; for(int i=0;i<grid.length;i++){ for(int j=0;j<grid[0].length;j++){ if(grid
2021-01-20T14:45:00Z
2021-01-20T14:45:00Z
迷途的小狗
https://www.cnblogs.com/python924/
【摘要】DFS 解法 class Solution { public int numIslands(char[][] grid) { int count=0; for(int i=0;i<grid.length;i++){ for(int j=0;j<grid[0].length;j++){ if(grid <a href="https://www.cnblogs.com/python924/p/14305581.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/python924/p/13819451.html
杂七杂八笔记 - 迷途的小狗
1.@Async @Async注解一般用在类的方法上,如果用在类上,那么这个类所有的方法都是异步执行 2.两个Integer类型的值想比较,用.intValue if (adminId.intValue()!=appUser.getAdminId().intValue()) { return Ser
2020-10-15T03:16:00Z
2020-10-15T03:16:00Z
迷途的小狗
https://www.cnblogs.com/python924/
【摘要】1.@Async @Async注解一般用在类的方法上,如果用在类上,那么这个类所有的方法都是异步执行 2.两个Integer类型的值想比较,用.intValue if (adminId.intValue()!=appUser.getAdminId().intValue()) { return Ser <a href="https://www.cnblogs.com/python924/p/13819451.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/python924/p/13712110.html
时间格式处理 - 迷途的小狗
sql时间处理: https://blog.csdn.net/the_it_world/article/details/100743945 改成精确到天 DATE_FORMAT(app_last_time,'%Y-%m-%d') 创建时间精确到天 SimpleDateFormat bartDateF
2020-09-22T06:44:00Z
2020-09-22T06:44:00Z
迷途的小狗
https://www.cnblogs.com/python924/
【摘要】sql时间处理: https://blog.csdn.net/the_it_world/article/details/100743945 改成精确到天 DATE_FORMAT(app_last_time,'%Y-%m-%d') 创建时间精确到天 SimpleDateFormat bartDateF <a href="https://www.cnblogs.com/python924/p/13712110.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/python924/p/13605364.html
远程断点 - 迷途的小狗
1.这里选远程断点的名字 2.点击虫子 3.连接 4.查看远程断点服务的配置
2020-09-02T17:26:00Z
2020-09-02T17:26:00Z
迷途的小狗
https://www.cnblogs.com/python924/
【摘要】1.这里选远程断点的名字 2.点击虫子 3.连接 4.查看远程断点服务的配置 <a href="https://www.cnblogs.com/python924/p/13605364.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/python924/p/13576771.html
BigDecimal、double - 迷途的小狗
BigDecimal篇: 1.String转BigDecimal String s1="123.45"; BigDecimal bg=new BigDecimal(s1); 2. 解决double相加的精度问题,要用BigDecimal public static double add(double
2020-08-28T04:23:00Z
2020-08-28T04:23:00Z
迷途的小狗
https://www.cnblogs.com/python924/
【摘要】BigDecimal篇: 1.String转BigDecimal String s1="123.45"; BigDecimal bg=new BigDecimal(s1); 2. 解决double相加的精度问题,要用BigDecimal public static double add(double <a href="https://www.cnblogs.com/python924/p/13576771.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/python924/p/13186929.html
redis存储和取 - 迷途的小狗
存:String sendAppFriendCircle = RedisKey.getFriendCircleKey("fq:sendAppFriendCircle:" + dataBean.getEditId(), dataBean.getEditId());appRedisTemplate.op
2020-06-24T04:13:00Z
2020-06-24T04:13:00Z
迷途的小狗
https://www.cnblogs.com/python924/
【摘要】存:String sendAppFriendCircle = RedisKey.getFriendCircleKey("fq:sendAppFriendCircle:" + dataBean.getEditId(), dataBean.getEditId());appRedisTemplate.op <a href="https://www.cnblogs.com/python924/p/13186929.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/python924/p/12908660.html
在Idea中使用Git后,类名各种颜色代表的含义 - 迷途的小狗
绿色,已经加入控制暂未提交红色,未加入版本控制蓝色,加入,已提交,有改动白色,加入,已提交,无改动灰色:版本控制已忽略文件。
2020-05-18T01:05:00Z
2020-05-18T01:05:00Z
迷途的小狗
https://www.cnblogs.com/python924/
【摘要】绿色,已经加入控制暂未提交红色,未加入版本控制蓝色,加入,已提交,有改动白色,加入,已提交,无改动灰色:版本控制已忽略文件。 <a href="https://www.cnblogs.com/python924/p/12908660.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/python924/p/12871380.html
打断点没有进去 - 迷途的小狗
记录一个今天很逗比的问题,打断点一直进不去,数据都有返回,最后发现原因是
2020-05-11T11:57:00Z
2020-05-11T11:57:00Z
迷途的小狗
https://www.cnblogs.com/python924/
【摘要】记录一个今天很逗比的问题,打断点一直进不去,数据都有返回,最后发现原因是 <a href="https://www.cnblogs.com/python924/p/12871380.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/python924/p/12838068.html
关于postman发送请求@RequestBody和@RequestParam - 迷途的小狗
1.如果是@RequestBody修饰的,postman请求用body-raw, headers里要加修饰Content-Type,application/json 2.如果是@RequestParam修饰的,postman请求用params
2020-05-06T10:12:00Z
2020-05-06T10:12:00Z
迷途的小狗
https://www.cnblogs.com/python924/
【摘要】1.如果是@RequestBody修饰的,postman请求用body-raw, headers里要加修饰Content-Type,application/json 2.如果是@RequestParam修饰的,postman请求用params <a href="https://www.cnblogs.com/python924/p/12838068.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/python924/p/12800200.html
Git Pull Failed :Your local changes would be overwritten by merge. Commit, stash or revert them - 迷途的小狗
1、服务器代码合并本地代码 $ git stash //暂存当前正在进行的工作。 $ git pull origin master //拉取服务器的代码 $ git stash pop //合并暂存的代码 2.服务器代码覆盖本地代码 $git reset --hard //回滚到上一个版本 $git
2020-04-29T01:52:00Z
2020-04-29T01:52:00Z
迷途的小狗
https://www.cnblogs.com/python924/
【摘要】1、服务器代码合并本地代码 $ git stash //暂存当前正在进行的工作。 $ git pull origin master //拉取服务器的代码 $ git stash pop //合并暂存的代码 2.服务器代码覆盖本地代码 $git reset --hard //回滚到上一个版本 $git <a href="https://www.cnblogs.com/python924/p/12800200.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/python924/p/12663774.html
mac git 操作 - 迷途的小狗
1.test分支提交到deily和master 1.右下角——选择项目——选择origin/deily2.鼠标点击代码,右键git-compare with branch test(和本地的代码比对)3.合代码4.git-commit file5.git commit and push 2. mac
2020-04-08T15:15:00Z
2020-04-08T15:15:00Z
迷途的小狗
https://www.cnblogs.com/python924/
【摘要】1.test分支提交到deily和master 1.右下角——选择项目——选择origin/deily2.鼠标点击代码,右键git-compare with branch test(和本地的代码比对)3.合代码4.git-commit file5.git commit and push 2. mac <a href="https://www.cnblogs.com/python924/p/12663774.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/python924/p/12656868.html
mac下安装maven - 迷途的小狗
1.下载maven https://maven.apache.org/download.cgi 2.解压到指定目录 /usr/local/apache-maven-3.6.3 3.打开终端,输入vim ~/.bash_profile export MAVEN_HOME=/usr/local/apac
2020-04-07T14:57:00Z
2020-04-07T14:57:00Z
迷途的小狗
https://www.cnblogs.com/python924/
【摘要】1.下载maven https://maven.apache.org/download.cgi 2.解压到指定目录 /usr/local/apache-maven-3.6.3 3.打开终端,输入vim ~/.bash_profile export MAVEN_HOME=/usr/local/apac <a href="https://www.cnblogs.com/python924/p/12656868.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/python924/p/12450360.html
idea代码回退到前面的版本 - 迷途的小狗
https://blog.csdn.net/denghe4720/article/details/101362353
2020-03-09T10:53:00Z
2020-03-09T10:53:00Z
迷途的小狗
https://www.cnblogs.com/python924/
【摘要】https://blog.csdn.net/denghe4720/article/details/101362353 <a href="https://www.cnblogs.com/python924/p/12450360.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/python924/p/12393863.html
字符串比较用compareTo - 迷途的小狗
https://www.runoob.com/java/java-string-compareto.html
2020-03-02T01:13:00Z
2020-03-02T01:13:00Z
迷途的小狗
https://www.cnblogs.com/python924/
【摘要】https://www.runoob.com/java/java-string-compareto.html <a href="https://www.cnblogs.com/python924/p/12393863.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/python924/p/12389785.html
mysql 查询当天、本周,本月,上一个月的数据 - 迷途的小狗
https://www.cnblogs.com/benefitworld/p/5832897.html
2020-03-01T06:44:00Z
2020-03-01T06:44:00Z
迷途的小狗
https://www.cnblogs.com/python924/
【摘要】https://www.cnblogs.com/benefitworld/p/5832897.html <a href="https://www.cnblogs.com/python924/p/12389785.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/python924/p/12389676.html
Swagger中paramType - 迷途的小狗
paramType:表示参数放在哪个地方 header-->请求参数的获取:@RequestHeader(代码中接收注解) query-->请求参数的获取:@RequestParam(代码中接收注解) path(用于restful接口)-->请求参数的获取:@PathVariable(代码中接收注解
2020-03-01T06:24:00Z
2020-03-01T06:24:00Z
迷途的小狗
https://www.cnblogs.com/python924/
【摘要】paramType:表示参数放在哪个地方 header-->请求参数的获取:@RequestHeader(代码中接收注解) query-->请求参数的获取:@RequestParam(代码中接收注解) path(用于restful接口)-->请求参数的获取:@PathVariable(代码中接收注解 <a href="https://www.cnblogs.com/python924/p/12389676.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/python924/p/12376296.html
Invalid bound statement (not found): .service.EpiEduUsersService - 迷途的小狗
今日大坑: 环境是springboot+mybatis plus,debug进入controller后无法走到service层,之前搜关键词Invalid bound statement (not found): ,出来的都是dao层扫描不到,于是我就搜关键词Invalid bound statem
2020-02-28T03:10:00Z
2020-02-28T03:10:00Z
迷途的小狗
https://www.cnblogs.com/python924/
【摘要】今日大坑: 环境是springboot+mybatis plus,debug进入controller后无法走到service层,之前搜关键词Invalid bound statement (not found): ,出来的都是dao层扫描不到,于是我就搜关键词Invalid bound statem <a href="https://www.cnblogs.com/python924/p/12376296.html" target="_blank">阅读全文</a>