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
使用git连接github
常用命令
1 | $ ssh-keygen -t rsa -C "123@163.com" //163 是你自己注册GitHub的邮箱 生成自己key码添加到github的设置中 id_ras id_ras.pub |
使用hexo
文件设置以及常用命令
文件修改
1 | /root/_config.yml |
使用来控制hexo NexT主页文章预览
1 | # 创建文章tags,categories |
Error: Spawn failed
rm -rf .deploy_git
git config –global core.autocrlf false
hexo clean && hexo g && hexo d
常用命令
1 | $ hexo init |
hexo博客加密
markdown使用笔记
markdown+OmniMarkupPreviewer+LiveReload
安装过程:
- Markdown Editing
1
2
3
4
5
6
7
8
9{
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
// "color_scheme": "Packages/MarkdownEditing/MarkdownEditor-Dark.tmTheme",
// Layout
"draw_centered": false,
"word_wrap": true,
"wrap_width": 120,
"rulers": [],
} - OmniMarkupPreviwer
Preferences → Package Settings → OmniMarkupPreviewer →Setting——User
1 | { |
Preferences → Package Settings → OmniMarkupPreviewer → Setting——Default
1 | [ |
- LiveReload
python自动补全功能
sublimecodeIntel
python jupyter
pc /usr/bin/python3.6 -m pip install pyzmqc
helium
hermes
jupyter notebook中运行获取jupyter连接信息
1 | %connect_info |
在 Sublime 中打开 Shift+Ctrl+P,然后输入 Helium 进行安装
jupyterlab
在 Jupyter 里面执行 magic 方法
%connect_info
{
“shell_port”: 51835,
“iopub_port”: 43591,
“stdin_port”: 37817,
“control_port”: 39041,
“hb_port”: 50915,
“ip”: “127.0.0.1”,
“key”: “f4739d3c-a1e6462527617877ebf90e25”,
“transport”: “tcp”,
“signature_scheme”: “hmac-sha256”,
“kernel_name”: “”
}
Paste the above JSON into a file, and connect with:
$> jupyter
or, if you are local, you can connect with just:
$> jupyter
or even just:
$> jupyter
if this is the most recent Jupyter kernel you have started.