Hexo
Hexo-搭建与使用
MathJax-渲染
博客部署
C++
基础
基础
指针与引用
const
数组
union
枚举
内联函数
函数重载
STL 及容器
顺序容器
string
vector
array
deque
list
forward_list
容器适配器
queue
stack
关联容器
pair
map
set
multimap
multiset
unordered_map
unordered_set
unordered_multimap
unordered_multiset
迭代器
动态内存
编译模式
类
对象移动
面向对象
IO库
泛型编程
函数模版
lambda
重载运算
特性
类型转换
decltype
后置返回类型
constexpr
智能指针
Git
公钥
生成公钥指令 ssh-keygen -t rsa, 其中 -t
参数用于指定密钥的类型,默认就是 rsa 类型
生成后,通常保存在 ~/.ssh/id_rsa.pub 中
配置
12345678#查看配置git config [--global] list# 邮箱git config --global user.email "xxx"# 用户名git config --global user.name "xxx"
常用指令
1234567891011121314151617181920212223242526272829303132333435363738394041# 初始化本地仓库git init# 将工作区(workspace)中的未暂存(修改已有)和未跟踪(新创建)的文件提交到仓库之前的暂存区(index)git add# 从暂存区提交到仓库(repository)git commit # 列出所有本地分支git branch# 列出所有远程分支git branch -r# 新建一个分支,但停留在当前分支git branch [branch]# 新建一个分支,并切换到该分 ...
Adguard 冲突设置
与 IGG 冲突
使用 Adguard 软件屏蔽广告会和 IGG
谷歌访问助手冲突,导致国外网站加载速度极慢
在 IGG 自定义直连域名中添加域名
local.adguard.org
在 IGG 自定义加速域名中添加域名
injections.adguard.org
与 iCloud 冲突
使用 Adguard 会导致 iCloud 同步出问题,原因是白名单默认只有
icloud.com
在白名单中添加 icloud.com.cn 即可解决