编程笔记

lifelong learning & practice makes perfect

Gitalk

基于github的评论组件

设置github OAuth

Gitalk can only use GitHub accounts for comments.
Click here to sign up for a new OAuth Application
Other content can be filled in at will, but be sure to fill in the correct callback URL (usually the domain name corresponding to the comment page). Then you will get a Client ID and a Client secret.

创建github仓库存储评论数据

Create a repository you want to store Gitalk comments in your GitHub.

阅读全文 »

安装

  • github SSH keys密钥配置

    1
    2
    3
    4
    5
    6
    7
    8
    查看已有公钥
    ls -al ~/.ssh
    创建新SSH密钥
    ssh-keygen
    到github设置ssh公钥

    验证是否配置成功
    ssh -T git@github.com
    阅读全文 »

​ CImageList创建:读取图像,创建CImageList对象,将图像添加到对象中。

阅读全文 »

anaconda

环境切换

conda active environment_name

conda deactivate environment_name

目标

为了更好保存和记录博客,使用github+Tencent cos+Tencent CDN 存储blog,利用github action自动部署

阅读全文 »