joe 4 年之前
父节点
当前提交
85a4e6c89f

+ 4 - 0
README.md

@@ -1,3 +1,7 @@
+## 简介
+
+本站所有原创、翻译、引用都会随着时间进行更新
+
 ## languages/c
 
 

+ 2 - 0
content/posts/git-in-real-world.md

@@ -26,6 +26,8 @@ $git checkout tags/<tag_name> -b <new_branch_name>
 $git tag -d <tag_name>
 # 删除远程 tag
 $git push origin :refs/tags/<tag_name>
+# 删除远程 tag 2
+$git push --delete origin <tag_name>
 ```
 
 ## git config

+ 3 - 0
content/res/best-sites.md

@@ -36,6 +36,8 @@ draft: false
 - [FOSS HOST](https://fosshost.org/)
 - [desktops](https://deskto.ps/)
 > 上传自己的桌面,浏览大家的桌面,有趣。
+- [Decentralized Library](https://libgen.fun/dweb.html)
+> 分布式资料搜索
 
 ### 素材
 
@@ -60,6 +62,7 @@ draft: false
 - [HTML templates](https://www.webmoban.net/)
 - [freehtml5](https://freehtml5.co/)
 - [nicepage](https://nicepage.com/)
+- [freepik](https://www.freepik.com/)
 
 ### 教程
 

+ 1 - 0
content/res/docs_or_books.md

@@ -31,6 +31,7 @@ draft: false
 - [C语言实现一个数据库](https://cstack.github.io/db_tutorial/)
 - [Daryl's TCP/IP Primer](https://www.ipprimer.com/#/)
 - [自己动手写编译器(TinyC)](https://pandolia.net/tinyc/index.html)
+- [Write your Own Virtual Machine](https://justinmeiners.github.io/lc3-vm/)
 - [Go 语言设计和实现](https://www.bookstack.cn/read/draveness-golang/cd9337bf6625a2e8.md)
 
 - [英文书籍](http://index-of.co.uk/)

+ 2 - 0
content/res/github_projects.md

@@ -68,6 +68,8 @@ draft: false
 
 - [uptime-kuma](https://github.com/louislam/uptime-kuma)
 > A fancy self-hosted monitoring tool
+- [react-admin](https://github.com/marmelab/react-admin)
+> 后台 admin 库
 
 ### Rust
 

+ 2 - 1
content/res/tools.md

@@ -14,4 +14,5 @@ draft: false
 > 多云盘后端
 - [安全的电子产品 Mozilla](https://foundation.mozilla.org/en/privacynotincluded/)
 - [crontab.guru](https://crontab.guru)
-- [VPS](https://virmach.com/)
+- [VPS](https://virmach.com/)
+- [隨機聽歌曲](https://www.locserendipity.com/PushPlay.html)

+ 5 - 0
githublog.py

@@ -21,6 +21,8 @@ import string
 import subprocess
 from posixpath import join as urljoin
 
+INTRO_NAME = '简介'
+INTRO_DESC = '''本站所有原创、翻译、引用都会随着时间进行更新'''
 POSTS_ROOT = 'content'      # hugo root dir of posts.
 EXTS = ['.md', '.rst']      # post file extensions. (should be in lowercase)
 README = 'README.md'        # filename to be generated.
@@ -106,6 +108,9 @@ for r, dl, fl in os.walk(POSTS_ROOT):
 
 ## generate README.md
 with open(README, 'wt', encoding='utf-8') as h:
+    h.write(f'## {INTRO_NAME}\n\n')
+    h.write(f'{INTRO_DESC}\n\n')
+
     for cate, metalist in posts.items():
         h.write('## {}\n\n'.format(cate))
         # sortint posts by published date.