重建博客 - rm 的悲剧

2017.08.07 下午,昏昏欲睡的我,还在折腾电脑的驱动。紧张地 Google 解决方法,直接 Copy 一条命令回车,没想到这一操作就宣告了我博客的死亡sobsobsob……

rebuild-this-blog-due-to-rm-title.jpg

死亡的味道

回车后,过了很久,当时也没太在意,继续操作。一会重启系统,感觉画风不对,桌面变了,后脑勺一凉,开终端,ls一看,没了,我的“家”都没了……

机智的我赶紧敲了一条history命令,看到(别问我为啥还能看到,神特么知道):

1
rm -rf ~/ .local/……

发现了没,~/后面多了个空格,卧槽!那个网站上贴这行代码的人!¥%×%%&×%&×%&×¥%……#%……&×%&(×……&+)——+(——)(&(×!

删而后重建

之后试着恢复数据,无奈失败。把自己的“家”都给删了,半年多在这系统上的努力都废了,特别是博客文件夹,想到还要从 0 开始弄,头皮发麻……

无奈归无奈,还好我电脑双系统,第二天就进 Windows 下载镜像烧 U 盘,重装系统,顺便(当然没那么顺便)把引导由 BIOS + MBR 改为 UEFI + GPT。

最后终于进了新 Linux 系统,更新系统,解决驱动问题,装软件。接下来就是重新搭建 Hexo,优化 NexT 主题,将网站上的 38 篇文章全部写成 Markdown 文档。

折腾新成果

  • 博客方面

规范了 Markdown 文档,可以更美观的使用 emojistuck_out_tongue,添加 404 页面 ,使用插件使音乐支持歌词,视频支持弹幕,等等……更多点击 打造个性超赞博客Hexo+NexT+GithubPages的超深度优化 查看。

  • 系统方面

装了最新的 Wine QQ ,深刻了解数据的重要性和rm的可怕joy……

  • 其它方面

熟悉了 UEFI + GPT,自己重装系统的能力又得到了巨大提升……

那来首歌吧

[ar:Oasis]
[ti:Live Forever]
[al:Live Forever]
[by:https://reuixiy.github.io]
[length:4:38]
[00:00.00]Oasis - Live Forever
[00:12.69]
[02:28.88][00:12.70]Maybe I don't really want to know
[02:32.25][00:17.28]How your garden grows
[02:35.49][00:19.87]I just want to fly Lately did you ever feel the pain
[02:42.93][00:28.06]In the morning rain
[02:45.64][00:30.57]As it soaks it to the bone
[02:49.35][00:34.49]Maybe I just want to fly
[02:51.96][00:37.21]I wanna live I don't want to die
[02:54.55][00:39.63]Maybe I just want to breath
[02:57.08][00:42.30]Maybe I just don't believe
[02:59.69][00:44.88]Maybe you're the same as me
[03:02.25][00:47.48]We see things they'll never see
[03:05.13][00:50.27]You and I are gonna live forever
[00:57.74]Maybe I don't really want to know
[01:02.56]How your garden grows
[01:05.13]I just want to fly Lately did you ever feel the pain
[01:13.23]In the morning rain
[01:15.93]As it soaks it to the bone
[01:19.41]Maybe I will never be
[01:22.05]All the things that I want to be
[01:24.87]But now is not the time to cry
[01:27.41]Now's the time to find out why
[01:29.99]I think you're the same as me
[01:32.56]We see things they'll never see
[01:35.28]You and I are gonna live forever
[03:37.23][03:31.95][03:27.60][03:21.79][03:16.83][03:14.68]We're gonna live forever

来个小视频


本文结束啦感谢您阅读
0%