Files
logseq-old/journals/2023_03_18.md
2024-06-17 22:24:52 +08:00

53 lines
1.7 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
- [[相约七年后]]
- chatgpt-web #chatgpt
- 地址
- [Chanzhaoyu/chatgpt-web: 用 Express 和 Vue3 搭建的 ChatGPT 演示网页 (github.com)](https://github.com/Chanzhaoyu/chatgpt-web)
- [chenzhaoyu94/chatgpt-web - Docker Image | Docker Hub](https://hub.docker.com/r/chenzhaoyu94/chatgpt-web)
- docker命令
- ```bash
docker run --name chatgpt-web-local-network -d -p 3002:3002 --env OPENAI_API_KEY=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 --env SOCKS_PROXY_HOST=192.168.31.40 --env SOCKS_PROXY_PORT=7891 --restart=always chenzhaoyu94/chatgpt-web
```
- alist #linux
- address
- https://alist.nn.ci/zh/
- https://hub.docker.com/r/xhofe/alist-aria2
- docker command
- ```bash
docker run -d --restart=always -v /etc/alist:/opt/alist/data -p 5244:5244 -e PUID=0 -e PGID=0 -e UMASK=022 --name="alist" xhofe/alist-aria2:latest
```
- password
- ```bash
docker exec -it alist ./alist admin
```
- Fcitx5 #ChromeOS
- 配置中文
- ```bash
sudo dpkg-reconfigure locales
```
- 安装中文字体
- ```bash
sudo apt install ttf-wqy-zenhei
```
- 安装fcitx5
- ```bash
sudo apt install --no-install-recommends fcitx5 fcitx5-chinese-addons fcitx5-frontend-gtk3 fcitx5-frontend-qt5 fcitx5-module-xorg kde-config-fcitx5 im-config
sudo apt install fcitx5-material-color fcitx5-rime
```
- 初始化
- ```bash
im-config
fcitx5-configtool
```
- 编辑 /etc/environment 并添加以下几行,然后重新登录[1]
- ```bash
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx
SDL_IM_MODULE=fcitx
GLFW_IM_MODULE=ibus
```
- 跑步机3200m #运动
- 乐刻健身房
- 预期难度:中等
- 感觉:稍稍累
-