generated from CaiJimmy/hugo-theme-stack-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
147 changed files
with
15,840 additions
and
3 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
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
+++ | ||
title = "如何删除git中的所有历史文件" | ||
description = "111" | ||
date = 2022-12-03T12:18:50+08:00 | ||
featured = false | ||
comment = true | ||
toc = true | ||
reward = true | ||
categories = [ | ||
"" | ||
] | ||
tags = [ | ||
"git" | ||
] | ||
series = [] | ||
images = [] | ||
+++ | ||
|
||
# 需要工具 | ||
- gitbash 用于快速操作 | ||
- githubDesktop 用于查看文件历史等 | ||
|
||
# 注意 | ||
此操作不可撤销,如果你的历史记录中有着不想要被删除的重要数据,请务必提前备份。 | ||
|
||
适用情况:清理git文件夹,让git每次clone下来更轻松。有可能项目中留存着一些没有用的垃圾,比如很大的图片、视频等。虽然目前已经删除。但这些内容实际上仍然保留在隐藏的`.git`文件夹中。 | ||
|
||
# 操作 | ||
1. 从git平台下拉目前的全部代码,删除原repo。 | ||
> 删除在repo - settings - dangerzone最下面 | ||
![Imgur](https://i.imgur.com/a5zdkEs.png) | ||
2. 进入本地repo,打开gitbash,执行下列指令 | ||
``` | ||
rm -rf .git | ||
git init | ||
git add . | ||
git commit -m "init" | ||
git status | ||
``` | ||
3. 使用github desktop检查是否有残留 | ||
![Imgur](https://i.imgur.com/X3R65UB.png) | ||
4. 重新push repo到git平台 | ||
> 网上有一些很乱七八糟的方法,又要head,又要forcepush,又要orphan branch之类的,说实话我有些看不懂,我这个方式绝对简单又高效(粗暴rm -rf) 嘿嘿。 | ||
> | ||
## 其他提示 | ||
`insights - traffic` 可以查看到public项目的所有访问记录。数据为0的话不会展示;对于github博客来说,这里还是很有用的。 | ||
![Imgur](https://i.imgur.com/cVjIKyn.png) |
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
+++ | ||
title = "2021" | ||
description = "我的2021(未完待续)" | ||
date = 2021-11-15T23:24:17+08:00 | ||
featured = false | ||
comment = true | ||
toc = true | ||
reward = true | ||
categories = [ | ||
"" | ||
] | ||
tags = [ | ||
"生活" | ||
] | ||
series = [] | ||
images = [] | ||
|
||
+++ | ||
|
||
# 毕业 | ||
|
||
2021年是我毕业的一年。也是我做了很多事情都失败了的一年。 | ||
|
||
失败事项: | ||
|
||
- 考研 | ||
- 考公 | ||
- 出国做交换项目 | ||
|
||
考研和考公我可以认为是准备不充分所以失败了,出国的话是担心疫情而且家里经济条件也没有那么可以……所以最终在大四毕业的时候,我面临两个选择:1 回家继续准备考研 2 直接开始工作 | ||
|
||
在大四准备考研的时候,我感觉自己实际上也付出了很多,花了很多时间学习、英语和政治考的都不错,可惜我的数学和专业课分数不太行,数学甚至没有及格。真的是超垃圾呢--后来总结下来我也没什么好说的,首先是之前没有做好准备,都已经到了夏天才堪堪开始准备,并且我的内心里面不是很想考研。 | ||
|
||
时间线是这样的 | ||
|
||
``` | ||
|-2020.7-----2020.9-----2020.12-----2021.2------2021.3-----2021.4------2021.5-----2021.7----至今-| | ||
准备考研 考研报名 考研考试 考试出结果 准备考公 考公考试 工作实习 正式入职 工作数个月 | ||
``` | ||
|
||
这个短短的时间里面我准备了两场大考试,准备不充分、再加上考试难度是较高的,所以结果不好是在我的预见范围之内的。找工作的话就比较神奇了,我一开始面试了一些开发的地方,我感觉他们的办公环境都不太好,而且面试的时候我当时还没有出考公成绩,而且心里还是想着继续准备考研二战,所以就没有面试成,到后面我也是差不多的心态,并没有相信有什么成功的面试的来着。这个入职可以说是偶然的巧合,或者是冥冥中的选择吧。 | ||
|
||
在实习的时候,我每天都要坐地铁坐好远,到这里(我现在就在单位附近租房子住了)每天都要花费两个小时在地铁上。 | ||
|
||
其实多少有点在手机上面的新闻的关系,说什么程序员中年危机呀,什么35岁被辞退,在被辞退之前就是人肉干电池从9点干到晚上12点呀,总之我怕了,我怕我变成一个麻木的只有工作的人,我也怕在我中年的时候突然天降一口大锅让我失去生活资金的来源;而且我还有一点,我怕我喜爱的打代码变成了我最厌烦的事情。所以我找工作的时候并没有往开发的方向去找,而是去找了一些和开发不是非常强相关的--比如现在:网络安全等级保护测评师。 | ||
|
||
|
||
|
||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,62 @@ | ||
+++ | ||
title = "2022" | ||
description = "" | ||
date = 2022-01-04T21:31:54+08:00 | ||
featured = false | ||
draft = false | ||
comment = true | ||
toc = true | ||
reward = true | ||
categories = [ | ||
"" | ||
] | ||
tags = [ | ||
"" | ||
] | ||
series = [] | ||
images = [] | ||
|
||
+++ | ||
|
||
2022年的第一个帖子! | ||
|
||
今年的元旦我老妈从黑龙江过来看我。 | ||
|
||
在这之前,我一直有点嘴巴上火还是什么的,有好几个大大的溃疡,非常疼! | ||
|
||
直到31号,我妈到了这边,我早上从公交站把她接过来,看看我住的小房间。 | ||
|
||
第一天,是周五,我去上班,我妈在家里就收拾了屋子。我中午的午休的时候领着她去吃了一下我常吃的菜馆,结果她说好难吃呀!还那么贵,我平常到也都习惯了,没有感觉啥。 | ||
|
||
晚上开始,我妈给我做了一堆好吃的,小凉菜和红烧肉啥的。都是我爱吃的东北菜,然后教我自己做饭啥的。还把这边的洗手池什么的擦得亮晶晶的,非常干净! | ||
|
||
跨年夜的晚上我们挤在我的不大不小的双人床上,两个厚被子把整个床弄得非常拥挤。 | ||
|
||
这几天我大饱口福,反而体重还下降了一点。确实是不要吃外面的垃圾东东了。虽然会费时间一些,以后多多少少我也要自己做点菜啥的了。毕竟这次过来之后她还给我买好了调料,放好了电饭锅的位置啥的。以后我也不至于只有食用盐和酱油做菜吃了。 | ||
|
||
短短三天一下子就过去了。我在今年要考证书,cisp和等保初级必须考掉。 | ||
|
||
然后升级下工资,换个有自己卫生间和厨房的地方。 | ||
|
||
控制一下饮食*米饭啥的,重量控制控制。已经不能再继续重下去了~~~ | ||
|
||
--- | ||
|
||
今天4号,是第一天节后上班。 | ||
|
||
一早上我起床我妈就弄好了吃的,饺子和紫菜汤。吃完了就出去挤地铁了。 | ||
|
||
白天扫描扫描漏洞、看了个机房整理了下记录表一天就结束了。 | ||
|
||
晚上回家也有好吃的等着我,到家就吃饭了!开心。 | ||
|
||
--- | ||
|
||
倒也不一直非常愉快啦,有时候会有烦人的唠叨和半夜的扰人呼噜声。不过总的来说,我妈过来一趟我还是很开心的! | ||
|
||
过年回家的机票实在是太贵了,我感觉还有怕疫情影响啥的,所以今年就没有买票呢,也没有决定到底是否回家过年去。 | ||
|
||
感觉最快乐的就是在我一边打游戏,我妈妈在那里做饭,然后我打完了一起吃个饭了。 | ||
|
||
吃完饭在出去遛弯,最后再去休息一下,刷刷手机。最棒的日子。 | ||
|
Oops, something went wrong.