From d2cc2e4c86dbcdf7181a07902328ea04e28d2ed7 Mon Sep 17 00:00:00 2001 From: dongdigua Date: Tue, 6 Jun 2023 17:13:58 +0800 Subject: [PATCH] huge structural change: legacy_md, gmi in folder move gmi in its own folder to prepare for gemini site posts list --- .github/workflows/site.yml | 3 +- scicraft_update.md => gmi/scicraft_update.gmi | 26 ++++----- p2p_chat.md => legacy_md/p2p_chat.md | 0 .../plan_for_my_video_site.md | 0 tsoding_bm.md => legacy_md/tsoding_bm.md | 0 {code => misc}/lol.diff | 0 {code => misc}/monthly-tag.exs | 0 my_gnome_config.md | 54 ------------------- org/bili_ip.org | 1 + org/my_gnome_config.org | 53 ++++++++++++++++++ org/whatif_openbsd.org | 1 + patches/icons.sh | 10 ---- patches/txt.sh | 2 +- posts.md | 15 +++--- 14 files changed, 77 insertions(+), 88 deletions(-) rename scicraft_update.md => gmi/scicraft_update.gmi (56%) rename p2p_chat.md => legacy_md/p2p_chat.md (100%) rename plan_for_my_video_site.md => legacy_md/plan_for_my_video_site.md (100%) rename tsoding_bm.md => legacy_md/tsoding_bm.md (100%) rename {code => misc}/lol.diff (100%) rename {code => misc}/monthly-tag.exs (100%) delete mode 100644 my_gnome_config.md create mode 100644 org/my_gnome_config.org delete mode 100755 patches/icons.sh diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index 07178b6..c9131f5 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -29,7 +29,7 @@ jobs: - name: Prepare run: | curl "https://raw.githubusercontent.com/dongdigua/configs/main/kernel/README.org" -o org/kernel.org - curl "https://raw.githubusercontent.com/dongdigua/configs/main/.tmux.conf" -o tmux.conf + curl "https://raw.githubusercontent.com/dongdigua/configs/main/.tmux.conf" -o misc/tmux.conf - name: Build with Org run: | @@ -51,7 +51,6 @@ jobs: - name: Patch HTML & Get Static File run: | cd _site && tree - sudo ./patches/icons.sh sudo ./patches/color.sh - name: Upload artifact diff --git a/scicraft_update.md b/gmi/scicraft_update.gmi similarity index 56% rename from scicraft_update.md rename to gmi/scicraft_update.gmi index f71afcc..4cc396b 100644 --- a/scicraft_update.md +++ b/gmi/scicraft_update.gmi @@ -1,26 +1,26 @@ # 我对 SciCraft 更新 1.19 的看法 -> https://youtu.be/Y9DIIh0s9cg +=> https://youtu.be/Y9DIIh0s9cg -今天打开 YouTube, 卧槽!!! Sci 要更新??!
-![sci_update](images/sci_update.jpg)
-点进去一看, 要更 1.19, 我心里咯噔一下: 玩了这么久 1.12.2, 升级的话各种机器都会坏!
-而且, 世界上又少了一个停留在 1.12 的技术服
+今天打开 YouTube, 卧槽!!! Sci 要更新??! +=> images/sci_update.jpg +点进去一看, 要更 1.19, 我心里咯噔一下: 玩了这么久 1.12.2, 升级的话各种机器都会坏! +而且, 世界上又少了一个停留在 1.12 的技术服 现在的几个 1.12 技术服: - SciCraft - Dugged - ProtoTech -但是看了视频和评论区后, 觉得可能升级也没有那么不好,
-因为 1.12.2 能做的都做得差不多了, 现在服里人闲得做地图画2333,
-升级版本重新发展也给大家带来了动力, 而且研究的各种新版本机器也都能用的上了.
+但是看了视频和评论区后, 觉得可能升级也没有那么不好, +因为 1.12.2 能做的都做得差不多了, 现在服里人闲得做地图画2333, +升级版本重新发展也给大家带来了动力, 而且研究的各种新版本机器也都能用的上了. -Sci 和 TIS 不同, 踢死明确说了就停留在 1.13.2, 而 Sci 早有升级的打算
-比如之前做超高效猪人塔时就说到了升级 1.16 猪灵交易的事情
+Sci 和 TIS 不同, 踢死明确说了就停留在 1.13.2, 而 Sci 早有升级的打算 +比如之前做超高效猪人塔时就说到了升级 1.16 猪灵交易的事情 -ProtoTech 之前好像也说要升级(RaysWorks 做了一个 1.12 特性博物馆, 说升级之后就没有这些特性了)
-有可能会跟着 Sci 一起升级?
-Dugged 我估计不会升级 :)
+ProtoTech 之前好像也说要升级(RaysWorks 做了一个 1.12 特性博物馆, 说升级之后就没有这些特性了) +有可能会跟着 Sci 一起升级? +Dugged 我估计不会升级 :) **祝 SciCraft Guys 再创奇迹!** diff --git a/p2p_chat.md b/legacy_md/p2p_chat.md similarity index 100% rename from p2p_chat.md rename to legacy_md/p2p_chat.md diff --git a/plan_for_my_video_site.md b/legacy_md/plan_for_my_video_site.md similarity index 100% rename from plan_for_my_video_site.md rename to legacy_md/plan_for_my_video_site.md diff --git a/tsoding_bm.md b/legacy_md/tsoding_bm.md similarity index 100% rename from tsoding_bm.md rename to legacy_md/tsoding_bm.md diff --git a/code/lol.diff b/misc/lol.diff similarity index 100% rename from code/lol.diff rename to misc/lol.diff diff --git a/code/monthly-tag.exs b/misc/monthly-tag.exs similarity index 100% rename from code/monthly-tag.exs rename to misc/monthly-tag.exs diff --git a/my_gnome_config.md b/my_gnome_config.md deleted file mode 100644 index de8d663..0000000 --- a/my_gnome_config.md +++ /dev/null @@ -1,54 +0,0 @@ -# my gnome configuration - -icon: Numix-Circle
-```shell -doas dnf install numix-icon-theme-circle -``` - -sound: Ubuntu Yaru
-```shell -doas dnf install yaru-sound-theme -doas mv /usr/share/sounds/Yaru/stereo/desktop-login.oga ~/ -``` - -## cursor: oxygen -```shell -doas dnf install oxygen-cursor-themes -``` - -## background: fedora 33 (最开始入坑fedora时自带的, 感觉特别好看) -```shell -doas dnf install f33-backgrounds-gnome -``` - -gnome-terminal: Solarized - -## login manager: lightdm -it don't work with [sway](/wayland#dm) -```shell -don't forget to install lightdm-settings -doas dnf install lightdm-settings -``` - -extensions: -- user theme -- dash to panel -- clipboard indicator(我之前一直是用文本编辑器当作临时剪切板🤣) - -dir name -```shell -export LANG=en_US -xdg-user-dirs-gtk-update -export LANG=zh_CN.UTF-8 -``` - -## remove "gnome-classic" -```shell -doas dnf remove gnome-classic-session -``` - -## use Geary as a replacement of Thunderbird - - - - diff --git a/org/bili_ip.org b/org/bili_ip.org index ded9a2a..e5b71ad 100644 --- a/org/bili_ip.org +++ b/org/bili_ip.org @@ -1,6 +1,7 @@ #+TITLE: 这一天终于来了, B站显示 IP 属地 #+DATE: <2022-06-18 六> #+OPTIONS: toc:nil num:nil +#+HTML_HEAD_EXTRA: 卸载吧! * 我的看法 diff --git a/org/my_gnome_config.org b/org/my_gnome_config.org new file mode 100644 index 0000000..5a3dad4 --- /dev/null +++ b/org/my_gnome_config.org @@ -0,0 +1,53 @@ +#+TITLE: my gnome configuration +#+DATE: <2022-07-08 Fri> + +* icon: Numix-Circle + +#+begin_src shell + doas dnf install numix-icon-theme-circle +#+end_src + +* sound: Ubuntu Yaru + +#+begin_src shell + doas dnf install yaru-sound-theme + doas mv /usr/share/sounds/Yaru/stereo/desktop-login.oga ~/ +#+end_src + +* cursor: oxygen +#+begin_src shell + doas dnf install oxygen-cursor-themes +#+end_src + +* background: fedora 33 (最开始入坑fedora时自带的, 感觉特别好看) +#+begin_src shell + doas dnf install f33-backgrounds-gnome +#+end_src + +gnome-terminal: Solarized + +* login manager: lightdm +it don't work with [[/wayland#dm][sway]] + +#+begin_src shell + don't forget to install lightdm-settings + doas dnf install lightdm-settings +#+end_src + +extensions: - user theme - dash to panel - clipboard +indicator(我之前一直是用文本编辑器当作临时剪切板🤣) + +dir name + +#+begin_src shell + export LANG=en_US + xdg-user-dirs-gtk-update + export LANG=zh_CN.UTF-8 +#+end_src + +* remove "gnome-classic" +#+begin_src shell + doas dnf remove gnome-classic-session +#+end_src + +* use Geary as a replacement of Thunderbird diff --git a/org/whatif_openbsd.org b/org/whatif_openbsd.org index a298ee6..c8704cf 100644 --- a/org/whatif_openbsd.org +++ b/org/whatif_openbsd.org @@ -2,6 +2,7 @@ #+DESCRIPTION: 你很罕见 #+DATE: <2023-01-21 六> #+OPTIONS: toc:2 +#+HTML_HEAD_EXTRA: 又一篇中文文章 这个文章可能是我写过最长的了 (internet_collections 不算) diff --git a/patches/icons.sh b/patches/icons.sh deleted file mode 100755 index 0716843..0000000 --- a/patches/icons.sh +++ /dev/null @@ -1,10 +0,0 @@ -#! /bin/sh - -# bili_ip -sed -i '6a ' bili_ip.html - -# magical index -sed -i '6a ' internet_collections.html - -# openbsd -sed -i '6a ' whatif_openbsd.html diff --git a/patches/txt.sh b/patches/txt.sh index ef83a56..38e4996 100755 --- a/patches/txt.sh +++ b/patches/txt.sh @@ -1,5 +1,5 @@ #! /bin/sh -ls gmi | xargs -I {} ln -s gmi/{} {}.txt +ls gmi | xargs -I {} ln -s gmi/{} gmi/{}.txt ln -s code/lol.diff lol.diff.txt ln -s pgp pgp.txt diff --git a/posts.md b/posts.md index 20efefd..08e2c12 100644 --- a/posts.md +++ b/posts.md @@ -1,13 +1,13 @@ ## Table of Contents ### Posts (sorted by time) - [Usenet 新闻组 和 命令行浏览器选择 (w3m, lynx, links)](usenet_and_cli_browsers)
-- [Clean Up Home Directory](cleanup_home.gmi.txt)
+- [Clean Up Home Directory](gmi/cleanup_home.gmi.txt)
- [一位 PGP 进步青年的 Canokey 历程](pgp_canokey)
- [Join Fedora and Maintain Package](fedora_contrib)
-- [Project that Annoys Me](annoying_project.gmi.txt)
+- [Project that Annoys Me](gmi/annoying_project.gmi.txt)
- [玩转邮件列表](mailinglist)
- [我要不要试试 OpenBSD 🐡](whatif_openbsd)
-- [一个乐子 commit](lol.diff.txt)
+- [一个乐子 commit](misc/lol.diff.txt)
- [一次大备份](backup_everything)
- [2023 了, 试试 emacs 29](emacs29_2023)
- [Fix TTY after Fedora 37 Upgrade](fix_tty)
@@ -26,9 +26,8 @@ for [COSSIG](https://www.cossig.org) any kind of contribution is welcome - [我对显示 IP 属地的看法](bili_ip)
- [My gnome config](my_gnome_config)
-- [我对 SciCraft 更新1.19的看法](scicraft_update)
-- [对我将来的视频网站的一些畅想](plan_for_my_video_site)
-- [[ARCHIVE] elixir 写点对点加密聊天软件](p2p_chat)
+- [我对 SciCraft 更新1.19的看法](gmi/scicraft_update.gmi.txt)
+- [对我将来的视频网站的一些畅想](legacy_md/plan_for_my_video_site)
--- @@ -36,8 +35,8 @@ any kind of contribution is welcome - [大概是语文知识整理](digua-YW)
Big project - [\[Mirror\] My kernel config recipe](kernel)
-- [Gopher/Gemini reactions](re.gmi.txt)
-- [Gopher/Gemini collections, a quiet web](collections.gmi.txt)
+- [Gopher/Gemini reactions](gmi/re.gmi.txt)
+- [Gopher/Gemini collections, a quiet web](gmi/collections.gmi.txt)
- [Random Ideas](ideas)
画大饼 - [Play with Swaywm and Nixos (solutions)](wayland)