Github配置ssh
Windows10 系统的 SSH 文件存放在:1C:\Users\用户名\.ssh
使用命令测试 SSH 连接1ssh -T git@github.com
如果连接失败可以尝试换 443 端口
1ssh -T -p 443 git@ssh.github.com
如果换端口后能成功连接,那么就设置以后默认使用这个端口,在 ssh 文件所在的目录中新建 config.txt 文件,编辑并输入以下内容:
123Host github.com Hostname ssh.github.com Port 443
将 SSH 公钥添加到 GitHub 中在 SSH 文件夹中,id_rsa.pub 文件使用记事本打开可以看见 SSH 公钥
将公钥复制到剪贴板中。确保复制整个公钥,包括以ssh-rsa开头和您的 email 地址结尾。
登录到您的 GitHub 账户,在页面右上角单击您的头像,并选择”Settings”(设置)。
在设置页面中,选择”SSH and GPG keys”(SSH 和 GPG 密钥)选项卡。
单击”New SSH key”(新建 SSH 密钥)按钮。
在”T ...
嵌入哔哩哔哩视频
博客嵌入哔哩哔哩视频插入到 css 样式中1234567891011121314.video { height: 0; padding-bottom: 56.25%; /* 16:9 */ position: relative; width: 100%;}.video iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%;}
打开 B 站任意视频,点击分享嵌入代码1<iframe src="//player.bilibili.com/player.html?aid=987493800&bvid=BV15t4y1T7tR&cid=884616083&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen ...
Hello World
欢迎使用 Hexo! 这是你的第一篇文章。 检查 文档 documentation 了解更多信息。 如果您在使用 Hexo 时遇到任何问题, 可以在 疑难解答 troubleshooting中找到答案,或者你可以在 GitHub上问我.
Quick Start 快速入门Create a new post 创建新帖子1$ 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