Skip to content

Commit

Permalink
Merge pull request #73 from mmdapl/docs/update
Browse files Browse the repository at this point in the history
  • Loading branch information
mmdapl authored Oct 23, 2023
2 parents 6e9ec9e + dd96722 commit 66da306
Show file tree
Hide file tree
Showing 23 changed files with 366 additions and 68 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/CD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ jobs:
registry-url: 'https://registry.npmmirror.com'

- name: Install Dependencies
run: ./scripts/ci
run: |
./scripts/ci
# 运行构建脚本
- name: Build VuePress Site
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ jobs:
registry-url: 'https://registry.npmmirror.com'

- name: Install Dependencies
run: ./scripts/ci
run: |
./scripts/ci
- name: Cache Dependencies
uses: actions/cache@v3
Expand Down
4 changes: 4 additions & 0 deletions docs/manuscripts/battle-interview/battle-interview.sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ export const battleInterviewSidebar = [
text: '接口幂等',
link: '接口幂等.md'
},
{
text: '乐观锁和悲观锁',
link: '乐观锁和悲观锁.md'
},
{
text: 'Node',
link: 'Node面试.md'
Expand Down
9 changes: 9 additions & 0 deletions docs/manuscripts/battle-interview/problems/MySQL面试.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
---
title: MySQL面试
permalink: /manuscripts/battle-interview/mysql.html
---

# MySQL面试

[//]: # (```mindmap)
[//]: # (root(思维导图))
[//]: # ( test)
[//]: # (```)

## 基础架构

Expand Down
10 changes: 10 additions & 0 deletions docs/manuscripts/battle-interview/problems/Nginx面试.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
---
title: Nginx面试
permalink: /manuscripts/battle-interview/nginx.html
---

# Nginx面试

[//]: # (```mindmap)
[//]: # (root(思维导图))
[//]: # ( test)
[//]: # (```)


## 什么是Nginx

Expand Down
10 changes: 10 additions & 0 deletions docs/manuscripts/battle-interview/problems/Node面试.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
---
title: Node面试
permalink: /manuscripts/battle-interview/node.html
---

# Node面试

[//]: # (```mindmap)
[//]: # (root(思维导图))
[//]: # ( test)
[//]: # (```)

参考:https://juejin.cn/post/6844904071501971469#heading-0

重要重要!!!
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
# 乐观锁与悲观锁
---
title: 乐观锁和悲观锁
permalink: /manuscripts/battle-interview/lock.html
---

# 乐观锁和悲观锁


```mindmap
root(锁)
乐观锁
悲观锁
```

## 乐观锁的实现

- 版本号机制
Expand All @@ -23,7 +33,6 @@
**加锁的目的是在同一个时间只有一个事务在更新数据,通过锁独占数据的修改权。**


###

乐观锁:不会发生并发抢占资源,只有在提交操作的时候检查是否违反数据完整性。**只能防止脏读后数据的提交,不能解决脏读**

Expand Down
8 changes: 6 additions & 2 deletions docs/manuscripts/battle-interview/problems/前端常考.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# 前端面试

[//]: # (```mindmap)
[//]: # (root(思维导图))
[//]: # ( test)
[//]: # (```)

### 快速排序
## 快速排序

> 参考:https://www.cnblogs.com/du001011/p/10798540.html
Expand Down Expand Up @@ -74,7 +78,7 @@ console.log(quickSort([1, 8, 9, 2], 0, 3))
```


### 二分查找
## 二分查找

> 参考:https://labuladong.gitee.io/algo/%E7%AE%97%E6%B3%95%E6%80%9D%E7%BB%B4%E7%B3%BB%E5%88%97/%E4%BA%8C%E5%88%86%E6%9F%A5%E6%89%BE%E8%AF%A6%E8%A7%A3.html
Expand Down
8 changes: 7 additions & 1 deletion docs/manuscripts/battle-interview/problems/后端汇总.md
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
# 后端汇总

# 后端汇总

[//]: # (```mindmap)
[//]: # (root(思维导图))
[//]: # ( test)
[//]: # (```)
5 changes: 5 additions & 0 deletions docs/manuscripts/battle-interview/problems/接口幂等.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
title: 接口幂等
permalink: /manuscripts/battle-interview/interface-idempotent.html
---

# 接口幂等

> 参考:<https://www.cnblogs.com/jajian/p/10926681.html>
Expand Down
9 changes: 8 additions & 1 deletion docs/manuscripts/battle-interview/readme.md
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
# Battle面试官
# Battle面试官

```mindmap
root(Battle面试官)
面试题整理
面经分享
面试技巧
```
2 changes: 1 addition & 1 deletion docs/manuscripts/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@



该文件包含 `408CSFamily` 仓库和网站所有显着更改。
该文件包含 `JavaScriptCollection` 仓库和网站所有显着更改。


<!-- @include: ../../CHANGELOG.md#recent-alpha -->
Expand Down
5 changes: 5 additions & 0 deletions docs/manuscripts/develop-skill/build-tools/vite.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
title: Vite
permalink: /manuscripts/develop-skill/build-tools/vite.html
---

# vite

> 官网:https://vitejs.dev/guide/
4 changes: 4 additions & 0 deletions docs/manuscripts/develop-skill/build-tools/webpack.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Vite
permalink: /manuscripts/develop-skill/build-tools/webpack.html
---

# webpack

Expand Down
4 changes: 2 additions & 2 deletions docs/manuscripts/develop-skill/code-manager/CI-CD.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 持续集成交付
title: 持续集成、持续交付
permalink: /manuscripts/develop-skill/code-manager/ci-cd.html
---

# 持续集成交付
# 持续集成、持续交付
1 change: 1 addition & 0 deletions docs/manuscripts/front-end/base-begin/css.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: CSS相关
permalink: /manuscripts/front-end/base-begin/css.html
---

# CSS相关
Expand Down
5 changes: 3 additions & 2 deletions docs/manuscripts/front-end/base-begin/html.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: HTML相关
permalink: /manuscripts/front-end/base-begin/html-correlation.html
---

# HTML
Expand All @@ -9,7 +10,7 @@ HTML的全称为超文本标记语言,是一种标记语言。它包括一系



#### 标题
## 标题

HTML 标题(Heading)是通过 `<h1> - <h6>` 等标签进行定义的。

Expand All @@ -24,6 +25,6 @@ HTML 链接是通过 `<a>` 标签进行定义的。
HTML 图像是通过 <img> 标签进行定义的。


### 元素
## 元素

`<p>` 元素
3 changes: 2 additions & 1 deletion docs/manuscripts/front-end/base-begin/javascript.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: JavaScript相关
permalink: /manuscripts/front-end/base-begin/javascript.html
---
# JavaScript

Expand Down Expand Up @@ -694,7 +695,7 @@ fun1()
```


## 浅拷贝和深拷贝
## 数据拷贝

> 浅拷贝只是拷贝一层,更深层次对象级别的只**拷贝引用**
> 深拷贝拷贝多层,每一级别的数据都会拷贝。
Expand Down
2 changes: 1 addition & 1 deletion docs/manuscripts/front-end/front-end.sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const frontEndSidebar = [
},
{
text: '前端框架',
collapsible: true,
// collapsible: true,
prefix: 'front-framework',
children: [
{
Expand Down
49 changes: 48 additions & 1 deletion docs/manuscripts/front-end/front-framework/jquery.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,53 @@
title: JQuery
permalink: /manuscripts/front-end/front-framework/jquery.html
---
# JQuery
# jQuery

> 不推荐学,直接看官方文档,操作api方法即可

jQuery是一个轻量级的JavaScript框架,简化JavaScript编程,适合Js入门学习,在目前的前端工程化浪潮中使用频率越来越低,
建议直接根据[jQuery中文API文档](https://jquery.cuishifeng.cn/)进行学习,熟悉常用API即可。

常用的功能有:

- HTML 元素选取
- HTML 元素操作
- CSS 操作
- HTML 事件函数
- HTML DOM 遍历和修改
- AJAX发送HTTP请求


## 安装

### 官网下载

有两个版本的 jQuery 可供下载:

- Production version - 用于实际的网站中,已被精简和压缩。
- Development version - 用于测试和开发(未压缩,是可读的代码)

这两个版本都可以从<jQuery.com >下载。

> 可以把下载文件放到与页面相同的目录中,这样更方便使用。
### CDN

使用<https://www.bootcdn.cn/>开源CDN,查询jQuery相关的cdn连接及scripts引入方式。


参考:<https://www.bootcdn.cn/jquery/>

```js
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.7.1/jquery.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.7.1/jquery.min.js"></script>

```


## 参考资料

- 入门:<https://www.w3school.com.cn/jquery/jquery_intro.asp>
- 官网:<https://github.com/jquery/jquery>
- 中文API文档:<https://jquery.cuishifeng.cn/>
Loading

0 comments on commit 66da306

Please sign in to comment.