Skip to content

Commit 69b9f3a

Browse files
author
wuaoxiang
committed
update pin_project
1 parent 3bde3dd commit 69b9f3a

File tree

5 files changed

+16
-4
lines changed

5 files changed

+16
-4
lines changed

2021/03/libsystemd_segfault.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# [systemd API段错误](/2021/03/libsystemd_segfault.md)
1+
# [systemd API段错误](2021/03/libsystemd_segfault.md)
22

3-
在我[上一篇systemd的文章](/2020/11/systemd.md)讲解了用systemd部署和管理Rust项目,
3+
在我上一篇 [systemd的文章](/2020/11/systemd.md) 讲解了用systemd部署和管理Rust项目,
44

55
这篇文章主要讲如何改进Rust的logger并将Rust的日志级别映射成systemd-journal的日志级别
66

2021/11/systemd_environment_file.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# [systemd env file](2021/11/systemd_environment_file.md)
22

3+
## 吴翱翔 systemd 系列文章
4+
5+
- [systemd部署管理项目进程](/2020/11/systemd.md)
6+
- [systemd API段错误](2021/03/libsystemd_segfault.md)
7+
- [systemd env file](2021/11/systemd_environment_file.md)
8+
39
## .service 的三种配置方法
410

511
1. config file in /etc, e.g. `/etc/my.cnf`(MySQL), `/etc/grafana.ini`

category/archlinux/archlinux_proxy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ sudo vim /etc/shadowsocks/1080.json
2121
"local_address": "0.0.0.0",
2222
"local_port": 1080,
2323
"password": "TODO",
24-
"timeout": 300,
24+
"timeout": 15,
2525
"method": "xchacha20-ietf-poly1305",
2626

2727
// require shadowsocks-v2ray-plugin package

category/archlinux/linux_screen_share_remote_control.md

+4
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ tigervnc居然可以把画质压缩关掉,画质最好,甚至比krdc还要
6868

6969
其它缺点: Bug `<` is map to `>`
7070

71+
### macos 自带的 ScreenSharing(client) app
72+
73+
mac 系统设置也自带了 vnc server
74+
7175
### imac连4k显示的linux
7276

7377
imac_2017款分辨率是4096*2304默认用200%的scale

notes/rust/crates/pin_project.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
pin_project! 宏给没有实现 !Unpin 的结构体统一实现下(标准库的类型几乎都是 Unpin)
1+
pin_project 中 project 的含义是 projection(依赖注入)
2+
3+
pin_project! 宏给没有实现 !Unpin 的结构体的某些字段统一实现下(标准库的类型几乎都是 Unpin)
24

35
消除实现 Pin 这样的 boilerplate code

0 commit comments

Comments
 (0)