-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
pengmao
committed
May 8, 2024
1 parent
0f559c5
commit 1c1dd48
Showing
14 changed files
with
257 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
node_modules | ||
.temp | ||
cache | ||
dist | ||
dist | ||
.github | ||
.husky | ||
code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/usr/bin/env sh | ||
npm run docs:lint | ||
npm run prettier |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,3 @@ | ||
# 编程 | ||
# 工具与技术 | ||
|
||
该模块设计非前端的其他程序员需要学习的内容 | ||
|
||
## 数据结构 | ||
|
||
了解数据结构可以深入剖析一些语法的底层实现,也可以提升程序员的代码健壮性,利于编程 | ||
|
||
## 算法 | ||
|
||
好的算法可以减少代码的复杂度,可以节省`时间`和`空间`的消耗 | ||
|
||
## 设计模式 | ||
|
||
设计模式可以让代码`有结构`,用好设计模式可以不至于让代码太`凌乱`。 | ||
主要包含构建工具、数据结构等内容 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: docs-8 | ||
name: docs | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: docs-8 | ||
app: docs | ||
template: | ||
metadata: | ||
labels: | ||
app: docs-8 | ||
app: docs | ||
spec: | ||
containers: | ||
- name: docs-8-test | ||
- name: docs-container | ||
image: pengmmm/docs:latest | ||
imagePullPolicy: Always | ||
ports: | ||
- containerPort: 80 ## 暴露的端口 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: docs-8-service | ||
name: docs-service | ||
spec: | ||
selector: | ||
app: docs-8 | ||
app: docs | ||
ports: | ||
- protocol: TCP | ||
port: 8080 ## service暴露的端口 | ||
targetPort: 80 ## 容器的短裤 | ||
nodePort: 32215 ## 指定访问的端口 | ||
nodePort: 32216 ## 指定访问的端口 | ||
type: NodePort |
Oops, something went wrong.