From 916b3a357e87a3f19cd587f3031c6318268006ba Mon Sep 17 00:00:00 2001 From: dongdigua Date: Fri, 18 Nov 2022 13:14:16 +0800 Subject: [PATCH] ready for fork! unhide ideas, theme backto cayman --- _config.yml | 4 +- about_showing_ip.html | 7 +- anaconda_kickstarts.html | 7 +- binary_exploit.html | 7 +- cheatsheet.html | 7 +- clear_kernel_compile_fix.html | 4 +- feed.xml | 2483 +++++++++++++++++++++++++++++++ gentoo_llvm_targets.html | 7 +- ideas.html | 286 ++++ index.html | 2 +- internet_collections.html | 14 +- js/random-quote.js | 9 +- matrix.html | 7 +- moonboos.html | 7 +- nixos.html | 7 +- org/ideas.org | 20 + org/internet_collections.org | 6 +- org/publish_config.el | 1 - org/recover_udisk.org | 2 + org/画大饼.org | 10 - posts.md | 2 + recommend_everforest_theme.html | 7 +- recover_udisk.html | 8 +- wayland.html | 7 +- weird_mglndd.html | 7 +- 25 files changed, 2867 insertions(+), 61 deletions(-) create mode 100644 feed.xml create mode 100644 ideas.html create mode 100644 org/ideas.org delete mode 100644 org/画大饼.org diff --git a/_config.yml b/_config.yml index c1fed9b..3d80feb 100644 --- a/_config.yml +++ b/_config.yml @@ -1,8 +1,6 @@ -theme: jekyll-theme-architect +theme: jekyll-theme-cayman plugins: - jekyll-feed title: Dongdigua's Blog description: Computer Science NOT Code Salary author: dongdigua -plugins: - - jekyll-feed diff --git a/about_showing_ip.html b/about_showing_ip.html index 3a94e8c..8763bfb 100644 --- a/about_showing_ip.html +++ b/about_showing_ip.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + 这一天终于来了, B站显示 IP 属地 @@ -274,9 +274,10 @@ B口口口口( ), 口口口口( ).
-

Date: 2022-06-18 六 00:00

+

Author: dongdigua

-

Created: 2022-10-30 日 15:12

+

Date: 2022-06-18 六 00:00

+

Build: 2022-11-18 五 13:58

diff --git a/anaconda_kickstarts.html b/anaconda_kickstarts.html index 01a539d..d7bc610 100644 --- a/anaconda_kickstarts.html +++ b/anaconda_kickstarts.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + CentOS/Fedora 不同配置/变体都默认安装了什么软件(组) @@ -530,9 +530,10 @@ Fedora 分不同的变体, 常见的是 Server 和 Workstation
-

Date: 2022-09-29 四 00:00

+

Author: dongdigua

-

Created: 2022-11-06 日 13:16

+

Date: 2022-09-29 四 00:00

+

Build: 2022-11-18 五 13:58

diff --git a/binary_exploit.html b/binary_exploit.html index d08d0c8..60516c9 100644 --- a/binary_exploit.html +++ b/binary_exploit.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Binary Exploit Resources I Recently Trying to Learn @@ -389,9 +389,10 @@ iex(2)> Base
-

Date: 2022-06-29 三 00:00

+

Author: dongdigua

-

Created: 2022-10-30 日 15:12

+

Date: 2022-06-29 三 00:00

+

Build: 2022-11-18 五 13:58

diff --git a/cheatsheet.html b/cheatsheet.html index 720357b..4e95076 100644 --- a/cheatsheet.html +++ b/cheatsheet.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Editor Cheatsheet @@ -679,9 +679,10 @@ git log --color --graph --decorate -M --pretty=oneline --abbrev-commit -M
-

Date: 2022-06-13 一 00:00

+

Author: dongdigua

-

Created: 2022-11-04 五 18:45

+

Date: 2022-06-13 一 00:00

+

Build: 2022-11-18 五 13:58

diff --git a/clear_kernel_compile_fix.html b/clear_kernel_compile_fix.html index bb7ed38..df915b1 100644 --- a/clear_kernel_compile_fix.html +++ b/clear_kernel_compile_fix.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Clear Kernel Build Error? Fix It @@ -248,7 +248,7 @@ Notice: I'm ignorant about C programming, so if anything's wrong, please contact

Author: dongdigua

Date: 2022-11-04 五 00:00

-

Build: 2022-11-06 日 15:39

+

Build: 2022-11-18 五 13:58

diff --git a/feed.xml b/feed.xml new file mode 100644 index 0000000..89d15b9 --- /dev/null +++ b/feed.xml @@ -0,0 +1,2483 @@ + + + +dongdigua's blog +Blog! +Emacs webfeeder.el +https://dongdigua.github.io + +五, 18 11月 2022 13:58:08 +0800 + + 记一次帮老师修U盘 + + + +
+

发生甚么事了

+
+

+老师上课放(U盘里)视频的时候 "啪" 把U盘拔了!

+下一次插上就提示 "是否格式化" :)

+反正闲时间太多, 我就准备试试给修复一下, 使用我在我文具盒里待了两年的工具箱: Ventoy 启动盘

+
+
+ +
+

咋整

+
+

+我首先是对 Linux 文件系统有一定基础, 也进行过不少操作(如多次安装gentoo和arch)

+也搞过一些文件系统损坏的事(比如调分区坏过C盘), 还算有经验

+ +

+于是我上老师电脑启动了两年前放在工具箱盘里的 Fedora Workstation 34

+
+ +
+

第一次尝试

+
+

+把老师的U盘插上, "嘎嗒"一声熟悉的 gnome 提示音, U盘没显示

+有 /dev/sdc

mount -t 试试? 是不是没文件系统坏了没识别? 不是

fsck 试试? 不行

+嗯??? 似乎有点超出我的知识储备和经验了

+
+
+
+

第二次尝试

+
+

+只有一个整盘, 没有分区号? 凭直觉, 我觉得那就是分区表坏了

+然后查了一下(当然用英文查), 有没有能修复分区表的? testdisk

+然后先用 dd 整盘备份一下, 跑 testdisk

+很简单就把分区表恢复出来了!

+ +

+那就开始拷文件吧…"文件不完整"

+
+
+
+

第三次尝试

+
+

+和 testdisk 一家的软件还有 photorec, 我似乎在 linuxcn 见过(懒得去找链接了)

+这东西一看就知道是通过文件头来识别并恢复文件的

+那就跑呗

+一节课之后, 文件(和曾经被删除的)都回来了

+开心!

+
+
+
+ +
+ +
+

+我可以比较廉价的进行数据恢复

+联系我后将磁盘镜像传到 FTP 服务器, 不接百度网盘

+暂定价如下:

+
+
+

16GiB 以下 0.3 XMR

+
+
+

16~64GiB 0.5 XMR

+
+
+ +
+

后续

+
+

+恢复完之后我想瞅瞅那些教学视频, 正常来讲 f34 应该有解码器的, 但是没有

+是不是我连着网给我删了?

+
+
+]]>
+ https://dongdigua.github.io/recover_udisk.html + https://dongdigua.github.io/recover_udisk.html + 日, 13 11月 2022 08:00:00 +0800 +
+ + Clear Kernel Build Error? Fix It + + +

+when I compile Clear kernel with LLVM enabled, I got this error:

+
+
arch/x86/kernel/cpu/intel_epb.c:172:2: error: call to undeclared function 'sched_set_itmt_power_ratio';
+ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
+        sched_set_itmt_power_ratio(256 - val * 2, cpu);
+        ^
+arch/x86/kernel/cpu/intel_epb.c:172:2: note: did you mean 'sched_set_itmt_core_prio'?
+./arch/x86/include/asm/topology.h:189:20: note: 'sched_set_itmt_core_prio' declared here
+static inline void sched_set_itmt_core_prio(int prio, int core_cpu)
+                   ^
+1 error generated.
+
+
+ +

+it's obvious that the sched_set_itmt_power_ratio function is undeclared

+so I added the following like the function on top of it

+and it is able to compile :)

+
+
 ---  /home/gentoo/linux/topology.h
+ +++  arch/x86/include/asm/topology.h
+ @@ -189,6 +189,9 @@
+ static inline void sched_set_itmt_core_prio(int prio, int core_cpu)
+ {
+ }
++static inline void sched_set_itmt_power_ratio(int prio, int core_cpu)
++{
++}
+ static inline int sched_set_itmt_support(void)
+ {
+        return 0;
+
+
+ +

+Notice: I'm ignorant about C programming, so if anything's wrong, please contact me

+]]>
+ https://dongdigua.github.io/clear_kernel_compile_fix.html + https://dongdigua.github.io/clear_kernel_compile_fix.html + 五, 04 11月 2022 08:00:00 +0800 +
+ + Gentoo LLVM_TARGETS not Working? + + +

+Recently, I would like to test switching from gcc to clang on my Gentoo VM.

warning: you will be crazy to have too many packages can't be build with clang

+ +
+

1. problem

+
+

+First I want to make LLVM not targeting too many platform, but changing LLVM_TARGETS don't work

+
+
[ebuild  N     ] sys-devel/llvm-15.0.3:15::gentoo   USE= "binutils-plugin libffi
+ ncurses -debug -doc -exegesis -libedit -test -verify-sig -xar -xml -z3 -zstd"
+ LLVM_TARGETS= "(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430)
+ (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86)
+ (XCore) (-ARC) (-CSKY) (-DirectX) (-LoongArch) (-M68k) (-SPIRV)" 241 KiB    
+
+
+
+
+ +
+

2. and I found [solved] LLVM_TARGETS not respected?(Mar 2022) on gentoo forum

+
+

+It seems that global LLVM_TARGETS setting is not respected,

+and flags such as llvm_targets_AArch64, llvm_targets_ARM, are no longer there.

+They're now forced by default as a precaution.

+
+
+ + +
+

3. solution

+
+
+
+

3.1. add something like */* -llvm_targets_AArch64 into /etc/portage/profile/package.use.force

+
+

+I excluded all targets exept for X86, but still 3 left: AMDGPU, BPF, NVPTX

+
+
+
+

3.2. so I also add sys-devel/llvm -llvm_targets_AMDGPU -llvm_targets_BPF -llvm_targets_NVPTX in /etc/portage/package.use/

+
+
+

3.3. and don't forget to add that three excluder to clang or other compiler that uses llvm

+
+
+ + +
+

4. finally I got this:

+
+
+
[ebuild  N     ] sys-devel/llvm-15.0.3:15::gentoo   USE= "binutils-plugin libffi
+ ncurses -debug -doc -exegesis -libedit -test -verify-sig -xar -xml -z3 -zstd"
+ LLVM_TARGETS= "(X86) -AArch64 -AMDGPU (-ARC) -ARM -AVR -BPF (-CSKY) (-DirectX)
+ -Hexagon -Lanai (-LoongArch) (-M68k) -MSP430 -Mips -NVPTX -PowerPC -RISCV
+ (-SPIRV) -Sparc -SystemZ -VE -WebAssembly -XCore" 241 KiB
+
+
+
+
+]]>
+ https://dongdigua.github.io/gentoo_llvm_targets.html + https://dongdigua.github.io/gentoo_llvm_targets.html + 六, 29 10月 2022 08:00:00 +0800 +
+ + CentOS/Fedora 不同配置/变体都默认安装了什么软件(组) + + + +

+for https://cossig.org(CentOS 中文特别兴趣小组)

+link: https://www.cossig.org/391-centos-fedora-default-softwares

+所以我这回不用英文了哈哈

+ +
+

1. CentOS

+
+

+CentOS 安装时可选不同的配置

+

+ centos_install_config.png

+其实这些就是不同的软件组

+CentOS-Stream 8 为例, 定义软件组的文件是 comps.xml

+左边的基本环境就是 tag 列表

+一共有11个

+
+
< environment  variant= "BaseOS">
+  < id>custom-environmentid>
+  < name>Custom Operating Systemname>
+  < display_order>5display_order>
+   
+environment>
+< environment  variant= "BaseOS">
+  < id>minimal-environmentid>
+  < name>Minimal Installname>
+  < display_order>4display_order>
+   
+environment>
+< environment>
+  < id>server-product-environmentid>
+  < name>Servername>
+  < display_order>2display_order>
+   
+environment>
+< environment  arch= "aarch64,s390x,ppc64le,x86_64">
+  < id>graphical-server-environmentid>
+  < name>Server with GUIname>
+  < display_order>1display_order>
+   
+environment>
+< environment  variant= "BaseOS">
+  < id>cloud-server-environmentid>
+  < name>Cloud Servername>
+  < display_order>3display_order>
+   
+environment>
+< environment  variant= "BaseOS">
+  < id>web-server-environmentid>
+  < name>Web Servername>
+  < display_order>50display_order>
+   
+environment>
+< environment>
+  < id>infrastructure-server-environmentid>
+  < name>Infrastructure Servername>
+  < display_order>60display_order>
+   
+environment>
+< environment  variant= "AppStream"  arch= "x86_64,ppc64le">
+  < id>developer-workstation-environmentid>
+  < name>Development and Creative Workstationname>
+  < display_order>90display_order>
+   
+environment>
+< environment  variant= "AppStream"  arch= "x86_64,ppc64le">
+  < id>gnome-desktop-environmentid>
+  < name>GNOME Desktopname>
+  < display_order>80display_order>
+   
+environment>
+< environment  variant= "AppStream"  arch= "x86_64,ppc64le">
+  < id>workstation-product-environmentid>
+  < name>Workstationname>
+  < display_order>3display_order>
+   
+environment>
+< environment  variant= "AppStream"  arch= "x86_64">
+  < id>virtualization-host-environmentid>
+  < name>Virtualization Hostname>
+  < display_order>70display_order>
+   
+environment>
+
+
+

+但还是对不上, 应该很接近了…吧?

+ +

+想起来不联网是没法选择安装软件的

+然后瞅一眼产生的临时文件 /tmp/dnf.cache/

+
+
├── appstream-831abc7e9d6a1a72
+│  ├── metalink.xml
+│  └── repodata
+│     ├── 95f4408838f85e23117d7d89ab47e1029692a443722e0e315fe3db07c32ee573-modules.yaml.xz
+│     ├── 2047121fda8828f9b4d611cbfb736a89048cb411356e7ac2bdd95d927d044791-filelists.xml.gz
+│     ├── e27fd8f9028bdc339a014f95debd07da4ef7b217522d14721af050aa9e7cf93e-primary.xml.gz
+│     ├── f0d518764a274c71de0773b3590932ded56234b2f6ac4bf025d125b7ed29269f-comps-AppStream.x86_64.xml
+│     ├── gen
+│     │  └── groups.xml
+│     └── repomd.xml
+├── baseos-044cae74d71fe9ea
+│  ├── metalink.xml
+│  └── repodata
+│     ├── 88ded6c02c5c3c62ab02250505cf0b8dee3af85819b666731c3cf813c275db6c-primary.xml.gz
+│     ├── b47aeefede03d4d530f4538bf8f73531fd1a6a2bb66ca1778e3423c4dec34121-filelists.xml.gz
+│     ├── d52d95f0f2d1a56b197a698aa328813a7e45e2d5b2883e04f4a3f604638b7a4a-comps-BaseOS.x86_64.xml
+│     ├── gen
+│     │  └── groups.xml
+│     └── repomd.xml
+
+
+

+那里面的 *-comps-*.xml

+就正好是 1~4 和两个 99

+ +

+ comps-AppStream.x86_64.xml

+
+
< environment>
+  < id>graphical-server-environmentid>
+  < name>Server with GUIname>
+  < description>An integrated, easy-to-manage server with a graphical interface.description>
+  < display_order>1display_order>
+  < grouplist>
+    < groupid>base-xgroupid>
+    < groupid>container-managementgroupid>
+    < groupid>coregroupid>
+    < groupid>fontsgroupid>
+    < groupid>gnome-desktopgroupid>
+    < groupid>guest-desktop-agentsgroupid>
+    < groupid>hardware-monitoringgroupid>
+    < groupid>hardware-supportgroupid>
+    < groupid>headless-managementgroupid>
+    < groupid>internet-browsergroupid>
+    < groupid>multimediagroupid>
+    < groupid>networkmanager-submodulesgroupid>
+    < groupid>print-clientgroupid>
+    < groupid>server-productgroupid>
+    < groupid>standardgroupid>
+  grouplist>
+  < optionlist> optionlist>
+environment>
+< environment>
+  < id>server-product-environmentid>
+  < name>Servername>
+  < description>An integrated, easy-to-manage server.description>
+  < display_order>2display_order>
+  < grouplist>
+    < groupid>container-managementgroupid>
+    < groupid>coregroupid>
+    < groupid>hardware-supportgroupid>
+    < groupid>headless-managementgroupid>
+    < groupid>server-productgroupid>
+    < groupid>standardgroupid>
+  grouplist>
+  < optionlist> optionlist>
+environment>
+< environment>
+  < id>virtualization-host-environmentid>
+  < name>Virtualization Hostname>
+  < description>Minimal virtualization host.description>
+  < display_order>99display_order>
+  < grouplist>
+    < groupid>basegroupid>
+    < groupid>coregroupid>
+    < groupid>standardgroupid>
+    < groupid>virtualization-hypervisorgroupid>
+    < groupid>virtualization-toolsgroupid>
+  grouplist>
+  < optionlist> optionlist>
+environment>
+< environment>
+  < id>workstation-product-environmentid>
+  < name>Workstationname>
+  < description>Workstation is a user-friendly desktop system for laptops and PCs.description>
+  < display_order>4display_order>
+  < grouplist>
+    < groupid>base-xgroupid>
+    < groupid>coregroupid>
+    < groupid>fontsgroupid>
+    < groupid>gnome-desktopgroupid>
+    < groupid>guest-desktop-agentsgroupid>
+    < groupid>hardware-supportgroupid>
+    < groupid>internet-browsergroupid>
+    < groupid>multimediagroupid>
+    < groupid>networkmanager-submodulesgroupid>
+    < groupid>print-clientgroupid>
+    < groupid>standardgroupid>
+    < groupid>workstation-productgroupid>
+  grouplist>
+  < optionlist> optionlist>
+environment>
+
+
+ +

+ comps-BaseOS.x86_64.xml

+
+
< environment>
+  < id>custom-environmentid>
+  < name>Custom Operating Systemname>
+  < description>Basic building block for a custom RHEL system.description>
+  < display_order>99display_order>
+  < grouplist>
+    < groupid>coregroupid>
+  grouplist>
+  < optionlist> optionlist>
+environment>
+< environment>
+  < id>minimal-environmentid>
+  < name>Minimal Installname>
+  < description>Basic functionality.description>
+  < display_order>3display_order>
+  < grouplist>
+    < groupid>coregroupid>
+  grouplist>
+  < optionlist> optionlist>
+environment>
+< environment>
+  < id>server-product-environmentid>
+  < name>Servername>
+  < description>An integrated, easy-to-manage server.description>
+  < display_order>2display_order>
+  < grouplist>
+    < groupid>coregroupid>
+    < groupid>hardware-supportgroupid>
+    < groupid>headless-managementgroupid>
+    < groupid>server-productgroupid>
+    < groupid>standardgroupid>
+  grouplist>
+  < optionlist> optionlist>
+environment>
+
+
+
+
+ +
+

2. Fedora

+
+

+Fedora 分不同的变体, 常见的是 Server 和 Workstation

+与 CentOS 不同, Fedora 是在 kickstarts 定义的变体

+在 [Payload] 中定义了安装哪些软件(组)

+然后根据 comps.xml 就知道安装了什么软件

+
+
+

2.1. Workstation

+
+

+ workstation-product-environment

+
+
< environment>
+  < id>workstation-product-environmentid>
+  < _name>Fedora Workstation_name>
+  < _description>Fedora Workstation is a user friendly desktop system for laptops and PCs._description>
+  < display_order>2display_order>
+  < grouplist>
+    < groupid>base-xgroupid>
+    < groupid>container-managementgroupid>
+    < groupid>coregroupid>
+    < groupid>firefoxgroupid>
+    < groupid>fontsgroupid>
+    < groupid>gnome-desktopgroupid>
+    < groupid>guest-desktop-agentsgroupid>
+    < groupid>hardware-supportgroupid>
+    < groupid>libreofficegroupid>
+    < groupid>multimediagroupid>
+    < groupid>networkmanager-submodulesgroupid>
+    < groupid>printinggroupid>
+    < groupid>workstation-productgroupid>
+  grouplist>
+  < optionlist> optionlist>
+environment>
+
+
+
+
+
+

2.2. Server

+
+

+ server-product-environment

+
+
< environment>
+  < id>server-product-environmentid>
+  < name>Servername>
+  < display_order>2display_order>
+  < grouplist>
+    < groupid>server-productgroupid>
+    < groupid>standardgroupid>
+    < groupid>coregroupid>
+    < groupid>hardware-supportgroupid>
+    < groupid>headless-managementgroupid>
+    < groupid>container-managementgroupid>
+  grouplist>
+  < optionlist> optionlist>
+environment>
+
+
+
+
+
+]]>
+ https://dongdigua.github.io/anaconda_kickstarts.html + https://dongdigua.github.io/anaconda_kickstarts.html + 四, 29 9月 2022 08:00:00 +0800 +
+ + Matrix chat (clients comparation, proxy setting) + + + +

+I wanna use matrix just because many people use it.

+ +
+

1. comparation of clients, sorted by satisfaction

+
+
+
+

1.1. neochat

+
+

+💓kde

+
+
+
+

1.2. quaternion

+
+

+small but have most of function

+fancy scrollbar, can configure proxy in app

+wayland support not good: error copying image(like qutebrowser)

+
+
+
+

1.3. ement.el

+
+

+I like doing everything in emacs, with keyboard

+but it don't work: https://github.com/alphapapa/ement.el/issues/77

+
+
+
+

1.4. fractal

+
+

+HUGE and not fully fonctionall

+
+
+
+

1.5. thunderbird

+
+

+all-in-one solution, matrix support is not good: cannot show picture

+I even don't use it for email(I use Geary)

+
+
+
+ +
+

2. how to set proxy

+
+
+
+

2.1. neochat

+
+

+env: http_proxy

+
+
+
+

2.2. fractal

+
+

+env: https_proxy

+accroding to reqwest document

+
+
+
+

2.3. ement.el

+
+

+var: plz-curl-default-args

+
+
+
+]]>
+ https://dongdigua.github.io/matrix.html + https://dongdigua.github.io/matrix.html + 四, 22 9月 2022 08:00:00 +0800 +
+ + Build a Minimal NixOS LiveCD with swaywm + + + + +
+

1. problem & solution

+
+
+
+

1.1. unable to drop root

+
+

+donot run under root

+
+
+
+

1.2. in normal user, libseat permission deniened

+
+

+add user in video group

+login as user, not root

+
+
+
+

1.3. egl error

+
+

+enable 3D acceleration in VirtualBox

+
+
+
+

1.4. config files from outside

+
+

+ irc-nixiso.png

+but it is copied using xoriso to /iso/

+so I need to write a systemd service to automagically sync it at boot

+
+
+
+

1.5. cleanup builds

+
+

+ /nix/store/ takes too much space after build

+
+
unlink result
+nix-store 
+
+
+

+and there're a few tools for visualising disk size:

https://nixos.wiki/wiki/Cleaning_the_nix_store

+
+
+
+ +
+

2. reference

+
+
+ + + +
+]]>
+ https://dongdigua.github.io/nixos.html + https://dongdigua.github.io/nixos.html + 六, 17 9月 2022 08:00:00 +0800 +
+ + 庄主其人 + + +
+

+互联网是有记忆的

+全都是你的所作所为

+
+ +
+

1. 扩充自 庄主人肉大炮 我的置顶评论

+
+

+如果再遇到给它洗白的人, 可以把下面这些怼过去

+
+
+

1.1. 日月脏主 Wiki

+
+

+大多数都在这里

+
+
+ + +
+

1.4. fallen屠龙炮

+
+

+最开始根本没有标注原作者, 而且还说"感谢TIS成员的帮助", 然而TIS成员并没有进行任何帮助

+后来迫于压力才更改简介

+
+
+
+]]>
+ https://dongdigua.github.io/moonboos.html + https://dongdigua.github.io/moonboos.html + 日, 11 9月 2022 08:00:00 +0800 +
+ + 画大饼 + + + +

+here are some of my ideas, most of which are unachieveable now

+you can steal them, but you'd better let me know and add a reference

+ + + +
+

2. Rust wasm 制作 schemetic/litemetica 渲染器

+
+
+ +
+
+

3. 用 sway 实现 用窗口玩游戏(×)用游戏玩窗口(√)的效果

+
+
+

4. 不同 Linux 内核(xanmod, clear)玩 MC 性能对比

+
+
+

5. emacs mode: eww show console.log() in Message

+
+
+

6. win7WM

+
+

+just a dream

+
+
+
+

7. join DN42

+
+
+

8. 一个能使用 APP(key) 功能的 bili 客户端

+
+

+用于点踩和查看IP属地

+
+
+
+

9. 用 eww 实现苹果的 "灵动岛"?

+
+

+呵呵, 在B站看到这样的基本就是壁纸软件的广告

+
+
+]]>
+ https://dongdigua.github.io/ideas.html + https://dongdigua.github.io/ideas.html + 五, 09 9月 2022 08:00:00 +0800 +
+ + Something About MGLNDD Scans + + + +
+

1. DONE stretchoid opt-out

+
+

+it's this domain's workers that COMSTANTLY scanning the WHOLE internet

+
+
+
+

2. Some related link

+
+
+ +
+

2.2. SANS internet storm center diary

+
+

+about the scanner and IP range

+
+ +
+ +
+

2.4. 【水蓝石】 近日图书馆出入人员信息逸事和小恶魔创造【持续更新】

+
+
+

+博客主评价,有很多包括stretchoid.com的组织,有的是把自己伪装成科研实验用数据,并没有恶意,有的是什么理由也不给,只是不停地扫描全网的网站。

+其中也包括像密歇根大学,加州大学伯克利分校的访问信息。因为网络安全领域没有类似于“希波克拉底誓言”的东西,所以不能像医生一样信任

+就像到处晃别人家的门把手而不打开不是犯罪,但是真正的打开就混在发现没有锁门,而晃门把手时。

+
+
+
  1. HackerFactor: Scans & Attacks

  2. +
+
+

2.5. zhihu:repost-translation: 如何建立一个基本的蜜罐

+
+

+the original post is gone

+
+

+您还可以开始执行DNS和WHOIS查找,以找出每次扫描背后的人员。

+在这个简短的样本中,我找到了一个伪“研究员”:107.170.202.111解析为“zg-0301f-15.stretchoid.com”。

+他们没有确定他们正在做什么或为什么他们在161 / udp扫描我的蜜罐。(端口161 / udp是为简单的网络管理协议(SNMP)保留的,并且经常容易受到攻击。)

+是的,他们把“malicious”拼错了 - 因此它可能不会出现在谷歌搜索“stretchoid and malicious”的结果中。

+
+
+
+ +
+]]>
+ https://dongdigua.github.io/weird_mglndd.html + https://dongdigua.github.io/weird_mglndd.html + 三, 17 8月 2022 08:00:00 +0800 +
+ + Something About Wayland(swaywm) + + + +
+

1. Solution

+
+
+
+

1.1. iBus

+
+
+
+

1.1.1. reddit: ibus on swaywm

+
+

+emacs pyim

+
+
+
+
+

1.2. Emacs transparent, terminal blur

+
+

+sway can't, probably wayfire?

+
+
+
+

1.3. Authorization required, but no authorization protocol specified

+
+
+
+

1.3.1. sudo -E

+
+
+

1.3.2. lxpolkit(directly execute) or polkit-gnome(prettier, at /usr/libexec/polkit-gnome-authentication-agent-1)

+
+
+
+

1.4. cannot start sway on lightdm

+
+

+yes, still not stable, and it can't remenber which DE you used last time

so use gdm is a better choice?

+SDDM is fantastic! It is themeable,

+I'm using elarun, a oxygen-like smooth crystal theme, materia-kde is also a good choice

+
+
+
+

1.5. obs

+
+

+don't remove the include line in sway/config

+
+
+
+

1.6. cursor theme not working

+
+

+ from this issue

+add seat seat0 xcursor_theme Oxygen_White in sway config file

+
+
+ +
+

1.8. notify-send don't work

+
+

+mako, a notification daemon

+
+
+ +
+

1.10. emacs tool-bar not working(cannot toggle and icon theme missing)

+
+
+
+

1.10.1. cannot toggle: disable custon default-frame-alist, or just use floating mode

+
+
+

1.10.2. TODO icon theme missing: ?

+
+
+
+

1.11. Option –create on workspace prev_on_output|next_on_output?

+
+

+this feature is not compatible with i3, so sway didn't accept the pr

+
+ + +
+
+ + +
+

2. Ref

+
+
+ + + +
+

2.4. prtsc is Print

+
+

+ xev/wev is helpful

+
+
+ +
+

2.6. Configs

+
+
+
+

2.6.1. https://github.com/ziap/dotfiles

+
+

+a great config

+
+
+
+

2.6.2. Ruixi-rebirth's dotfiles

+
+

+sway, very beautiful, from COSSIG

+
+
+
+

2.6.3. a Paid config

+
+

+this is excellent, but…not for me, I'd like something simpler

+
+
  1. archcraft

  2. +
+
+

2.6.4. 夜 - Yoru

+
+

+awesome config!

+
+
+
+
+]]>
+ https://dongdigua.github.io/wayland.html + https://dongdigua.github.io/wayland.html + 日, 07 8月 2022 08:00:00 +0800 +
+ + Binary Exploit Resources I Recently Trying to Learn + + + + +
+

1. resources

+
+
+ +
+

1.2. website

+
+
+
+

1.2.1. picoCTF

+
+
+

1.2.2. exploit education

+
+
+
+ +
+

2. tools

+
+
+
+

2.1. code auditing

+
+ +
+

fedora_security_lab.png

+
+
+
+

2.1.1. pscan

+
+
+

2.1.2. rats

+
+
+

2.1.3. splint

+
+
+

2.1.4. flawfinder

+
+
+ +
+

2.2. debug

+
+
+
+

2.2.1. gdb

+
+
+ +
+

2.3. reverse

+
+
+
+

2.3.1. radare2

+
+
+
  1. iaito

  2. +
+
+

2.3.2. hopper(non-free)

+
+
+
+ + +
+

3. notes on video

+
+
+
+

3.1. 0x04: asm basics

+
+
+
+

3.1.1. to show assembly in the source code window in gud, M-x gdb-display-disassembly-buffer

+
+
+

3.1.2. links

+
+
+
  1. https://microcorruption.com/

  2. +
+
+
+

3.2. 0x06: tools

+
+
+
+

3.2.1. simple tools

+
+
+
  1. hexdump

  2. +
  3. strings

    +

    +all printable letters

    +
    +
  4. +
  5. objdump

    +

    +disassembler

    +
    +
  6. +
  7. strace/ltrace

    +

    +trace sys/lib call

    +
    +
  8. +
+
+

3.2.2. 0x0A: deal with numbers

+
+
+
  1. endian?

    +

    +from Wikipedia

    Big-Endian.svg.png Little-Endian.svg.png

    +x86 is little endian

    +
    +
  2. +
  3. tools

    1. python

      +
      +
      >>>  int( '111', 2)
      +7
      +>>>  hex(123)
      + '0x7b'
      +>>>  import struct
      + #  https://docs.python.org/3.10/library/struct.html#format-characters
      +>>> struct.pack( ", 0x61626364)  #  little endian
      +b 'dcba'
      +>>> struct.pack( ">I", 0x61626364)  #  big endian
      +b 'abcd'
      +
      +
      +
      +
    2. +
    3. iex

      +
      +
      iex(1)> <<0x61626364::32>>
      + "abcd"
      +iex(2)>  Base.decode16( "61626364")
      +{ :ok,  "abcd"}
      +
      +
      +
      +
    4. +
  4. +
+
+
+]]>
+ https://dongdigua.github.io/binary_exploit.html + https://dongdigua.github.io/binary_exploit.html + 三, 29 6月 2022 08:00:00 +0800 +
+ + Recommend EverForest Theme + + +

+强烈推荐 everforest 这个主题

+
+

+Everforest is a green based color scheme, it's designed to be warm and soft in order to protect developers' eyes.

+
+ +

+是一个绿色系护眼主题, 正如名字, 有森林的气息

+分为暗色和亮色, 每一种都有三种不同深浅的背景

作者是中国人, 制作了许多高质量 Vim 主题

+ + +
+

1. emacs

+
+

+这个主题在 2022-06-29 才开始制作 emacs 版本

+目前还没在 melpa 上, 所以需要手动安装

+我一看到这个就从 Nord 换过来了

+我加入了 whitespace-mode 的支持, 默认的颜色太晃眼睛啦

希望大家能一起帮忙贡献这个主题

+ +

+放一段 Rust 代码的效果

everforest.png

+
+
+]]>
+ https://dongdigua.github.io/recommend_everforest_theme.html + https://dongdigua.github.io/recommend_everforest_theme.html + 一, 27 6月 2022 08:00:00 +0800 +
+ + 这一天终于来了, B站显示 IP 属地 + + + +

+卸载吧…

+
+

1. 我的看法

+
+

+这个事情真正要打击的那些 诈骗/造假/海外势力, 并不会受到影响,

+它们肯定会使用"虚拟专用网络"伪造IP.

+ +

+那些所谓的"翻车"博主, 大多数可能只是公司在国内, 却因为这件事被各大媒体揪出来.

+ +

+对于那些网络喷子, 这种事估计不会减少它们的言论, 反而会加重"地域黑"…

+ +

+对于普通人, 大多数肯定是没什么影响, 也根本不在意,

+但是有些人, 只想公开自己想让别人看见的,

+那这种平台的强制行为确实会让TA们很不满.

+
+
+ +
+

2. 2022-7-25-12:00 公开显示 IP 属地

+
+ +
+

3. reference

+
+
+
+

3.1. from zhihu

+
+

+掰锝胃, 这个链接的截图在B站不到半小时就被删除了…

+B口口口口( ), 口口口口( ).

+
+
+ + +
+]]>
+ https://dongdigua.github.io/about_showing_ip.html + https://dongdigua.github.io/about_showing_ip.html + 六, 18 6月 2022 08:00:00 +0800 +
+ + Editor Cheatsheet + + + + + +
+

1. VIM

+
+
+
+

1.1. deletion

+
+ + + + +
keyusage
Ddelete to end of line
+
+ +
+

1.2. edit

+
+ + + + + + + + +
keyusage
u/C-r撤销/重做
c i {change inside {}
"{register}y/p向/从寄存器拷贝
+
+ +
+

1.3. movement

+
+ + + + + + + + + + + + + + + + + + + + +
keyusage
w/e下一个单词/单词尾
b单词头
H/M/L当前页面可见顶部/中间/底部
C-u(f)/d上/下翻页
%到对应括号
{}段落跳转
g ;goto last change
g */#正/反查找光标下的词
g d/D跳转到本地/全局定义
+
+ +
+

1.4. visual

+
+ + + + + + +
keyusagenext
C-v矩形区域选择S-i 插入, esc 批量执行
+
+ + +
+

1.5. file/split

+
+ + + + + + + + + + +
keyusage
:n/:N文件之间切换
:b切换到文件
C-w h/j/k/l切换分屏窗口
ZZ:wq
+
+
+ + + +
+

2. EMACS

+
+
+
+

2.1. org

+
+ + + + + + + + + + + + +
keyusage
C-c |创建表格
C-c C-e导出 HTML
C-c C-x C-vtoggle render images
C-c C-l编辑链接
C-c C-,org-insert-structure-template

+ Bold italic underline strikethrough code verbatim

+
+
+ +
+

2.2. normal

+
+ + + + + + + + + + + + + + +
keyusage
M-%替换
M-;区域切换注释
C-x C-;行切换注释
C-ypaste to minibuffer
M-&/!async/shell command
C-M-\indent-region
+
+ +
+

2.3. eww/elpher (essensial)

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
keyusage
TABshr-next-link/elpher-next-link
deww-download/elpher-download
geww-reload/elpher-go
Geww
leww-back-url
ˆelpher-back-url
&eww-browse-with-external-browser
weww-copy-page-url
C/celpher-copy-current/link-url
veww-view-page-source
.elpher-view-raw
+
+
+ +
+

3. Git

+
+

+Git 能离线使用只是个传说, 你仍然需要联网搜索该用哪个命令传什么参数

+
+
git log --stat | perl -ne  'END { print $c } $c += $1 if /(\d+) insertions/;'
+git log --pretty=tformat: --numstat | awk  '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "added lines: %s, removed lines: %s, total lines: %s\n", add, subs, loc }'
+git log --color --graph --decorate -M --pretty=oneline --abbrev-commit -M
+
+
+
+
+ +
+

4. Fish

+
+ + + + + + + + +
keyusage
M-Left/Rightjump world, or prevd/nextd
M-ssudo the last command
M-wwhat is this
+
+]]>
+ https://dongdigua.github.io/cheatsheet.html + https://dongdigua.github.io/cheatsheet.html + 一, 13 6月 2022 08:00:00 +0800 +
+ + Internet Collections + + + + +
+

1. 一些(个人)博客收集

+
+
+
        _                                                  ___
+ /\    /   _  ._ _|_  _. o ._    |\/|  _.  _  o  _  _. |    |  ._   _|  _
+/--\   \_ (/_ |   |_ (_| | | |   |  | (_| (_| | (_ (_| |   _|_ | | (_| (/_ ><
+                                           _|
+
+
+
+
+

1.1. Paul Graham

+
+
+

1.2. qiusir    rssub

+
+
+

1.3. XahLee

+
+ +
+

Marisa_Kirisame_emacs_magic.png

+
+
+
+
+

1.4. 王垠

+
+
+

1.5. TODO Zed A. Shaw

+
+
+

1.6. 阮一峰    rssub

+
+
+

1.7. 黑客技术    hack

+
+

+really good website, butt, no rss

+
+
+
+

1.8. 易姐

+
+
+

1.9. floooh(The Brain Dump)    c

+
+

+07 年开始, cpu emulator

+
+ +
+

1.9.2. Modern C for C++ Peeps

+
+
+

+Modern C is not a subset of C++

+
+
+
+
+ +
+

1.11. 小耸    c

+
+
+ +
+

1.11.2. 打蚊子与找bug

+
+
+
+

1.12. 这可太刑了

+
+

+学习通事件相关

+
+
+
+

1.13. 写着写着就懂了    elixir

+
+

+elixir/erlang大佬, 公众号: HelloElixir

+
+
+
+

1.14. lujun9972    emacs  rssub

+
+

+超~~~多emacs

+
+
+

1.14.1. emacs document

+
+
+
+

1.15. 文辉的烂笔头    lowlevel

+
+

+CPU, IC, ARM

+
+

+第一次查过的问题,就应该记下来 !

+第二次再查的问题,就必须记下来 !

+
+
+ +
+

1.15.2. 解决Org-Mode表格不对齐问题

+
+

+更纱黑体 使中文恰好为英文宽度两倍, 使用字体比 valign 更通用, 但是不好看

+
+
+
+
+

1.16. scinart    lisp

+
+

+13年最后更新

+
+
+
+

1.17. bozhang    rssable

+
+

+05 年开始, 天文学

+
+
+
+

1.18. luogu blog: emacs dunnet 教程    emacs

+
+
+

1.19. IceGuye

+
+
+

1.20. Ground Oddity

+
+

+出国

+
+ +
+ +
+

1.22. 第 N 个质数    c  algorithm

+
+

+看不懂, 先收藏着

+
+
+
+

1.23. 阳光少年(coder.rs)    rust  python

+
+
+

1.24. mrxn    hack

+
+

+网安, data-leak

+
+
+
+

1.25. include-yy    c  lisp  emacs

+
+

+许多东方的图诶

+
+ +
+

1.25.2. 由(λ(x)(x x))看elisp与scheme之区别

+
+
+

+这个问题其实就是 Lisp-1 和 Lisp-2 的区别导致的

+Lisp-1 的变量命名空间和函数命名空间是统一的,而在 Lisp-2 中两者是分开的

+
+
+
  1. Xah Lee Lisp-1 vs Lisp-2

  2. +
+
+ +
+

1.27. TODO Alynx Zhou    linux  rssable

+
+

+东西很多

+
+
+
+

1.28. Core Dumped    rust  lowlevel  emacs

+
+

+VM

+
+
+
+

1.29. keep coding    rust  c  lowlevel  backend

+
+

+写代码的西瓜

+
+
+

1.29.1. EmacsTalk

+
+
+
+

1.30. Tomas Petricek    rssub

+
+

+F#, M1(r0$0f+, very high quality

+
+
+

1.30.1. commodore64 BASIC

+
+ +
+
+

1.31. 弦外之音    c  lowlevel

+
+

+源码分析

+
+ +
+
+

1.32. lightless blog    hack

+
+
+

1.33. The State of GPGPU in Rust    rust  lowlevel

+
+
+

1.34. Light & Truth

+
+

+from ruanyifeng

+
+
+ +
+

1.36. Xe Iaso    rssub

+
+
+
+

1.36.1. series: V

+
+
+
  1. V for Vaporware

    +

    +经典永流传~

    +
    +
  2. +
+
+

1.36.2. Nim and Tup

+
+ + +
+ +
+

1.38. UlyC    python

+
+
+ +
+

1.38.2. 2021年, 用更现代的方法使用PGP

+
+
+

+同样是非对称算法, 为什么PGP的私钥就长这么多呢?

+因为他们用的算法不同, 比特币默认使用的是ECDSA的 secp256k1算法, 该算法只是用来签名和认证, 并不用来加密

+(signify 只用于签名认证, age 只用于加密, 所以密钥也比较短)

+
+
+
  1. 震惊! 竟然有人在 GitHub 上冒充我的身份!

  2. +
+ +
+
+

1.39. kernal

+
+

+Welcome to the darkest dungeon of kernal

+
+ +
+ +
+

1.41. vimacs

+
+

+Written with Vim and Emacs

+A member of Linux Club of Peking University.

+cat-v-like sidebar style

+
+ + +
+
+

1.42. Matrix67    math

+
+

+The Aha Moments

+
+ + +
+

1.42.3. ❤ localhost-8080

+
+
+
+

1.43. Nyxt: Why should I care about Gopher?    gopher

+
+
+

+By making something a little bit more inaccessible, we are inadvertently putting a filter on what is being posted.

+
+
+

+This makes it a great way to avoid a lot of the low effort noise published on popular/accessible platforms.

+As a result, Gopher is full of interesting, enriching, high quality content.

+The authors are posting out of passion, and with great commitment.

+Don't get me wrong, there's nonsense on Gopher too, but far less of it.

+
+
+
+

1.43.1. 社区本地人与永恒的九月(Eternal September)

+
+
+

+几乎所有大众互联网社区都难逃此宿命。要想避免永恒九月,社区必须要足够克制,有节奏地引导新人加入。

+但是过去20年互联网行业大发展的基本模式就是吸引大量用户、获取大平台地位、取得超额收益。

+用户量是商业成功的互联网平台所必须追求的第一目标。要想获得商业成功,永恒九月来得越早越凶猛越好。

+
+ +
+

Internet_is_Full_-_Go_Away_t-shirt.jpg

+
+
+
+
+
+

1.44. Peter 's Homepage    rssub

+
+
+

+GE d@ s: a C++$ UBL+++$ P++(–)$ L++(-)$ !E W+++(-)$ !N !o K–? w !O !M !V PS++ PE- Y+ PGP+ t+ 5+++ X+ R tv b+ DI D+ G e++ h r+++ y+++*

+
+
+
+

1.44.1. Gopher? Gopher.

+
+
+ +
+

1.46. phenix3443    c  emacs

+
+

+刘尚亮

+
+
+

1.46.1. use-package manual

+
+ + +
+
+

1.47. julienblanchard/typed-hole    plan9

+
+
+
+

1.47.1. pmikkelsen

+
+
+ +
+

1.49. 金步国作品集    lowlevel  linux

+
+

+kernel, LFS

+
+
+ +
+

1.51. B

+
+
+
+

1.51.1. yanemame

+
+

+猴哥推荐的

+
+
+
+

1.51.2. 我不会编程

+
+

+EvanMeek

+B站: 美味的樱桃菌

+
+
+
+

1.51.3. CC    linux

+
+

+B站: 称呼我C先生

+
+
+
+

1.51.4. lunaixsky    c  lowlevel

+
+
+

1.51.5. EndlessPeak    linux

+
+ +
+
+

1.52. ZhiHu

+
+
+
+

1.52.1. 用Go语言汇编计算fibonacci数列    lowlevel

+
+
+

1.52.2. 倔强的程序员

+
+

+编! 译! 原! 理!

+
+
+
+

1.52.3. 专栏: 技术考古    plan9

+
+

+plan9

+
+
+
+

1.52.4. 专栏: 嘶吼RoarTalk    hack

+
+

+回归最本质的信息安全

+
+
+ +
+

1.52.6. 如何解读EVA

+
+
+

+人需不需要存在的意义

+人需不需要互相之间完全理解

+自我封闭是否是应对外界压力的合理方式

+
+
+
+
+
+

1.53. shenjack/HWS/fri3nds

+
+
+
+

1.53.1. 老网虫

+
+
+

1.53.2. yang-qwq

+
+
+

1.53.3. zhanganzhi

+
+
+

1.53.4. 芒果快评

+
+

+今年的新博客, 友链有踏浪

+
+
+
+
+ +
+

2. YouTube 收集(没有账号, 这就是我的收藏夹)

+
+
+
+

2.1. Computer Science

+
+
+ +
+

2.1.2. CMD 登录B站

+
+ + + + + + +
+

2.1.9. tsoding irc client in ocaml

+
+

+0:50 List.fold_left faster than fold_right, but haskell is opposite

+1:00 I like ocaml, that's how python should look like,

+ but ocaml itself is not ideal, you have to take ocaml and throw O away, and that's perfect

+1:03 to be fair p___hub is more interesting than this, that's for sure, so let's use Makefile (instead of dune)

+1:50 sexplib?

+2:14 "how many american server you have already hacked" - "I don't count them I'm sorry"

+
+
+ + + + +
+

2.1.14. tsoding: Parsing Java Bytecode with Python

+
+

+0:05 look how TINY Java code is

+0:06 nonono all the opensource are controlled by coporation actually,

+ they create a text editor plugin and sell the free code for $10 a month

+
+
+ +
+ +
+

2.2. Cyber Security

+
+
+ + + +
+

2.2.4. Chris Titus Tech: The Biggest Linux Security Mistakes

+
+

+"Security is a journey, not a destination!"

+
+
+ + + + +
+ + + +
+

2.4. Minecraft

+
+
+ + +
+

2.4.3. Tantan: MC + Fez

+
+ +
+ +
+

2.5. ?

+
+
+ + +
+

2.5.3. Why I'm Suing YouTube.

+
+
+

+a story about YouTube’s intentional efforts to undermine the United States of America in collusion with the Russian government.

+It’s also a story about copyright infringement

+— and YouTube’s willful blindness to bad actors who openly admit

+to filing patently fraudulent DMCA counter-notifications to avoid the termination of their accounts.

+
+
+
+ +
+

2.5.5. Beating 5 Scam Arcade Games with Science

+
+

+街机科学家~

+
+
+ + +
+
+ +
+

3. r

+
+
+
+

3.1. unixporn

+
+
+ +
+

3.1.2. pocket pc

+
+
+

3.1.3. win7 :)

+
+ +
+ +
+ +
+

4. Other

+
+
+
+

4.1. Python-5

+
+

+from tsoding's first porth video, (he is using debian, 37:00 copilot xd)

+
+
+
+

4.2. cat -v

+
+

+not only harmful stuff <3

+
+
+
+

4.3. fediverse wiki

+
+

+The Fediverse is a giant Network of social media platforms

+
+
+

4.3.1. there's another thing webmention which I found from Xe's blog

+
+
+ +
+

4.5. Adequacy: Is Your Son a Computer Hacker?

+
+
+

+BSD, Lunix, Debian and Mandrake are all versions of an illegal hacker operation system,

+invented by a Soviet computer hacker named Linyos Torovoltos.

+
+
+
+
+

4.6. GNU C Language Intro and Reference Manual

+
+
+

+To any NSA and FBI agents reading my email: please consider

+whether defending the US Constitution against all enemies,

+foreign or domestic, requires you to follow Snowden's example.

+
+
+
+ +
+

4.8. oxygenos

+
+

+his final year project in high school, 2008

+a webos using oxygen visual design

+
+
+ +
+

4.10. Phrack Magazine

+
+

+worth reading

+
+ + +
+
+

4.11. gccemacs

+
+
+
+

4.11.1. slides_els2020

+
+
+ + + +
+]]>
+ https://dongdigua.github.io/internet_collections.html + https://dongdigua.github.io/internet_collections.html + 日, 05 6月 2022 08:00:00 +0800 +
+
+
diff --git a/gentoo_llvm_targets.html b/gentoo_llvm_targets.html index 922d1d7..91dac11 100644 --- a/gentoo_llvm_targets.html +++ b/gentoo_llvm_targets.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Gentoo LLVM_TARGETS not Working? @@ -272,9 +272,10 @@ I excluded all targets exept for X86, but still 3 left: AMDGPU, BPF, NVPTX
-

Date: 2022-10-29 六 00:00

+

Author: dongdigua

-

Created: 2022-10-30 日 16:08

+

Date: 2022-10-29 六 00:00

+

Build: 2022-11-18 五 13:58

diff --git a/ideas.html b/ideas.html new file mode 100644 index 0000000..2ffab04 --- /dev/null +++ b/ideas.html @@ -0,0 +1,286 @@ + + + + + + + +画大饼 + + + + + + +
+ UP + | + HOME +
+

画大饼

+ +

+here are some of my ideas, most of which are unachieveable now
+you can steal them, but you'd better let me know and add a reference
+

+ + + +
+

2. Rust wasm 制作 schemetic/litemetica 渲染器

+
+
+ +
+
+

3. 用 sway 实现用窗口玩游戏(×)用游戏玩窗口(√)的效果

+
+
+

4. 不同 Linux 内核(xanmod, clear)玩 MC 性能对比

+
+
+

5. emacs mode: eww show console.log() in Message

+
+
+

6. win7WM

+
+

+just a dream
+

+
+
+
+

7. join DN42

+
+
+

8. 一个能使用 APP(key) 功能的 bili 客户端

+
+

+用于点踩和查看IP属地
+

+
+
+
+

9. 用 eww 实现苹果的 "灵动岛"?

+
+

+呵呵, 在B站看到这样的基本就是壁纸软件的广告
+

+
+
+
+
+ +

Author: dongdigua

+

Date: 2022-09-09 五 00:00

+

Build: 2022-11-18 五 13:58

+
+ + diff --git a/index.html b/index.html index 5fcb606..931f939 100644 --- a/index.html +++ b/index.html @@ -42,7 +42,7 @@ "GeoGebra" "Minecraft redstone survival" "anime" - (Lost (In (Superfluous (Parentheses)))))))) + (Lost (In (Suspicious (Parentheses))))))))
random-quote: diff --git a/internet_collections.html b/internet_collections.html index 7e1da4d..ccc7c83 100644 --- a/internet_collections.html +++ b/internet_collections.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Internet Collections @@ -460,7 +460,7 @@ Lisp-1 的变量命名空间和函数命名空间是统一的,而在 Lisp-2
-

1.27. Alynx Zhou   linux rssable

+

1.27. TODO Alynx Zhou   linux rssable

东西很多
@@ -562,6 +562,9 @@ from ruanyifeng

  • OpenSSL Security Advisory
  • +

    1.37. 蓝天

    @@ -672,7 +675,10 @@ The Aha Moments

    1.42.1. 用三段 140 字符以内的代码生成一张 1024×1024 的图片

    +
    @@ -1257,7 +1263,7 @@ worth reading

    Author: dongdigua

    Date: 2022-06-05 日 00:00

    -

    Build: 2022-11-06 日 16:34

    +

    Build: 2022-11-18 五 13:58

    diff --git a/js/random-quote.js b/js/random-quote.js index 0a626f2..2eaad3b 100644 --- a/js/random-quote.js +++ b/js/random-quote.js @@ -4,22 +4,23 @@ var data = [ "绿水青山就是金山银山", "为中华之崛起而读书!", "减轻义务教育阶段学生作业负担、减轻校外培训负担", + "实践是检验真理的唯一标准", "谁甘人生黯淡无光 谁愿做叶不争艳芳", "Fly high my friend, until we meet again", - "HsCnPtPYZnSr", + "HsCnPtPSrYZn", "李无用地瓜碱水, 硒钫铕𬭶鿔合金", "There will be an answer: Let It Be", + "Take a deep breath", "The internet is FULL, go away!", - "May the --force be with you", + "May the --force be with you", "Software that sucks less", "whoami: No system is safe", "DROP it at lttstore.com", "Can’t 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", - "Automagically", "NOT VANILLA!", "Big Brother is Watching You", "消除恐惧的最好办法就是面对恐惧,\n坚持, 才是胜利, 加油, 奥利给!", @@ -28,6 +29,8 @@ var data = [ "treat C compiler like your girlfriend", "衬衫的价格是9磅15便士", "李彦宏: 我想中国人可以更加开放,对隐私问题没有那么敏感。\n如果他们愿意用隐私交换便捷性,很多情况下他们是愿意的。", + "AT&T field", + "I � Unicode", ]; var index = Math.floor((Math.random() * data.length)); diff --git a/matrix.html b/matrix.html index 5b44f8a..a10d0f8 100644 --- a/matrix.html +++ b/matrix.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Matrix chat (clients comparation, proxy setting) @@ -312,9 +312,10 @@ var: plz-curl-default-args
    -

    Date: 2022-09-22 四 00:00

    +

    Author: dongdigua

    -

    Created: 2022-10-30 日 15:12

    +

    Date: 2022-09-22 四 00:00

    +

    Build: 2022-11-18 五 13:58

    diff --git a/moonboos.html b/moonboos.html index a5da001..9997ad9 100644 --- a/moonboos.html +++ b/moonboos.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + 庄主其人 @@ -242,9 +242,10 @@
    -

    Date: 2022-09-11 日 00:00

    +

    Author: dongdigua

    -

    Created: 2022-10-30 日 15:12

    +

    Date: 2022-09-11 日 00:00

    +

    Build: 2022-11-18 五 13:58

    diff --git a/nixos.html b/nixos.html index 30ddada..ae6619c 100644 --- a/nixos.html +++ b/nixos.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Build a Minimal NixOS LiveCD with swaywm @@ -300,9 +300,10 @@ and there're a few tools for visualising disk size:
    -

    Date: 2022-09-17 六 00:00

    +

    Author: dongdigua

    -

    Created: 2022-10-30 日 15:12

    +

    Date: 2022-09-17 六 00:00

    +

    Build: 2022-11-18 五 13:58

    diff --git a/org/ideas.org b/org/ideas.org new file mode 100644 index 0000000..d782015 --- /dev/null +++ b/org/ideas.org @@ -0,0 +1,20 @@ +#+TITLE: 画大饼 +#+DATE: <2022-09-09 五> + +here are some of my ideas, most of which are unachieveable now +you can steal them, but you'd better let me know and add a reference + + +* [[https://dongdigua.github.io/plan_for_my_video_site][对我将来的视频网站的一些畅想]] +* Rust wasm 制作 schemetic/litemetica 渲染器 +** [[https://github.com/misode/vscode-nbt][a vscode extension]] +* 用 sway 实现[[https://www.bilibili.com/video/BV1TE41147gK][用窗口玩游戏(×)用游戏玩窗口(√)]]的效果 +* 不同 Linux 内核(xanmod, clear)玩 MC 性能对比 +* emacs mode: eww show =console.log()= in Message +* win7WM +just a [[https://support.microsoft.com/en-us/windows/windows-7-support-ended-on-january-14-2020-b75d4580-2cc7-895a-2c9c-1466d9a53962][dream]] +* join DN42 +* 一个能使用 APP(key) 功能的 bili 客户端 +用于点踩和查看IP属地 +* 用 eww 实现苹果的 "灵动岛"? +呵呵, 在B站看到这样的基本就是壁纸软件的广告 diff --git a/org/internet_collections.org b/org/internet_collections.org index 47282f2..dfe5cec 100644 --- a/org/internet_collections.org +++ b/org/internet_collections.org @@ -85,7 +85,7 @@ Lisp-1 的变量命名空间和函数命名空间是统一的,而在 Lisp-2 **** [[https://www.functor.me/post/programming/y-combinator][functor.me: 从零开始理解 Y 组合子]] *** [[https://nihil.cc/posts/gnu_c_ext/][GNU C 一些有趣的扩展语法]] *** [[https://nihil.cc/posts/shell-redirect/][特别全面! Shell 中的管道、重定向、进程替换]] -** [[https://sh.alynx.one/][Alynx Zhou]] :linux:rssable: +** TODO [[https://sh.alynx.one/][Alynx Zhou]] :linux:rssable: 东西很多 ** [[https://coredumped.dev/][Core Dumped]] :rust:lowlevel:emacs: VM @@ -112,6 +112,7 @@ from ruanyifeng *** [[https://xeiaso.net/blog/nim-and-tup-2015-06-10][Nim and Tup]] *** [[https://xeiaso.net/blog/openssl-3.x-secvuln-incoming][You should prepare for the OpenSSL 3.x secvuln]] **** [[https://mta.openssl.org/pipermail/openssl-announce/2022-November/000243.html][OpenSSL Security Advisory]] +*** [[https://xeiaso.net/blog/rip-twitter][Goodbye Twitter, Hello Fediverse!]] ** [[https://lantian.pub/][蓝天]] 大佬! *** [[https://lantian.pub/article/chat/how-i-nuked-my-btrfs-partition.lantian/][我把硬盘换到了新电脑上,这是 Btrfs 上的数据发生的变化]] @@ -145,7 +146,8 @@ cat-v-like sidebar style ** [[http://www.matrix67.com/blog/][Matrix67]] :math: The Aha Moments *** [[http://www.matrix67.com/blog/archives/6039][用三段 140 字符以内的代码生成一张 1024×1024 的图片]] -*** [[http://localhost-8080.com/][http://localhost-8080.com]] +*** [[http://www.matrix67.com/blog/archives/7084][16 年后重谈 P 和 NP]] +*** [[http://localhost-8080.com/][❤ localhost-8080]] ** [[https://nyxt.atlas.engineer/article/gopher.org][Nyxt: Why should I care about Gopher?]] :gopher: #+BEGIN_QUOTE By making something a little bit more inaccessible, we are inadvertently putting a filter on what is being posted. diff --git a/org/publish_config.el b/org/publish_config.el index ceaa9e8..e9a4110 100644 --- a/org/publish_config.el +++ b/org/publish_config.el @@ -42,7 +42,6 @@ :base-extension "org" :publishing-directory "./../" :recursive t - :exclude "画大饼.org" :publishing-function org-html-publish-to-html :preserve-breaks t diff --git a/org/recover_udisk.org b/org/recover_udisk.org index 101221c..c13abaa 100644 --- a/org/recover_udisk.org +++ b/org/recover_udisk.org @@ -45,6 +45,8 @@ ** 16~64GiB 0.5 XMR * 后续 +恢复完之后我想瞅瞅那些教学视频, 正常来讲 f34 应该有解码器的, 但是没有 +是不是我连着网给我删了? #+BEGIN_COMMENT 一同学有坏的 32G盘(很早之前坏的), 给我恢复 diff --git a/org/画大饼.org b/org/画大饼.org deleted file mode 100644 index 24ef8c5..0000000 --- a/org/画大饼.org +++ /dev/null @@ -1,10 +0,0 @@ -#+TITLE: 画大饼 - - -* [[https://dongdigua.github.io/plan_for_my_video_site][对我将来的视频网站的一些畅想]] -* Rust wasm 制作 schemetic/litemetica 渲染器 -** [[https://github.com/misode/vscode-nbt][a vscode extension]] -* 用 sway 实现[[https://www.bilibili.com/video/BV1TE41147gK][用窗口玩游戏(×)用游戏玩窗口(√)]]的效果 -* 不同 Linux 内核(xanmod, clear)玩 MC 性能对比 -* emacs mode: eww show =console.log()= in Message -* win7WM diff --git a/posts.md b/posts.md index 3faf95e..b9092c5 100644 --- a/posts.md +++ b/posts.md @@ -23,6 +23,8 @@ any kind of contribution is welcome Big project - [Gopher/Gemini reactions](re.gmi.txt)
    - [Gopher/Gemini collections, a quiet web](gopher_collections.gmi.txt)
    +- [Random Ideas](ideas)
    +画大饼 - [折腾 sway 的一些记录(problem&solution)](wayland)
    if you have some problem with sway, you can probably find solution here - [编辑器操作备忘录](cheatsheet)
    diff --git a/recommend_everforest_theme.html b/recommend_everforest_theme.html index 8d17f1a..21177c2 100644 --- a/recommend_everforest_theme.html +++ b/recommend_everforest_theme.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Recommend EverForest Theme @@ -237,9 +237,10 @@ Everforest is a green based color scheme, it's designed to be warm and soft in o
    -

    Date: 2022-06-27 一 00:00

    +

    Author: dongdigua

    -

    Created: 2022-11-06 日 13:16

    +

    Date: 2022-06-27 一 00:00

    +

    Build: 2022-11-18 五 13:58

    diff --git a/recover_udisk.html b/recover_udisk.html index dbf78e1..f967135 100644 --- a/recover_udisk.html +++ b/recover_udisk.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + 记一次帮老师修U盘 @@ -289,6 +289,10 @@

    后续

    +

    +恢复完之后我想瞅瞅那些教学视频, 正常来讲 f34 应该有解码器的, 但是没有
    +是不是我连着网给我删了?
    +

    @@ -296,7 +300,7 @@

    Author: dongdigua

    Date: 2022-11-13 日 00:00

    -

    Build: 2022-11-13 日 16:53

    +

    Build: 2022-11-18 五 13:58

    diff --git a/wayland.html b/wayland.html index fb99a69..107d46b 100644 --- a/wayland.html +++ b/wayland.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Something About Wayland(swaywm) @@ -402,9 +402,10 @@ awesome config!
    -

    Date: 2022-08-07 日 00:00

    +

    Author: dongdigua

    -

    Created: 2022-11-06 日 12:57

    +

    Date: 2022-08-07 日 00:00

    +

    Build: 2022-11-18 五 13:58

    diff --git a/weird_mglndd.html b/weird_mglndd.html index 9918fdb..55b648a 100644 --- a/weird_mglndd.html +++ b/weird_mglndd.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Something About MGLNDD Scans @@ -270,9 +270,10 @@ the original post is gone
    -

    Date: 2022-08-17 三 00:00

    +

    Author: dongdigua

    -

    Created: 2022-11-06 日 12:57

    +

    Date: 2022-08-17 三 00:00

    +

    Build: 2022-11-18 五 13:58