安装 git-lfs
1 | #linux(Windows下载对应软件安装即可) |
生成公私钥:
1 | ssh-keygen -t rsa -C '[email protected]' -f ~/.ssh/github_id_rsa |
生成公私钥:
1 | ssh-keygen -t rsa -C '[email protected]' -f ~/.ssh/github_id_rsa |
Raspberry Pi 3B
固件下载地址:openwrt,根据硬件平台选择合适的固件;
树莓派对应固件目录:brcm2708/bcm2710 (2710 对应 rpi 3)
本次使用固件版本(rpi-3-ext4-factory.img.gz):openwrt-18.06.5
使用 Win32DiskImager 刷入openwrt固件,最新版本地址:latest
插入SD卡,启动树莓派
C 语言中的强制类型转换主要用于基础数据类型之间的转换,语法格式为:
1 | (type_id) expression |
C++ 新增了四中强制类型转换:static_cast、const_cast、dynamic_cast、reinterpret_cast
主要用于继承关系类间的强制转换,语法格式为:
1 | static_cast<type_id> (expression) |
1 | $ wget ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/updates/13/x86_64/gdb-7.1-34.fc13.x86_64.rpm |
模拟程序:
1 | #include <chat_global.hpp> |