会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
HypoPine
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
8
下一页
2023年5月
Javadoc 生成的html文件乱码
摘要: 添加以下参数 `-encoding utf-8 -charset utf-8`
阅读全文
posted @ 2023-05-19 16:03 HypoPine
阅读(29)
评论(0)
推荐(0)
2023年4月
dfg
摘要: dsf
阅读全文
posted @ 2023-04-13 17:08 HypoPine
阅读(96)
评论(0)
推荐(0)
【碎】Util/Utils 和 Helper 类的区别
摘要: Util类/工具类,Helper类/辅助类 Util类,一般是无状态的,只包含静态方法。使用时无需创建类的实例。 Helper类,可以有状态(类的成员变量),一般需要创建实例才能使用。 参考: https://zhuanlan.zhihu.com/p/352749160 https://www.cn
阅读全文
posted @ 2023-04-13 01:02 HypoPine
阅读(513)
评论(0)
推荐(0)
2023年3月
【IDE】Idea 设置注释与代码对齐
摘要: 为什么设置 通过快捷键ctrl + /或ctrl + shift + /生成的注释左侧没有缩进(如下图),不与代码对齐 设置位置 在'Settings' > 'Editor' > 'Code Style' 中 'Java' > 'Code Generation' 下,Comment Code 区域中
阅读全文
posted @ 2023-03-30 20:01 HypoPine
阅读(2746)
评论(0)
推荐(1)
【Git】fatal: not a valid object name: 'master'
摘要: 情景复现 我是先创建一个空文件夹,然后进行仓库初始化。之后在添加新分支的时候报的这个错误 参考 https://www.cnblogs.com/fatfatdachao/p/5597028.html https://blog.csdn.net/Lakers2015/article/details/1
阅读全文
posted @ 2023-03-27 20:41 HypoPine
阅读(105)
评论(0)
推荐(0)
【IDEA】修改编辑窗口中文字体
摘要: Settings > Editor > Font > Fallback font - "SimHei"
阅读全文
posted @ 2023-03-23 18:14 HypoPine
阅读(295)
评论(0)
推荐(0)
2023年2月
使用 oh-my-posh 美化教程
摘要: windows 终端美化教程 一、更新自带的 PowerShell 打开 PowerShell,使用 $host 查看版本号 > $host 00:12:56 Name : ConsoleHost Version : 7.3.1 InstanceId : 3714e221-c908-4546-a49
阅读全文
posted @ 2023-02-07 00:53 HypoPine
阅读(834)
评论(0)
推荐(0)
2023年1月
【碎】获取句子中单词数量
摘要: public int getWordNum(String str) { int num = 0; boolean flag = false; for (int i = 0; i < str.length(); i++) { if (str.charAt(i) == ' ') { flag = fal
阅读全文
posted @ 2023-01-12 12:56 HypoPine
阅读(28)
评论(0)
推荐(0)
2022年12月
【Git】Failed to connect to github.com port 443: Timed out
摘要: git config --global -l # 这两条不管用 git config --global --unset http.proxy git config --global --unset https.proxy 我的解决办法 查询 github IP地址,然后配置到 hosts 文件上即可
阅读全文
posted @ 2022-12-18 22:36 HypoPine
阅读(29)
评论(0)
推荐(0)
【Java】匿名类的初始化
摘要: 匿名类语法 匿名类是指没有类名的内部类,必须在创建时使用 new 语句来声明类。其语法形式如下: new <类或接口>() { // 类的主体 }; 注意:类不仅限于 抽象类 匿名类的使用 匿名 Map 的初始化 Map<String, Integer> map = new HashMap<>()
阅读全文
posted @ 2022-12-18 17:05 HypoPine
阅读(613)
评论(0)
推荐(0)
1
2
3
4
5
···
8
下一页
公告