diff --git a/assets/scripts/__pycache__/generate.cpython-312.pyc b/assets/scripts/__pycache__/generate.cpython-312.pyc index 252ca947d7..adf16d75f9 100644 Binary files a/assets/scripts/__pycache__/generate.cpython-312.pyc and b/assets/scripts/__pycache__/generate.cpython-312.pyc differ diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 6981b54090..d2b2d4bf45 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -23,13 +23,13 @@ module.exports = { { text: "LeetCode", link: "/leetcode/" }, { text: "React", link: "/react/" }, // { text: "FE", link: "/fe/" }, - { text: "Run", link: "/run/" }, + { text: "Blog", link: "/blog/" }, ], sidebar: { "/leetcode/": genLeetCode(), "/react/": genReact(), // "/fe/": genFE(), - "/run/": genRun(), + "/blog/": genBlog(), }, }, plugins: [ @@ -450,44 +450,38 @@ function genFE() { ]; } -// run -function genRun() { +// blog +function genBlog() { return [ { title: "在美国", collapsable: false, sidebarDepth: 0, children: [ - "/run/usa/where_to_go", - "/run/usa/live_in_us", - "/run/usa/digital_nomad", - "/run/usa/neighbor", - "/run/usa/indian", - "/run/usa/mississippi", - "/run/usa/visa", - "/run/usa/10043", + "/blog/where_to_go", + "/blog/live_in_us", + "/blog/digital_nomad", + "/blog/neighbor", + "/blog/indian", + "/blog/mississippi", + "/blog/travel", + "/blog/10043", ], }, - { - title: "在欧洲", - collapsable: false, - sidebarDepth: 0, - children: ["/run/europe/0_why", "/run/europe/1_intro"], - }, { title: "在北京", collapsable: false, sidebarDepth: 0, children: [ - "/run/blog/miss_bj", - "/run/blog/new_year", - "/run/blog/grandma", - "/run/blog/before_quit", - "/run/blog/go_home", - "/run/blog/money", - "/run/blog/principle", - "/run/blog/three_years_plan", - "/run/blog/work_overtime", + "/blog/miss_bj", + "/blog/new_year", + "/blog/grandma", + "/blog/before_quit", + "/blog/go_home", + "/blog/money", + "/blog/principle", + "/blog/three_years_plan", + "/blog/work_overtime", ], }, ]; diff --git a/docs/run/usa/10043.md b/docs/blog/10043.md similarity index 100% rename from docs/run/usa/10043.md rename to docs/blog/10043.md diff --git a/docs/run/README.md b/docs/blog/README.md similarity index 74% rename from docs/run/README.md rename to docs/blog/README.md index c09557dbfb..94fb813032 100644 --- a/docs/run/README.md +++ b/docs/blog/README.md @@ -2,4 +2,4 @@ 本部分内容与肉身翻墙相关,分享包括美国生活体验、欧洲找工作经验等。 -[开始阅读 ->](./usa/where_to_go.md) +[开始阅读 ->](./where_to_go.md) diff --git a/docs/run/blog/before_quit.md b/docs/blog/before_quit.md similarity index 100% rename from docs/run/blog/before_quit.md rename to docs/blog/before_quit.md diff --git a/docs/run/usa/digital_nomad.md b/docs/blog/digital_nomad.md similarity index 100% rename from docs/run/usa/digital_nomad.md rename to docs/blog/digital_nomad.md diff --git a/docs/run/blog/go_home.md b/docs/blog/go_home.md similarity index 100% rename from docs/run/blog/go_home.md rename to docs/blog/go_home.md diff --git a/docs/run/blog/grandma.md b/docs/blog/grandma.md similarity index 100% rename from docs/run/blog/grandma.md rename to docs/blog/grandma.md diff --git a/docs/run/usa/indian.md b/docs/blog/indian.md similarity index 100% rename from docs/run/usa/indian.md rename to docs/blog/indian.md diff --git a/docs/run/usa/live_in_us.md b/docs/blog/live_in_us.md similarity index 99% rename from docs/run/usa/live_in_us.md rename to docs/blog/live_in_us.md index 7739b7775d..f33ff60bf1 100644 --- a/docs/run/usa/live_in_us.md +++ b/docs/blog/live_in_us.md @@ -75,7 +75,7 @@ date: "2022-09-22" 我时常觉得在美国的生活特别透题,人生就像是在玩一场游戏,刚注册的时候一无所有,但是随着剧情需要,该给你的道具都会给你,还会在做任务的时候得到一些金币,但重要的并不是在游戏中拼命积攒金币,金币只是道具罢了,重要的是玩得开心玩得爽! -### 附录 +## 附录 ::: tip 当代人十大奢侈事: @@ -90,4 +90,5 @@ date: "2022-09-22" 8. 任何时候都有真正懂你的人; 9. 身体健康内心富有; 10. 感染并点燃他人的希望。 - ::: + +::: diff --git a/docs/run/blog/miss_bj.md b/docs/blog/miss_bj.md similarity index 100% rename from docs/run/blog/miss_bj.md rename to docs/blog/miss_bj.md diff --git a/docs/run/usa/mississippi.md b/docs/blog/mississippi.md similarity index 100% rename from docs/run/usa/mississippi.md rename to docs/blog/mississippi.md diff --git a/docs/run/blog/money.md b/docs/blog/money.md similarity index 100% rename from docs/run/blog/money.md rename to docs/blog/money.md diff --git a/docs/run/usa/neighbor.md b/docs/blog/neighbor.md similarity index 100% rename from docs/run/usa/neighbor.md rename to docs/blog/neighbor.md diff --git a/docs/run/blog/new_year.md b/docs/blog/new_year.md similarity index 100% rename from docs/run/blog/new_year.md rename to docs/blog/new_year.md diff --git a/docs/run/blog/principle.md b/docs/blog/principle.md similarity index 100% rename from docs/run/blog/principle.md rename to docs/blog/principle.md diff --git a/docs/run/usa/quit.md b/docs/blog/quit.md similarity index 100% rename from docs/run/usa/quit.md rename to docs/blog/quit.md diff --git a/docs/run/blog/three_years_plan.md b/docs/blog/three_years_plan.md similarity index 100% rename from docs/run/blog/three_years_plan.md rename to docs/blog/three_years_plan.md diff --git a/docs/run/usa/transfer.md b/docs/blog/transfer.md similarity index 100% rename from docs/run/usa/transfer.md rename to docs/blog/transfer.md diff --git a/docs/run/usa/visa.md b/docs/blog/travel.md similarity index 100% rename from docs/run/usa/visa.md rename to docs/blog/travel.md diff --git a/docs/run/usa/where_to_go.md b/docs/blog/where_to_go.md similarity index 100% rename from docs/run/usa/where_to_go.md rename to docs/blog/where_to_go.md diff --git a/docs/run/blog/work_overtime.md b/docs/blog/work_overtime.md similarity index 100% rename from docs/run/blog/work_overtime.md rename to docs/blog/work_overtime.md diff --git a/docs/leetcode/ds/4_hash_table.md b/docs/leetcode/ds/4_hash_table.md index 3978d8330f..c5bf4c2bef 100644 --- a/docs/leetcode/ds/4_hash_table.md +++ b/docs/leetcode/ds/4_hash_table.md @@ -262,8 +262,7 @@ class MyHashMap { */ ``` -## Set 和 Map -### Set +## Set #### 基本用法 diff --git a/docs/run/europe/0_why.md b/docs/run/europe/0_why.md deleted file mode 100644 index 148101ec8c..0000000000 --- a/docs/run/europe/0_why.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: "为什么肉翻欧洲" -date: "2023-09-16" ---- - -# 为什么肉翻欧洲 - -Published on 2023-09-16 - -2022 年 4 月我从国内大厂裸辞。 - -刚辞职的时候,对上班心有余悸,想好好休息一下,给自己一个 gap year。 - -想看看自己除了做程序员以外,还有没有可能做其他的职业。 - ---- - -后面就一直在美国体验生活,学会了做饭、开车,做了一个短视频博主。 - -我一直在探索自己想做什么工作?过什么样的生活? - -我不像博士们那样,拥有崇高的学术追求;也不像程序员极客们那样,沉浸于技术和代码。我好像没有一个明确想追求的事业。 - -但是人还是需要工作的,不仅仅是为了谋生,还有一种和社会的连接,有了工作之后,你才能更深入地融入一个社会,体验当地的人文关系、社会支持、财政税收等。 - -在经历了 5 年的 996 和一年半的躺平之后,我发现这两种生活方式都太极端了。 - -我既不想太卷,也不想彻底躺平,更想要一种 wlb 的生活,高时薪、尊重女性、人际关系正常、住大 house。 - ---- - -这种生活在美国或者欧洲的互联网企业工作,是最容易达成的。 - -由于美国有 10043 且申请工签太过困难,所以暂时放弃直接留美国。 - -加拿大曲线救国,先拿枫叶卡,再南下,也是一条路。 - -不过对象想去瑞士学术界工作,我们就把目标放到了欧洲。 - -瑞士找工作比较难,好在荷兰、瑞士和德国技术移民友好,且有一些成功先例。 - -所以我目前打算以瑞士及其周围国家为目标,找前端开发的工作。 - -下一篇,我将介绍一下欧洲各国的移民政策,和基础情况科普。 diff --git a/docs/run/europe/1_intro.md b/docs/run/europe/1_intro.md deleted file mode 100644 index f67170618d..0000000000 --- a/docs/run/europe/1_intro.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: "肉翻欧洲基础科普" -date: "2023-09-18" ---- - -# 肉翻欧洲基础科普 - -Published on 2023-09-18 - -过去 20 年来,欧洲大多数国家移民政策一直在放松,现在大多数都已经变得非常容易拿永居和国籍了! - -想肉翻欧洲,有不同的途径,可以留学,也可以直接肉身翻墙找工作。 - -## 欧洲留学 - -如果你是计算机系科班出身的来读书:毕业大概率可以找到工作,可以随便选想去的国家(瑞士除外),欧洲有两个国家毕业只要有工作,学生签证时间也可以算进居留时间申请国籍:荷兰和芬兰。 - -如果你不是计算机系的来读书:大多数非码专业毕业在欧洲找工很难,硕士多半要转码,慎重,可以转码找工。 - -## 不留学直接找工作 - -如果你在国内或美国刚毕业:继续努力一下吧!没有三年经验,不容易海投找欧洲的工作。 - -如果你有两三年写代码工作经验:可以试试不留学,直接肉身翻墙,来欧洲工作。