4 Matching Annotations
  1. Last 7 days
    1. We know the parents array is redundant so we can ignore it and we know that a tree can be represented by level order in an array.

      右面的数组对应左边的树,可以发现parents这个数组是完全冗余的。可以只通过keys这个数组来表示出堆(因为与普通的BST相比,Heap只允许最右下的元素丢失)

  2. Dec 2025
    1. Using the Compose command line tool you can create and start one or more containers for each dependency with a single command (docker compose up).

      使用docker compose,相当于在yaml中一次启动多个容器,但除此之外还可以解决依赖问题(容器启动顺序)

    1. you can add additional .conf files to the /etc/NetworkManager/conf.d directory. These will be read in order, with later files overriding earlier ones.

      应该在/conf.d中创建.conf文件,在使用NM时会优先读取最新文件

    2. If a default NetworkManager.conf is provided by your distribution's packages, you should not modify it, since your changes may get overwritten by package updates.

      不要直接去动/etc/NetworkManager/下的NetworkManager.conf,否则可能会因为更新直接被替换