会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
林深时见鹿的博客
当深刻思念一个人的时候,那个人就会出现在梦里,林深时见鹿,海蓝时见鲸,可惜大多数人缘浅情深,林深时雾起,海蓝时浪涌,梦醒时只能独自面对这空空黑夜,不见鹿,不见鲸,也不见你。
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2019年6月13日
文件下载中文问题
摘要: String filename = java.net.URLEncoder.encode(file.getName(), "UTF-8"); response.setHeader("Content-Disposition", "attachment;filename*=utf-8'zh_cn'" + filename);
阅读全文
posted @ 2019-06-13 13:49 林深时见鹿!
阅读(199)
评论(0)
推荐(0)
2019年5月28日
关闭 macOS Google Chrome 黑暗模式风格
摘要: 终端执行命令 恢复
阅读全文
posted @ 2019-05-28 17:33 林深时见鹿!
阅读(530)
评论(0)
推荐(0)
2019年3月29日
删除最后一次提交
摘要: git revert HEAD git push origin master
阅读全文
posted @ 2019-03-29 19:05 林深时见鹿!
阅读(252)
评论(0)
推荐(0)
2019年3月28日
git私有关联远程
摘要: git remote add upstream url
阅读全文
posted @ 2019-03-28 10:42 林深时见鹿!
阅读(215)
评论(0)
推荐(0)
2019年3月18日
枚举为何不能设置成public?
摘要: 听到测试与开发争论,为何枚举不能用public,用public怎么了?对于这个我也不知道到底能不能用,于是就去查了查资料。 解答:
阅读全文
posted @ 2019-03-18 17:17 林深时见鹿!
阅读(305)
评论(0)
推荐(0)
2019年3月13日
Jenkins出现 {"changed": false, "msg": "mkdir: cannot create directory ‘/root/.ansible/tmp/ansible-tmp-1552390265.8-253945919613076’: No space left on device\n", "unreachable": true}
摘要: 之前部署Jenkins没有遇到过这个问题,百度也找不到相关内容,无奈用过google翻译了一下,显示内存不足,上到服务器查询df -h 发现use% 100% 由于日志等文件导致服务器磁盘空间满了,引发此问题。
阅读全文
posted @ 2019-03-13 11:24 林深时见鹿!
阅读(1400)
评论(0)
推荐(0)
2019年3月5日
解决Spellchecker inspection helps locate typos and misspelling in your code
摘要: idea出现这个是因为词库中没有这个单词,所以提示拼写错误 解决办法:双击下面有虚线的单词——>鼠标右键——>spelling——>save 'xxx' to distionary
阅读全文
posted @ 2019-03-05 16:32 林深时见鹿!
阅读(6743)
评论(2)
推荐(1)
2019年1月5日
IDEA ctrl+alt+L 格式化快捷键无效时解决
摘要: 这几天发现自己Intellij IDEA ctrl+alt+L格式化代码无效 设置里面按照快捷键搜索 按了 ctrl+alt+L 也没反应 但是我设置的确实是默认的 ctrl+alt+L 最后终于找到了问题所在 原来是开网易云音乐的锅 网易云会有一个全局的快捷键ctrl+alt+L跟idea冲突 去
阅读全文
posted @ 2019-01-05 10:53 林深时见鹿!
阅读(8775)
评论(7)
推荐(4)
BigDecimal加减乘除
摘要: BigDecimal bignum1 = new BigDecimal("10"); BigDecimal bignum2 = new BigDecimal("5"); BigDecimal bignum3 = null; //加法 bignum3 = bignum1.add(bignum2); System.out.println("和 是:" + big...
阅读全文
posted @ 2019-01-05 10:49 林深时见鹿!
阅读(309)
评论(0)
推荐(0)
2018年12月10日
二分查找
摘要: /** * 使用递归的二分查找 *title:recursionBinarySearch *@param arr 有序数组 *@param key 待查找关键字 *@return 找到的位置 */ public static int recursionBinarySearch(int[] arr,int key,int low...
阅读全文
posted @ 2018-12-10 19:40 林深时见鹿!
阅读(147)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告
博客已稳定运行: