分类 程序人生 下的文章
- 首页
- 程序人生
std::for_each、std::mem_fn 备忘
#include <iostream> #include <thread> #include <vector> #include <algorithm> #include <functional> int main() { std::vector<std::thread> threads; for (i...
sshfs 指令备忘
以下所有指令基于 $macOS$ ,$Linux$ 类似。挂载远程目录到本地sshfs -p <port> -C -o reconnect <user>@<hostname>:<remote_dir> <local_dir> # <port> 端口号 # <user> 用户名 # <hostname&g...
macOS 替换 Homebrew 的源为阿里云 & 清华的源
很多小伙伴在使用 Homebrew 的时候发现速度很慢,可通过使用国内的镜像来解决。