Skip to content

Commit 6fbe5b8

Browse files
committed
更新了一篇博客
1 parent 7122ed1 commit 6fbe5b8

4 files changed

Lines changed: 288 additions & 31 deletions

File tree

‎README.md‎

Lines changed: 74 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# 备战2019校招进行时
1+
# 备战2019校招,Java面试宝典
22

3-
Work like a Trojan.
3+
Work like a Trojan.
44

55

66

77
## PART1:技能强化
88

99
目录一览
1010

11-
| Ⅰ | Ⅱ | Ⅲ | Ⅳ | Ⅴ | Ⅵ | Ⅶ | Ⅷ |
12-
| :--------------------------: | :-------------------: | :-----------------------------: | :----------------------: | :---------------------: | :--------------: | :---------------: | :----------------------: |
13-
| 数据结构与算法<br />:pencil: | Java Web<br/>:coffee: | 分布式&微服务<br/>:sweat_drops: | 数据库<br/>:floppy_disk: | 操作系统<br/>:computer: | 网络<br/>:cloud: | 工具<br/>:hammer: | 开发利器<br/>:paperclip: |
11+
| Ⅰ | Ⅱ | Ⅲ | Ⅳ | Ⅴ | Ⅵ | Ⅶ | Ⅷ |
12+
| :--------------------------: | :---------------: | :-----------------------------: | :----------------------: | :---------------------: | :--------------: | :---------------: | :----------------------: |
13+
| 数据结构与算法<br />:pencil: | Java<br/>:coffee: | 分布式&微服务<br/>:sweat_drops: | 数据库<br/>:floppy_disk: | 操作系统<br/>:computer: | 网络<br/>:cloud: | 工具<br/>:hammer: | 开发利器<br/>:paperclip: |
1414

1515

1616

17-
#### 一、数据结构与算法
17+
### 一、数据结构与算法
1818

1919
- 基础知识
2020
- 数据结构
@@ -34,8 +34,56 @@ Work like a Trojan.
3434

3535

3636

37+
### 二、Java
38+
39+
##### 学习Github库
40+
41+
- [hadyang/interview: Java / Android 笔试、面试 知识整理](https://github.com/hadyang/interview) `star:928`
42+
- [francistao/LearningNotes: Enjoy Learning.](https://github.com/francistao/LearningNotes) `star:9194`
43+
- [Snailclimb/Java_Guide: Java面试通关手册(Java学习指南)](https://github.com/Snailclimb/Java_Guide) `star:94`
44+
45+
46+
47+
##### Java面试宝典
48+
49+
- Java基础
50+
- 集合框架
51+
- (必读)阅读:[深入理解JCF Java集合框架](https://github.com/CarpenterLee/JCFInternals)
52+
-
53+
54+
55+
56+
57+
58+
深入理解:
59+
60+
61+
62+
##### JavaSE(Java基础)
63+
64+
JVM(Java虚拟机)
65+
66+
[面试JVM 听这堂课就够了_面试jvm 听这堂课就够了_腾讯视频](https://v.qq.com/x/cover/bcmtqgpddsbj75k/g1423t1uwp5.html)
67+
68+
[咕泡学院-James老师_腾讯课堂](https://ke.qq.com/teacher/2904270631)
69+
70+
[ProcessOn - 免费在线作图,实时协作](https://www.processon.com/)
71+
72+
73+
74+
75+
##### JavaConcurrent(Java并发)
76+
77+
设计模式
78+
79+
Java多线程系列
80+
81+
Java IO与NIO
82+
83+
84+
85+
3786

38-
#### 二、Java Web编程
3987
- 技能点
4088

4189
| 学习技能 | 参考资料 | 其他说明 |
@@ -78,7 +126,9 @@ Work like a Trojan.
78126

79127

80128

81-
#### 三、分布式&微服务
129+
130+
131+
### 三、分布式&微服务
82132

83133
- ZooKeeper分布式专题与Dubbo微服务入门
84134

@@ -87,7 +137,7 @@ Work like a Trojan.
87137

88138

89139

90-
#### 四、数据库
140+
### 四、数据库
91141

92142
- [数据库系统原理](https://github.com/CyC2018/InnterviewNotes/blob/master/notes/数据库系统原理.md)
93143
- 整理自《数据库系统概论 第四版》
@@ -102,30 +152,30 @@ Work like a Trojan.
102152

103153

104154

105-
#### 五、操作系统(Linux)
155+
### 五、操作系统(Linux)
106156

107157
- 阅读书籍
108158
- 《快乐的Linux命令行》(待整理学习笔记!!!)
109159
- [我的Linux命令行学习笔记](notes/my_linux_cmd.md)
110160

111161

112162

113-
#### 六、网络部分
163+
### 六、网络部分
114164

115165
- TCP/IP
116166
- HTTP
117167

118168

119169

120-
#### 七、工具
170+
### 七、工具
121171

122172
- Git
123173
- SVN
124174
- 正则表达式
125175

126176

127177

128-
#### 八、开发利器
178+
### 八、开发利器
129179

130180
- IntelliJ IDEA
131181
- 学习课程:IntelliJ IDEA神器使用技巧 |[慕课网](https://www.imooc.com/learn/924)
@@ -135,7 +185,7 @@ Work like a Trojan.
135185

136186
## PART2:学习记录
137187

138-
#### 已完成的课程
188+
### 已完成的课程
139189

140190
| 课程 | 进展 |
141191
| ------------------------------------------------------------ | --------------- |
@@ -147,7 +197,7 @@ Work like a Trojan.
147197

148198

149199

150-
#### 进行中的课程
200+
### 进行中的课程
151201

152202
| 课程 | 进展 |
153203
| ------------------------------------------------------------ | ---------------------------- |
@@ -167,7 +217,7 @@ Work like a Trojan.
167217

168218

169219

170-
#### 学习书籍
220+
### 学习书籍
171221

172222
| 图书 | 进展 |
173223
| ----------------------- | -------- |
@@ -181,23 +231,21 @@ Work like a Trojan.
181231

182232
## PART3:参考学习资料
183233

184-
​ [CyC2018/Interview-Notebook: 技术面试需要掌握的基础知识整理,欢迎编辑~](https://github.com/CyC2018/Interview-Notebook)
185-
186-
​ [francistao/LearningNotes: Enjoy Learning.](francistao/LearningNotes: Enjoy Learning.)
234+
[CyC2018/Interview-Notebook: 技术面试需要掌握的基础知识整理,欢迎编辑~](https://github.com/CyC2018/Interview-Notebook) `star: 23489`
187235

188-
​ [Google Interview University 一套完整的学习手册帮助自己准备 Google 的面试](https://github.com/jwasham/coding-interview-university/blob/master/translations/README-cn.md)
236+
[Google Interview University 一套完整的学习手册帮助自己准备 Google 的面试](https://github.com/jwasham/coding-interview-university/blob/master/translations/README-cn.md)
189237

190-
​ [linw7/Skill-Tree: 🐼 准备秋招,欢迎来树上取果实](https://github.com/linw7/Skill-Tree)
238+
[linw7/Skill-Tree: 🐼 准备秋招,欢迎来树上取果实](https://github.com/linw7/Skill-Tree)
191239

192-
​ [视频学习资源共享 (更新于:2018年4月30日)](https://github.com/shiyuan17/share_video/tree/1773f9f1e181d40f3e00041805933ca55932c553)
240+
[视频学习资源共享 (更新于:2018年4月30日)](https://github.com/shiyuan17/share_video/tree/1773f9f1e181d40f3e00041805933ca55932c553)
193241

194-
​ [我珍藏的神兵利器 - 效率工具](https://www.liutf.com/posts/3720794851.html)
242+
[我珍藏的神兵利器 - 效率工具](https://www.liutf.com/posts/3720794851.html)
195243

196-
​ [Linux 守护进程的启动方法](https://mp.weixin.qq.com/s/DzajJNhcpB3hqWzzm71Q0w)
244+
[Linux 守护进程的启动方法](https://mp.weixin.qq.com/s/DzajJNhcpB3hqWzzm71Q0w)
197245

198-
​ [波波老师:关于学习方法和今后提高自学能力的疑问!](http://coding.imooc.com/learn/questiondetail/46130.html)
246+
[波波老师:关于学习方法和今后提高自学能力的疑问!](http://coding.imooc.com/learn/questiondetail/46130.html)
199247

200-
​ [最近面了不少java开发,据此来说下我的感受:哪怕事先只准备1小时,成功概率也能大大提升](https://mp.weixin.qq.com/s/TheCxmlDrcz5oFAahz6Rxw)
248+
[最近面了不少java开发,据此来说下我的感受:哪怕事先只准备1小时,成功概率也能大大提升](https://mp.weixin.qq.com/s/TheCxmlDrcz5oFAahz6Rxw)
201249

202250

203251

Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
### 一、alias初体验
2+
3+
现在是时候,感受第一次编程经历了!我们将用 alias 命令创建我们自己的命令。但在 开始之前,我们需要展示一个命令行小技巧。可以把多个命令放在同一行上,命令之间 用”;”分开。它像这样工作
4+
5+
```
6+
command1; command2; command3...
7+
```
8+
9+
我们会用到下面的例子:
10+
11+
```
12+
[me@linuxbox ~]$ cd /usr; ls; cd -
13+
bin games kerberos lib64 local share tmp
14+
...
15+
[me@linuxbox ~]$
16+
```
17+
18+
正如我们看到的,我们在一行上联合了三个命令。**首先**更改目录到/usr,**然后**列出目录 内容,**最后**回到原始目录(用命令”cd -“),结束在开始的地方。
19+
20+
现在,通过 alias 命令 把这一串命令转变为一个命令。
21+
22+
我们要做的第一件事就是为我们的新命令构想一个名字。
23+
24+
比方说”test”。在使用”test”之前,查明是否”test”命令名已经存在系统中,是个很不错 的主意。
25+
26+
为了查清此事,可以使用 type 命令:
27+
28+
```
29+
[me@linuxbox ~]$ type test
30+
test is a shell builtin
31+
```
32+
33+
哦!”test”名字已经被使用了。试一下”foo”:
34+
35+
```
36+
[me@linuxbox ~]$ type foo
37+
bash: type: foo: not found
38+
```
39+
40+
太棒了!”foo”还没被占用。创建命令别名:
41+
42+
```
43+
[me@linuxbox ~]$ alias foo='cd /usr; ls; cd -'
44+
```
45+
46+
注意命令结构:
47+
48+
```
49+
alias name='string'
50+
```
51+
52+
在命令”alias”之后,输入“name”,紧接着(没有空格)是一个等号,等号之后是 一串用引号引起的字符串,字符串的内容要赋值给 name。我们定义了别名之后, 这个命令别名可以使用在任何地方。试一下:
53+
54+
```
55+
[me@linuxbox ~]$ foo
56+
bin games kerberos lib64 local share tmp
57+
...
58+
[me@linuxbox ~]$
59+
```
60+
61+
我们也可以使用 type 命令来查看我们的别名:
62+
63+
```
64+
[me@linuxbox ~]$ type foo
65+
foo is aliased to `cd /usr; ls ; cd -'
66+
```
67+
68+
删除别名,使用 unalias 命令,像这样:
69+
70+
```
71+
[me@linuxbox ~]$ unalias foo
72+
[me@linuxbox ~]$ type foo
73+
bash: type: foo: not found
74+
```
75+
76+
虽然我们有意避免使用已经存在的命令名来命名我们的别名,但这是常做的事情。通常, 会把一个普遍用到的选项加到一个经常使用的命令后面。例如,之前见到的 ls 命令,会 带有色彩支持:
77+
78+
```
79+
[me@linuxbox ~]$ type ls
80+
ls is aliased to 'ls --color=tty'
81+
```
82+
83+
要查看所有定义在系统环境中的别名,使用不带参数的 alias 命令。下面在 Fedora 系统中 默认定义的别名。试着弄明白,它们是做什么的:
84+
85+
```
86+
[me@linuxbox ~]$ alias
87+
alias l.='ls -d .* --color=tty'
88+
...
89+
```
90+
91+
在命令行中定义别名有点儿小问题。当你的 shell 会话结束时,它们会消失。
92+
93+
94+
95+
### 二、接如何设置永久有效的alias命令
96+
97+
98+
99+
#### 1.打开.bashrc文件
100+
101+
当系统重启之后就会失效,所以要实现永久有效,则需要 修改用户目录下的一个文件 .bashrc  目录为 ~/.bashrc
102+
103+
```
104+
vim ~/.bashrc
105+
```
106+
107+
108+
109+
#### 2.自定义命令行
110+
111+
alias cls=’clear’这行,并且加一个注释` # User specific aliases and functions `方便我们日后的查阅
112+
修改后如下:
113+
114+
```
115+
#.bashrc
116+
# User specific aliases and functions
117+
alias cls='clear'
118+
119+
120+
# Source global definitions
121+
if [ -f /etc/bashrc ]; then
122+
. /etc/bashrc
123+
fi
124+
125+
# Uncomment the following line if you don't like systemctl's auto-paging feature:
126+
# export SYSTEMD_PAGER=
127+
# User specific aliases and functions12345678910111213
128+
```
129+
130+
131+
132+
#### 3.保存退出
133+
134+
```
135+
:wq
136+
```
137+
138+
139+
140+
#### 4.使用命令生效更改
141+
142+
```
143+
source ~/.bashrc
144+
```
145+
146+
147+
148+
#### 5.验证
149+
150+
- 重启后尝试
151+
- 关闭ssh重新连接
152+
- 输入alias可以看到所有的别名
153+

‎notes/√Java必知必会.md‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
2-
3-
4-
51
# Java必知必会
62

73
你必须知道的Java语言基础知识
84

9-
https://github.com/hadyang/interview
5+
106

117
参考资料
128

0 commit comments

Comments
 (0)