mirror of
https://github.com/dongdigua/dongdigua.github.io
synced 2024-11-23 19:43:08 +08:00
collections; nanopi_freebsd revise; feed <link>; about
This commit is contained in:
parent
4de72beda6
commit
1dde00adaa
@ -7,6 +7,7 @@
|
|||||||
<meta name=author content="dongdigua's blog">
|
<meta name=author content="dongdigua's blog">
|
||||||
<link rel=license href=https://creativecommons.org/licenses/by/4.0/>
|
<link rel=license href=https://creativecommons.org/licenses/by/4.0/>
|
||||||
<link rel=icon href=favicon.ico>
|
<link rel=icon href=favicon.ico>
|
||||||
|
<link rel=alternate type=application/rss+xml href=https://dongdigua.github.io/feed.xml>
|
||||||
<!-- favicon from my classmate -->
|
<!-- favicon from my classmate -->
|
||||||
<style>
|
<style>
|
||||||
*{scrollbar-color:gray #404040}
|
*{scrollbar-color:gray #404040}
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
- 骑公路车的
|
- 骑公路车的
|
||||||
- Elixir > Rust > Python
|
- Elixir > Rust > Python
|
||||||
- 不是很喜欢扁平化设计
|
- 不是很喜欢扁平化设计
|
||||||
|
- GNOME > KDE
|
||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
@ -189,7 +189,7 @@ funny byte
|
|||||||
Welcome to the darkest dungeon of kernal
|
Welcome to the darkest dungeon of kernal
|
||||||
*** [[https://kernal.eu/posts/linuxfx/][Dumping Linuxfx customers]] :fun:
|
*** [[https://kernal.eu/posts/linuxfx/][Dumping Linuxfx customers]] :fun:
|
||||||
A Windows-like distro including the spyware and activation
|
A Windows-like distro including the spyware and activation
|
||||||
** [[https://vimacs.wehack.space/laptop/][vimacs]]
|
** [[https://vimacs.wehack.space][vimacs]]
|
||||||
Written with Vim and Emacs. A member of Linux Club of Peking University. [[https://beijinglug.club/wiki/doku.php?id=blug-canary-3][blug]] signer
|
Written with Vim and Emacs. A member of Linux Club of Peking University. [[https://beijinglug.club/wiki/doku.php?id=blug-canary-3][blug]] signer
|
||||||
with cat-v-like sidebar style
|
with cat-v-like sidebar style
|
||||||
*** [[https://vimacs.wehack.space/Mail-vs-IM.htm][谈电子邮件和即时通讯]]
|
*** [[https://vimacs.wehack.space/Mail-vs-IM.htm][谈电子邮件和即时通讯]]
|
||||||
@ -198,7 +198,7 @@ with cat-v-like sidebar style
|
|||||||
The Aha Moments
|
The Aha Moments
|
||||||
*** [[http://www.matrix67.com/blog/archives/6039][用三段 140 字符以内的代码生成一张 1024×1024 的图片]] :wow:
|
*** [[http://www.matrix67.com/blog/archives/6039][用三段 140 字符以内的代码生成一张 1024×1024 的图片]] :wow:
|
||||||
*** [[http://localhost-8080.com/][❤ localhost-8080]]
|
*** [[http://localhost-8080.com/][❤ localhost-8080]]
|
||||||
** TODO [[https://www.orangeclk.com][半瓶]]
|
** [[https://www.orangeclk.com][半瓶]]
|
||||||
*** [[https://www.orangeclk.com/2022/08/22/eternal-september-community-locals/][社区本地人与永恒的九月(Eternal September)]]
|
*** [[https://www.orangeclk.com/2022/08/22/eternal-september-community-locals/][社区本地人与永恒的九月(Eternal September)]]
|
||||||
#+BEGIN_QUOTE
|
#+BEGIN_QUOTE
|
||||||
几乎所有大众互联网社区都难逃此宿命。要想避免永恒九月,社区必须要足够克制,有节奏地引导新人加入。
|
几乎所有大众互联网社区都难逃此宿命。要想避免永恒九月,社区必须要足够克制,有节奏地引导新人加入。
|
||||||
@ -243,8 +243,8 @@ int function(void) {
|
|||||||
** [[https://www.nayuki.io][Project Nayuki]]
|
** [[https://www.nayuki.io][Project Nayuki]]
|
||||||
*** [[https://www.nayuki.io/page/a-fundamental-introduction-to-x86-assembly-programming][A fundamental introduction to x86 assembly prorgamming]]
|
*** [[https://www.nayuki.io/page/a-fundamental-introduction-to-x86-assembly-programming][A fundamental introduction to x86 assembly prorgamming]]
|
||||||
*** [[https://www.nayuki.io/page/i-type-in-dvorak][Dvorak FAQ]]
|
*** [[https://www.nayuki.io/page/i-type-in-dvorak][Dvorak FAQ]]
|
||||||
** [[https://bt.ht][bt.ht]]
|
** [[https://btxx.org][bt]]
|
||||||
** TODO [[https://hsingko.pages.dev][hsingko]]
|
** [[https://hsingko.pages.dev][hsingko]]
|
||||||
*** [[https://hsingko.pages.dev/post/2022/06/17/i-am-not-my-brain/][我不等于我的大脑]]
|
*** [[https://hsingko.pages.dev/post/2022/06/17/i-am-not-my-brain/][我不等于我的大脑]]
|
||||||
*** [[https://hsingko.pages.dev/post/2022/04/27/why-blog/][写博客至今的小结]]
|
*** [[https://hsingko.pages.dev/post/2022/04/27/why-blog/][写博客至今的小结]]
|
||||||
** [[http://ewontfix.com][EWONTFIX - a blog of bugs]]
|
** [[http://ewontfix.com][EWONTFIX - a blog of bugs]]
|
||||||
@ -303,6 +303,8 @@ author of darkman
|
|||||||
** [[https://www.gd1214b.icu][gd1214b]]
|
** [[https://www.gd1214b.icu][gd1214b]]
|
||||||
><
|
><
|
||||||
** [[https://soha.moe][海上的宫殿]]
|
** [[https://soha.moe][海上的宫殿]]
|
||||||
|
** [[https://breq.dev][breq.dev]]
|
||||||
|
*** [[https://breq.dev/projects/eightyeightthirtyone][eightyeightthirty.one - A snapshot of the social graph of 88x31 badges]]
|
||||||
|
|
||||||
# LABLE
|
# LABLE
|
||||||
|
|
||||||
@ -563,6 +565,7 @@ When I was trying to download this video, I found that youtube-dl was broken!
|
|||||||
*** [[https://youtu.be/x_QmvZRS85U][How To Reply To Negative Comments (90s Tutorial)]]
|
*** [[https://youtu.be/x_QmvZRS85U][How To Reply To Negative Comments (90s Tutorial)]]
|
||||||
*** [[https://youtu.be/-b-BQZi7MvI][Silicon carbide / SiC used to emit photons (homemade LED)]]
|
*** [[https://youtu.be/-b-BQZi7MvI][Silicon carbide / SiC used to emit photons (homemade LED)]]
|
||||||
*** [[https://youtu.be/vuvckBQ1bME][How To Make A CPU]]
|
*** [[https://youtu.be/vuvckBQ1bME][How To Make A CPU]]
|
||||||
|
*** TODO [[https://youtu.be/oNXzMBA9VU4][Windows XP Installation Music]]
|
||||||
|
|
||||||
* r
|
* r
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
@ -602,11 +605,11 @@ Huwawei NB!
|
|||||||
** [[https://lore.kernel.org/lkml/63efd7ab.170a0220.3442b.6609@mx.google.com/][Linus: If you cannot explain a merge, then JUST DON'T DO IT]]
|
** [[https://lore.kernel.org/lkml/63efd7ab.170a0220.3442b.6609@mx.google.com/][Linus: If you cannot explain a merge, then JUST DON'T DO IT]]
|
||||||
** [[https://lists.gnu.org/archive/html/emacs-devel/2023-01/msg00425.html][Re: Consideration for Rust contributions in Emacs]]
|
** [[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
|
from emacs-china, about multi-thread
|
||||||
** [[https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/KJMMAZFTP2MPKWKFZCYUROZFJ44BNVB5/][Leap Replacement - Results from recent contributor survey]]
|
|
||||||
** [[https://lists.debian.org/debian-riscv/2023/07/msg00053.html][debian: riscv64 is now an official architecture]]
|
** [[https://lists.debian.org/debian-riscv/2023/07/msg00053.html][debian: riscv64 is now an official architecture]]
|
||||||
** [[https://lore.kernel.org/lkml/CA+55aFxtD2VYW2R0JwjFkZkvzQzcN7qK3m6ReR+BBXtfyDHx7g@mail.gmail.com/][Re: [GIT] Networking (Linus used Fedora)]]
|
** [[https://lore.kernel.org/lkml/CA+55aFxtD2VYW2R0JwjFkZkvzQzcN7qK3m6ReR+BBXtfyDHx7g@mail.gmail.com/][Re: [GIT] Networking (Linus used Fedora)]]
|
||||||
** [[https://lore.kernel.org/all/20221130082313.3241517-1-tj@kernel.org/][[PATCHSET RFC] sched: Implement BPF extensible scheduler class]]
|
** [[https://lore.kernel.org/all/20221130082313.3241517-1-tj@kernel.org/][[PATCHSET RFC] sched: Implement BPF extensible scheduler class]]
|
||||||
** TODO [[https://lists.suckless.org/dev/1409/23497.html][[suckless-dev] [RFC] Design of a vim like text editor]]
|
** [[https://lists.suckless.org/dev/1409/23497.html][[suckless-dev] [RFC] Design of a vim like text editor]]
|
||||||
|
** [[https://www.openwall.com/lists/oss-security/2024/03/29/4][oss-security - backdoor in upstream xz/liblzma leading to ssh server compromise]]
|
||||||
|
|
||||||
* Other
|
* Other
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
- 带上手套防止腐蚀, 用螺丝刀和弯头镊子 (文具盒里随手使用) 撬开外壳
|
- 带上手套防止腐蚀, 用螺丝刀和弯头镊子 (文具盒里随手使用) 撬开外壳
|
||||||
- 缝合了一个 OpenBSD 镜像, 用 Arduino Uno 当串口连接 UART, 输出毫无意义的字符
|
- 缝合了一个 OpenBSD 镜像, 用 Arduino Uno 当串口连接 UART, 输出毫无意义的字符
|
||||||
- 运行 OpwnWRT, 依旧输出垃圾
|
- 运行 OpwnWRT, 依旧输出垃圾
|
||||||
- 运行 Armbian, 依旧输出垃圾, 弹了一会琴后开始思考是不是串口出错了
|
- 运行 Armbian, 依旧输出垃圾, 想到是不是串口出错了
|
||||||
- 翻箱倒柜找到一个 USB Mini-B 线用于 山寨版 Arduino Nano (CH340 芯片)
|
- 翻箱倒柜找到一个 USB Mini-B 线用于 山寨版 Arduino Nano (CH340 芯片)
|
||||||
- 重新烧写 OpenBSD 镜像, 成功启动, 但键盘无法输入, 无法安装
|
- 重新烧写 OpenBSD 镜像, 成功启动, 但键盘无法输入, 无法安装
|
||||||
- 缝合 FreeBSD 镜像, 成功启动, ssh 登录 (user/passwd:freebsd), 耶!
|
- 缝合 FreeBSD 镜像, 成功启动, ssh 登录 (user/passwd:freebsd), 耶!
|
||||||
@ -33,15 +33,11 @@ doas dd if=root.img of=/dev/sda
|
|||||||
|
|
||||||
* 开始
|
* 开始
|
||||||
- 中国用户第一件事先换源: [[https://mirror.bjtu.edu.cn/help/freebsd/][bjtu FreeBSD 镜像]]
|
- 中国用户第一件事先换源: [[https://mirror.bjtu.edu.cn/help/freebsd/][bjtu FreeBSD 镜像]]
|
||||||
- 然后像之前 [[./whatif_openbsd.org][OpenBSD]] 一样还是装机必备软件, 因为是服务器所以没几个
|
|
||||||
#+BEGIN_SRC sh
|
|
||||||
pkg install neofetch oksh sudo git fzf frp
|
|
||||||
#+END_SRC
|
|
||||||
- 改密码, =/usr/local/etc/sudoers=
|
- 改密码, =/usr/local/etc/sudoers=
|
||||||
不用 doas 因为 persist 选项只在 OpenBSD 上可用
|
不用 doas 因为 persist 选项只在 OpenBSD 上可用
|
||||||
- 主机名, 路由器配置 DHCP 静态 IP, 本机 =/etc/hosts= 加入主机名解析
|
- 主机名, 路由器配置 DHCP 静态 IP, 本机 =/etc/hosts= 加入主机名解析
|
||||||
#+BEGIN_SRC sh
|
#+BEGIN_SRC sh
|
||||||
hostname freebsd-r2s
|
hostname r2s
|
||||||
vi /etc/rc.conf
|
vi /etc/rc.conf
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
- 改 shell 配置, [[https://github.com/dongdigua/configs/blob/main/.profile.in][基本还是之前那样]]
|
- 改 shell 配置, [[https://github.com/dongdigua/configs/blob/main/.profile.in][基本还是之前那样]]
|
||||||
@ -113,10 +109,6 @@ sendmail_msp_queue_enable="NO"
|
|||||||
chflags -R noschg file/folder
|
chflags -R noschg file/folder
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* microbin
|
|
||||||
足够 micro, 不需要 jail
|
|
||||||
终于[[https://cgit.freebsd.org/ports/commit/?id=3083ea7074cf7d5dce8ad64ea6779e824c28bde0][更新 2.0]] 了, 虽然没到 quarterly, 但可以 =pkg add <url>= 安装
|
|
||||||
|
|
||||||
* Gemini
|
* Gemini
|
||||||
曾经我的 Gemini 是用 Docker 跑在朋友的服务器上, 但是一出问题调试很费劲.
|
曾经我的 Gemini 是用 Docker 跑在朋友的服务器上, 但是一出问题调试很费劲.
|
||||||
现在有个稳定的服务器, 就可以本地跑, 省去许多麻烦.
|
现在有个稳定的服务器, 就可以本地跑, 省去许多麻烦.
|
||||||
@ -310,7 +302,7 @@ aur.archlinux.org #07b
|
|||||||
"</style>"
|
"</style>"
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
我甚至还可以把 IPv6, SSL, MAIL, STREAM 的功能通通去掉, 因为我的环境用不到.
|
我甚至还可以把 SSL, MAIL, STREAM 的功能通通去掉, 因为我的环境用不到.
|
||||||
|
|
||||||
* ZFS?
|
* ZFS?
|
||||||
之前我只是在唯一的U口上插了一个 32G U盘, 但随着我在服务器上放的东西越来越多并越来越依赖它,
|
之前我只是在唯一的U口上插了一个 32G U盘, 但随着我在服务器上放的东西越来越多并越来越依赖它,
|
||||||
|
Loading…
Reference in New Issue
Block a user