/images/avatar.jpg
杂七杂八的,随手记录。

[笔记]长安的荔枝 马伯庸

  • 45-46, 标注, 2025 年 7 月 21 日星期一 上午 8:17:30

    一股淡淡的喜悦,像古井里莫名泛起的小水泡,在李善德心中咕嘟咕嘟地浮起来。

  • 45-47, 标注, 2025 年 7 月 21 日星期一 上午 8:17:38

    一股淡淡的喜悦,像古井里莫名泛起的小水泡,在李善德心中咕嘟咕嘟地浮起来。二十八年了,他终于在长安城有了一席之地,一家人可以高枕无忧了。庭中桂树仿佛提前开放了一般,香馥浓郁之味,扑鼻而来,浸沁全身。

[笔记]长安十二时辰 马伯庸

  • 383-386, 标注, 2025 年 7 月 23 日星期三 上午 8:01:29

    开元十三年,有个叫李泌的七岁神童入宫朝觐。天子正在和中书令张说弈棋。天子令张说、李泌二人以“方圆动静”为题吟棋。张说写的是:“方如棋局,圆如棋子。动如棋生,静如棋死。”而李泌则开口说道:“方如行义,圆如用智。动如逞才,静如遂意。”大得天子赞赏,送其入东宫陪太子读书。

六月读书笔记

Table of Contents

1 亵渎

时过境迁,十九年后重读此书,完全没有了当时追书的快乐,只有面对命运洪流时的困苦与无奈,以及,深藏其中的,一点点希望。

2 源代码

看着也比较又感触,还专门给孩子买了一本纸质书,当作暑假的阅读材料。

源代码xo

  • 248-250, 标注, 2025 年 6 月 24 日星期二 下午 9:23:32

    玩纸牌教会我:无论某些事情看起来多复杂、多神秘,我们通常都能最终琢磨出个究竟。这个世界是可以被理解的。我出生于 1955 年 10 月 28 日,在家里

how to create alias for user in Linux

here:

https://unix.stackexchange.com/questions/758076/how-to-effectively-alias-a-user-on-linux

Users can share their UID, giving them the same user permissions.

Some quick testing reveals that no matter which alias you are logged in as, the system will recognize you as the first user which matches the UID from the passwd database (normally /etc/passwd but can be elsewhere in advanced setups).

I have not seen that groups behave the same way, each alias needs to be added to each group explicitly. It would seem that while users are mapped from UID, the groups look to be mapped from the name (check the contents of /etc/group to get a sense of what I mean).