Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
2
3
4
hexo clean
hexo g
hexo d
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

1
2
3
4
5
6
7
8
9
10
git status 查看修改文件
git add <fileName> 加入修改文件
git commit -m 'xxxx' 新填一条commit
git log 查看所有commit
git rebase -i HEAD / git rebase -i HEAD~2 合并前2条commit
合并的时候选择squash即可
然后删掉第二条commit的内容
cr
i
编辑

github 镜像:https://bgithub.xyz

1
2
3
4
5
6
7
8
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple ortools
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple numpy

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r/

pip install torch==1.4.0+cu100 -f https://download.pytorch.org/whl/torch_stable.html

sftp 同步
参考:https://zhuanlan.zhihu.com/p/592665950

1
2
3
4
5
6
7
8
9
10
11
{
"name": "My Server",
"host": "10.224.128.25",
"protocol": "sftp",
"port": 22,
"username": "buzhidaoshei",
"remotePath": "/home/buzhidaoshei/repo/autoamenu",
"uploadOnSave": true,
"useTempFile": false,
"openSsh": false
}