-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
245 lines (215 loc) · 32.6 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Jack博客 - Jack博客</title><meta name="keywords" content="远方需要不停奔跑"><meta name="author" content="Jack,[email protected]"><meta name="copyright" content="Jack"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="一个收藏回忆与分享技术的地方!">
<meta property="og:type" content="website">
<meta property="og:title" content="Jack博客">
<meta property="og:url" content="https://jackgithubtest.github.io/index.html">
<meta property="og:site_name" content="Jack博客">
<meta property="og:description" content="一个收藏回忆与分享技术的地方!">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://avatars.githubusercontent.com/u/48502122?s=60&v=4">
<meta property="article:author" content="Jack">
<meta property="article:tag" content="远方需要不停奔跑">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://avatars.githubusercontent.com/u/48502122?s=60&v=4"><link rel="shortcut icon" href="/img/MyBlog.png"><link rel="canonical" href="https://jackgithubtest.github.io/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = {
root: '/',
algolia: undefined,
localSearch: undefined,
translate: undefined,
noticeOutdate: undefined,
highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
copy: {
success: '复制成功',
error: '复制错误',
noSupport: '浏览器不支持'
},
relativeDate: {
homepage: false,
post: false
},
runtime: '天',
date_suffix: {
just: '刚刚',
min: '分钟前',
hour: '小时前',
day: '天前',
month: '个月前'
},
copyright: undefined,
lightbox: 'fancybox',
Snackbar: {"chs_to_cht":"你已切换为繁体","cht_to_chs":"你已切换为简体","day_to_night":"你已切换为深色模式","night_to_day":"你已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#121212","position":"top-right"},
source: {
jQuery: 'https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js',
justifiedGallery: {
js: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/js/jquery.justifiedGallery.min.js',
css: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/css/justifiedGallery.min.css'
},
fancybox: {
js: 'https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.umd.js',
css: 'https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.css'
}
},
isPhotoFigcaption: false,
islazyload: false,
isanchor: true
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
title: 'Jack博客',
isPost: false,
isHome: true,
isHighlightShrink: false,
isToc: false,
postUpdate: '2021-11-10 19:52:09'
}</script><noscript><style type="text/css">
#nav {
opacity: 1
}
.justified-gallery img {
opacity: 1
}
#recent-posts time,
#post-meta time {
display: inline !important
}
</style></noscript><script>(win=>{
win.saveToLocal = {
set: function setWithExpiry(key, value, ttl) {
if (ttl === 0) return
const now = new Date()
const expiryDay = ttl * 86400000
const item = {
value: value,
expiry: now.getTime() + expiryDay,
}
localStorage.setItem(key, JSON.stringify(item))
},
get: function getWithExpiry(key) {
const itemStr = localStorage.getItem(key)
if (!itemStr) {
return undefined
}
const item = JSON.parse(itemStr)
const now = new Date()
if (now.getTime() > item.expiry) {
localStorage.removeItem(key)
return undefined
}
return item.value
}
}
win.getScript = url => new Promise((resolve, reject) => {
const script = document.createElement('script')
script.src = url
script.async = true
script.onerror = reject
script.onload = script.onreadystatechange = function() {
const loadState = this.readyState
if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
script.onload = script.onreadystatechange = null
resolve()
}
document.head.appendChild(script)
})
win.activateDarkMode = function () {
document.documentElement.setAttribute('data-theme', 'dark')
if (document.querySelector('meta[name="theme-color"]') !== null) {
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
}
}
win.activateLightMode = function () {
document.documentElement.setAttribute('data-theme', 'light')
if (document.querySelector('meta[name="theme-color"]') !== null) {
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
}
}
const t = saveToLocal.get('theme')
if (t === 'dark') activateDarkMode()
else if (t === 'light') activateLightMode()
const asideStatus = saveToLocal.get('aside-status')
if (asideStatus !== undefined) {
if (asideStatus === 'hide') {
document.documentElement.classList.add('hide-aside')
} else {
document.documentElement.classList.remove('hide-aside')
}
}
const detectApple = () => {
if (GLOBAL_CONFIG_SITE.isHome && /iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
document.documentElement.classList.add('apple')
}
}
detectApple()
})(window)</script><link rel="stylesheet" href="/css/mycss.css"><meta name="generator" content="Hexo 5.4.0"><link rel="alternate" href="/atom.xml" title="Jack博客" type="application/atom+xml">
</head><body><div id="web_bg"></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="https://avatars.githubusercontent.com/u/48502122?s=60&v=4" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data"><div class="data-item is-center"><div class="data-item-link"><a href="/archives/"><div class="headline">文章</div><div class="length-num">7</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/tags/"><div class="headline">标签</div><div class="length-num">5</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/categories/"><div class="headline">分类</div><div class="length-num">2</div></a></div></div></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fa fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fa fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fa fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fa fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/messageboard/"><i class="fa-fw fa fa-paper-plane"></i><span> 留言板</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fa fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/timeline/"><i class="fa-fw fa fa-bell"></i><span> 日志</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fa fa-sitemap"></i><span> Vuepress</span></a></div><div class="menus_item"><a class="site-page" href="/myself/"><i class="fa-fw fa fa-id-card"></i><span> myself</span></a></div></div></div></div><div class="page" id="body-wrap"><header class="full_page" id="page-header" style="background-image: url('/img/new_bg_img.jpg')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">Jack博客</a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fa fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fa fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fa fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fa fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/messageboard/"><i class="fa-fw fa fa-paper-plane"></i><span> 留言板</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fa fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/timeline/"><i class="fa-fw fa fa-bell"></i><span> 日志</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fa fa-sitemap"></i><span> Vuepress</span></a></div><div class="menus_item"><a class="site-page" href="/myself/"><i class="fa-fw fa fa-id-card"></i><span> myself</span></a></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="site-info"><h1 id="site-title">Jack博客</h1><div id="site-subtitle"><span id="subtitle"></span></div><div id="site_social_icons"><a class="social-icon" href="https://github.com/jackgithubtest" target="_blank" title="Github"><i class="fab fa-github"></i></a><a class="social-icon" href="/1994808305" target="_blank" title="qq"><i class="fa fa-qq"></i></a><a class="social-icon" href="mailto:[email protected]" target="_blank" title=""><i class="fa fa-envelope"></i></a></div></div><div id="scroll-down"><i class="fas fa-angle-down scroll-down-effects"></i></div></header><main class="layout" id="content-inner"><div class="recent-posts" id="recent-posts"><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2021/11/10/centos%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85Git/" title="centos编译安装Git"> <img class="post_bg" src="https://w.wallhaven.cc/full/j3/wallhaven-j3krk5.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="centos编译安装Git"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/11/10/centos%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85Git/" title="centos编译安装Git">centos编译安装Git</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-11-10T09:49:42.000Z" title="发表于 2021-11-10 17:49:42">2021-11-10</time></span></div><div class="content">centos安装Git有两种方式,一种通过源安装,通过如下命今,即可一键安装成功:
1yum -y install git
但是通过源安装的Git,目前最高版本是1.7,想要使用更多新功能、更新版本的Git,就只能通过编译安装的方式来进行安装了,下面就来具体介绍这种安装过程。
1、先安装依赖包1yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel
2、下载Git源码包,并解压123cd /usr/local/srcwget https://github.com/git/git/archive/v1.9.5.tar.gztar -zxvf git-1.9.5.tar.gz
3、编译并安装1234cd git-1.9.5make configure./configure --prefix=/usr/local/ --with-iconv=/usr/local/libiconv/make && make install
4、make过程中可能有如下错误
1234567make ...</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2021/10/09/guanmai-%E8%87%AA%E5%8A%A8%E5%8C%96%E5%B7%A5%E7%A8%8B%E6%89%80%E9%81%87%E5%88%B0%E7%9A%84%E9%97%AE%E9%A2%98/" title="无题"> <img class="post_bg" src="https://w.wallhaven.cc/full/j3/wallhaven-j3krk5.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="无题"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/10/09/guanmai-%E8%87%AA%E5%8A%A8%E5%8C%96%E5%B7%A5%E7%A8%8B%E6%89%80%E9%81%87%E5%88%B0%E7%9A%84%E9%97%AE%E9%A2%98/" title="无题">无题</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-10-09T02:32:14.943Z" title="发表于 2021-10-09 10:32:14">2021-10-09</time></span></div><div class="content">1、参数化
2、断言
3、update更新数据
4、用例关联
5、cert证书
cert证书升级,导致无法链接grpc服务
解决方案:
</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2021/09/30/%E8%AF%AD%E9%9B%80%E9%85%8D%E7%BD%AE%E9%92%89%E9%92%89%E5%92%8C%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1webhook/" title="语雀配置钉钉和企业微信webhook"> <img class="post_bg" src="https://w.wallhaven.cc/full/j3/wallhaven-j3krk5.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="语雀配置钉钉和企业微信webhook"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/09/30/%E8%AF%AD%E9%9B%80%E9%85%8D%E7%BD%AE%E9%92%89%E9%92%89%E5%92%8C%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1webhook/" title="语雀配置钉钉和企业微信webhook">语雀配置钉钉和企业微信webhook</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-09-30T02:52:53.000Z" title="发表于 2021-09-30 10:52:53">2021-09-30</time></span></div><div class="content">语雀如何配置钉钉或者企业微信机器人教程和坑1、首先需要钉钉新建一个机器人,钉钉机器人选择关键字选项,不要选择签名选项,不然无法推送2、语雀端设置 在知识库->设置->消息推送->添加webhook 钉钉webhook选择钉钉选项,若其他渠道机器人请选择其他渠道,支持企业微信和微信机器人
3、语雀推送消息到企业微信 配置和钉钉是一致的,如果不知道如何添加企业微信机器人,可以自行百度企业微信机器人的快捷制作 - 知乎 (zhihu.com)
填写机器人名字和webhook地址后,点击添加就ok
配置webhook所遇到的坑问题:配置了webhook为什么无法推送消息,但是点击测试却能通过消息能发送,但是更新文章或发布文章却无法推送?
原因:在语雀未发布【开启自动发布】这个功能的时候其实这个问题是不会出现的,但是因为这个功能上线,导致了无法推送消息,仔细看官方的这个功能介绍,找到了这个问题所在,哦原来开启了自动发布功能就不会发送动态或消息
https://www.yuque.com/yuque/blog/nyb4v9
解决方案:关闭开启自动发布的功能, ...</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2021/09/27/%E8%87%AA%E5%8A%A8%E5%8C%96%E5%A4%9A%E8%BF%9B%E7%A8%8B%E4%B8%8B%E9%97%AE%E9%A2%98/" title="自动化多进程下问题"> <img class="post_bg" src="https://w.wallhaven.cc/full/j3/wallhaven-j3krk5.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="自动化多进程下问题"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/09/27/%E8%87%AA%E5%8A%A8%E5%8C%96%E5%A4%9A%E8%BF%9B%E7%A8%8B%E4%B8%8B%E9%97%AE%E9%A2%98/" title="自动化多进程下问题">自动化多进程下问题</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-09-27T03:53:30.000Z" title="发表于 2021-09-27 11:53:30">2021-09-27</time></span></div><div class="content">自动化痛点
异步接口需要定时获取结果【未想到最优解决方式】
运行速度慢
容错性差,维护性差
不能很好的兼容多进程方式运行
多进程下运行session块被重复运行,初始化代码被多次初始化覆盖删除,多个session的文件锁
多进程下api层单例所遇问题
多进程下token的设计
多进程下数据共享问题
解决:
1、运行速度慢,我们可以采用多进程方式下去执行自动化,有pytest提供的常用插件pytest-xsdit 插件,插件用法就是一条命令这里就不过多解释了
1pytest -n 2 dir
采用此插件就能很好的解决多进程吗?答案是肯定是不是的:相信大家都知道session是一个进程是一个会话,那多个进程相比是有多个会话了?我们来验证我们的想法
目录结构为
123456789comm __init__.pytestcase test_*.pyexport allure htmlconftest.pyrun.py
conftest.py
pytest-xdist自动分配了四个进程来执行我们的自动化,注:pytest-xdist的auto会根据电脑的内核自动分配进程【明明我的电脑是 ...</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2021/09/03/%E6%95%B0%E6%8D%AE%E5%BA%93%E4%B9%90%E8%A7%82%E9%94%81%E5%92%8C%E6%82%B2%E8%A7%82%E9%94%81/" title="数据库乐观锁和悲观锁"> <img class="post_bg" src="https://w.wallhaven.cc/full/j3/wallhaven-j3krk5.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="数据库乐观锁和悲观锁"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/09/03/%E6%95%B0%E6%8D%AE%E5%BA%93%E4%B9%90%E8%A7%82%E9%94%81%E5%92%8C%E6%82%B2%E8%A7%82%E9%94%81/" title="数据库乐观锁和悲观锁">数据库乐观锁和悲观锁</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-09-03T03:52:39.000Z" title="发表于 2021-09-03 11:52:39">2021-09-03</time></span></div><div class="content"></div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2021/09/01/hexo-github%E6%90%AD%E5%BB%BA%E5%8D%9A%E5%AE%A2%E6%95%99%E7%A8%8B/" title="hexo+github搭建博客教程"> <img class="post_bg" src="https://w.wallhaven.cc/full/j3/wallhaven-j3krk5.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="hexo+github搭建博客教程"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/09/01/hexo-github%E6%90%AD%E5%BB%BA%E5%8D%9A%E5%AE%A2%E6%95%99%E7%A8%8B/" title="hexo+github搭建博客教程">hexo+github搭建博客教程</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-09-01T02:43:01.000Z" title="发表于 2021-09-01 10:43:01">2021-09-01</time></span></div><div class="content">阅读须知:
GitHub Pages是什么?GitHub Pages 是由 GitHub 官方提供的一种免费的静态站点托管服务,让我们可以在 GitHub 仓库里托管和发布自己的静态网站页面。
Hexo是什么Hexo 是一个快速、简洁且高效的静态博客框架,它基于 Node.js 运行,可以将我们撰写的 Markdown 文档解析渲染成静态的 HTML 网页。
Hexo + GitHub发布原理
优点和不足优点:完全免费;静态站点,轻量快速;可按需求自由定制改造;托管在 GitHub,安全省心;迁移方便……
不足:发文不便,依赖于本地环境;更适合个人博客使用;GitHub 在国内访问速度有点不快。【可以采用hosts文件修改github.com dns解析到对应的ip加快访问速度,Google浏览器可以下载IGG谷歌访问助手插件免费代理】
环境安装Hexo 基于 Node.js,搭建过程中还需要使用 npm(Node.js 已带) 和 git,因此先搭建本地操作环境,安装 Node.js 和 Git。
Node.js:https://nodejs.org/zh-cn
Git:https ...</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2021/08/30/%E8%A7%A3%E5%86%B3github-io%E6%97%A0%E6%B3%95%E6%89%93%E5%BC%80%E7%9A%84%E7%BB%8F%E5%8E%86/" title="解决github.io无法打开的经历"> <img class="post_bg" src="https://w.wallhaven.cc/full/j3/wallhaven-j3krk5.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="解决github.io无法打开的经历"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/08/30/%E8%A7%A3%E5%86%B3github-io%E6%97%A0%E6%B3%95%E6%89%93%E5%BC%80%E7%9A%84%E7%BB%8F%E5%8E%86/" title="解决github.io无法打开的经历">解决github.io无法打开的经历</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-08-30T06:13:31.000Z" title="发表于 2021-08-30 14:13:31">2021-08-30</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E7%A2%B0%E5%88%B0%E8%BF%99%E7%A7%8Ddns%E7%9A%84%E9%97%AE%E9%A2%98%E8%AF%A5%E6%80%8E%E4%B9%88%E6%8E%92%E6%9F%A5%EF%BC%9F/">碰到这种dns的问题该怎么排查?</a><i class="fas fa-angle-right"></i><a class="article-meta__categories" href="/categories/%E7%A2%B0%E5%88%B0%E8%BF%99%E7%A7%8Ddns%E7%9A%84%E9%97%AE%E9%A2%98%E8%AF%A5%E6%80%8E%E4%B9%88%E6%8E%92%E6%9F%A5%EF%BC%9F/%E6%80%8E%E4%B9%88%E8%A7%A3%E5%86%B3%E6%89%93%E4%B8%8D%E5%BC%80github-io%E7%9A%84%E9%97%AE%E9%A2%98%EF%BC%9F/">怎么解决打不开github.io的问题?</a></span></div><div class="content">记得之前有 github.com 打不开或者打开很慢的解决方案,现在轮到了 github.io,哈哈。我的 github.io 很久开始就打不开了,当时从网上试了几种方法没成功就放弃了,今天查资料需要打开 github.io,又有点时间,所以主要针对这个解决了一下。从本文您可以了解到:
碰到这种dns的问题该怎么排查?
怎么解决打不开github.io的问题?
ping命令其实很强大,不仅可以知道能不能链接,延时是多少,还可以知道dns解析的ip地址是多少,例如我们ping www.github.com
123456789101112ping www.github.com正在 Ping github.com [52.74.223.119] 具有 32 字节的数据:来自 52.74.223.119 的回复: 字节=32 时间=208ms TTL=42来自 52.74.223.119 的回复: 字节=32 时间=198ms TTL=42来自 52.74.223.119 的回复: 字节=32 时间=202ms TTL=42来自 52.74.223.119 的回复: 字节=32 时间=2 ...</div></div></div><nav id="pagination"><div class="pagination"><span class="page-number current">1</span></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src="https://avatars.githubusercontent.com/u/48502122?s=60&v=4" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">Jack</div><div class="author-info__description">一个收藏回忆与分享技术的地方!</div></div><div class="card-info-data"><div class="card-info-data-item is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">7</div></a></div><div class="card-info-data-item is-center"><a href="/tags/"><div class="headline">标签</div><div class="length-num">5</div></a></div><div class="card-info-data-item is-center"><a href="/categories/"><div class="headline">分类</div><div class="length-num">2</div></a></div></div><a class="button--animated" id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/jackgithubtest"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://github.com/jackgithubtest" target="_blank" title="Github"><i class="fab fa-github"></i></a><a class="social-icon" href="/1994808305" target="_blank" title="qq"><i class="fa fa-qq"></i></a><a class="social-icon" href="mailto:[email protected]" target="_blank" title=""><i class="fa fa-envelope"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn card-announcement-animation"></i><span>公告</span></div><div class="announcement_content">每天成长一点点</div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/2021/11/10/centos%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85Git/" title="centos编译安装Git"><img src="https://w.wallhaven.cc/full/j3/wallhaven-j3krk5.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="centos编译安装Git"/></a><div class="content"><a class="title" href="/2021/11/10/centos%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85Git/" title="centos编译安装Git">centos编译安装Git</a><time datetime="2021-11-10T09:49:42.000Z" title="发表于 2021-11-10 17:49:42">2021-11-10</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2021/10/09/guanmai-%E8%87%AA%E5%8A%A8%E5%8C%96%E5%B7%A5%E7%A8%8B%E6%89%80%E9%81%87%E5%88%B0%E7%9A%84%E9%97%AE%E9%A2%98/" title="无题"><img src="https://w.wallhaven.cc/full/j3/wallhaven-j3krk5.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="无题"/></a><div class="content"><a class="title" href="/2021/10/09/guanmai-%E8%87%AA%E5%8A%A8%E5%8C%96%E5%B7%A5%E7%A8%8B%E6%89%80%E9%81%87%E5%88%B0%E7%9A%84%E9%97%AE%E9%A2%98/" title="无题">无题</a><time datetime="2021-10-09T02:32:14.943Z" title="发表于 2021-10-09 10:32:14">2021-10-09</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2021/09/30/%E8%AF%AD%E9%9B%80%E9%85%8D%E7%BD%AE%E9%92%89%E9%92%89%E5%92%8C%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1webhook/" title="语雀配置钉钉和企业微信webhook"><img src="https://w.wallhaven.cc/full/j3/wallhaven-j3krk5.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="语雀配置钉钉和企业微信webhook"/></a><div class="content"><a class="title" href="/2021/09/30/%E8%AF%AD%E9%9B%80%E9%85%8D%E7%BD%AE%E9%92%89%E9%92%89%E5%92%8C%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1webhook/" title="语雀配置钉钉和企业微信webhook">语雀配置钉钉和企业微信webhook</a><time datetime="2021-09-30T02:52:53.000Z" title="发表于 2021-09-30 10:52:53">2021-09-30</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2021/09/27/%E8%87%AA%E5%8A%A8%E5%8C%96%E5%A4%9A%E8%BF%9B%E7%A8%8B%E4%B8%8B%E9%97%AE%E9%A2%98/" title="自动化多进程下问题"><img src="https://w.wallhaven.cc/full/j3/wallhaven-j3krk5.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="自动化多进程下问题"/></a><div class="content"><a class="title" href="/2021/09/27/%E8%87%AA%E5%8A%A8%E5%8C%96%E5%A4%9A%E8%BF%9B%E7%A8%8B%E4%B8%8B%E9%97%AE%E9%A2%98/" title="自动化多进程下问题">自动化多进程下问题</a><time datetime="2021-09-27T03:53:30.000Z" title="发表于 2021-09-27 11:53:30">2021-09-27</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2021/09/03/%E6%95%B0%E6%8D%AE%E5%BA%93%E4%B9%90%E8%A7%82%E9%94%81%E5%92%8C%E6%82%B2%E8%A7%82%E9%94%81/" title="数据库乐观锁和悲观锁"><img src="https://w.wallhaven.cc/full/j3/wallhaven-j3krk5.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="数据库乐观锁和悲观锁"/></a><div class="content"><a class="title" href="/2021/09/03/%E6%95%B0%E6%8D%AE%E5%BA%93%E4%B9%90%E8%A7%82%E9%94%81%E5%92%8C%E6%82%B2%E8%A7%82%E9%94%81/" title="数据库乐观锁和悲观锁">数据库乐观锁和悲观锁</a><time datetime="2021-09-03T03:52:39.000Z" title="发表于 2021-09-03 11:52:39">2021-09-03</time></div></div></div></div><div class="card-widget card-categories"><div class="item-headline">
<i class="fas fa-folder-open"></i>
<span>分类</span>
</div>
<ul class="card-category-list" id="aside-cat-list">
<li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E7%A2%B0%E5%88%B0%E8%BF%99%E7%A7%8Ddns%E7%9A%84%E9%97%AE%E9%A2%98%E8%AF%A5%E6%80%8E%E4%B9%88%E6%8E%92%E6%9F%A5%EF%BC%9F/"><span class="card-category-list-name">碰到这种dns的问题该怎么排查?</span><span class="card-category-list-count">1</span></a><ul class="card-category-list child"><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E7%A2%B0%E5%88%B0%E8%BF%99%E7%A7%8Ddns%E7%9A%84%E9%97%AE%E9%A2%98%E8%AF%A5%E6%80%8E%E4%B9%88%E6%8E%92%E6%9F%A5%EF%BC%9F/%E6%80%8E%E4%B9%88%E8%A7%A3%E5%86%B3%E6%89%93%E4%B8%8D%E5%BC%80github-io%E7%9A%84%E9%97%AE%E9%A2%98%EF%BC%9F/"><span class="card-category-list-name">怎么解决打不开github.io的问题?</span><span class="card-category-list-count">1</span></a></li></ul></li>
</ul></div><div class="card-widget card-tags"><div class="item-headline"><i class="fas fa-tags"></i><span>标签</span></div><div class="card-tag-cloud"><a href="/tags/GitHub/" style="font-size: 1.1em; color: #999">GitHub</a> <a href="/tags/GitHub-io/" style="font-size: 1.1em; color: #999">GitHub.io</a> <a href="/tags/hexo-github/" style="font-size: 1.1em; color: #999">hexo+github</a> <a href="/tags/webhook/" style="font-size: 1.1em; color: #999">webhook</a> <a href="/tags/work-%E5%B7%A5%E4%BD%9C/" style="font-size: 1.1em; color: #999">work,工作</a></div></div><div class="card-widget card-archives"><div class="item-headline"><i class="fas fa-archive"></i><span>归档</span></div><ul class="card-archive-list"><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/11/"><span class="card-archive-list-date">十一月 2021</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/10/"><span class="card-archive-list-date">十月 2021</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/09/"><span class="card-archive-list-date">九月 2021</span><span class="card-archive-list-count">4</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/08/"><span class="card-archive-list-date">八月 2021</span><span class="card-archive-list-count">1</span></a></li></ul></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>网站资讯</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">文章数目 :</div><div class="item-count">7</div></div><div class="webinfo-item"><div class="item-name">已运行时间 :</div><div class="item-count" id="runtimeshow" data-publishDate="2021-08-31T16:00:00.000Z"></div></div><div class="webinfo-item"><div class="item-name">本站访客数 :</div><div class="item-count" id="busuanzi_value_site_uv"></div></div><div class="webinfo-item"><div class="item-name">本站总访问量 :</div><div class="item-count" id="busuanzi_value_site_pv"></div></div><div class="webinfo-item"><div class="item-name">最后更新时间 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2021-11-10T11:52:08.992Z"></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">©2020 - 2021 By Jack</div><div class="footer_custom_text">快来和我一起成长吧</div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="chat_btn" type="button" title="rightside.chat_btn"><i class="fas fa-sms"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.js"></script><div class="js-pjax"><script>function subtitleType () {
if (true) {
var typed = new Typed("#subtitle", {
strings: "何其荣幸 何德何能,所有的不平凡都来自平凡".split(","),
startDelay: 300,
typeSpeed: 150,
loop: true,
backSpeed: 50
})
} else {
document.getElementById("subtitle").innerHTML = '何其荣幸 何德何能'
}
}
if (true) {
if (typeof Typed === 'function') {
subtitleType()
} else {
getScript('https://cdn.jsdelivr.net/npm/typed.js/lib/typed.min.js').then(subtitleType)
}
} else {
subtitleType()
}</script></div><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>