Compare commits

...

4 Commits

17 changed files with 5036 additions and 581 deletions

View File

@ -1,14 +1,26 @@
<title>404</title> <!DOCTYPE html>
<style> <html>
body { <head>
background-color: #f1f1f1; <meta charset="utf-8">
} <title>404 Not Found</title>
</style> <style type="text/css"><!--
<center> body { background-color: white; color: black; font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif; }
<img src="./images/404.png" alt="404.png"> hr { border: 0; border-bottom: 1px dashed; }
<pre> @media (prefers-color-scheme: dark) {
You tried to visit non-existent page!!! body { background-color: #1E1F21; color: #EEEFF1; }
Your attempt is logged and sent to C.I.A., G.F.W., K.G.B. and S.I.S. a { color: #BAD7FF; }
}
--></style>
</head>
<body>
<h1>404 Not Found</h1>
<hr>
<address>Your attempt is logged and sent to C.I.A., G.F.W., K.G.B. and S.I.S.<br>
Expect a visit soon. Expect a visit soon.
</pre> </address>
</center> <!--
I forgot where those words came from.
It's highly possible that they are from a altnet protocol
-->
</body>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -1,20 +0,0 @@
# Project that Annoys Me
2023-03-31 Fri
First of all, I'm a noob to C.
I've been working on a project this month to experiment porting TUI application to ape[1].
It was too hard for me, more than just modifying the build script (I also know little about it).
Tetris[2] in bsdgames, for example (actually I spent most time on it), uses termcap, which is not portable.
So I have to either write a "termcap" that only uses VT escape character,
or just write some helper function like other Cosmopolitan projects[3].
I had no experience at all, I need to learn more, but where should I start from?
HELP!
=> https://justine.lol/ape.html [1]
=> https://github.com/dongdigua/tetris-custom [2]
=> https://github.com/shmup/awesome-cosmopolitan [3]

4898
images/adventure.svg Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 347 KiB

View File

@ -35,7 +35,7 @@
<pre> <pre>
(<font color=#e67e80>let</font> ((blog <strong>"<a href=https://dongdigua.github.io/posts>posts/</a>"</strong>) (<font color=#e67e80>let</font> ((blog <strong>"<a href=https://dongdigua.github.io/posts>posts/</a>"</strong>)
(collections "<a href=https://dongdigua.github.io/internet_collections>MagicalIndex</a>") (collections "<a href=https://dongdigua.github.io/internet_collections>MagicalIndex</a>")
(feed "<a href=https://dongdigua.github.io/feed.xml>feed.xml</a>") (rss "<a href=https://dongdigua.github.io/feed.xml>feed.xml</a>")
(mai1 "<a>dongdigua(砹)outlook(碘)com</a>") (mai1 "<a>dongdigua(砹)outlook(碘)com</a>")
(pgp "<a href=https://dongdigua.github.io/pgp.txt><span title="Powered by Canokey">DB55 889E 730F 5B41</span></a>") (pgp "<a href=https://dongdigua.github.io/pgp.txt><span title="Powered by Canokey">DB55 889E 730F 5B41</span></a>")
(github "<a href=https://github.com/dongdigua>@dongdigua</a>") (github "<a href=https://github.com/dongdigua>@dongdigua</a>")

View File

@ -1,6 +1,5 @@
var data = [ var data = [
"富强民主文明和谐, 自由平等公正法治, 爱国敬业诚信友善", "富强民主文明和谐, 自由平等公正法治, 爱国敬业诚信友善",
"解放思想, 实事求是, 与时俱进",
"绿水青山就是金山银山", "绿水青山就是金山银山",
"为中华之崛起而读书!", "为中华之崛起而读书!",
"减轻义务教育阶段学生作业负担、减轻校外培训负担", "减轻义务教育阶段学生作业负担、减轻校外培训负担",
@ -13,31 +12,21 @@ var data = [
"我这人有几个缺点: 第一, 不会数数; 第二, 记性不好; 第四, 不会数数", "我这人有几个缺点: 第一, 不会数数; 第二, 记性不好; 第四, 不会数数",
"圈纸带回家研磨了", "圈纸带回家研磨了",
"我们从这里启航♫", "我们从这里启航♫",
"Learn. Unlearn. Relearn.",
"My .emacs have 600+ lines!",
"Reduce the frequency of your Github CI crontab to protect the environment.", "Reduce the frequency of your Github CI crontab to protect the environment.",
"The internet is FULL, go away!", "May the --force be with you",
"<a id=quote href=new_blog_arch>May the --force be with you</a>",
"<a id=quote href=https://suckless.org>Software that sucks less</a>", "<a id=quote href=https://suckless.org>Software that sucks less</a>",
"whoami: No system is safe",
"Cant keep up! Is the server overloaded?\nRunning 5000ms or 100 ticks behind", "Cant keep up! Is the server overloaded?\nRunning 5000ms or 100 ticks behind",
"大炮做好了不放珍珠是什么意思?", "大炮做好了不放珍珠是什么意思?",
"write terrible nonsensical code to\nensure the Copilot doesn't take over as captain", "write terrible nonsensical code to\nensure the Copilot doesn't take over as captain",
"<a id=quote href=https://www.curseforge.com/minecraft/mc-mods/carpet>NOT VANILLA!</a>", "<a id=quote href=https://www.curseforge.com/minecraft/mc-mods/carpet>NOT VANILLA!</a>",
"Big Brother is Watching You", "<a id=quote href=404.html>Big Brother is Watching You</a>",
"衬衫的价格是9磅15便士", "衬衫的价格是9磅15便士",
"李彦宏: 我想中国人可以更加开放,对隐私问题没有那么敏感。\n如果他们愿意用隐私交换便捷性很多情况下他们是愿意的。", "李彦宏: 我想中国人可以更加开放,对隐私问题没有那么敏感。\n如果他们愿意用隐私交换便捷性很多情况下他们是愿意的。",
"<a id=quote href=https://wiki.evageeks.org/A.T._Field>AT&T field</a>", "<a id=quote href=https://wiki.evageeks.org/A.T._Field>AT&T field</a>",
"I □ Unicode", "I □ Unicode",
"<a id=quote href=https://ravynos.com>ravynOS, Always; FreeBSD, Mostly; Linux, Sometimes; macOS, Maybe</a>",
"<a id=quote href=damn_tencent_meeting>有什么业务是腾讯不做的吗?!</a>", "<a id=quote href=damn_tencent_meeting>有什么业务是腾讯不做的吗?!</a>",
"Your text editor runs in a web browser,\nMy web browser runs inside a text editor,\nWe are not the same", "Your text editor runs in a web browser,\nMy web browser runs inside a text editor,\nWe are not the same",
"<a id=quote href=https://youbroketheinternet.org>Its the metadata, stupid</a>",
"他很善于表达, 可惜没什么可表达的",
"<a id=quote href=emgud2lraXBlZGlhLm9yZy96aC1jbi/pmLLngavplb/ln44K>It's confidential</a>",
"你说得对,但是《长安汽车》是由艺画开天自主研发的一款全新开放世界冒险游戏。",
"Emacs has Evil, but Vim doesn't have Magit",
"免费服务的代价就是你自己", "免费服务的代价就是你自己",
"<a id=quote href=https://www.openbsd.org/lyrics.html#62>The only change that was required was a three-line diff</a>", "<a id=quote href=https://www.openbsd.org/lyrics.html#62>The only change that was required was a three-line diff</a>",
"<a id=quote href=https://www.gnu.org/music/free-software-song.en.html>GNU SLASH MUZIC</a>", "<a id=quote href=https://www.gnu.org/music/free-software-song.en.html>GNU SLASH MUZIC</a>",
@ -47,7 +36,13 @@ var data = [
"I'm using Linux. A library that emacs uses to communicate with Intel hardware.", "I'm using Linux. A library that emacs uses to communicate with Intel hardware.",
"TERRAIN, TERRAIN, PULL UP... dongdigua experienced kinetic energy", "TERRAIN, TERRAIN, PULL UP... dongdigua experienced kinetic energy",
"Minecraft 1.1⑨.84 The Chat Report Update", "Minecraft 1.1⑨.84 The Chat Report Update",
"<a id=quote href=https://www.bilibili.com/video/BV1gp4y197gm>全物品仓库是一个物资集散中心, 同时它也是个万能垃圾桶</a>" "<a id=quote href=https://www.bilibili.com/video/BV1gp4y197gm>全物品仓库是一个物资集散中心, 同时它也是个万能垃圾桶</a>",
"书中自有元素周期表",
"<a id=quote href=https://www.bilibili.com/video/BV1JY411W7pQ>如果你能在浪费时间中获得乐趣, 那么你就不是在浪费时间</a>",
"Nice terrain, see you soon!",
"<ruby>静<rp>(</rp><rt>static</rt><rp>)</rp></ruby>",
"<a id=quote href=https://cascade.moe/posts/arch-with-zfs/>你说的对,但 ZFS 是一款由 Sun Microsystems 自主研发的一款全新卷系统管理器和文件系统。\n文件系统运行在一个被称作「Linux」的幻想世界在这里被 root 选中的存储池将被授予「lz4」导引存储之力。\n你将扮演一位名为「系统管理员」的神秘角色在自由的 zpool create 中邂逅功能各异、feature 独特的 vdevs 们,\n和他们一起「state: DEGRADED」找回失散的数据集——同时逐步发掘 「BtrFS」 的真相……</a>",
":: Starting full system upgrade...\n there is nothing to do"
]; ];
var index = Math.floor((Math.random() * data.length)); var index = Math.floor((Math.random() * data.length));

View File

@ -1,415 +0,0 @@
鐪熸皵浜<EFBFBD>!
鎴戞槸鍦ㄥ府涓€涓<EFBFBD>汉寮勪粬鐨勫叧浜<EFBFBD> MCBE 鎶€鏈<E282AC>敓瀛樼殑缃戠珯,
涓€寮€濮嬩粬鐢ㄤ簡涓€骞<EFBFBD>, 涓€椤典竴椤靛啓, 姣忎竴椤垫槸瀹屽叏涓€鏍风殑鏍煎紡,
灏辨槸涓€涓<EFBFBD> 2xn 鐨勫垪琛<E59EAA>, 姣忎釜鏍兼寚鍚戝瓙鍒楄〃鎴栬<E98EB4>棰戦摼鎺<E691BC>.
鎴戝府浠栧紕鐨勪娇鐢<EFBFBD> elixir 鍋氬悗绔<E68297> SSR, toml 鍐欓厤缃<E58EA4>.
鐪嬬湅浠栧啓鐨勯兘鏄<EFBFBD>粈涔堢帺鎰忓効!
鐒跺悗鏄ㄥぉ浠栧張鍛婅瘔鎴戣<EFBFBD>浠栬<EFBFBD><EFBFBD> WordPress 閲嶅啓鏁翠釜缃戠珯.
涔熶笉鐪嬬湅 WP 鏄<>€傜敤浜庡共浠€涔堢殑.
鎴戦棶浠栨牸寮<EFBFBD>, 浠栬<E6B5A0>杩樻槸閭牱, 杩欑<E69DA9>瀹屽叏閲嶅<E996B2>у伐浣滀綘鎬庝箞杩欎箞浜<E7AE9E>彈...
diff --git a/data/agriculture.toml b/data/agriculture.toml
index 331319c..7eaba90 100644
--- a/data/agriculture.toml
+++ b/data/agriculture.toml
@@ -1,2 +1 @@
-#BE鐢熺數椤跺眰鍒嗗尯涔嬩竴鍐滀笟-瀹屾垚
@@ -9,3 +8,2 @@ description = "鏉戞皯鍐滅敯 姘存祦鍐滅敯 afk浣滅墿鏈<E5A2BF>"
-#灏忛害
@@ -32,5 +30,4 @@ videos = [
-#鐡滅被
-[Melons]
+[melons]
title = "鐡滅被"
@@ -38,3 +35,3 @@ description = "椋炶<E6A48B>鍣ㄧ摐鏈<E69190> 妫€娴嬪紡鐡滄満 鏃堕挓瀵嗗爢鐡滄満 鍔<>帬鍏界摐
-[Melons.aerocraft]
+[melons.flying_machine]
title = "椋炶<E6A48B>鍣ㄧ摐鏈<E69190>"
@@ -45,3 +42,3 @@ videos = [
-[Melons.detecting]
+[melons.detecting]
title = "妫€娴嬪紡鐡滄満"
@@ -52,3 +49,3 @@ videos = [
-[Melons.clock]
+[melons.clock]
title = "鏃堕挓瀵嗗爢鐡滄満"
@@ -60,3 +57,3 @@ videos = [
-[Melons.Marauding_beasts]
+[melons.beast]
title = "鍔<>帬鍏界摐鏈<E69190>"
@@ -67,3 +64,2 @@ videos = [
-#鐢樿敆
@@ -73,3 +69,3 @@ description = "椋炶<E6A48B>鍣ㄧ敇钄楁満 妫€娴嬪紡鐢樿敆鏈<E69586>"
-[sugarcane.aerocraft]
+[sugarcane.flying_machine]
title = "椋炶<E6A48B>鍣ㄧ敇钄楁満"
@@ -87,5 +83,4 @@ videos = [
-#绱<><E7BBB1>妞嶇墿
-[Purple_Song]
+[chorus]
title = "绱<><E7BBB1>妞嶇墿"
@@ -93,3 +88,3 @@ description = "afk绱<6B><E7BBB1>鑺卞啘鍦<E59598><><E7BBB1>鏋滃啘鍦<E59598>"
-[Purple_Song.afk]
+[chorus.flower_afk]
title = "afk绱<6B><E7BBB1>鑺卞啘鍦<E59598>"
@@ -100,10 +95,3 @@ videos = [
-[Purple_Song.afk]
-title = "afk绱<6B><E7BBB1>鑺卞啘鍦<E59598>"
-description = "鑺憋紵鑳藉悆鍚楋紙"
-videos = [
- "",
-]
-
-[Purple_Song.afk]
+[chorus.fruit_afk]
title = "绱<><E7BBB1>鏋滃啘鍦<E59598>"
@@ -114,3 +102,2 @@ videos = [
-#浠欎汉鎺<E6B189>
@@ -124,5 +111,4 @@ videos = [
-#灏忚槕鑿<E6A795>
-[Small.mushrooms]
+[small_mushroom]
title = "灏忚槕鑿<E6A795>"
@@ -130,3 +116,3 @@ description = "妫曡槕鑿囧巶 绾㈣槕鑿囧巶"
-[detecting.mushrooms]
+[small_mushroom.detect]
title = "妫€娴嬪紡灏忚槕鑿<E6A795>"
@@ -137,3 +123,3 @@ videos = [
-[clock.mushrooms]
+[small_mushroom.clock]
title = "鏃堕挓寮忓皬铇戣弴鍐滃満"
@@ -144,5 +130,4 @@ videos = [
-#澶ц槕鑿<E6A795>
-[Large.mushrooms]
+[large_mushroom]
title = "澶ц槕鑿<E6A795>"
@@ -150,3 +135,3 @@ description = "妫曡槕鑿囧巶 绾㈣槕鑿囧巶"
-[Brown.mushrooms]
+[large_mushroom.brown]
title = "妫曡槕鑿囧巶"
@@ -157,3 +142,3 @@ videos = [
-[Red.mushrooms]
+[large_mushroom.red]
title = "绾㈣槕鑿囧巶"
@@ -164,5 +149,4 @@ videos = [
-#鍦扮嫳鐤<E5ABB3>
-[Hell warts]
+[nether_wart]
title = "鍦扮嫳鐤<E5ABB3>"
@@ -173,3 +157,2 @@ videos = [
-#钘よ敁
@@ -182,3 +165,2 @@ videos = [
-#鍙<>彲璞<E5BDB2>
@@ -202,3 +184,2 @@ videos = [
-#鐝婄憵
@@ -215,3 +196,3 @@ videos = [
-[coral.Dead]
+[coral.dead]
title = "姝荤強鐟氭満"
@@ -222,6 +203,4 @@ videos = [
-#娴锋场鑿<E59CBA>
-#娴峰甫
@@ -231,3 +210,3 @@ description = "楠ㄧ矇鍌<E79F87>啛娴峰甫鏈<E794AB> 椋炶<E6A48B>鍣ㄦ捣甯︽満"
-[kelp.manure]
+[kelp.bonemeal]
title = "楠ㄧ矇娴峰甫鏈<E794AB>"
@@ -238,3 +217,3 @@ videos = [
-[kelp.aerocraft]
+[kelp.flying_machine]
title = "椋炶<E6A48B>鍣ㄦ捣甯︽満"
@@ -245,3 +224,2 @@ videos = [
-#娴嗘灉
@@ -265,3 +243,2 @@ videos = [
-#绔瑰瓙
@@ -271,3 +248,3 @@ description = "椋炶<E6A48B>鍣ㄧ<E98DA3>瀛愭満 妫€娴嬪紡绔瑰瓙鏈<E79399>"
-[bamboo.aerocraft]
+[bamboo.flying_machine]
title = "椋炶<E6A48B>鍣ㄧ<E98DA3>瀛愭満"
@@ -285,3 +262,2 @@ videos = [
-#鍖哄潡鍔犺浇鍌<E6B587>
@@ -289,5 +265,5 @@ videos = [
title = "鍖哄潡鍔犺浇鍌<E6B587>啛"
-description = "鍖哄潡鍔犺浇鍌<E6B587>啛鐡滄満 鍖哄潡鍔犺浇鍌<E6B587>啛绔瑰瓙鏈<E79399> 鍖哄潡鍔犺浇鍌<E6B587>啛娴峰甫鏈<E794AB> 鍖哄潡鍔犺浇鍌<E6B587>啛鐢樿敆鏈<E69586> 鍖哄潡鍔犺浇绱<E6B587><E7BBB1>鏋滃啘鍦<E59598> 鍖哄潡鍔犺浇鍌<E6B587>啛浠欎汉鎺屾満 鍖哄潡鍔犺浇钄撳欢灏忚槕鑿<E6A795> 鍖哄潡鍔犺浇鍌<E6B587>啛鍦扮嫳鐤<E5ABB3> 鍖哄潡鍔犺浇浣滅墿鏈<E5A2BF> 鍖哄潡鍔犺浇澶氭牳鏍戝満"
+description = ""
-[load.01]
+[load.melon]
title = "鍖哄潡鍔犺浇鍌<E6B587>啛鐡滄満"
@@ -297,3 +273,3 @@ videos = [
-[load.02]
+[load.banboo]
title = "鍖哄潡鍔犺浇鍌<E6B587>啛绔瑰瓙鏈<E79399>"
@@ -303,3 +279,3 @@ videos = [
-[load.03]
+[load.kelp]
title = "鍖哄潡鍔犺浇鍌<E6B587>啛娴峰甫鏈<E794AB>"
@@ -309,3 +285,3 @@ videos = [
-[load.04]
+[load.sugarcane]
title = "鍖哄潡鍔犺浇鍌<E6B587>啛鐢樿敆鏈<E69586>"
@@ -315,3 +291,3 @@ videos = [
-[load.05]
+[load.chorus]
title = "鍖哄潡鍔犺浇绱<E6B587><E7BBB1>鏋滃啘鍦<E59598>"
@@ -321,3 +297,3 @@ videos = [
-[load.06]
+[load.cactus]
title = "鍖哄潡鍔犺浇鍌<E6B587>啛浠欎汉鎺屾満"
@@ -327,3 +303,3 @@ videos = [
-[load.07]
+[load.small_mushroom]
title = "鍖哄潡鍔犺浇鍌<E6B587>啛灏忚槕鑿<E6A795>"
@@ -333,3 +309,3 @@ videos = [
-[load.08]
+[load.nether_wart]
title = "鍖哄潡鍔犺浇鍌<E6B587>啛鍦扮嫳鐤<E5ABB3>"
@@ -339,3 +315,3 @@ videos = [
-[load.09]
+[load.crop]
title = "鍖哄潡鍔犺浇鍌<E6B587>啛浣滅墿鏈<E5A2BF>"
@@ -345,3 +321,3 @@ videos = [
-[load.10]
+[load.multi_core_tree]
title = "鍖哄潡鍔犺浇澶氭牳鏍戝満"
@@ -351,3 +327,2 @@ videos = [
-#鎶栨矙鍌<E79F99>
@@ -357,21 +332,3 @@ description = "鎶栨矙娴峰甫鏈<E794AB> 鎶栨矙绔瑰瓙鏈<E79399> 鎶栨矙鐢樿敆鏈<E69586> 鎶栨矙浠欎汉鎺<E6B189>"
-[sand.01]
-title = "鍖哄潡鍔犺浇澶氭牳鏍戝満"
-videos = [
- "",
-]
-
-[sand.02]
-title = "鍖哄潡鍔犺浇澶氭牳鏍戝満"
-videos = [
- "",
-]
-
-[sand.03]
-title = "鍖哄潡鍔犺浇澶氭牳鏍戝満"
-videos = [
- "",
-]
-
-[sand.04]
+[sand.multi_core_tree]
title = "鍖哄潡鍔犺浇澶氭牳鏍戝満"
@@ -381,5 +338,4 @@ videos = [
-#鏇存柊寤跺悗鍌<E68297>
-[Update suppression]
+[update_suppression]
title = "鏇存柊寤跺悗鍌<E68297>啛"
diff --git a/data/duping.toml b/data/duping.toml
index 253290d..caca09f 100644
--- a/data/duping.toml
+++ b/data/duping.toml
@@ -1,15 +1,15 @@
-#BE生电顶层分区之一复制
+#BE鐢熺數椤跺眰鍒嗗尯涔嬩竴澶嶅埗
-title = "复制"
-description = "物品复制,附魔复制"
+title = "澶嶅埗"
+description = "鐗╁搧澶嶅埗锛岄檮榄斿<E6A684><EFBFBD>"
-#物品复制
+#鐗╁搧澶嶅埗
[duping]
-title = "物品复制"
-description = "刷~"
+title = "鐗╁搧澶嶅埗"
+description = "鍒穨"
-[change name.duping]
-title = "铁砧改名复制"
-description = "怎么做?"
+[duping.change_name]
+title = "閾佺牕鏀瑰悕澶嶅埗"
+description = "鎬庝箞鍋氾紵"
videos = [
@@ -18,5 +18,5 @@ videos = [
-[push container.duping]
-title = "铁砧改名复制"
-description = "怎么做?"
+[duping.push_container]
+title = "閾佺牕鏀瑰悕澶嶅埗"
+description = "鎬庝箞鍋氾紵"
videos = [
@@ -25,13 +25,7 @@ videos = [
-#精修装备复制
+#绮句慨瑁呭<E79181>澶嶅埗
-[duping equipment]
-title = "精修装备复制"
-description = "原版无限附魔台"
+[duping.equipment]
+title = "绮句慨瑁呭<E79181>澶嶅埗"
+description = "鍘熺増鏃犻檺闄勯瓟鍙<E7939F>"
-[duping equipment-two]
-title = "铁砧改名复制"
-description = "怎么做?"
-videos = [
- "",
-]
diff --git a/data/toplevel.json b/data/toplevel.json
index 17eb713..9c046c2 100644
--- a/data/toplevel.json
+++ b/data/toplevel.json
@@ -1 +1 @@
-[{"title":"鏂瑰潡璧勬簮鑾峰彇","path":"block_resources","description":"鏍戝満锛岀煶鏉愶紝閾侊紝缁垮疂鐭筹紝鍐帮紝闆<E7B49D>紝閲嶅姏鏂瑰潡锛屾贩鍑濆湡锛岄粦鏇滅煶锛屾湯鍦扮煶锛屽湡锛屾爲鍙讹紝鍩哄博锛屾皵娉℃煴锛屽湴鐙遍棬鏂瑰潡锛屽湴鐙卞博锛岀緤姣<E7B7A4>"}]
\ No newline at end of file
+[{"title":"鍐滀笟","path":"agriculture","description":"鍝<>釜鐜╁<E9909C>涓嶄細绉嶅湴鍛<E6B9B4>紵"},{"title":"鏂瑰潡璧勬簮鑾峰彇","path":"block_resources","description":"鏍戝満锛岀煶鏉愶紝閾侊紝缁垮疂鐭筹紝鍐帮紝闆<E7B49D>紝閲嶅姏鏂瑰潡锛屾贩鍑濆湡锛岄粦鏇滅煶锛屾湯鍦扮煶锛屽湡锛屾爲鍙讹紝鍩哄博锛屾皵娉℃煴锛屽湴鐙遍棬鏂瑰潡锛屽湴鐙卞博锛岀緤姣<E7B7A4>"},{"title":"澶嶅埗","path":"duping","description":"鐗╁搧澶嶅埗锛岄檮榄斿<E6A684><EFBFBD>"},{"title":"涓栫晫鎺у埗","path":"world_control","description":"浼<>拰骞筹紝鏂瑰潡鏇存柊"}]
\ No newline at end of file
diff --git a/data/world_control.toml b/data/world_control.toml
index 246865a..a8febbc 100644
--- a/data/world_control.toml
+++ b/data/world_control.toml
@@ -1,15 +1,15 @@
-#BE生电顶层分区之一世界控制
+#BE鐢熺數椤跺眰鍒嗗尯涔嬩竴涓栫晫鎺у
-title = "世界控制"
-description = "伪和平,方块更新"
+title = "涓栫晫鎺у埗"
+description = "浼<>拰骞筹紝鏂瑰潡鏇存柊"
-#伪和平
+#浼<>拰骞<E68BB0>
-[Pseudo peace]
-title = "伪和平"
-description = "怪物都去哪里了?"
+[pseudo_peace]
+title = "浼<>拰骞<E68BB0>"
+description = "鎬<>墿閮藉幓鍝<E5B993>噷浜嗭紵"
-[global.Pseudo peace]
-title = "全局伪和平"
-description = "来来回回"
+[pseudo_peace.global]
+title = "鍏ㄥ眬浼<E79CAC>拰骞<E68BB0>"
+description = "鏉ユ潵鍥炲洖"
videos = [
@@ -18,5 +18,5 @@ videos = [
-[density.Pseudo peace]
-title = "密度伪和平"
-description = "缩"
+[pseudo_peace.density]
+title = "瀵嗗害浼<E5AEB3>拰骞<E68BB0>"
+description = "缂<>"
videos = [
@@ -25,11 +25,11 @@ videos = [
-#方块更新
+#鏂瑰潡鏇存柊
-[Pseudo peace]
-title = "方块更新"
-description = "。。。"
+[block_update]
+title = "鏂瑰潡鏇存柊"
+description = "銆傘€傘€<E58298>"
-[pendingtikc update delayed]
-title = "pendingtikc更新延后"
-description = "会卡顿吗"
+[block_update.delayed]
+title = "pendingtikc鏇存柊寤跺悗"
+description = "浼氬崱椤垮悧"
videos = [
diff --git a/rtsp/mix.exs b/rtsp/mix.exs
index cfb4af0..4a218d2 100644
--- a/rtsp/mix.exs
+++ b/rtsp/mix.exs
@@ -27,3 +27,3 @@ defmodule Rtsp.MixProject do
{:poison, "~> 5.0"},
- {:toml, "~> 0.6.2"}
+ {:toml, "~> 0.7"}
]
diff --git a/rtsp/mix.lock b/rtsp/mix.lock
index 746f146..daf22db 100644
--- a/rtsp/mix.lock
+++ b/rtsp/mix.lock
@@ -19,3 +19,3 @@
"telemetry": {:hex, :telemetry, "1.1.0", "a589817034a27eab11144ad24d5c0f9fab1f58173274b1e9bae7074af9cbee51", [:rebar3], [], "hexpm", "b727b2a1f75614774cff2d7565b64d0dfa5bd52ba517f16543e6fc7efcc0df48"},
- "toml": {:hex, :toml, "0.6.2", "38f445df384a17e5d382befe30e3489112a48d3ba4c459e543f748c2f25dd4d1", [:mix], [], "hexpm", "d013e45126d74c0c26a38d31f5e8e9b83ea19fc752470feb9a86071ca5a672fa"},
+ "toml": {:hex, :toml, "0.7.0", "fbcd773caa937d0c7a02c301a1feea25612720ac3fa1ccb8bfd9d30d822911de", [:mix], [], "hexpm", "0690246a2478c1defd100b0c9b89b4ea280a22be9a7b313a8a058a2408a2fa70"},
"unicode_util_compat": {:hex, :unicode_util_compat, "0.7.0", "bc84380c9ab48177092f43ac89e4dfa2c6d62b40b8bd132b1059ecc7232f9a78", [:rebar3], [], "hexpm", "25eee6d67df61960cf6a794239566599b09e17e668d3700247bc498638152521"},
diff --git a/www/template.html.eex b/www/template.html.eex
index feb7661..9a90490 100644
--- a/www/template.html.eex
+++ b/www/template.html.eex
@@ -53,3 +53,3 @@
<img src="/assets/images/home-default.svg" alt="home-icon" class="w-4 h-4 mr-2">
- <div class="hover:cursor-pointer text-white lg:text-indigo-darkest no-underline font-medium mobile-home-trigger">涓婚〉</div>
+ <div class="hover:cursor-pointer text-white lg:text-indigo-darkest no-underline font-medium mobile-home-trigger"><a href="/">涓婚〉</a></div>
</li>

View File

@ -18,7 +18,7 @@ BIOS: ami
平常不开 CPU 风扇就 40 度, 开风扇 25 度 :) 平常不开 CPU 风扇就 40 度, 开风扇 25 度 :)
但是这种 IO 密集型任务南桥会很烫烫烫, 所以还是开着 但是这种 IO 密集型任务南桥会很烫烫烫, 所以还是开着
* Alpine? no * Alpine? probably
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: alpine :CUSTOM_ID: alpine
:END: :END:
@ -38,9 +38,6 @@ ps 看进程不到一页
Cockpit 有一处翻译有点搞笑 Cockpit 有一处翻译有点搞笑
[[../images/usage_cockpit.png]] [[../images/usage_cockpit.png]]
* I use Arch btw
2023.8 厌倦了 Fedora, 切换到 Arch Linux, 没错我很疯狂
* FTP? no * FTP? no
刚开始我想用 ftp, 因为 linux 下用的熟悉 刚开始我想用 ftp, 因为 linux 下用的熟悉
*但 是* *但 是*
@ -120,25 +117,8 @@ tmp
.local/share/docker .local/share/docker
#+END_EXAMPLE #+END_EXAMPLE
* Change drive (2024.1) [[https://whynothugo.nl/journal/2014/08/06/performing-backups-the-right-way/][whynothugo 的备份策略]]很不错
我之前的那个 WD 金盘噪音和振动有点大, 我整个桌子都能感受到,
而且我那个盘没有使用分区表, 是直接在裸盘上创建的文件系统...
所以我准备换成一个更安静的东芝的盘用于日常备份运行, WD 的就用于同步备份那个盘.
所以现在第一次需要先把数据完全拷过去过去, 之后就可以 rsync 增量备份了.
=xfs_fsr= 减少一下碎片, 然后开始备份.
正常来说用 =dd= 就行了, 但是 dd 的缺点放大到 1T 的数据量上就是大问题:
*dd 也会拷贝空的部分*
emm... 有什么解决方案
** [[https://serverfault.com/questions/439128/dd-on-entire-disk-but-do-not-want-empty-portion][serverfault: dd on entire disk, but do not want empty portion]]
这里主要讨论的是把磁盘剩余空间都填满 0, 然后再忽略/压缩
不好!
** [[https://wiki.archlinux.org/title/Disk_cloning][ArchWiki: Disk cloning]]
提到了 Partclone "free-space aware"
*好!*
然后: =bad superblock=, 因为目标盘多了 2048 字节的分区表, 所以使用了危险的 =-C= 选项导致的
** xfs_copy
也不行, 也是因为空间差那么一点
** 那就 cp 直接来吧
* 扩展阅读 * 扩展阅读

View File

@ -1,73 +0,0 @@
#+TITLE: Binary Exploit Resources I Recently Trying to Learn
#+DATE: <2022-06-29 三>
#+TAGS: relearn(r)
#+OPTIONS: toc:nil
* resources
** video
[[https://youtube.com/playlist?list=PLhixgUqwRTjxglIswKp9mpkfPNfHkzyeN][Binary Exploitation / Memory Corruption by LiveOverflow]]
** website
*** [[https://play.picoctf.org/practice][picoCTF]]
*** [[https://exploit.education/][exploit education]]
* tools
** code auditing
[[./../images/fedora_security_lab.png]]
*** pscan
*** rats
*** splint
*** flawfinder
** debug
*** gdb
** reverse
*** [[https://book.rada.re/][radare2]]
**** iaito
*** hopper(non-free)
* notes on video
** [[https://youtu.be/6jSKldt7Eqs][0x04: asm basics]]
*** to show assembly in the source code window in gud, ~M-x gdb-display-disassembly-buffer~
*** links
**** https://microcorruption.com/
** [[https://youtu.be/3NTXFUxcKPc][0x06: tools]]
*** simple tools
**** hexdump
**** strings
all printable letters
**** objdump
disassembler
**** strace/ltrace
trace sys/lib call
*** [[https://youtu.be/mT1V7IL2FHY][0x0A: deal with numbers]]
**** endian?
from [[https://zh.wikipedia.org/zh-cn/字节序][Wikipedia]]
[[https://upload.wikimedia.org/wikipedia/commons/5/54/Big-Endian.svg]]
[[https://upload.wikimedia.org/wikipedia/commons/e/ed/Little-Endian.svg]]
x86 is little endian
**** tools
***** python
#+BEGIN_SRC python
>>> int('111', 2)
7
>>> hex(123)
'0x7b'
>>> import struct
# https://docs.python.org/3.10/library/struct.html#format-characters
>>> struct.pack("<I", 0x61626364) # little endian
b'dcba'
>>> struct.pack(">I", 0x61626364) # big endian
b'abcd'
#+END_SRC
***** iex
#+BEGIN_SRC elixir
iex(1)> <<0x61626364::32>>
"abcd"
iex(2)> Base.decode16("61626364")
{:ok, "abcd"}
#+END_SRC

View File

@ -1,10 +1,11 @@
#+TITLE: 消失的 emacs dunnet 教程 #+TITLE: 消失的 emacs dunnet 教程
#+DATE <2023-12-29 五> #+DATE: <2023-12-29 五>
大概一年多之前, 我玩 dunnet 时搜到了这个 [[https://www.luogu.com.cn/blog/ivystorm/emacs-adventuredunnet-tong-guan-jiao-cheng][emacs - adventure/dunnet 通关教程 - Ivystorm 的博客 - 洛谷博客]]. 大概一年多之前, 我玩 dunnet 时搜到了这个 [[https://www.luogu.com.cn/blog/ivystorm/emacs-adventuredunnet-tong-guan-jiao-cheng][emacs - adventure/dunnet 通关教程 - Ivystorm 的博客 - 洛谷博客]].
这是中文互联网少有的认真写的 dunnet 攻略, 我最欣赏的是那张手绘的地图, 在我能搜到的互联网上, 他是唯一一个. 这是中文互联网少有的认真写的 dunnet 攻略, 我最欣赏的是那张手绘的地图, 在我能搜到的互联网上, 他是唯一一个.
但是今天一看, 文章没了, [[https://archive.org][archive.org]] 和 [[https://archive.today][archive.today]] 也没有存档. 还好我当时把地图下下来了, 但放谷歌上也搜不到来源. 但是今天一看, 文章没了, [[https://archive.org][archive.org]] 和 [[https://archive.today][archive.today]] 也没有存档. 还好我当时把地图下下来了, 但放谷歌上也搜不到来源.
我想, 为了更多人能了解, 我把这张图分享出来吧: 我想, 为了更多人能了解, 我把这张图分享出来吧:
#+ATTR_HTML: :width 512px
[[../images/dunnet.png]] [[../images/dunnet.png]]
#+BEGIN_EXAMPLE #+BEGIN_EXAMPLE
eda0ca4b2ccc1247f66e55a703cb2168606d76926772e4c009991fcc235e9ef3 dunnet.png eda0ca4b2ccc1247f66e55a703cb2168606d76926772e4c009991fcc235e9ef3 dunnet.png
@ -21,9 +22,48 @@ eda0ca4b2ccc1247f66e55a703cb2168606d76926772e4c009991fcc235e9ef3 dunnet.png
- [[https://github.com/tx/dunnet-map][tx/dunnet-map]] - [[https://github.com/tx/dunnet-map][tx/dunnet-map]]
只有最开始的岔路口 只有最开始的岔路口
终于在这个游戏 40 岁的尾巴通关了. 终于在这个游戏 40 岁的尾巴 (根据地图) 通关了.
...
然后我又想起另一个经典文字冒险游戏 [[https://man.openbsd.org/adventure][adventure(6)]][fn:1], 这个我最早在 Learn Python The Hard Way ex43 看到的.
这东西在 debian[fn:2] update-alternatives(1) 有 bsdgames 和 open-adventure 两个版本
esr 写的 [[https://gitlab.com/esr/open-adventure][open-adventure]] 有一个 make_graph.py, 能把生成洞穴的整体或部分地图, 我还整了个 [[https://gitlab.com/esr/open-adventure/-/merge_requests/294][merge request]], 没错只有一个字符 :)
#+BEGIN_SRC sh
python make_graph.py -a | dot -Tsvg -o dungeon.svg
#+END_SRC
#+ATTR_HTML: :width 512px
[[../images/adventure.svg]]
图太大了, 以后慢慢玩吧...
最后, 说一下我的一个想法: 最后, 说一下我的一个想法:
收藏夹里的东西经常 404, 很多人 (比如我) 没有存档网站的意识, 普通浏览器也不像 [[./usenet_and_cli_browsers.org][offpunk]] 那样有离线功能, 比较小众的网页没了就没了, 没地方找存档去. 收藏夹里的东西经常 404, 很多人 (比如我) 没有存档网站的意识, 普通浏览器也不像 [[./usenet_and_cli_browsers.org][offpunk]] 那样有离线功能, 比较小众的网页没了就没了, 没地方找存档去.
有些人会存档这些网站, 但是怎么联系上是个问题. 如果做一个互联网资源存档交易(悬赏)网站, 让找不到资源的人有地方问, 有资源的人也有动力拿出手中的资源. 有些人会存档这些网站, 但是怎么联系上是个问题. 如果做一个互联网资源存档交易(悬赏)网站, 让找不到资源的人有地方问, 有资源的人也有动力拿出手中的资源.
当然会存在伪造的现象, 不过一般来说会对浏览过的网页有个印象吧. 当然会存在伪造的现象, 不过一般来说会对浏览过的网页有个印象吧.
* Footnotes
[fn:1] 这几天 man.openbsd.org 在维护 [[https://marc.info/?l=openbsd-tech&m=170301840617581&w=2][man.openbsd.org, cvsweb.openbsd.org maintenance]]
[fn:2] 我在 docker 里跑 debian 的时候没用 https, 然后小米路由器又抽风了 [[https://www.chiphell.com/thread-2556691-1-1.html][chiphell]] [[https://www.bilibili.com/read/cv21298361/][bilibili]]
@@html:<details>@@
@@html:<summary>抽风实况</summary>@@
#+BEGIN_EXAMPLE
Get:8 http://deb.debian.org/debian trixie/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB]
Get:1 http://deb.debian.org/debian trixie/main amd64 libtinfo6 amd64 6.4+20231209-1 [341 kB]
Ign:1 http://deb.debian.org/debian trixie/main amd64 libtinfo6 amd64 6.4+20231209-1
Get:7 http://deb.debian.org/debian trixie/main amd64 bsdgames amd64 2.17-30 [966 kB]
Err:7 http://deb.debian.org/debian trixie/main amd64 bsdgames amd64 2.17-30
File has unexpected size (1624 != 966160). Mirror sync in progress? [IP: 192.168.31.1 80]
Hashes of expected file:
- SHA256:91cc293d80f158093b60ba1dfafcb559a23252497f60c1c05247400bea01524b
- MD5Sum:a6ab7ee321eeb45c69bddd9456dec8cb [weak]
- Filesize:966160 [weak]
Get:1 http://deb.debian.org/debian trixie/main amd64 libtinfo6 amd64 6.4+20231209-1 [341 kB]
Fetched 1187 kB in 15min 52s (1246 B/s)
E: Failed to fetch http://miwifi.com/diagnosis/index.html File has unexpected size (1624 != 966160). Mirror sync in progress? [IP: 192.168.31.1 80]
Hashes of expected file:
- SHA256:91cc293d80f158093b60ba1dfafcb559a23252497f60c1c05247400bea01524b
- MD5Sum:a6ab7ee321eeb45c69bddd9456dec8cb [weak]
- Filesize:966160 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
#+END_EXAMPLE
@@html:</details>@@

View File

@ -27,7 +27,6 @@ You can always find something magical on the Internet.
:END: :END:
#+TAGS: rssable(s) rssub(U) gopher(g) #+TAGS: rssable(s) rssub(U) gopher(g)
** Single Entries ** Single Entries
*** [[https://www.luogu.com.cn/blog/ivystorm/emacs-adventuredunnet-tong-guan-jiao-cheng][luogu blog: emacs dunnet 教程]] :emacs:
*** [[https://bheisler.github.io/post/state-of-gpgpu-in-rust/][The State of GPGPU in Rust]] :rust:lowlevel: *** [[https://bheisler.github.io/post/state-of-gpgpu-in-rust/][The State of GPGPU in Rust]] :rust:lowlevel:
*** [[https://secretgeek.github.io/html_wysiwyg/][巧用 CSS 显示 HTML 源码]] :frontend: *** [[https://secretgeek.github.io/html_wysiwyg/][巧用 CSS 显示 HTML 源码]] :frontend:
*** [[https://blog.pg999w.top/too-many-channels/][Too many channels in Rust but only one in Go]] :rust: *** [[https://blog.pg999w.top/too-many-channels/][Too many channels in Rust but only one in Go]] :rust:
@ -44,6 +43,8 @@ You can always find something magical on the Internet.
*** [[https://ifaceless.github.io/2019/10/30/linux-kernel-dev-notes/][Linux Kernel Development 学习与总结]] *** [[https://ifaceless.github.io/2019/10/30/linux-kernel-dev-notes/][Linux Kernel Development 学习与总结]]
*** [[https://blog.qartis.com/decoding-small-qr-codes-by-hand/][Decoding small QR codes by hand]] *** [[https://blog.qartis.com/decoding-small-qr-codes-by-hand/][Decoding small QR codes by hand]]
*** [[https://blog.trailofbits.com/2019/07/02/state/][State of the Art Proof-of-Work: RandomX]] *** [[https://blog.trailofbits.com/2019/07/02/state/][State of the Art Proof-of-Work: RandomX]]
*** [[https://kio.dev/blog/mixing-websockets-and-http-endpoints-in-elixir-with-cowboy-plug][Mixing WebSockets & HTTP endpoints in Elixir with Cowboy + Plug]]
*** [[https://www.cnblogs.com/caoweixiong/p/12213993.html][Nginx——proxy_pass url 反向代理]]
** [[http://www.paulgraham.com/todo.html][Paul Graham]] ** [[http://www.paulgraham.com/todo.html][Paul Graham]]
** [[http://www.qiusir.com/][qiusir]] :rssub: ** [[http://www.qiusir.com/][qiusir]] :rssub:
@ -73,7 +74,7 @@ elixir/erlang大佬, 公众号: HelloElixir
** [[https://justine.lol][Justine Tunney]] :c:lowlevel: ** [[https://justine.lol][Justine Tunney]] :c:lowlevel:
CRAZY!!!!! CRAZY!!!!!
*** [[https://justine.lol/ape.html][actually portable executable]] *** [[https://justine.lol/ape.html][actually portable executable]]
**** [[https://jeskin.net/blog/getting-started-with-cosmopolitan-libc][Getting Started with Cosmopolitan Libc]] *** [[https://justine.lol/lambda][Lambda Calculus in 383 Bytes]]
** [[http://mindhacks.cn][刘未鹏 | Mind Hacks]] :wow: ** [[http://mindhacks.cn][刘未鹏 | Mind Hacks]] :wow:
*** [[http://mindhacks.cn/2006/10/15/cantor-godel-turing-an-eternal-golden-diagonal/][康托尔、哥德尔、图灵——永恒的金色对角线]] *** [[http://mindhacks.cn/2006/10/15/cantor-godel-turing-an-eternal-golden-diagonal/][康托尔、哥德尔、图灵——永恒的金色对角线]]
** [[https://ploum.net][Ploum]] ** [[https://ploum.net][Ploum]]
@ -81,6 +82,7 @@ CRAZY!!!!!
#+BEGIN_QUOTE #+BEGIN_QUOTE
I like to explore how technology impacts society I like to explore how technology impacts society
#+END_QUOTE #+END_QUOTE
** [[https://joearms.github.io][Joe Armstrong (tiddlywiki)]]
** [[https://floooh.github.io/][floooh(The Brain Dump)]] :c: ** [[https://floooh.github.io/][floooh(The Brain Dump)]] :c:
@ -282,12 +284,26 @@ finger m@f.xosc.org
It's so cool, especially for testing and reviewing.(from [[https://www.ruanyifeng.com/blog/2023/02/weekly-issue-241.html][ruanyifeng 241]]) It's so cool, especially for testing and reviewing.(from [[https://www.ruanyifeng.com/blog/2023/02/weekly-issue-241.html][ruanyifeng 241]])
** [[https://akarin.dev][✨小透明・宸✨ 存在感消失的地方|ω•`)]] ** [[https://akarin.dev][✨小透明・宸✨ 存在感消失的地方|ω•`)]]
** [[https://nichi.co][Nick Cao (#archlinux-cn matrix)]] ** [[https://nichi.co][Nick Cao (#archlinux-cn matrix)]]
** TODO [[http://akkartik.name/][Kartik Agaram]] ** [[https://seh.dev][seh.dev]] :plan9:
*** [[http://akkartik.name/post/literate-programming][Literate programming: Knuth is doing it wrong]] ** [[https://cs.lmu.edu/~ray/][ray@lmu]]
** TODO [[https://seh.dev][seh.dev]] ** [[https://blog.itswincer.com/][Wincer]]
和我一样比较喜欢小众的东西
** [[https://blog.benjojo.co.uk][Benjojo]]
*** [[https://blog.benjojo.co.uk/post/auditing-github-users-keys][Auditing GitHub users SSH key quality]]
** [[https://zu1k.com][zu1k]]
** [[https://whynothugo.nl][ben Hugo]]
author of darkman
** [[https://cascade.moe][七碳烷烃 Isoheptane (工程师猫娘)]]
*** [[https://cascade.moe/posts/arch-with-zfs/][在 ZFS 上安装 Arch Linux]]
** [[https://dataswamp.org/~lich/][lich (dataswamp)]]
** [[https://nyk.ma][Nayuki's]]
*** [[https://nyk.ma/posts/password-store/][pass : 密码管理本不复杂]]
*** [[https://nyk.ma/posts/nix-and-nixos/][Nix 和 NixOS你们安利方法错了]]
# LABLE
** B/HWS/fri3nds ** Bili/HWS/fri3nds
*** [[https://shakaianee.top/][社会易姐]] *** [[https://shakaianee.top/][社会易姐]]
*** [[https://blog.yangmame.org/][yanemame]] *** [[https://blog.yangmame.org/][yanemame]]
猴哥推荐的 猴哥推荐的
@ -300,7 +316,7 @@ EvanMeek / B站: 美味的樱桃菌
*** [[https://sh.alynx.one/][Alynx Zhou]] *** [[https://sh.alynx.one/][Alynx Zhou]]
口琴, author of =showmethekey= 口琴, author of =showmethekey=
**** [[https://sh.alynx.one/posts/Linux-Mooncake-Jokes/][Linux 用户的月饼食用手册]] :fun: **** [[https://sh.alynx.one/posts/Linux-Mooncake-Jokes/][Linux 用户的月饼食用手册]] :fun:
**** [[https://sh.alynx.one/posts/Do-Not-Fill-My-Email-with-Silly-Ads/][不要拿愚蠢的广告来污染我的邮箱]] **** [[https://sh.alynx.one/posts/YubiKey-GNOME-Smartcard-Login/][YubiKey 和 GNOME 和智能卡登录]]
*** [[http://www.z.org.cn/][老网虫]] *** [[http://www.z.org.cn/][老网虫]]
*** [[https://yang-qwq.ml][Yang]] *** [[https://yang-qwq.ml][Yang]]
*** [[http://blog.zhanganzhi.com/][zhanganzhi]] *** [[http://blog.zhanganzhi.com/][zhanganzhi]]
@ -309,6 +325,7 @@ EvanMeek / B站: 美味的樱桃菌
*** [[https://acyanbird.github.io][山奈]] *** [[https://acyanbird.github.io][山奈]]
*** [[https://fallenbreath.me][狐狸姐姐!]] *** [[https://fallenbreath.me][狐狸姐姐!]]
*** [[https://dsy4567.cf/][dsy4567 的小站]] *** [[https://dsy4567.cf/][dsy4567 的小站]]
*** [[https://litterhougelangley.club/blog][Houge's Madness Blog]]
** ZhiHu ** ZhiHu
*** [[https://zhuanlan.zhihu.com/p/138719668][用Go语言汇编计算fibonacci数列]] :lowlevel: *** [[https://zhuanlan.zhihu.com/p/138719668][用Go语言汇编计算fibonacci数列]] :lowlevel:
@ -376,20 +393,17 @@ but fasm don't support debug information (dwarf2)
**** [[https://youtu.be/WEk_grxrCcg][First Ancient Neural Network in C]] **** [[https://youtu.be/WEk_grxrCcg][First Ancient Neural Network in C]]
intro: he talked about Russian gov and where to flee intro: he talked about Russian gov and where to flee
inspiration: Veritasium inspiration: Veritasium
**** [[https://youtu.be/tR6p7ZC7RaU][Terminal To-Do App in Rust]]
0:10 [[https://www.youtube.com/@baldandbankrupt][bald and bankrupt]], SOVIET, half life II
0:13 wait what are you doing emacs, this emacs is so weird
0:14 goto in rust?
0:52 BLOCKCHAIN? byebye
**** [[https://youtu.be/h_D4P-KRNKs][HaskellRank #01: just one line!]] **** [[https://youtu.be/h_D4P-KRNKs][HaskellRank #01: just one line!]]
**** [[https://youtu.be/sFYFuBzu9Ow][mmap syscall]] **** [[https://youtu.be/sFYFuBzu9Ow][mmap syscall]]
- allocate memory - allocate memory
- rw files - rw files
- IPC - IPC
**** [[https://youtu.be/9s8vjf_vLaA][SmoothLife on GPU]] **** TODO [[https://youtu.be/9s8vjf_vLaA][SmoothLife on GPU]]
**** [[https://youtu.be/iPrltr1b6Q4][I implemented Goto in OCaml]] **** [[https://youtu.be/iPrltr1b6Q4][I implemented Goto in OCaml]]
**** [[https://youtu.be/PgDqBZFir1A][Weird Parts of C you probably never heard of: Hot loading, X macro]] **** [[https://youtu.be/PgDqBZFir1A][Weird Parts of C you probably never heard of: Hot loading, X macro]]
**** [[https://youtu.be/b-q4QBy52AA][Web in Native Assembly (Linux x86_64)]] **** [[https://youtu.be/b-q4QBy52AA][Web in Native Assembly (Linux x86_64)]]
**** TODO [[https://youtu.be/n-S9DBwPGTo][Hash Table in C]]
1:09 competitive programming
*** [[https://youtu.be/0rJ94rbdteE][Rust 让你感觉像个天才]] *** [[https://youtu.be/0rJ94rbdteE][Rust 让你感觉像个天才]]
*** [[https://youtu.be/nfF91Z6fqGk][CMD 登录B站]] *** [[https://youtu.be/nfF91Z6fqGk][CMD 登录B站]]
*** [[https://youtu.be/crnEygp4C6g][Jeff Geerling: FINALLY! A GPU works on the Raspberry Pi!]] *** [[https://youtu.be/crnEygp4C6g][Jeff Geerling: FINALLY! A GPU works on the Raspberry Pi!]]
@ -445,6 +459,8 @@ bringing down BitBucket entirely as it could not
handle writing through this interplanetary loop. handle writing through this interplanetary loop.
#+END_EXAMPLE #+END_EXAMPLE
*** [[https://youtu.be/Kn0MxHlima0][My4TH - A discrete CPU Forth computer]] *** [[https://youtu.be/Kn0MxHlima0][My4TH - A discrete CPU Forth computer]]
*** [[https://youtu.be/tZ5FBBnHfm4][Intro to Competitive Programming]]
*** [[https://youtu.be/msdymgkhePo][This Website has No Code, or Does it?]]
** [[https://www.youtube.com/@Computerphile][<C>]] ** [[https://www.youtube.com/@Computerphile][<C>]]
*** [[https://youtu.be/BAo5C2qbLq8][Network Time Protocol (NTP)]] *** [[https://youtu.be/BAo5C2qbLq8][Network Time Protocol (NTP)]]
@ -461,6 +477,7 @@ handle writing through this interplanetary loop.
** Cyber Security ** Cyber Security
*** LiveOverflow *** LiveOverflow
**** [[https://www.youtube.com/playlist?list=PLhixgUqwRTjxglIswKp9mpkfPNfHkzyeN][Binary Exploitation / Memory Corruption by LiveOverflow]]
**** [[https://www.youtube.com/playlist?list=PLhixgUqwRTjwvBI-hmbZ2rpkAl4lutnJG][Minecraft HACKED]] **** [[https://www.youtube.com/playlist?list=PLhixgUqwRTjwvBI-hmbZ2rpkAl4lutnJG][Minecraft HACKED]]
**** [[https://youtu.be/x_R1DeZxGc0][Discover Vulnerabilities in Intel CPUs!]] **** [[https://youtu.be/x_R1DeZxGc0][Discover Vulnerabilities in Intel CPUs!]]
**** [[https://youtu.be/UeAKTjx_eKA][Student Finds Hidden Devices in the College Library]] **** [[https://youtu.be/UeAKTjx_eKA][Student Finds Hidden Devices in the College Library]]
@ -468,6 +485,7 @@ handle writing through this interplanetary loop.
**** [[https://youtu.be/oJ6t7AImTdE][CSS Keylogger - old is new again]] **** [[https://youtu.be/oJ6t7AImTdE][CSS Keylogger - old is new again]]
**** [[https://youtu.be/Sv5OLj2nVAQ][Attacking LLM - Prompt Injection]] **** [[https://youtu.be/Sv5OLj2nVAQ][Attacking LLM - Prompt Injection]]
**** [[https://youtu.be/neWc0H1k2Lc][The Discovery of Zenbleed (CVE-2023-20593)]] **** [[https://youtu.be/neWc0H1k2Lc][The Discovery of Zenbleed (CVE-2023-20593)]]
**** [[https://youtu.be/lAyhKaclsPM][A Vulnerability to Hack The World - CVE-2023-4863 (webp)]]
*** [[https://youtu.be/2--1ph-4IaY][shit express hacked]] *** [[https://youtu.be/2--1ph-4IaY][shit express hacked]]
*** [[https://www.youtube.com/playlist?list=PL5--8gKSku15NSeLgrZX9hSEnqPTWoSJ0][DT: Privacy & Security]] *** [[https://www.youtube.com/playlist?list=PL5--8gKSku15NSeLgrZX9hSEnqPTWoSJ0][DT: Privacy & Security]]
*** [[https://youtu.be/QxNsyrftJ8I][Chris Titus Tech: The Biggest Linux Security Mistakes]] *** [[https://youtu.be/QxNsyrftJ8I][Chris Titus Tech: The Biggest Linux Security Mistakes]]
@ -530,6 +548,11 @@ When I was trying to download this video, I found that youtube-dl was broken!
*** [[https://youtu.be/48AOOynnmqU][What Happened To Google Search?]] *** [[https://youtu.be/48AOOynnmqU][What Happened To Google Search?]]
[[https://news.ycombinator.com/item?id=30347719][Hacker News: Google Search Is Dying]] [[https://news.ycombinator.com/item?id=30347719][Hacker News: Google Search Is Dying]]
*** [[https://youtu.be/k2C4lbbIH0c][How Raspberry Pis are made (Factory Tour)]] *** [[https://youtu.be/k2C4lbbIH0c][How Raspberry Pis are made (Factory Tour)]]
*** [[https://youtu.be/DXwZ_n80xhk][Korobeiniki]]
*** [[https://youtu.be/uyrlEE9AV58][90's MTB masters (1992)]]
*** [[https://youtu.be/x_QmvZRS85U][How To Reply To Negative Comments (90s Tutorial)]]
*** [[https://youtu.be/-b-BQZi7MvI][Silicon carbide / SiC used to emit photons (homemade LED)]]
*** [[https://youtu.be/vuvckBQ1bME][How To Make A CPU]]
* r * r
:PROPERTIES: :PROPERTIES:
@ -567,6 +590,9 @@ Huwawei NB!
** [[https://lists.gnu.org/archive/html/emacs-devel/2023-01/msg00425.html][Re: Consideration for Rust contributions in Emacs]] ** [[https://lists.gnu.org/archive/html/emacs-devel/2023-01/msg00425.html][Re: Consideration for Rust contributions in Emacs]]
from emacs-china, about multi-thread from emacs-china, about multi-thread
** [[https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/KJMMAZFTP2MPKWKFZCYUROZFJ44BNVB5/][Leap Replacement - Results from recent contributor survey]] ** [[https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/KJMMAZFTP2MPKWKFZCYUROZFJ44BNVB5/][Leap Replacement - Results from recent contributor survey]]
** [[https://lists.debian.org/debian-riscv/2023/07/msg00053.html][debian: riscv64 is now an official architecture]]
** [[https://lore.kernel.org/lkml/CA+55aFxtD2VYW2R0JwjFkZkvzQzcN7qK3m6ReR+BBXtfyDHx7g@mail.gmail.com/][Re: [GIT] Networking (Linus used Fedora)]]
** [[https://lore.kernel.org/all/20221130082313.3241517-1-tj@kernel.org/][[PATCHSET RFC] sched: Implement BPF extensible scheduler class]]
* Other * Other
:PROPERTIES: :PROPERTIES:
@ -628,3 +654,5 @@ BSD asm
** [[https://www.zzzuckerberg.com][Legal Lullabies]] ** [[https://www.zzzuckerberg.com][Legal Lullabies]]
** [[https://11-90-an.github.io/rseditor][rseditor]] ** [[https://11-90-an.github.io/rseditor][rseditor]]
** [[https://floooh.github.io/visualz80remix/][Visual Z80 Remix]] ** [[https://floooh.github.io/visualz80remix/][Visual Z80 Remix]]
** [[https://lab.magiconch.com][神奇海螺试验场]]
** [[https://tilde.team/wiki/other-tildes][tilde.team wiki: other tildes]]

View File

@ -74,7 +74,7 @@ emm, 看起来还算靠谱, 只是俄文读不明白.
或许我要弄个 offlineimap, 暂时懒得弄了. 或许我要弄个 offlineimap, 暂时懒得弄了.
还有就是切换文件夹不能从 imap 根目录, 得用比如 ==INBOX= 还有就是切换文件夹不能从 imap 根目录, 得用比如 ==INBOX=
然后我发现 mail.ru 也丢邮件[id:mailru] 然后我发现 mail.ru 也丢邮件[[#mailru]]
* mailing list * mailing list
:PROPERTIES: :PROPERTIES:
@ -104,7 +104,8 @@ to 并 cc 是对的, 这样如果这是一个有很多回复的 thread, 不会
:CUSTOM_ID: mailru :CUSTOM_ID: mailru
:END: :END:
换 OpenMbox.net 了, 希望是最后一次换邮件服务商 换 OpenMbox.net 了, 希望是最后一次换邮件服务商
(2023.5) 好吧... 也被墙了 (2023.5) OpenMbox 不提供 IMAP/SMTP 了
(2024.1) cock.li 开放注册了竟然! 为了能发邮件需要在浏览器完成 PoW 算法, 这招很聪明地避免了滥用.
** [[https://www.mail-archive.com/misc@openbsd.org/msg184084.html][Live stick / cd from official sources]] ** [[https://www.mail-archive.com/misc@openbsd.org/msg184084.html][Live stick / cd from official sources]]
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: livecd :CUSTOM_ID: livecd

View File

@ -1,8 +1,12 @@
#+TITLE: 个人历史 #+TITLE: 我的赛博大事记
#+OPTIONS: toc:nil #+OPTIONS: toc:nil
#+TAGS: git(g) blog(b) video(v) #+TAGS: git(g) blog(b) video(v)
* 2023-2024 寒假
** I use Arch btw
* 2023 暑假 * 2023 暑假
** [[./nanopi_freebsd.org][在 NanoPi R2S 上运行 FreeBSD]]
* 2023 春 * 2023 春
** Fedora 打包 :blog: ** Fedora 打包 :blog:
@ -30,6 +34,7 @@
** 2022.7 [[https://github.com/dongdigua/AxolotlVM][玩具解释器 AxolotlVM]] :git: ** 2022.7 [[https://github.com/dongdigua/AxolotlVM][玩具解释器 AxolotlVM]] :git:
是我写过最大的一个项目 是我写过最大的一个项目
** 2022.8 [[https://github.com/dongdigua/configs/commit/c548f441344313f8b74f2e2bc00003a16677765a][切换到 Sway 窗口管理器]] :git: ** 2022.8 [[https://github.com/dongdigua/configs/commit/c548f441344313f8b74f2e2bc00003a16677765a][切换到 Sway 窗口管理器]] :git:
** 注册 Libera.Chat IRC 网络
* 2021-2022 寒假 * 2021-2022 寒假
** 2022.2 加入 exercism.org 学习 elixir ** 2022.2 加入 exercism.org 学习 elixir

View File

@ -78,6 +78,10 @@
t))) t)))
(add-to-list 'org-export-filter-final-output-functions 'html-body-id-filter) (add-to-list 'org-export-filter-final-output-functions 'html-body-id-filter)
(defun my/delete-multiple (src l)
(mapcar (lambda (x) (setq src (delete x src))) l)
src)
(defun myweb-publish () (defun myweb-publish ()
"Publish myweb." "Publish myweb."
@ -89,7 +93,7 @@
"feed.xml" "feed.xml"
"./../" "./../"
"https://dongdigua.github.io" "https://dongdigua.github.io"
(delete "kernel.html" (delete "404.html" (delete "xmr.html" (delete "index.html" (directory-files "./../" nil ".*\.html$"))))) (my/delete-multiple (directory-files "./../" nil ".*\.html$") '("about.html" "my_timeline.html" "kernel.html" "404.html" "xmr.html" "index.html"))
:title "dongdigua's blog" :title "dongdigua's blog"
:description "Blog!" :description "Blog!"
:builder 'webfeeder-make-rss) :builder 'webfeeder-make-rss)

View File

@ -60,6 +60,9 @@ this feature is not compatible with i3, so sway didn't accept the pr
[[https://github.com/jtheoof/swappy][swappy]] is probably an idea [[https://github.com/jtheoof/swappy][swappy]] is probably an idea
I odn't want to make it too complicated, I odn't want to make it too complicated,
just shot the whole screen and edit with GIMP later just shot the whole screen and edit with GIMP later
** dark mode
[[https://gitlab.com/WhyNotHugo/darkman][darkman]]
but, if you are using swayfx, [[https://github.com/WillPower3309/swayfx/issues/226#issuecomment-1879642217][#226]]
* Ref * Ref

View File

@ -5,5 +5,4 @@ set -x
cd gmi cd gmi
ls *.gmi | xargs -I {} ln -s {} {}.txt ls *.gmi | xargs -I {} ln -s {} {}.txt
cd .. cd ..
ln -s lol.diff misc/lol.diff.txt
ln -s pgp pgp.txt ln -s pgp pgp.txt

View File

@ -12,10 +12,8 @@
- [2023-05-13 : Clean Up Home Directory](gmi/cleanup_home.gmi.txt)<br> - [2023-05-13 : Clean Up Home Directory](gmi/cleanup_home.gmi.txt)<br>
- [2023-04-16 : 一位 PGP 进步青年的 Canokey 历程](pgp_canokey)<br> - [2023-04-16 : 一位 PGP 进步青年的 Canokey 历程](pgp_canokey)<br>
- [2023-04-01 : Join Fedora and Maintain Package](fedora_contrib)<br> - [2023-04-01 : Join Fedora and Maintain Package](fedora_contrib)<br>
- [2023-03-31 : Project that Annoys Me](gmi/annoying_project.gmi.txt)<br>
- [2023-02-09 : 玩转邮件列表](mailinglist)<br> - [2023-02-09 : 玩转邮件列表](mailinglist)<br>
- [2023-01-21 : 我要不要试试 OpenBSD 🐡](whatif_openbsd)<br> - [2023-01-21 : 我要不要试试 OpenBSD 🐡](whatif_openbsd)<br>
- [2023-01-17 : 一个乐子 commit](misc/lol.diff.txt)<br>
- [2023-01-08 : 一次大备份](backup_everything)<br> - [2023-01-08 : 一次大备份](backup_everything)<br>
- [2023-01-02 : 2023 了, 试试 emacs 29](emacs29_2023)<br> - [2023-01-02 : 2023 了, 试试 emacs 29](emacs29_2023)<br>
- [2022-12-19 : Fix TTY after Fedora 37 Upgrade](fix_tty)<br> - [2022-12-19 : Fix TTY after Fedora 37 Upgrade](fix_tty)<br>