将blogger备份批量转换为md文件

安装blog2md

apt install git npm
git clone https://github.com/unixetc/blog2md.git
cd blog2md
npm install

使用blog2md转换blogger导出的xml文件

node index.js b bak.xml outmd

处理完成后,所有的md文件将保存在outmd文件夹下。

阅读更多

NekoBoxForAndroid配置Hysteria2

服务器安装Hysteria2

root@bwg:~# bash <(curl -fsSL https://get.hy2.sh/)
Checking for installed version ... not installed
Checking for latest version ... v2.1.1
Downloading hysteria binary: https://github.com/apernet/hysteria/releases/download/app/v2.1.1/hysteria-linux-amd64 ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 13.0M  100 13.0M    0     0  15.4M      0 --:--:-- --:--:-- --:--:-- 36.0M
Installing hysteria executable ... ok
Install /etc/hysteria/config.yaml ... ok
Creating user hysteria ... ok
Install /etc/systemd/system/hysteria-server.service ... ok
Install /etc/systemd/system/[email protected] ... ok

Congratulation! Hysteria 2 has been successfully installed on your server.

What's next?

        + Take a look at the differences between Hysteria 2 and Hysteria 1 at https://hysteria.network/docs/misc/2-vs-1/
        + Check out the quick server config guide at https://hysteria.network/docs/getting-started/Server/
        + Edit server config file at /etc/hysteria/config.yaml
        + Start your hysteria server with systemctl start hysteria-server.service
        + Configure hysteria start on system boot with systemctl enable hysteria-server.service

配置(/etc/hysteria/config.yaml)示例如下:

阅读更多

小米Mix2S安装Mobian

解锁Mix2S

这里下载小米官方解锁工具,解锁Mix2S的bootloader。

下载所需文件

下载SDK Platform-Tools

将下载好的文件解压,路径添加至系统环境变量。

Mobian镜像

下载地址 https://images.mobian.org/sdm845/weekly/

mobian-sdm845-phosh-20231008.tar.xz,下载后解压即可。

阅读更多