docker-镜像使用-ghcr.io

直接拉取镜像速度很慢,网上看到一个加速方法很好用,特此记录一下。
ghcr.io
替换为
ghcr.nju.edu.cn

如比:
docker run -p 3000:3000 -v ./data:/app/data ghcr.io/c4illin/convertx
改为
docker run -p 3000:3000 -v ./data:/app/data ghcr.nju.edu.cn/c4illin/convertx
———————————–
优化测试,本地使用,免登录,不显示历史, 允许http下载,
docker run -p 3000:3000 -e HTTP_ALLOWED=true -e HIDE_HISTORY=true -e ALLOW_UNAUTHENTICATED=true –name=convertx ghcr.nju.edu.cn/c4illin/convertx
———————————–
convertx,转换文件格式用,可以转doc,没有excel,emmmm.。
———————————–

🦊 Elysia is running at http://localhost:3000
Debian GNU/Linux 13 (trixie)
resvg v0.45.1
pandoc 3.1.11.1
ImageMagick 7.1.1-43 Q16 x86_64 22550 https://imagemagick.org
djxl v0.11.1 [AVX2,SSE4,SSE2]
XeTeX 3.141592653-2.6-0.999996 (TeX Live 2025/dev/Debian)
potrace 1.16. Copyright (C) 2001-2019 Peter Selinger.
assimp Version 5.4 -debug -shared -st (GIT commit 0)
libheif v1.19.8
Bun v1.2.2
msgconvert (libemail-outlook-message-perl) is not installed
GraphicsMagick 1.4 snapshot-20250331 Q16 http://www.GraphicsMagick.org/
dasel version v2.8.1-1
vips-8.16.1
ffmpeg version 7.1.3-0+deb13u1 Copyright (c) 2000-2025 the FFmpeg developers
Inkscape 1.4 (e7c3feb100, 2024-10-09)
ebook-convert (calibre 8.5.0)
LibreOffice 25.2.3.2 520(Build:2)
jobId set to: 1
jobId set to: 2

mysql-语句-替换字符V和非a-z0-9字符为_

SELECT t.chengxu,
SUBSTRING_INDEX(
-- REGEXP_REPLACE(UPPER(chengxu), '[V\.,,-\s]', '_'), -- 1. 将 V 替换为 _
REGEXP_REPLACE(UPPER(chengxu), 'V|[^a-zA-Z0-9]', '_'), -- 1. 将 V 替换为 _
'_', -- 2. 以 _ 为分隔符
1 -- 3. 截取第一个分隔符之前的部分
)
AS CC
FROM detail AS t ORDER BY cc DESC

doh-dns-over-http-howto-使用

https://doh.pub/dns-query?name=baidu.com
https://dns.google/query?name=baidu.com

公共DNS:
223.5.5.5
8.8.8.8
119.29.29.29
180.76.76.76

参考:
https://help.aliyun.com/zh/dns/httpdns-dns-over-https-doh
https://sdns.360.net/dnsPublic.html#course

待完善

https://doh.baidu.com/dns-query?name=baidu.com
https://180.76.76.76/dns-query(百度公共 DNS 节点 IP)
https://dns.alidns.com/dns-query?name=baidu.com
https://223.5.5.5/dns-query
https://223.6.6.6/dns-query
https://doh.360.cn/dns-query?name=baidu.com