不确定是不是真的有用,但还是记下来备忘
毕竟自己和父母都会老去,老年痴呆症离我们并不是很遥远。
读《最初的爱,最后的故事》时读到:
在老年痴呆症的早期,特别是对于素食主义者,检查他们血液中的维生素B12的水平,若发现大幅低于正常范围, 注射维生素B12看看效果。若有效果可适当加大剂量并定期补充维生素B12,有病例从痴呆状态复原,智力恢复正常,又健康的活了好几年。
毕竟自己和父母都会老去,老年痴呆症离我们并不是很遥远。
读《最初的爱,最后的故事》时读到:
在老年痴呆症的早期,特别是对于素食主义者,检查他们血液中的维生素B12的水平,若发现大幅低于正常范围, 注射维生素B12看看效果。若有效果可适当加大剂量并定期补充维生素B12,有病例从痴呆状态复原,智力恢复正常,又健康的活了好几年。
This is because Debian 11 with Gnome does not ship with the packages to display tray icons. To install and enable the correct packages to display tray icons, run the following command:
sudo apt install gnome-shell-extension-appindicator
Then either reboot or log out and back in to Gnome, and run the following command:
gnome-extensions enable [email protected]
I managed to set up debian 11 on a Toshiba Chromebook2, model CB35-B3340 and a Dell Chromebook 11 3120 P22T00 WIFI/Sound/HDMI all work well, which satisfies me.
Firstly, switch Chromebook into developer mode
Visit MrChromebox
Boot from the usb stick and setup the minimal system
Boot from the chromebook into debian without GUI, without network
Plug a usb realteck 8139 ethernet card and so I get internet connection:
/etc/apt/sources.list
file: deb http://mirror.fsmg.org.nz/debian bullseye main contrib non-free
apt install firmware-iwlwifi, firmware-intel-sound
apt install gnome-core (wifi works from now)
plug off the usb ethernet card and reboot
Other settings
sudo apt clean
vim /etc/systemd/journald.conf
and uncomment the SystemMaxUser=50M
line, and then systemctl restart systemd-journald
I recently signed a new broadband contract with One NZ and received a HUAWEI DN8245X6-10 wifi router. This new router offers WIFI6 connection, which is faster than the Vodafone UltraHub. Unfortunately, I was unable to get port forwarding to work on this router, which was quite frustrating. Even One NZ's customer support couldn't assist me, as they admitted to not having training on port forwarding support. However, they did provide me with some useful information - One NZ doesn't block any ports, and the old Vodafone Ultrahub can also support the cable modem. This gave me some hope. I decided to use the Vodafone Ultrahub as the main router and DN8245 as a secondary WIFI router. After spending a few hours on it this afternoon, I finally made it work. Here are the key steps.
Connect the Ultrahub's WAN port to the cable modem. I didn't change any settings; it simply works. I was happy to find that the port map settings work with this new HFC broadband as well!
Connect the DN8245X6-10's WAN port to one of the LAN ports of the Ultrahub.
Go to http://192.168.1.1/ and log in to the router using "admin" as the username and the password printed on the router.
Go to Advanced => Wan.
Go to Route => IPV4 default route. (I spent at two hours before I found this step is critical)
And, that's all! BTW, don't waste your time to try to set a bridge wan. It simply doesn't work:cannot get an IP from master router for unknown reason.
这个博客使用了 Chyrp-lite 项目,当初之所以选择它,一方面觉得看上去还行,另一方面是因为它是 PHP 写的,而我曾经是一个老PHP程序员,这样万一遇到点什么小毛病可以自己改。我最近知道了一种新字体:汇文明朝体。怎么说呢,这个字体在八十年代相当流行。我那个时候读过的书,多是这种这种印刷体。不知道什么人把它搬到了互联网上,我先是把它用到了我最喜欢的读书app 多看阅读上,今天又琢磨把它移植到我的博客上。闲话少绪,说干就干, 在ChatGPT的帮助之下,把字体转成woff2格式,再改一个CSS文件,不到半小时就整好了。
--- a/themes/blossom/stylesheets/all.css
+++ b/themes/blossom/stylesheets/all.css
@@ -1,8 +1,16 @@
+@font-face {
+ font-family: 'Huiwen Mingchao font';
+ src: url('../../../fonts/汇文明朝体.woff2') format('woff');
+ font-weight: normal;
+ font-style: normal;
+ unicode-range: U+4E00-9FFF;
+}
@font-face {
font-family: 'Open Sans webfont';
src: url('../../../fonts/OpenSans-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
+ unicode-range: U+0020-007E;
}
@font-face {
font-family: 'Open Sans webfont';
@@ -58,8 +66,8 @@ html[lang="he"] {
background-color: #208448;
}
body {
- font-family: "Open Sans webfont", sans-serif;
- font-size: 1rem;
+ font-family: "Huiwen Mingchao font", "Open Sans webfont", sans-serif;
+ font-size: 1.2rem;
color: #1f1f23;
line-height: 1.5;
background-color: #f7f5ed;