摘要: 之前用的Big Sur,用了几个月发现问题很多。决定降级到最新正式版。 降级需要抹掉磁盘数据,降级前需备份数据, 1. 关机后,再开机立刻按住Command+R不动待出现logo后松开 2. 点击磁盘工具-显示-显示所有设备-内置-APPLE SSD...-抹掉-名称填写:Macintosh HD, 阅读全文
posted @ 2020-09-27 11:57 _戈多 阅读(1054) 评论(0) 推荐(0) 编辑
摘要: 序 来自于杨开振《深入浅出 sprint boot 2.x》 注解 @Bean @Bean(name="user") public User initUser(){ User user = new User(); user.setId(1L); //... return user; } @Bean 阅读全文
posted @ 2020-05-31 13:10 _戈多 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 选中这个文件后右键属性 阅读全文
posted @ 2020-02-16 22:14 _戈多 阅读(1111) 评论(0) 推荐(0) 编辑
摘要: mapper.java: mapper.xml result: foreanch 标签中的 collection的值要对应mapper.java中的@param("") 里面的值 阅读全文
posted @ 2019-05-22 15:56 _戈多 阅读(2648) 评论(0) 推荐(0) 编辑
摘要: 只需要一个注解就ok: @ConfigurationProperties("user.other") “user.other” 这个值匹配的是user下的other对象 yaml : yaml 的语法: https://yaml.org/spec/1.2/spec.html#directive// 阅读全文
posted @ 2019-03-26 11:47 _戈多 阅读(2828) 评论(0) 推荐(0) 编辑
摘要: 加依赖 <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger-ui --> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-s 阅读全文
posted @ 2019-03-21 16:15 _戈多 阅读(832) 评论(0) 推荐(0) 编辑
摘要: windows命令行官网教程: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/windows-commands 截图软件用的是: FastStone Capture —————————— 阅读全文
posted @ 2019-03-20 10:08 _戈多 阅读(8710) 评论(0) 推荐(3) 编辑
摘要: > 2019-03-03 10:39 idea 更新了新版本。 破解步骤安排完了之后 , 发现怎么也启动不了。 没有任何提示。 于是为了查看错误信息去idea的安装目录bin下用idea.bat脚本启动发现了如下错误: 在idea64.exe.vmoptions这个文件,明明将这个jar的路径配置好 阅读全文
posted @ 2019-03-03 10:39 _戈多 阅读(16991) 评论(1) 推荐(1) 编辑
摘要: 先上完整代码 1 import requests 2 import time 3 import datetime 4 import os 5 import json 6 import uuid 7 from pyquery import PyQuery as pq 8 9 # 地址 https:// 阅读全文
posted @ 2019-02-27 17:15 _戈多 阅读(2548) 评论(0) 推荐(1) 编辑
摘要: docker和dockers-compose的版本兼容对照 以下是我的服务器的相关信息 linux版本 [root@izbp16fm097gaw3tdaog2wz bin]# cat /proc/version Linux version 3.10.0-862.14.4.el7.x86_64 (mo 阅读全文
posted @ 2019-02-27 16:42 _戈多 阅读(10277) 评论(0) 推荐(2) 编辑