- 博客(3)
- 资源 (9)
- 问答 (3)
- 收藏
- 关注
原创 Spring读取resources目录下的文件
试了很多种方法,很多方法都是在IDE运行时可以读到,打成jar包就读不到了。最后,完美解决方案:import org.springframework.core.io.ClassPathResource;InputStream is = new ClassPathResource("data.json").getInputStream();...
2021-03-30 13:56:46 226
原创 IDEA插件GenProtobuf编译proto文件
安装protocprotoc是proto编译器,从这里下载:https://github.com/protocolbuffers/protobuf/releases/我使用的是mac系统,安装方法如下:tar zxvf protobuf-all-xxx.tar.gzcd protobuf-all-xxx.tar.gz./configuremakemake checkmake install#查看是否安装成功protoc --version#如果出现libprotoc 2.4.1或者l
2021-03-09 14:40:01 3382 1
转载 macOS Chrome无法访问自签名https页面问题的解决办法
问题描述:macOS Chrome无法访问自签名https页面,以往版本可以选择跳过,继续访问,但是新版本Chrome不允许继续,并显示ERR_CERT_INVALID;解决办法:在Chrome该页面上,直接键盘敲入这11个字符:thisisunsafe;注意不是地址栏,而是页面内直接盲打。...
2021-03-03 10:13:21 1783
win10 null.sys文件
2018-03-26
OneThink-maste
2016-07-15
TA创建的收藏夹 TA关注的收藏夹
TA关注的人