Johnnian

Results 64 issues of Johnnian

# 一、序言 近期发现Github Issues写博客,可以结合 Github Actions做自动化,实现一个效果是:写了一篇博客之后,按照Issues的标签分类,自动更新博客的Readme.md文件,并且自动更新Github Page站点页面。 **实现原理是**: 基于Github的Actions功能,通过创建Actions监听Issues的变动事件,当Issues创建、修改、关闭、标签变化等情况的时候,自动触发Github Actions,在执行Github Actions的时候,借助Python的脚本,通过PyGithub库调用Github的API接口,执行以下步骤: - 生成词云:读取本仓库Issues的所有标签,生成一个词云的图片 - 调用接口获取所有的标签,并且遍历该标签下所有状态是Open的Issues,把Issues的名称、链接以及创建时间、评论数等信息,以markdown的格式写入 readme.md - 使用Github Actions脚本提交变更到该Git仓库 下面是具体搭建的过程步骤: # 二、操作步骤 ## 步骤1:创建Github Token 通过个人用户的Setting目录,生成一对Github Token ![2](https://user-images.githubusercontent.com/2493670/201109362-815cdd81-3554-4c57-ba71-8213628ef39c.png) 选择Token的有效期(可以选择无限期),并且勾选上token的权限(我全部勾选了) ![3](https://user-images.githubusercontent.com/2493670/201109371-9a946eda-f44e-4d50-8bdc-38e9c9e7decc.png)...

Blog

when use lazyload to load child node, it's text color can't be showed as the property `node.color` set.

# 一、现象 在Centos7环境下,执行curl命令报错: ``` curl: (1) Protocol "https" not supported or disabled in libcurl ``` # 二、解决方法 ## 1、检查curl版本情况 ``` [root@~]# curl -V curl 7.55.1 (x86_64-pc-linux-gnu) libcurl/7.55.1 Release-Date: 2017-08-14 Protocols:...

Linux

# 一、现象 环境:Python 3.7.2 现象:Python文件中引入了requests库,在执行的时候报错如下: ```bash ImportError: urllib3 v2.0 only suports Openssl 1.1.1+, currently the 'ssl' module is compiled with openssL 1.0.2k-fips 26 Jan 2017. See: https://github.Com/urllib3/urllib3/issues/2168 ``` # 二、解决方法...

Python