Skip to content

Commit 1b5f37c

Browse files
committed
docs: update index and README
1 parent 522366e commit 1b5f37c

File tree

4 files changed

+103
-14
lines changed

4 files changed

+103
-14
lines changed

README.md

Lines changed: 55 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
# 互联网公司 IT 技术面试题集
2+
23
[![license](https://badgen.net/github/license/doocs/leetcode?color=green)](https://github.com/doocs/coding-interview/blob/master/LICENSE)
34
[![stars](https://badgen.net/github/stars/doocs/coding-interview)](https://github.com/doocs/coding-interview/stargazers)
45
[![issues](https://badgen.net/github/open-issues/doocs/coding-interview)](https://github.com/doocs/coding-interview/issues)
56
[![forks](https://img.shields.io/github/forks/doocs/coding-interview.svg)](https://github.com/doocs/coding-interview/network/members)
67
[![PRs Welcome](https://badgen.net/badge/PRs/welcome/green)](http://makeapullrequest.com)
78

8-
## Introduction
9+
## 项目介绍
10+
911
本仓库用于记录各大互联网公司 IT 技术面试高频题以及经典书籍读书笔记,包括《剑指 Offer》、《编程之美》、《代码整洁之道》等,抽空更新中。
1012

11-
## Notes
13+
## 书籍笔记
14+
1215
### [《剑指 Offer》](/docs/coding-interview.md)
16+
1317
这本书选取的[题目](/docs/coding-interview.md)都是被各大公司面试官反复采用的编程题,极具实战意义。当然,如果一开始觉得这些题目比较难,也是很正常的,因为大公司的面试本身就不简单。我们逐步掌握书中总结的解题方法之后,再去面试大公司,将会轻松很多。
1418

1519
推荐三个在线刷《剑指 Offer》的平台,个人比较倾向于 [LeetCode 中国](https://leetcode-cn.com/problemset/lcof/)
@@ -19,21 +23,66 @@
1923
- [NowCoder](https://www.nowcoder.com/ta/coding-interviews):这个应该大多数人都知道,但是没有剑指 Offer 第二版新增的题目。
2024

2125
### [《代码整洁之道》](/docs/clean-code.md)
26+
2227
这本书名为 *Clean Code*,乃是 Object Mentor(鲍勃大叔开办的技术咨询和培训公司)一干大牛在编程方面的经验累积。写整洁代码,需要遵循大量的小技巧,贯彻刻苦习得的“整洁感”。
2328

2429
作者 Robert C. Martin 在书中阐述了代码各个方面如何做到整洁的经验与最佳实践。我们若能长期遵照这些经验编写代码,所谓“代码感”也就自然而然滋生出来。
2530

2631
### [《阿里巴巴 Java 开发手册》](/docs/effective-coding.md)
32+
2733
别人都说我们是搬砖的码农,但我们知道自己是追求个性的艺术家。也许我们不会过多在意自己的外表和穿着,但在我们不羁的外表下,骨子里追求着代码的美、系统的美、设计的美,代码规范其实就是一个对程序美的定义。
2834

2935
### [《枕边算法书》](/docs/algorithm-stories.md)
36+
3037
这本书,我是把它当作一本故事书来读的,里面的部分知识点还挺有意思。
3138

3239
### [《Effective Java》](/docs/effective-java.md)
40+
3341
这本书共包含了 78 个条目,每个条目讨论一条规则。它适用于任何具有实际 Java 工作经验的工程师,对于高级工程师,也能够提供一些发人深思的东西,是所有 Java 工程师必读书籍之一。
3442

35-
## Contributors
36-
<a href="https://opencollective.com/doocs-coding-interview/contributors.svg?width=890&button=true"><img src="https://opencollective.com/doocs-coding-interview/contributors.svg?width=890&button=false" /></a>
43+
---
44+
45+
## Doocs 社区优质项目
46+
47+
Doocs 技术社区,致力于打造一个内容完整、持续成长的互联网开发者学习生态圈!以下是 Doocs 旗下的一些优秀项目,欢迎各位开发者朋友持续保持关注。
48+
49+
| # | 项目 | 描述 | 热度 |
50+
|---|---|---|---|
51+
| 1 | [advanced-java](https://github.com/doocs/advanced-java) | 互联网 Java 工程师进阶知识完全扫盲:涵盖高并发、分布式、高可用、微服务、海量数据处理等领域知识。 | ![](https://badgen.net/github/stars/doocs/advanced-java) <br>![](https://badgen.net/github/forks/doocs/advanced-java) |
52+
| 2 | [leetcode](https://github.com/doocs/leetcode) | 多种编程语言实现 LeetCode、《剑指 Offer(第 2 版)》、《程序员面试金典(第 6 版)》题解。 | ![](https://badgen.net/github/stars/doocs/leetcode) <br>![](https://badgen.net/github/forks/doocs/leetcode) |
53+
| 3 | [source-code-hunter](https://github.com/doocs/source-code-hunter) | 互联网常用组件框架源码分析。 | ![](https://badgen.net/github/stars/doocs/source-code-hunter) <br>![](https://badgen.net/github/forks/doocs/source-code-hunter) |
54+
| 4 | [jvm](https://github.com/doocs/jvm) | Java 虚拟机底层原理知识总结。 | ![](https://badgen.net/github/stars/doocs/jvm) <br>![](https://badgen.net/github/forks/doocs/jvm) |
55+
| 5 | [coding-interview](https://github.com/doocs/coding-interview) | 代码面试题集,包括《剑指 Offer》、《编程之美》等。 | ![](https://badgen.net/github/stars/doocs/coding-interview) <br>![](https://badgen.net/github/forks/doocs/coding-interview) |
56+
| 6 | [md](https://github.com/doocs/md) | 一款高度简洁的微信 Markdown 编辑器。 | ![](https://badgen.net/github/stars/doocs/md) <br>![](https://badgen.net/github/forks/doocs/md) |
57+
| 7 | [technical-books](https://github.com/doocs/technical-books) | 值得一看的技术书籍列表。 | ![](https://badgen.net/github/stars/doocs/technical-books) <br>![](https://badgen.net/github/forks/doocs/technical-books) |
58+
59+
## 贡献者
60+
61+
感谢以下所有朋友对 [Doocs 技术社区](https://github.com/doocs) 所做出的贡献,[参与项目维护请戳这儿](https://doocs.github.io/#/?id=how-to-join)
62+
63+
<!-- ALL-CONTRIBUTORS-LIST: START - Do not remove or modify this section -->
64+
65+
<a href="https://opencollective.com/doocs/contributors.svg?width=890&button=true"><img src="https://opencollective.com/doocs/contributors.svg?width=890&button=false" /></a>
66+
67+
<!-- ALL-CONTRIBUTORS-LIST: END -->
68+
69+
## 公众号
70+
71+
[Doocs](https://github.com/doocs) 技术社区旗下唯一公众号「**Doocs开源社区**」​,欢迎扫码关注,**专注分享技术领域相关知识及行业最新资讯**。当然,也可以加我个人微信(备注:GitHub),拉你进技术交流群。
3772

38-
## License
39-
<a rel="license" href="https://github.com/doocs/coding-interview/blob/master/LICENSE"><img alt="Creative Commons License" style="border-width:0" src="./images/cc-by-sa-88x31.png" /></a>
73+
<table>
74+
<tr>
75+
<td align="center" style="width: 200px;">
76+
<a href="https://github.com/doocs">
77+
<img src="./images/qrcode-for-doocs.jpg" style="width: 400px;"><br>
78+
<sub>公众平台</sub>
79+
</a><br>
80+
</td>
81+
<td align="center" style="width: 200px;">
82+
<a href="https://github.com/yanglbme">
83+
<img src="./images/qrcode-for-yanglbme.jpg" style="width: 400px;"><br>
84+
<sub>个人微信</sub>
85+
</a><br>
86+
</td>
87+
</tr>
88+
</table>

images/qrcode-for-doocs.jpg

65.4 KB
Loading

images/qrcode-for-yanglbme.jpg

70 KB
Loading

index.html

Lines changed: 48 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<script>
1717
window.$docsify = {
1818
name: 'coding-interview',
19-
// repo: 'doocs/coding-interview',
2019
maxLevel: 3,
2120
auto2top: true,
2221
coverpage: true,
@@ -33,15 +32,56 @@
3332
}
3433
},
3534
plugins: [
36-
function (hook) {
37-
var footer = [
38-
'<hr/>',
39-
'<footer>',
40-
'<span>Copyright © 2018-2020 <a href="https://github.com/doocs" target="_blank">Doocs</a>. All rights reserved.',
41-
'</footer>'
42-
].join('')
35+
function (hook, vm) {
36+
hook.beforeEach(function (content) {
37+
const en = vm.route.file.indexOf('README_EN') > -1
38+
if (/githubusercontent\.com/.test(vm.route.file)) {
39+
url = vm.route.file
40+
.replace('raw.githubusercontent.com', 'github.com')
41+
.replace(/\/master/, '/blob/master')
42+
} else {
43+
url = 'https://github.com/doocs/coding-interview/blob/master/' + vm.route.file
44+
}
45+
46+
const github = `[GitHub](${url})`
47+
const gitee = `[Gitee](${url.replace("github", "gitee")})`
48+
49+
const editHtml = en ? `:memo: Edit on ${github} / ${gitee}\n` : `:memo: 在 ${github} / ${gitee} 编辑\n`;
50+
51+
if (vm.route.path == '/') {
52+
return editHtml + content;
53+
}
54+
const subscription = `
55+
## 公众号
56+
57+
[Doocs](https://github.com/doocs) 技术社区旗下唯一公众号「**Doocs开源社区**」​,欢迎扫码关注,**专注分享技术领域相关知识及业内最新资讯**。当然,也可以加我个人微信(备注:GitHub),拉你进技术交流群。
58+
59+
<table>
60+
<tr>
61+
<td align="center" style="width: 200px;">
62+
<a href="https://github.com/doocs">
63+
<img src="./images/qrcode-for-doocs.jpg" style="width: 400px;"><br>
64+
<sub>公众平台</sub>
65+
</a><br>
66+
</td>
67+
<td align="center" style="width: 200px;">
68+
<a href="https://github.com/yanglbme">
69+
<img src="./images/qrcode-for-yanglbme.jpg" style="width: 400px;"><br>
70+
<sub>个人微信</sub>
71+
</a><br>
72+
</td>
73+
</tr>
74+
</table>
75+
`
76+
return editHtml + content + `\n` + subscription
77+
})
4378

4479
hook.afterEach(function (html) {
80+
const footer = [
81+
'<footer>',
82+
'<span>Copyright © 2018-2020 <a href="https://github.com/doocs" target="_blank">Doocs</a>. All rights reserved.',
83+
'</footer>'
84+
].join('')
4585
return html + footer
4686
})
4787
}

0 commit comments

Comments
 (0)