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 6363998..c397601 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