Common Data, which contains value (bool/integer/string), array (list), map (dict). CDS is used to handle JSON/YAML/TOML data in c++.
A simple Range class for int with c++ range-based for statement supported. (or c++ foreach statement) (aka. minimal code to support c++ foreach/range-based-for)
As we know from this example, to support range-based for we need:
- container/custom-class has
begin()
end()
method, which return a iterator or something else. - iterator has implemented operators:
- not-equal operator !=, which is
bool operator !=(T&)
- pre-increment operator ++, which is
T operator ++()
Commands:
- Restart Systemd Daemon:
systemctl daemon-reload
- Enable Service:
systemctl enable qbittorrent
- Linx Man:
man systemd.service
- systemd 编写服务管理脚本
- Toolchain: Arm GNU Toolchain Downloads
- About rdimon.spec: nosys nano rdimon
C code example:
#include <stdio.h>
int main() { printf("Hello world!\n"); }