org_export_hl mail, emacs jemalloc, collections

This commit is contained in:
dongdigua 2023-06-07 20:28:01 +08:00
parent eff97fedb4
commit 6d76910b4e
3 changed files with 44 additions and 5 deletions

View File

@ -10,9 +10,11 @@
gcc (it's GNU emacs, so...) 参数来源:
- https://zhuanlan.zhihu.com/p/172518559
- https://snoopitek.com/make.conf
#+BEGIN_SRC sh
don't run this in fish, use bash or ksh instead
#+BEGIN_SRC bash
./configure CFLAGS="-march=native -O3 -pipe -fno-math-errno -fgraphite-identity -floop-nest-optimize -fno-semantic-interposition -fno-strict-aliasing -fno-common -fipa-pta -fno-plt" \
LDFLAGS="-Wl,-no-as-needed -ljemalloc -Wl,-as-needed" \
LDFLAGS="-L`jemalloc-config --libdir` -Wl,-rpath,`jemalloc-config --libdir` -ljemalloc `jemalloc-config --libs`" \
--with-x=no \
--with-gpm=no \
--with-pgtk \
@ -21,7 +23,8 @@ gcc (it's GNU emacs, so...) 参数来源:
--with-sqlite3 \
--with-tree-sitter \
--with-webp \
--with-gif
--with-gif \
--with-rsvg
#+END_SRC
@@html:<details>@@

View File

@ -4,6 +4,7 @@
#+TAGS: emacs(m) linux(x) iot(i) plan9(9) BSD(B) PGP(P)
#+TAGS: smth mailinglist
#+OPTIONS: toc:1 ^:{}
#+HTML_HEAD_EXTRA: <link rel="shortcut icon" href=https://static.wikia.nocookie.net/minecraft_gamepedia/images/5/55/Enchanted_Book.gif>
#+TITLE: Internet Collections
#+DATE: <2022-06-05 日>
@ -38,6 +39,7 @@ You can always find something magical on the Internet.
*** [[https://blogs.gnome.org/aday/2023/01/18/gnome-info-collect-what-we-learned/][gnome-info-collect: What we learned]]
*** [[https://ferd.ca/ten-years-of-erlang.html][Ten Years of Erlang]]
*** [[https://prithu.dev/posts/unix-pipeline/][The beauty of Unix pipelines]]
*** [[https://blog.xen0n.name/posts/tinkering/loongarch-faq][非官方但全面的 LoongArch 常见问题解答]]
** [[http://www.paulgraham.com/todo.html][Paul Graham]]
** [[http://www.qiusir.com/][qiusir]] :rssub:
@ -74,6 +76,11 @@ CRAZY!!!!!
**** [[https://jeskin.net/blog/getting-started-with-cosmopolitan-libc][Getting Started with Cosmopolitan Libc]]
** [[http://mindhacks.cn][刘未鹏 | Mind Hacks]] :wow:
*** [[http://mindhacks.cn/2006/10/15/cantor-godel-turing-an-eternal-golden-diagonal/][康托尔、哥德尔、图灵——永恒的金色对角线]]
** [[https://ploum.net][Ploum]]
一个作家对现代互联网的 "彷徨"
#+BEGIN_QUOTE
I like to explore how technology impacts society
#+END_QUOTE
** [[https://petermolnar.net/index.html][Peter 's Homepage]] :rssub:
@ -264,6 +271,10 @@ very beautiful page
*** [[https://feng.si/posts/2019/07/centos-the-last-linux-distro-you-should-ever-consider][CentOS: 永远有多远就离它多远]]
** TODO [[https://drewdevault.com][Drew DeVault's blog]]
the author of sway & sourcehut
*** [[https://drewdevault.com/2020/11/01/What-is-Gemini-anyway.html][What is this Gemini thing anyway, and why am I excited about it?]]
#+BEGIN_SRC shell
openssl s_client -crlf -servername shenjack.top -connect shenjack.top:1965
#+END_SRC
** [[https://www.agwa.name][Andrew Ayer]]
*** [[https://www.agwa.name/blog/post/ssh_signatures][It's Now Possible To Sign Arbitrary Data With Your SSH Keys]]
** [[https://theoryware.net][Theory-of-Everything]]
@ -454,6 +465,7 @@ even caught by police when he was a child
*** [[https://youtu.be/4nG49xTTjIA][The Real Reason Why Negative Times Negative is Positive, Intro to Rings]]
*** [[https://youtu.be/v_HeaeUUOnc][How to Take the Factorial of Any Number]]
*** [[https://youtu.be/NJCiUVGiNyA][Coding a 3D Fractal: Mandelbulb]]
*** [[https://youtu.be/uqwC41RDPyg][Calculus Rhapsody]]
** Minecraft
*** [[https://youtu.be/VKydXD6Lr20][Mojang & Minecraft 开始衰落了吗?]]
@ -506,7 +518,7 @@ When I was trying to download this video, I found that youtube-dl was broken!
*** [[https://www.reddit.com/r/ProgrammerHumor/comments/wsw78u/regex_be_like/][MC enchant: regex be like...]]
*** [[https://www.reddit.com/r/ProgrammerHumor/comments/mr8gqx/new_episode_of_electricianhumor/][New episode of ElectricianHumor]]
* Mail
* Mail/Kernel/BZ
:PROPERTIES:
:CUSTOM_ID: mail
:END:
@ -527,6 +539,7 @@ Huwawei NB!
** [[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
** [[https://lore.kernel.org/all/20230314103316.313e5f61@kernel.org/][We don't feel comfortable accepting patches from or relating to hardware produced by your organization]]
** [[https://bugzilla.redhat.com/show_bug.cgi?id=2208553][xfs metadata corruption after upgrade to 6.3.3 kernel]]
* Other
:PROPERTIES:

View File

@ -1,5 +1,6 @@
#+TITLE: Org Preserve Source Bock HIghlighting when Exporting Non-Interactively
#+DATE: <2023-06-07 三>
#+OPTIONS: \n:nil
I want to talk about a long-confusing problem I have met since I created my first source block in org blog.
@ -39,7 +40,7 @@ Just like Gemini is in the space between gopher and HTTP.
* Gemini
I've long been eager to serve my blog through [[https://gemini.circumlunar.space][Gemini]] protocol.
(The ideal choice is [[gemini://srht.site][srht.site]] gemini hosting, but I don't have available payment mehod now. I'll certainly migrate from github to sourcehut someday)
(The ideal choice is [[gemini://srht.site][srht.site]] gemini hosting, but I don't have available payment mehod now. I'll certainly [[https://ploum.net/2023-02-20-boucle-inspiration.html][migrate from github to sourcehut]] someday)
So I built a docker image and tried to persuade my freind to serve it on his homelab.
Although the blog is served on Gemini, I won't switch my future blog to gemtext like previous .md to .org switch. Only some small words and complaints will be written in plain gemtext, because they don't need to be indexed by the search engine.
@ -53,6 +54,28 @@ I don't want to convert any of my content in other format to .gmi, because any c
As of post index, I've been writing it manually due to mixed content format. So just write a simple [[https://github.com/dongdigua/dongdigua.github.io/blob/main/misc/mdlist2gmi.py][python script]] to convert entries in .md to Gemini links.
* Contribute
So I mailed a patch to [[mailto:emacs-orgmode@gnu.org][emacs-orgmode@gnu.org]], but it need some time to be processed:
#+BEGIN_EXAMPLE
<dongdigua> hello, I sent a patch to emacs-orgmode@gnu.org three hours ago
using outlook, [13:56]
<dongdigua> but didn't appear on https://list.orgmode.org what's wrong?
[13:57]
<yantar92Orgcontr> dongdigua: If it is your first email to Org mailing list,
it will first go through moderators [14:08]
<yantar92Orgcontr> usually takes a few days
<dongdigua> yes it's first
<yantar92Orgcontr> If you look at https://orgmode.org/manual/Feedback.html
[14:09]
<yantar92Orgcontr> "If you are not a member of the mailing list, your mail
will be passed to the list after a moderator has approved it"
<dongdigua> so if I subscribe it, it will be a lot faster? [14:13]
<yantar92Orgcontr> I assume so, but it is too late now. Moderation is one-time
activity. Upon passing it, your email will be whitelisted
[14:14]
<dongdigua> ok, I'll wait, thank you [14:17]
#+END_EXAMPLE
* Outro
This article is entirely written in school.