From 9f34ea0d81d2fc8f069f9d6a0dfaea99fafc191d Mon Sep 17 00:00:00 2001 From: dongdigua Date: Sun, 30 Oct 2022 15:09:37 +0800 Subject: [PATCH] up link to posts list, update cheatsheet&llvm --- about_showing_ip.html | 6 ++-- anaconda_kickstarts.html | 6 ++-- binary_exploit.html | 6 ++-- cheatsheet.html | 14 +++++---- gentoo_llvm_targets.html | 16 ++++------- internet_collections.html | 50 ++++++++++++++++----------------- matrix.html | 6 ++-- moonboos.html | 6 ++-- nixos.html | 6 ++-- org/Makefile | 7 ++--- org/cheatsheet.org | 4 ++- org/gentoo_llvm_targets.org | 8 ++---- org/internet_collections.org | 8 +++--- org/publish_config.el | 2 +- recommend_everforest_theme.html | 6 ++-- wayland.html | 14 ++++----- weird_mglndd.html | 6 ++-- 17 files changed, 83 insertions(+), 88 deletions(-) diff --git a/about_showing_ip.html b/about_showing_ip.html index 500a5b8..3a94e8c 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 属地 @@ -197,7 +197,7 @@
- UP + UP | HOME
@@ -276,7 +276,7 @@ B口口口口( ), 口口口口( ).

Date: 2022-06-18 六 00:00

Author: dongdigua

-

Created: 2022-10-23 日 13:20

+

Created: 2022-10-30 日 15:12

diff --git a/anaconda_kickstarts.html b/anaconda_kickstarts.html index 41a81ff..afc84e1 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 不同配置/变体都默认安装了什么软件(组) @@ -198,7 +198,7 @@
@@ -531,7 +531,7 @@ Fedora 分不同的变体, 常见的是 Server 和 Workstation

Date: 2022-09-29 四 00:00

Author: dongdigua

-

Created: 2022-10-23 日 13:20

+

Created: 2022-10-30 日 15:12

diff --git a/binary_exploit.html b/binary_exploit.html index 829c013..d08d0c8 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 @@ -197,7 +197,7 @@
@@ -391,7 +391,7 @@ iex(2)> Base

Date: 2022-06-29 三 00:00

Author: dongdigua

-

Created: 2022-10-23 日 13:20

+

Created: 2022-10-30 日 15:12

diff --git a/cheatsheet.html b/cheatsheet.html index 4a2c974..ca69648 100644 --- a/cheatsheet.html +++ b/cheatsheet.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Editor Cheatsheet @@ -197,7 +197,7 @@
@@ -217,7 +217,7 @@
  • 2. EMACS @@ -446,7 +446,7 @@
    -

    2.1. org-mode

    +

    2.1. org

    @@ -489,6 +489,10 @@
    + +

    +Bold italic underline strikethrough code verbatim
    +

    @@ -677,7 +681,7 @@ git log --color --graph --decorate -M --pretty=oneline --abbrev-commit -M

    Date: 2022-06-13 一 00:00

    Author: dongdigua

    -

    Created: 2022-10-23 日 13:20

    +

    Created: 2022-10-30 日 16:08

    diff --git a/gentoo_llvm_targets.html b/gentoo_llvm_targets.html index 6db2148..922d1d7 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? @@ -197,16 +197,14 @@

    Gentoo LLVM_TARGETS not Working?

    -Recently, I would like to test switching from gcc to clang on my Gentoo VM.
    -Because if so, I can install Rust and Zig from source
    -without worrying about adding the HUGE clang dependency that won't be used by other packages.
    -Later I will remove gcc :)
    +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

    @@ -270,17 +268,13 @@ I excluded all targets exept for X86, but still 3 left: AMDGPU, BPF, NVPTX
    (-SPIRV) -Sparc -SystemZ -VE -WebAssembly -XCore" 241 KiB
    - -

    -in the end, Gentoo cheatsheet and Gentoo Wiki: Clang could be useful.
    -

  • Date: 2022-10-29 六 00:00

    Author: dongdigua

    -

    Created: 2022-10-30 日 14:16

    +

    Created: 2022-10-30 日 16:08

    diff --git a/internet_collections.html b/internet_collections.html index 57c3d99..ea190ea 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 @@ -197,7 +197,7 @@
    @@ -908,29 +908,18 @@ plan9

    2.1.4. tsoding helloworld in c

    -

    2.1.8. fireship bitcoin

    +

    2.1.8. tsoding irc client in ocaml

    -大概是我见过最好的讲区块链的视频了, 除了…JS 啊啊啊
    -

    -
    -
    - -
    -

    2.1.10. 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
    @@ -941,11 +930,11 @@ plan9

    @@ -1246,7 +1246,7 @@ worth reading

    Date: 2022-06-05 日 00:00

    Author: dongdigua

    -

    Created: 2022-10-29 六 20:10

    +

    Created: 2022-10-30 日 16:08

    diff --git a/matrix.html b/matrix.html index ca90be0..5b44f8a 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) @@ -198,7 +198,7 @@
    - UP + UP | HOME
    @@ -314,7 +314,7 @@ var: plz-curl-default-args

    Date: 2022-09-22 四 00:00

    Author: dongdigua

    -

    Created: 2022-10-23 日 13:20

    +

    Created: 2022-10-30 日 15:12

    diff --git a/moonboos.html b/moonboos.html index 824f2f8..a5da001 100644 --- a/moonboos.html +++ b/moonboos.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + 庄主其人 @@ -197,7 +197,7 @@
    @@ -244,7 +244,7 @@

    Date: 2022-09-11 日 00:00

    Author: dongdigua

    -

    Created: 2022-10-23 日 13:20

    +

    Created: 2022-10-30 日 15:12

    diff --git a/nixos.html b/nixos.html index ee1315e..30ddada 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 @@ -197,7 +197,7 @@
    @@ -302,7 +302,7 @@ and there're a few tools for visualising disk size:

    Date: 2022-09-17 六 00:00

    Author: dongdigua

    -

    Created: 2022-10-23 日 13:20

    +

    Created: 2022-10-30 日 15:12

    diff --git a/org/Makefile b/org/Makefile index 65c66fe..e4c76c1 100644 --- a/org/Makefile +++ b/org/Makefile @@ -1,7 +1,7 @@ EMACS=emacs ORG_CONFIG_FILE=publish_config.el EMACS_OPTS=--batch --eval "(load-file \"$(ORG_CONFIG_FILE)\")" -f myweb-publish -TARGET=ls ../*.html* | grep -v "index.html" +TARGET=ls ../*.html* | grep -v "index\|xmr.html" all: html @@ -11,7 +11,6 @@ html: @echo "DONE" clean: - rm ./../org_html/*.html rm ~/.org-timestamps/org-pages.cache - $(TARGET) | xargs -I {} echo {} - rm ./../*.xml* + $(TARGET) | xargs -I {} rm {} + rm ../feed.xml* diff --git a/org/cheatsheet.org b/org/cheatsheet.org index b25b589..beefd0b 100644 --- a/org/cheatsheet.org +++ b/org/cheatsheet.org @@ -45,7 +45,7 @@ * EMACS -** org-mode +** org | key | usage | |-------------+-------------------------------| | C-c \vbar | 创建表格 | @@ -54,6 +54,8 @@ | C-c C-l | 编辑链接 | | C-c C-, | org-insert-structure-template | +*Bold* /italic/ _underline_ +strikethrough+ ~code~ =verbatim= + ** normal | key | usage | |---------+---------------------| diff --git a/org/gentoo_llvm_targets.org b/org/gentoo_llvm_targets.org index 4dc7f4a..f9c9387 100644 --- a/org/gentoo_llvm_targets.org +++ b/org/gentoo_llvm_targets.org @@ -2,10 +2,8 @@ #+DATE: <2022-10-29 六> #+OPTIONS: toc:nil -Recently, I would like to test switching from =gcc= to =clang= on my Gentoo VM. -Because if so, I can install =Rust= and =Zig= from source -without worrying about adding the HUGE =clang= dependency that won't be used by other packages. -Later I will remove =gcc= :) +Recently, I would like to test switching from =gcc= to [[https://wiki.gentoo.org/wiki/Clang][clang]] on my Gentoo VM. ++warning: you will be crazy to have too many packages can't be build with clang+ * problem First I want to make [[https://llvm.org][LLVM]] not targeting too many platform, but changing =LLVM_TARGETS= don't work @@ -40,5 +38,3 @@ I excluded all targets exept for X86, but still 3 left: AMDGPU, BPF, NVPTX (-SPIRV) -Sparc -SystemZ -VE -WebAssembly -XCore" 241 KiB #+END_SRC -in the end, [[https://wiki.gentoo.org/wiki/Gentoo_Cheat_Sheet][Gentoo cheatsheet]] and [[https://wiki.gentoo.org/wiki/Clang][Gentoo Wiki: Clang]] could be useful. - diff --git a/org/internet_collections.org b/org/internet_collections.org index 57012ad..0b57993 100644 --- a/org/internet_collections.org +++ b/org/internet_collections.org @@ -230,11 +230,8 @@ plan9 *** [[https://youtu.be/nfF91Z6fqGk][CMD 登录B站]] *** [[https://youtu.be/l0AmlU-4IRM][Rust aes加密(legacy)]] *** [[https://youtu.be/hmMtQe_mYr0][tsoding helloworld in c]] -*** [[https://www.youtube.com/playlist?list=PLSiFUSQSRYAOFwfP-aMzXJlWKVyIuWfPU][stack-based virtual machine(6 episode)]] and [[https://youtu.be/cfPDeso3XwI][register-based(13 episode)]] *** [[https://www.youtube.com/playlist?list=PLpM-Dvs8t0VY73ytTCQqgvgCWttV3m8LM][tsoding virtual machine in C]] , [[https://dongdigua.github.io/tsoding_bm][some notes]] *** [[https://youtu.be/Fq9chEBQMFE][what if I try to malloc too much memory]] -*** [[https://youtu.be/qF7dkrce-mQ][fireship bitcoin]] -大概是我见过最好的讲区块链的视频了, 除了...JS 啊啊啊 *** [[https://youtu.be/zJ-8DZhzBEE][what your favourite pl says about you]] *** [[https://youtu.be/ziXgdkTfmPU][tsoding irc client in ocaml]] 0:50 List.fold_left faster than fold_right, but haskell is opposite @@ -250,6 +247,9 @@ plan9 *** [[https://youtu.be/UNkHditYGls][I coded a fractal on an Apple II+]] *** [[https://youtu.be/p8u_k2LIZyo][Fast Inverse Square Root — A Quake III Algorithm]] =0x5f3759df= +*** [[https://youtu.be/67FmRyv8jTM][tsoding: Parsing Java Bytecode with Python]] +0:05 look how TINY Java code is +**** [[https://youtu.be/anOidUQcv1w][tsoding: I made JVM in Python just to run "Hello, World"]] ** Cyber Security *** [[https://youtu.be/x_R1DeZxGc0][Discover Vulnerabilities in Intel CPUs!]] @@ -291,7 +291,7 @@ I agree **** [[https://youtu.be/2CnAzLB0OjU][DT: As The Web Grows Bigger, It Seems Smaller]] *** [[https://youtu.be/Rsxao9ptdmI][Beating 5 Scam Arcade Games with Science]] 街机科学家~ -*** TODO [[https://youtube.com/playlist?list=PLgE-9Sxs2IBVgJkY-1ZMj0tIFxsJ-vOkv][BBS The Documentary(8)]] +*** [[https://youtube.com/playlist?list=PLgE-9Sxs2IBVgJkY-1ZMj0tIFxsJ-vOkv][BBS The Documentary(8)]] * r ** [[https://www.reddit.com/r/unixporn/][unixporn]] diff --git a/org/publish_config.el b/org/publish_config.el index 13dd5f7..0ac1eb1 100644 --- a/org/publish_config.el +++ b/org/publish_config.el @@ -42,7 +42,7 @@ ;; https://github.com/rgb-24bit/org-html-theme-list org-joshua :html-head "" :html-link-home "https://dongdigua.github.io" - :html-link-up "./../" + :html-link-up "./../posts" ))) ;; from .emacs diff --git a/recommend_everforest_theme.html b/recommend_everforest_theme.html index d4b4dbb..aaf565d 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 @@ -197,7 +197,7 @@
    @@ -239,7 +239,7 @@ 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-10-23 日 13:20

    +

    Created: 2022-10-30 日 15:12

    diff --git a/wayland.html b/wayland.html index d21ce0e..abcfe51 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) @@ -197,7 +197,7 @@
    @@ -344,16 +344,16 @@ I LIKE THIS FEATURE!!! WHY REMOVE IT???

    2.5. prtsc is Print

    @@ -407,7 +407,7 @@ awesome config!

    Date: 2022-08-07 日 00:00

    Author: dongdigua

    -

    Created: 2022-10-23 日 13:20

    +

    Created: 2022-10-30 日 15:12

    diff --git a/weird_mglndd.html b/weird_mglndd.html index 919eb43..649c870 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 @@ -197,7 +197,7 @@
    @@ -271,7 +271,7 @@ the original post is gone

    Date: 2022-08-17 三 00:00

    Author: dongdigua

    -

    Created: 2022-10-23 日 13:20

    +

    Created: 2022-10-30 日 15:12