diff --git a/.gitignore b/.gitignore index 83190c7..5a9d365 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ *.html *.xml *.gmi.txt +org.css !index.html !xmr.html !404.html diff --git a/css/everforest.css b/css/everforest.css index 33c52d5..2e995cc 100644 --- a/css/everforest.css +++ b/css/everforest.css @@ -1,3 +1,7 @@ +/* + * extracted from index.html + * modified according to https://theoryware.net + */ body{background-color:#2f383e;color:#d3c6aa;font-family:Monaco,Lucida Console,courier new,monospace;font-size:18px;margin:0 auto;max-width:64em} a{color:#7fbbb3;text-decoration:none} a:visited{color:#a7c080} diff --git a/css/org.small.css b/css/org.small.css new file mode 100644 index 0000000..ccef359 --- /dev/null +++ b/css/org.small.css @@ -0,0 +1,98 @@ +/* generic code */ +.org-variable-name { + /* font-lock-variable-name-face */ + color: #3a94c5; +} +.org-preprocessor { + /* font-lock-preprocessor-face */ + color: #f85552; +} +.org-keyword { + /* font-lock-keyword-face */ + color: #f85552; +} +.org-string { + /* font-lock-string-face */ + color: #8da101; +} +.org-type { + /* font-lock-type-face */ + color: #8da101; +} +.org-builtin, .org-elixir-atom { + /* font-lock-builtin-face */ + color: #35a77c; +} +.org-comment, .org-comment-delimiter, .org-doc { + /* font-lock-comment-face */ + color: #829181; + font-style: italic; +} + +/* diff */ +.org-diff-added { + /* diff-added */ + background-color: #eeffee; +} +.org-diff-file-header { + /* diff-file-header */ + background-color: #bfbfbf; + font-weight: bold; +} +.org-diff-function { + /* diff-function */ + background-color: #d9d9d9; +} +.org-diff-header { + /* diff-header */ + background-color: #d9d9d9; +} +.org-diff-hunk-header { + /* diff-hunk-header */ + background-color: #d9d9d9; +} +.org-diff-index { + /* diff-index */ + background-color: #bfbfbf; + font-weight: bold; +} +.org-diff-indicator-added { + /* diff-indicator-added */ + color: #22aa22; + background-color: #eeffee; +} +.org-diff-indicator-changed { + /* diff-indicator-changed */ + color: #aaaa22; +} +.org-diff-indicator-removed { + /* diff-indicator-removed */ + color: #aa2222; + background-color: #ffeeee; +} +.org-diff-refine-added { + /* diff-refine-added */ + background-color: #bbffbb; +} +.org-diff-refine-changed { + /* diff-refine-changed */ + background-color: #ffff55; +} +.org-diff-refine-removed { + /* diff-refine-removed */ + background-color: #ffcccc; +} +.org-diff-removed { + /* diff-removed */ + background-color: #ffeeee; +} + +/* sh */ +.org-sh-escaped-newline, .org-sh-heredoc { + /* sh-escaped-newline */ + color: #8da101; +} +.org-sh-quoted-exec { + /* sh-quoted-exec */ + color: #ff00ff; +} diff --git a/org/mailinglist.org b/org/mailinglist.org index b6ea3df..afa8853 100644 --- a/org/mailinglist.org +++ b/org/mailinglist.org @@ -104,6 +104,7 @@ to 并 cc 是对的, 这样如果这是一个有很多回复的 thread, 不会 :CUSTOM_ID: mailru :END: 换 OpenMbox.net 了, 希望是最后一次换邮件服务商 +(2023.5) 好吧... 也被墙了 ** [[https://www.mail-archive.com/misc@openbsd.org/msg184084.html][Live stick / cd from official sources]] :PROPERTIES: :CUSTOM_ID: livecd diff --git a/org/publish_config.el b/org/publish_config.el index af4cc77..a1395ee 100644 --- a/org/publish_config.el +++ b/org/publish_config.el @@ -1,9 +1,3 @@ -;; this file and Makefile from: -;; https://www.cnblogs.com/banjia/archive/2012/09/29/2708966.html -;; CSDN, 阿里云, 这些垃圾都在未授权盗搬, 结果这个东西有些地方都过时了. 能不能有点创新... - -;; System Crafter's video: https://youtu.be/AfkrzFodoNw - (require 'package) (package-initialize) (when (not package-archive-contents) @@ -50,8 +44,7 @@ :publishing-function org-html-publish-to-html :preserve-breaks t - :org-html-validation-link nil - :html-head "" + :html-head "" ;; :html-head-include-default-style nil :html-link-home "https://dongdigua.github.io" :html-link-up "./../posts" diff --git a/org/whatif_openbsd.org b/org/whatif_openbsd.org index c8704cf..61d35e2 100644 --- a/org/whatif_openbsd.org +++ b/org/whatif_openbsd.org @@ -110,7 +110,7 @@ grub> boot 然后就是安装一堆软件 我没有安装那些 "现代化 UNIX 工具", 比如 htop bat exa zoxide, (ripgrep 除外, 太好用了) 7z 真的好用, 但是我觉得更应该学学标准的 UNIX 压缩解压工具 -#+BEGIN_SRC ksh +#+BEGIN_SRC shell doas pkg_add firefox neovim git pcmanfm noto-cjk # 特别必要的 doas pkg_add ripgrep fzf ncdu neofetch ranger p7zip colortree # 好用的工具 doas pkg_add gmake elixir gnutls # dev