GeezerVison is showing github.com — feat: bump deps · NotAFlightRisk/JavaGuide@70819c9
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: .github/workflows/test.yml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 13 | 13 | uses: actions/checkout@v4 | 14 | 14 |
| 15 | 15 | - name: Install pnpm | 16 | | - uses: pnpm/action-setup@v2 | | 16 | + uses: pnpm/action-setup@v4 | 17 | 17 | with: | 18 | 18 | run_install: true | 19 | 19 |
| |
Collapse file Copy file name to clipboardExpand all lines: docs/.vuepress/config.ts +2-1Lines changed: 2 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -7,7 +7,7 @@ export default defineUserConfig({ | 7 | 7 |
| 8 | 8 | title: "JavaGuide", | 9 | 9 | description: | 10 | | - "「Java学习指北 + Java面试指南」一份涵盖大部分 Java 程序员所需要掌握的核心知识。准备 Java 面试,复习 Java 知识点,首选 JavaGuide! ", | | 10 | + "「Java 学习指北 + Java 面试指南」一份涵盖大部分 Java 程序员所需要掌握的核心知识。准备 Java 面试,复习 Java 知识点,首选 JavaGuide! ", | 11 | 11 | lang: "zh-CN", | 12 | 12 |
| 13 | 13 | head: [ | @@ -61,4 +61,5 @@ export default defineUserConfig({ | 61 | 61 | pagePatterns: ["**/*.md", "!**/*.snippet.md", "!.vuepress", "!node_modules"], | 62 | 62 |
| 63 | 63 | shouldPrefetch: false, | | 64 | + shouldPreload: false, | 64 | 65 | }); |
Collapse file Copy file name to clipboard +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +$theme-color: #2980b9; |
Collapse file Copy file name to clipboard +2-3Lines changed: 2 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | | -$theme-color: #2980b9; | 2 | 1 | $sidebar-width: 20rem; | 3 | 2 | $sidebar-mobile-width: 16rem; | 4 | | -$font-family: 'Georgia, -apple-system, "Nimbus Roman No9 L", "PingFang SC", "Hiragino Sans GB", "Noto Serif SC", "Microsoft Yahei", "WenQuanYi Micro Hei", sans-serif'; | 5 | | -$font-family-heading: 'Georgia, -apple-system, "Nimbus Roman No9 L", "PingFang SC", "Hiragino Sans GB", "Noto Serif SC", "Microsoft Yahei", "WenQuanYi Micro Hei", sans-serif'; | | 3 | +$vp-font: 'Georgia, -apple-system, "Nimbus Roman No9 L", "PingFang SC", "Hiragino Sans GB", "Noto Serif SC", "Microsoft Yahei", "WenQuanYi Micro Hei", sans-serif'; | | 4 | +$vp-font-heading: 'Georgia, -apple-system, "Nimbus Roman No9 L", "PingFang SC", "Hiragino Sans GB", "Noto Serif SC", "Microsoft Yahei", "WenQuanYi Micro Hei", sans-serif'; |
Collapse file Copy file name to clipboardExpand all lines: docs/.vuepress/theme.ts +4-25Lines changed: 4 additions & 25 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -42,28 +42,6 @@ export default hopeTheme({ | 42 | 42 | }, | 43 | 43 |
| 44 | 44 | plugins: { | 45 | | - components: { | 46 | | - rootComponents: { | 47 | | - // https://plugin-components.vuejs.press/zh/guide/utilities/notice.html#%E7%94%A8%E6%B3%95 | 48 | | - // notice: [ | 49 | | - // { | 50 | | - // path: "/", | 51 | | - // title: "PDF面试资料(2024版)", | 52 | | - // showOnce: true, | 53 | | - // content: | 54 | | - // "2024最新版原创PDF面试资料来啦!涵盖 Java 核心、数据库、缓存、分布式、设计模式、智力题等内容,非常全面!", | 55 | | - // actions: [ | 56 | | - // { | 57 | | - // text: "点击领取", | 58 | | - // link: "https://oss.javaguide.cn/backend-notekbook/official-account-traffic-backend-notebook-with-data-screenshot.png", | 59 | | - // type: "primary", | 60 | | - // }, | 61 | | - // ], | 62 | | - // }, | 63 | | - // ], | 64 | | - }, | 65 | | - }, | 66 | | - | 67 | 45 | blog: true, | 68 | 46 |
| 69 | 47 | copyright: { | @@ -81,12 +59,13 @@ export default hopeTheme({ | 81 | 59 | rss: true, | 82 | 60 | }, | 83 | 61 |
| | 62 | + markdownTab: { | | 63 | + codeTabs: true, | | 64 | + }, | | 65 | + | 84 | 66 | mdEnhance: { | 85 | 67 | align: true, | 86 | | - codetabs: true, | 87 | | - figure: true, | 88 | 68 | gfm: true, | 89 | | - hint: true, | 90 | 69 | include: { | 91 | 70 | resolvePath: (file, cwd) => { | 92 | 71 | if (file.startsWith("@")) | |
Collapse file Copy file name to clipboardExpand all lines: docs/about-the-author/README.md +5-3Lines changed: 5 additions & 3 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -45,9 +45,11 @@ category: 走近作者 | 45 | 45 |
| 46 | 46 | 如果你也想通过接私活变现的话,可以在我的公众号后台回复“**接私活**”来了解一些我的个人经验分享。 | 47 | 47 |
| 48 | | -<div align="center"> | 49 | | - <img src="https://oss.javaguide.cn/github/javaguide/gongzhonghaoxuanchuan.png" style="margin: 0 auto;" /> | 50 | | -</div> | | 48 | +::: center | | 49 | + | | 50 | + | | 51 | + | | 52 | +::: | 51 | 53 |
| 52 | 54 | ## 为什么自称 Guide? | 53 | 55 |
| |
Collapse file Copy file name to clipboardExpand all lines: docs/cs-basics/algorithms/10-classical-sorting-algorithms.md +2Lines changed: 2 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| 7 | 7 |
| 8 | 8 | > 本文转自:<http://www.guoyaohua.com/sorting.html>,JavaGuide 对其做了补充完善。 | 9 | 9 |
| | 10 | +<!-- markdownlint-disable MD024 --> | | 11 | + | 10 | 12 | ## 引言 | 11 | 13 |
| 12 | 14 | 所谓排序,就是使一串记录,按照其中的某个或某些关键字的大小,递增或递减的排列起来的操作。排序算法,就是如何使得记录按照要求排列的方法。排序算法在很多领域得到相当地重视,尤其是在大量数据的处理方面。一个优秀的算法可以节省大量的资源。在各个领域中考虑到数据的各种限制和规范,要得到一个符合实际的优秀算法,得经过大量的推理和分析。 | |
Collapse file Copy file name to clipboardExpand all lines: docs/cs-basics/algorithms/linkedlist-algorithm-problems.md +2Lines changed: 2 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| 5 | 5 | - 算法 | 6 | 6 | --- | 7 | 7 |
| | 8 | +<!-- markdownlint-disable MD024 --> | | 9 | + | 8 | 10 | ## 1. 两数相加 | 9 | 11 |
| 10 | 12 | ### 题目描述 | |
Collapse file Copy file name to clipboardExpand all lines: docs/cs-basics/network/computer-network-xiexiren-summary.md +27-27Lines changed: 27 additions & 27 deletions - Display the source diff
- Display the rich diff
Large diffs are not rendered by default. Collapse file Copy file name to clipboardExpand all lines: docs/cs-basics/network/nat.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -55,6 +55,6 @@ SOHO 子网的“代理人”,也就是和外界的窗口,通常由路由器 | 55 | 55 | 3. WAN 的 ISP 变更接口地址时,无需通告 LAN 内主机。 | 56 | 56 | 4. LAN 主机对 WAN 不可见,不可直接寻址,可以保证一定程度的安全性。 | 57 | 57 |
| 58 | | -然而,NAT 协议由于其独特性,存在着一些争议。比如,可能你已经注意到了,<b>NAT 协议在 LAN 以外,标识一个内部主机时,使用的是端口号,因为 IP 地址都是相同的。</b>这种将端口号作为主机寻址的行为,可能会引发一些误会。此外,路由器作为网络层的设备,修改了传输层的分组内容(修改了源 IP 地址和端口号),同样是不规范的行为。但是,尽管如此,NAT 协议作为 IPv4 时代的产物,极大地方便了一些本来棘手的问题,一直被沿用至今。 | | 58 | +然而,NAT 协议由于其独特性,存在着一些争议。比如,可能你已经注意到了,**NAT 协议在 LAN 以外,标识一个内部主机时,使用的是端口号,因为 IP 地址都是相同的。**这种将端口号作为主机寻址的行为,可能会引发一些误会。此外,路由器作为网络层的设备,修改了传输层的分组内容(修改了源 IP 地址和端口号),同样是不规范的行为。但是,尽管如此,NAT 协议作为 IPv4 时代的产物,极大地方便了一些本来棘手的问题,一直被沿用至今。 | 59 | 59 |
| 60 | 60 | <!-- @include: @article-footer.snippet.md --> |
|