Skip to content

Commit 4113537

Browse files
committed
deploy
1 parent 5947242 commit 4113537

File tree

11 files changed

+91
-27
lines changed

11 files changed

+91
-27
lines changed

.vuepress/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = {
2121
}
2222
]
2323
],
24-
"plugins": ["@vuepress-reco/vuepress-plugin-comments"],
24+
"plugins": ["@vuepress-reco/vuepress-plugin-comments", "vuepress-plugin-meting"],
2525
"theme": "reco",
2626
"themeConfig": {
2727
"mode": 'light',

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,3 @@ features:
2525
- title: Tomorrow
2626
details: 希望更多的爱好者能够参与进来,帮助这个主题更好的成长
2727
---
28-
cloudbase hosting:deploy public -e blog-9g8lgnuke4603ff9

blogs/interview/001_ali.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ tags:
77
- 面试
88
sidebar: 'auto'
99
---
10+
<Meting auto="http://music.163.com/#/song?id=254574" :lrc-type="3"/>
1011
## 阿里云一面:
1112
3月10号晚
1213

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: 做事情的三层境界
3+
date: 2020-11-20
4+
tags:
5+
- 杂思
6+
categories:
7+
- 行思录
8+
---
9+
10+
## 第一层
11+
第一层是我们大多数人的状态,就是将一件事情当成正儿八经的工作就做,外界强加于我们的压力和束缚让我们不得不将它完成,但实际上遇到一些困难和阻力的时候,我们是会偏向于抗拒,或者回避。比如:
12+
13+
- 反正不是什么大问题,就这样吧
14+
- 做出的东西又不是不能用
15+
- 有些地方还可以优化一下,不过做成现在无可厚非,对得起人了,算了,干脆不做了
16+
17+
并非是想批判这种心态,其实人性天生都是懒惰的,对于外界施加的约束,为了避免惰性所带来的恶果,自然会收敛一些懒惰,将更多的精力投入到这些不得不做的事情上。但是一旦事情变得复杂起来,一旦触及或者超出自己的能力边界的时候,这种心态的人一般会选择退缩,很容易原地打转,遇到所谓的**瓶颈**
18+
19+
这种状态,我愿称之为**打工人心态**。放眼望去,对于很多事情,这是大多数人的心态,包括我们自己。
20+
21+
## 第二层
22+
第二层,就是具备一定的敬业精神。这种精神可以理解为来自自我的约束,严格按照流程和规范,做好自己分内的事情,并且在碰到阻力或者处于逆境的时候,能够取得和顺境当中一样的结果,这样的人一般会受到别人的信赖。
23+
24+
这一层,可以概括为**敬业精神**
25+
26+
## 第三层
27+
28+
第三层,就需要一些梦想和信念这样的精神了,而不光光是对自己惰性的约束。说一句**I have a dream**这样的话是成本极低的,现实当中类似的声音也非常多,但太多人口头上**谈论梦想**的时候,极有可能会失去这个概念本身的含义。那如何才是真正地把一件事当做梦想去完成呢?
29+
30+
借用李笑来的一句话,一个人是否能独立思考,就看他脑子里有没有清晰、准确的概念。我想对于梦想的概念应该有三个判断标准:
31+
32+
- 坚持付出长期的努力,这个“长期”至少是以年为单位计算的。
33+
- 通过倾尽自己所有的资源和努力,而不是通过牺牲别人的资源为代价。
34+
- 为了这件事情,愿意放弃所有其他的机会。
35+
36+
综合来看,我觉得回到现实就真没几个人能够做到了,我觉得 Vue 的创始人尤大算是一个,对于 Vue 全职做了 4 年时间,同时放弃了其他所有的机会,或许开发 Vue 这件事情对他来说,已经成为了如同信仰一般的东西。这才是真正地把一件事当做梦想来完成,但你又什么时候看到尤大跟大家谈过梦想这类的字眼呢?
37+
38+
恰好相反,很多人中喜欢口上谈**梦想**,只不过是空想罢了。
39+
40+
- 憧憬着名牌大学的学位,却不敢放弃手上的高新工作;
41+
- 想象着哪天开始环游世界,却始终不去做任何的规划;
42+
- ...
43+
44+
把一件事当做梦想(或者信仰)去做,会受到各种各样的阻力,甚至倾尽自己的所有,但这样的态度,往往能让我们把事情做到极致,也能将自己的潜力发挥到极致。
45+

deploy.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/usr/bin/env sh
2+
3+
# 确保脚本抛出遇到的错误
4+
set -e
5+
6+
# 生成静态文件
7+
npm run build
8+
9+
# 进入生成的文件夹
10+
# cd public
11+
12+
git init
13+
git add -A
14+
git commit -m 'deploy'
15+
16+
# 如果发布到 https://<USERNAME>.github.io 填写你刚刚创建的仓库地址
17+
git remote add origin https://github.com/sanyuan0704/my_blog.git
18+
19+
git push -f origin master:master
20+
21+
cd ..
22+
23+
tcb hosting:deploy public -e blog-9g8lgnuke4603ff9

docs/theme-reco/README.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/theme-reco/api.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/theme-reco/plugin.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/theme-reco/theme.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

package-lock.json

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)