Skip to content

Commit

Permalink
add blog
Browse files Browse the repository at this point in the history
  • Loading branch information
2xiao committed Nov 12, 2023
1 parent 1d27df0 commit ac5dc1b
Show file tree
Hide file tree
Showing 25 changed files with 26 additions and 100 deletions.
Binary file modified assets/scripts/__pycache__/generate.cpython-312.pyc
Binary file not shown.
48 changes: 21 additions & 27 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down Expand Up @@ -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",
],
},
];
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/run/README.md → docs/blog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

本部分内容与肉身翻墙相关,分享包括美国生活体验、欧洲找工作经验等。

[开始阅读 ->](./usa/where_to_go.md)
[开始阅读 ->](./where_to_go.md)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 3 additions & 2 deletions docs/run/usa/live_in_us.md → docs/blog/live_in_us.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ date: "2022-09-22"

我时常觉得在美国的生活特别透题,人生就像是在玩一场游戏,刚注册的时候一无所有,但是随着剧情需要,该给你的道具都会给你,还会在做任务的时候得到一些金币,但重要的并不是在游戏中拼命积攒金币,金币只是道具罢了,重要的是玩得开心玩得爽!

### 附录
## 附录

::: tip
当代人十大奢侈事:
Expand All @@ -90,4 +90,5 @@ date: "2022-09-22"
8. 任何时候都有真正懂你的人;
9. 身体健康内心富有;
10. 感染并点燃他人的希望。
:::

:::
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions docs/leetcode/ds/4_hash_table.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,7 @@ class MyHashMap {
*/
```

## Set 和 Map
### Set
## Set

#### 基本用法

Expand Down
44 changes: 0 additions & 44 deletions docs/run/europe/0_why.md

This file was deleted.

24 changes: 0 additions & 24 deletions docs/run/europe/1_intro.md

This file was deleted.

0 comments on commit ac5dc1b

Please sign in to comment.