-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
433 lines (346 loc) · 51.2 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
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
<!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>Prjoker - bolg</title><meta name="keywords" content="生活,日常,博客"><meta name="author" content="不言仙声"><meta name="copyright" content="不言仙声"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta http-equiv="Cache-Control" content="no-transform"><meta http-equiv="Cache-Control" content="no-siteapp"><meta name="description" content="不言不语,道听仙声">
<meta property="og:type" content="website">
<meta property="og:title" content="Prjoker">
<meta property="og:url" content="https://jokeroy.top/index.html">
<meta property="og:site_name" content="Prjoker">
<meta property="og:description" content="不言不语,道听仙声">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://jokeroy.top/img/avatar.png">
<meta property="article:author" content="不言仙声">
<meta property="article:tag" content="生活,日常,博客">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://jokeroy.top/img/avatar.png"><link rel="shortcut icon" href="/img/favicon.ico"><link rel="canonical" href="https://jokeroy.top/"><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"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.css"><script>var GLOBAL_CONFIG = {
root: '/',
hexoversion: '5.2.0',
algolia: undefined,
localSearch: undefined,
translate: undefined,
noticeOutdate: undefined,
highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true},
copy: {
success: '复制成功',
error: '复制错误',
noSupport: '浏览器不支持'
},
relativeDate: {
homepage: false,
post: false
},
runtime: '天',
date_suffix: {
just: '刚刚',
min: '分钟前',
hour: '小时前',
day: '天前',
month: '个月前'
},
copyright: {"limitCount":50,"languages":{"author":"作者: 不言仙声","link":"链接: ","source":"来源: Prjoker","info":"著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。"}},
ClickShowText: undefined,
lightbox: 'fancybox',
Snackbar: {"chs_to_cht":"你已切换为繁体","cht_to_chs":"你已切换为简体","day_to_night":"你已切换为深色模式","night_to_day":"你已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#121212","position":"bottom-left"},
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'
},
isPhotoFigcaption: false,
islazyload: true,
isanchor: false
};
var saveToLocal = {
set: function setWithExpiry(key, value, ttl) {
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
}
}</script><script id="config_change">var GLOBAL_CONFIG_SITE = {
isPost: false,
isHome: true,
isHighlightShrink: false,
isSidebar: false,
postUpdate: '2022-03-08 19:53:43'
}</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>var 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')
}
}
var 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')
}
}
var autoChangeMode = 'false'
var t = saveToLocal.get('theme')
if (autoChangeMode === '1') {
var isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches
var isLightMode = window.matchMedia('(prefers-color-scheme: light)').matches
var isNotSpecified = window.matchMedia('(prefers-color-scheme: no-preference)').matches
var hasNoSupport = !isDarkMode && !isLightMode && !isNotSpecified
if (t === undefined) {
if (isLightMode) activateLightMode()
else if (isDarkMode) activateDarkMode()
else if (isNotSpecified || hasNoSupport) {
var now = new Date()
var hour = now.getHours()
var isNight = hour <= 6 || hour >= 18
isNight ? activateDarkMode() : activateLightMode()
}
window.matchMedia('(prefers-color-scheme: dark)').addListener(function (e) {
if (saveToLocal.get('theme') === undefined) {
e.matches ? activateDarkMode() : activateLightMode()
}
})
} else if (t === 'light') activateLightMode()
else activateDarkMode()
} else if (autoChangeMode === '2') {
now = new Date()
hour = now.getHours()
isNight = hour <= 6 || hour >= 18
if (t === undefined) isNight ? activateDarkMode() : activateLightMode()
else if (t === 'light') activateLightMode()
else activateDarkMode()
} else {
if (t === 'dark') activateDarkMode()
else if (t === 'light') activateLightMode()
}</script><style type="text/css">#toggle-sidebar {bottom: 80px}</style><meta name="generator" content="Hexo 5.2.0"></head><body><div id="mobile-sidebar"><div id="menu_mask"></div><div id="mobile-sidebar-menus"><div class="mobile_author_icon"><img class="avatar-img" data-lazy-src="/img/avatar.png" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="mobile_post_data"><div class="mobile_data_item is-center"><div class="mobile_data_link"><a href="/archives/"><div class="headline">文章</div><div class="length_num">25</div></a></div></div><div class="mobile_data_item is-center"> <div class="mobile_data_link"><a href="/tags/"><div class="headline">标签</div><div class="length_num">14</div></a></div></div><div class="mobile_data_item is-center"> <div class="mobile_data_link"><a href="/categories/"><div class="headline">分类</div><div class="length_num">10</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="javascript:void(0);"><i class="fa-fw fa fa-list"></i><span> 娱乐</span><i class="fas fa-chevron-down expand"></i></a><ul class="menus_item_child"><li><a class="site-page" href="/music/"><i class="fa-fw fa fa-music"></i><span> 音乐</span></a></li><li><a class="site-page" href="/movies/"><i class="fa-fw fa fa-film"></i><span> 电影</span></a></li><li><a class="site-page" href="/games/"><i class="fa-fw fa fa-gamepad"></i><span> 游戏</span></a></li><li><a class="site-page" href="/Gallery/"><i class="fa-fw fa fa-image"></i><span> 图库</span></a></li><li><a class="site-page" href="/books/"><i class="fa-fw fa fa-image"></i><span> 书籍</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/box/"><i class="fa-fw fa fa-th-large"></i><span> 各种网站</span></a></div><div class="menus_item"><a class="site-page" href="/messageboard/"><i class="fa-fw fa fa-comment-dots"></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="/about/"><i class="fa-fw fa fa-heart"></i><span> 关于</span></a></div></div></div></div><div id="body-wrap"><div id="web_bg" data-type="photo"></div><header class="full_page" id="page-header" style="background-image: url(/img/index.jpg)"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">Prjoker</a></span><span 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="javascript:void(0);"><i class="fa-fw fa fa-list"></i><span> 娱乐</span><i class="fas fa-chevron-down expand"></i></a><ul class="menus_item_child"><li><a class="site-page" href="/music/"><i class="fa-fw fa fa-music"></i><span> 音乐</span></a></li><li><a class="site-page" href="/movies/"><i class="fa-fw fa fa-film"></i><span> 电影</span></a></li><li><a class="site-page" href="/games/"><i class="fa-fw fa fa-gamepad"></i><span> 游戏</span></a></li><li><a class="site-page" href="/Gallery/"><i class="fa-fw fa fa-image"></i><span> 图库</span></a></li><li><a class="site-page" href="/books/"><i class="fa-fw fa fa-image"></i><span> 书籍</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/box/"><i class="fa-fw fa fa-th-large"></i><span> 各种网站</span></a></div><div class="menus_item"><a class="site-page" href="/messageboard/"><i class="fa-fw fa fa-comment-dots"></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="/about/"><i class="fa-fw fa fa-heart"></i><span> 关于</span></a></div></div><span class="close" id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></span></span></nav><div id="site-info"><h1 id="site-title">Prjoker</h1><div id="site-subtitle"><span id="subtitle"></span></div></div><div id="scroll-down"><i class="fas fa-angle-down scroll-down-effects"></i></div></header><main class="layout_page" id="content-inner"><div class="recent-posts" id="recent-posts"><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2022/02/11/nourse/" title="鼻中隔偏曲手术"> <img class="post_bg" data-lazy-src="https://cdn.jsdelivr.net/gh/prjoker/CDN@main/cover/post04.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="鼻中隔偏曲手术"></a></div><div class="recent-post-info"><a class="article-title" href="/2022/02/11/nourse/" 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 class="post-meta-date-created" datetime="2022-02-11T01:31:36.000Z" title="发表于 2022-02-11 09:31:36">2022-02-11</time><span class="article-meta__separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2022-02-27T11:00:27.693Z" title="更新于 2022-02-27 19:00:27">2022-02-27</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox article-meta__icon"></i><a class="article-meta__categories" href="/categories/%E7%94%9F%E6%B4%BB/">生活</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag article-meta__icon"></i><a class="article-meta__tags" href="/tags/life/">life</a></span></div><div class="content">这次手术是在2022年的2月份,为什么特别提时间呢,因为在手术之前我也是看过很多很多网上对于这类手术的介绍、看法、术后分享等等,其中大部分人给的感受和建议都是非常中肯的,但也有一部分我不好说他们是什么心理的人总会在各类回答或者评论区里面哭天喊地说这手术有多大的坏处,不是空鼻症、鼻穿孔就是塌鼻子等等,还有说自己十年前做了之后塌了十年的鼻子啥啥啥的,害,真的就仁者见仁智者见智吧。
先说说我自身的情况: 今年本命年,24岁,小时候哮喘,鼻炎嘛因为各种原因也没有特地的去治疗过,算是多年的交替性鼻塞慢性鼻炎患者了,对鼻炎的感受就是对毛絮很敏感,然后一打喷嚏就是末日的感觉,流鼻涕废纸,还容易擦干鼻子周围的皮肤,反正打完喷嚏就等着坐牢的感觉吧。本来也没想过要看什么医生做什么手术的,想着吃吃药喷喷布地奈德什么的也能过得去,然后日常多锻炼应该也还好。但不知道是从去年开始还是什么时候开始,鼻子就堵得慌,就平时没有感冒没有打喷嚏的时候,左边也会有点堵,然后有时候晚上睡觉翻来覆去因为鼻子堵吸不进去空气导致睡不着,迷迷糊糊不知道什么时候睡着第二天醒来也没精神,嘴巴还干。鼻中隔偏曲应该是第一次验兵 ...</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2021/12/03/pyspider1/" title="爬虫1"> <img class="post_bg" data-lazy-src="https://cdn.jsdelivr.net/gh/prjoker/CDN@main/cover/post03.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="爬虫1"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/12/03/pyspider1/" title="爬虫1">爬虫1</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 class="post-meta-date-created" datetime="2021-12-03T06:16:31.000Z" title="发表于 2021-12-03 14:16:31">2021-12-03</time><span class="article-meta__separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2021-12-14T00:52:52.388Z" title="更新于 2021-12-14 08:52:52">2021-12-14</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox article-meta__icon"></i><a class="article-meta__categories" href="/categories/python/">python</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag article-meta__icon"></i><a class="article-meta__tags" href="/tags/%E7%88%AC%E8%99%AB/">爬虫</a></span></div><div class="content">这是大概19年7月那会儿吧,写的第一个爬虫脚本,爬的是一个lsp常来的网站,那时候大部分还是想着练手,毕竟爬虫这玩意儿,我认为缺的从来不是技术,而是资源啊!下面是我写的源码:
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119#导入需要的库import urllib.requestimport osimport random###############################################################这里是打开链接,我给爬虫赋予一个身份(浏览器)去访问想爬的网页。################## ...</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2021/11/16/my_paino/" title="电钢琴FP-30X"> <img class="post_bg" data-lazy-src="https://cdn.jsdelivr.net/gh/prjoker/CDN@main/cover/post01.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="电钢琴FP-30X"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/11/16/my_paino/" title="电钢琴FP-30X">电钢琴FP-30X</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 class="post-meta-date-created" datetime="2021-11-16T15:34:14.000Z" title="发表于 2021-11-16 23:34:14">2021-11-16</time><span class="article-meta__separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2021-12-14T00:48:33.984Z" title="更新于 2021-12-14 08:48:33">2021-12-14</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox article-meta__icon"></i><a class="article-meta__categories" href="/categories/%E7%94%9F%E6%B4%BB%E5%A8%B1%E4%B9%90/">生活娱乐</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag article-meta__icon"></i><a class="article-meta__tags" href="/tags/%E7%94%B5%E9%92%A2%E7%90%B4/">电钢琴</a></span></div><div class="content">2021.11.16
一直以来都蛮喜欢音乐的吧,尽管唱歌并不怎么样,但一直以来都感觉自己音乐细胞还是有些的。小时候家里有台电子琴,后来坏了现在一直在我家书柜上面吃灰,高中心血来潮买了个吉他,没学会多少曲子,感觉手指头太大弹起来不怎么灵活。如今毕业两年,纠结了一个月左右,终于还是在咸鱼上买了这台二手的罗兰FP-30X,拿到手弹起来的手感,嘶,跟我那十几年前的电子琴完全没法比哈哈哈。把电钢琴带回家后,因为没有平板,但是有个也是二手的surface pro小电脑,就想着能不能用这个练,结果弹琴吧的软件windows上只是一个唱谱,没法和电钢琴联动起来练习。无奈只能用手机,想着手机是不是能投屏到电脑上。在用过了win10自带的投影、下了个乐播投屏(看到有限期我就删了。。。)之后看到了一篇帖子说很多投屏都是基于scrcpy这个开源软件制作的,后来深入了一下,下载了Qtscrcpy这个基于scrcpy开发的也是完全开源免费的投屏软件,区别于scrcpy的命令行操作有了GUI界面哈哈。
希望接下来好好练琴~
此处先测试视频插件~
先用最近超喜欢的一个B站视频测试 ...</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2021/11/09/111/" title="无题"> <img class="post_bg" data-lazy-src="https://cdn.jsdelivr.net/gh/prjoker/CDN@main/cover/post02.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="无题"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/11/09/111/" 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 class="post-meta-date-created" datetime="2021-11-09T13:05:47.738Z" title="发表于 2021-11-09 21:05:47">2021-11-09</time><span class="article-meta__separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2021-11-09T13:07:15.343Z" title="更新于 2021-11-09 21:07:15">2021-11-09</time></span></div><div class="content">Vmware虚拟机环境下的Centos7,系统掉电后,无法重启,直接进入的dracut。因匆忙之中,没有来得及抓图。但记得系统提示:Warning: /dev/centos/root does not existWarning: /dev/centos/swap does not existWarning: /dev/mapper/centos-root does not exist然后就是提示输入journalctl查看日志。日志中主要内容也是提示以上三问题。尝试安装盘启动恢复,提示无法找到任何linux分区。按照https://blog.csdn.net/weixin_43905458/article/details/104059550的方法修复,在/dev目录中,找不到centos。无奈用英文搜索,终于找到一篇文章:https://unix.stackexchange.com/questions/425045/warning-dev-centos-root-swap-centos-root-does-not-exist-after-configuring-dr按照他的做法:
lv ...</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2021/10/12/04741network/" title="计算机网络技术(04741)"> <img class="post_bg" data-lazy-src="https://cdn.jsdelivr.net/gh/prjoker/CDN@main/cover/post02.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="计算机网络技术(04741)"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/10/12/04741network/" title="计算机网络技术(04741)">计算机网络技术(04741)</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 class="post-meta-date-created" datetime="2021-10-12T04:12:46.000Z" title="发表于 2021-10-12 12:12:46">2021-10-12</time><span class="article-meta__separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2021-10-12T04:16:36.782Z" title="更新于 2021-10-12 12:16:36">2021-10-12</time></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag article-meta__icon"></i><a class="article-meta__tags" href="/tags/%E8%87%AA%E8%80%83/">自考</a></span></div><div class="content">整个课程基本以OSI七层架构、TCP四层及理论五层为基础,讲述每一层的功能要点,并讲述应用方面:有线、无线、网络安全等。
</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2021/07/15/problem/" title="电脑上遇到的问题"> <img class="post_bg" data-lazy-src="https://cdn.jsdelivr.net/gh/prjoker/CDN@main/cover/post03.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="电脑上遇到的问题"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/07/15/problem/" 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 class="post-meta-date-created" datetime="2021-07-15T01:31:36.000Z" title="发表于 2021-07-15 09:31:36">2021-07-15</time><span class="article-meta__separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2021-12-14T00:52:42.986Z" title="更新于 2021-12-14 08:52:42">2021-12-14</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox article-meta__icon"></i><a class="article-meta__categories" href="/categories/win%E7%B3%BB%E7%BB%9F/">win系统</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag article-meta__icon"></i><a class="article-meta__tags" href="/tags/problem/">problem</a></span></div><div class="content">向日葵打不开
服务没起来或者被禁用了,服务里面有个sun什么的,别禁用。
system进程和系统中断进程高占用,如果有曾经把笔记本电脑光驱位置改成光驱托盘,那么可能原因就是这个。
</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2021/06/11/pyspider2/" title="爬虫2"> <img class="post_bg" data-lazy-src="https://cdn.jsdelivr.net/gh/prjoker/CDN@main/cover/post02.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="爬虫2"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/06/11/pyspider2/" title="爬虫2">爬虫2</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 class="post-meta-date-created" datetime="2021-06-11T01:17:32.000Z" title="发表于 2021-06-11 09:17:32">2021-06-11</time><span class="article-meta__separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2021-12-14T00:52:59.994Z" title="更新于 2021-12-14 08:52:59">2021-12-14</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox article-meta__icon"></i><a class="article-meta__categories" href="/categories/python/">python</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag article-meta__icon"></i><a class="article-meta__tags" href="/tags/Python%E7%88%AC%E8%99%AB/">Python爬虫</a></span></div><div class="content"> 缘起一个好物推送公众号的页面(不晓得这样做会不会涉及到什么侵权啥啥啥的,如果请一定赶紧告诉我下。。。)因为之前学习python,不怎么习惯没有分类的超多好物,所以想通过爬虫进行相应的简单筛选自己需要的信息(名字、价格、链接等等)链接是:’https://mp.weixin.qq.com/s/RU-J2HlnYlAFX4cnt-ELNA 是一个叫钱抠抠的公众号。
总的目标是这样的:1、获取促销物品标题 2、获取促销价格 3、获取链接 4、整合起来然后塞到excel做成一个表。
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105import urllib.requestimport xlwtdef ...</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2021/03/24/china_jinxiandai/" title="中国近现代史纲要"> <img class="post_bg" data-lazy-src="https://cdn.jsdelivr.net/gh/prjoker/CDN@main/cover/post04.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="中国近现代史纲要"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/03/24/china_jinxiandai/" 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 class="post-meta-date-created" datetime="2021-03-24T05:28:55.000Z" title="发表于 2021-03-24 13:28:55">2021-03-24</time><span class="article-meta__separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2021-03-24T15:00:45.242Z" title="更新于 2021-03-24 23:00:45">2021-03-24</time></span></div><div class="content">时间线1949.3 中共七届二中全会召开,地点 河北西伯坡村1949.10 苏联成为第一个同新中国建交的国家1950.6 中共七届三中全会,提出了用三年左右时间争取国家财政经济状况基本好转的重大任务1951-1952 中共在党政机构工作人员中开展了反贪污、反浪费、反官僚主义的“三反”运动。1952.10 新中国成立后主持召开的第一次大型国际会议亚洲太平洋地区和平会议1953 中共提出党在过渡时期总路线,“一化三改”“一体两翼”,“一化”“一体”即逐步实现国家的社会主义工业化,“三改”“两翼”即逐步实现国家对农业、手工业和资本主义工商业的社会主义改造1956 中共八大,提出当前主要任务是把我国从落后的农业国变为先进的工业国1957.2 毛泽东在最高国务会议上发表《正确处理人民内部矛盾的问题》的讲话,提出要把正确处理人民内部矛盾作为国家政治生活的主题。1958.11 毛泽东主持召开了第一次郑州会议,开始初步纠正“左”的错误1964-1965 第三届全国人民 ...</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2020/12/07/The_way/" title="短期目标"> <img class="post_bg" data-lazy-src="https://cdn.jsdelivr.net/gh/prjoker/CDN@main/cover/post01.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="短期目标"></a></div><div class="recent-post-info"><a class="article-title" href="/2020/12/07/The_way/" 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 class="post-meta-date-created" datetime="2020-12-07T01:37:00.000Z" title="发表于 2020-12-07 09:37:00">2020-12-07</time><span class="article-meta__separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2022-01-10T01:48:46.646Z" title="更新于 2022-01-10 09:48:46">2022-01-10</time></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag article-meta__icon"></i><a class="article-meta__tags" href="/tags/%E8%87%AA%E8%80%83/">自考</a></span></div><div class="content">相关网站浙江省自考 自学考试信息网 (zjzs.net)
中国计算机技术职业资格网 中国计算机技术职业资格网 (ruankao.org.cn)
自考(2021——????):总分表
科目
分数
科目
分数
03708 中国近现代史纲要
70
04747 JAVA语言程序设计(一)(含实)
03709 马克思主义基本原理概论
04735 数据库系统原理(含实)
00023 高等数学(工本)
02333 软件工程(含实)
04741 计算机网络原理(学位课程)
02326 操作系统 (含实)
02197 概率论与数理统计(二)
02331 数据结构 (含实)
00015 英语(二)
68
04737 C++程序设计(含实)
60
02324 离散数学
02325 计算机系统结构
目前平均分
66
2022.4
开考专业
主考学校
2021-10
2021-10
2021-10
2021-10
09:00~11:30
14:30~17:00
09:00~11:30
14:30~17:00
1080702 ...</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2020/11/21/%E7%AD%89%E4%BF%9D2-0%E6%95%B4%E6%94%B9%E8%AE%B0%E5%BD%95/" title="等保2.0整改记录"> <img class="post_bg" data-lazy-src="https://cdn.jsdelivr.net/gh/prjoker/CDN@main/cover/db2-0.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="等保2.0整改记录"></a></div><div class="recent-post-info"><a class="article-title" href="/2020/11/21/%E7%AD%89%E4%BF%9D2-0%E6%95%B4%E6%94%B9%E8%AE%B0%E5%BD%95/" title="等保2.0整改记录">等保2.0整改记录</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 class="post-meta-date-created" datetime="2020-11-21T13:51:24.000Z" title="发表于 2020-11-21 21:51:24">2020-11-21</time><span class="article-meta__separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2021-12-14T00:46:15.855Z" title="更新于 2021-12-14 08:46:15">2021-12-14</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox article-meta__icon"></i><a class="article-meta__categories" href="/categories/%E7%BD%91%E7%BB%9C%E5%AE%89%E5%85%A8/">网络安全</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag article-meta__icon"></i><a class="article-meta__tags" href="/tags/%E7%BD%91%E7%BB%9C%E5%AE%89%E5%85%A8/">网络安全</a></span></div><div class="content">操作系统Windows操作系统Linux数据库Oracle数据库SQLServer数据库Mysql系统密码策略设置如下:MinimumPasswordAge = 0 //密码最短留存期MaximumPasswordAge = 42 //密码最长留存期MinimumPasswordLength = 0 //密码长度最小值PasswordComplexity = 0 //密码必须符合复杂性要求PasswordHistorySize = 0 //强制密码历史 N个记住的密码LockoutBadCount = 5 //账户锁定阈值ResetLockoutCount = 30 //账户锁定时间LockoutDuration = 30 //复位账户锁定计数器RequireLogonToChangePassword = 0 *下次登录必须更改密码ForceLogoffWhenHourExpire = 0 *强制过期NewAdministratorName = “Administrator” *管理员账户名称NewGuestName = “Guest” *来宾账户名称ClearT ...</div></div></div><nav id="pagination"><div class="pagination"><span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><a class="extend next" rel="next" href="/page/2/"><i class="fas fa-chevron-right fa-fw"></i></a></div></nav></div><div class="aside_content" id="aside_content"><div class="card-widget card-info"><div class="card-content"><div class="card-info-avatar is-center"><img class="avatar-img" data-lazy-src="/img/avatar.png" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/><div class="author-info__name">不言仙声</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">25</div></a></div><div class="card-info-data-item is-center"><a href="/tags/"><div class="headline">标签</div><div class="length_num">14</div></a></div><div class="card-info-data-item is-center"><a href="/categories/"><div class="headline">分类</div><div class="length_num">10</div></a></div></div><a class="button--animated" id="card-info-btn" href="https://jokeroy.top"><i class="fab fa-github"></i><span>Follow Me</span></a></div></div><div class="sticky_layout"><div class="card-widget card-announcement"><div class="card-content"><div class="item-headline"><i class="fas fa-bullhorn card-announcement-animation"></i><span>不断反省</span></div><div class="announcement_content">今天玩得开心吗?</div></div></div><div class="card-widget card-recent-post"><div class="card-content"><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="/2022/02/11/nourse/" title="鼻中隔偏曲手术"><img data-lazy-src="https://cdn.jsdelivr.net/gh/prjoker/CDN@main/cover/post04.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="鼻中隔偏曲手术"/></a><div class="content"><a class="title" href="/2022/02/11/nourse/" title="鼻中隔偏曲手术">鼻中隔偏曲手术</a><time datetime="2022-02-11T01:31:36.000Z" title="发表于 2022-02-11 09:31:36">2022-02-11</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2021/12/03/pyspider1/" title="爬虫1"><img data-lazy-src="https://cdn.jsdelivr.net/gh/prjoker/CDN@main/cover/post03.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="爬虫1"/></a><div class="content"><a class="title" href="/2021/12/03/pyspider1/" title="爬虫1">爬虫1</a><time datetime="2021-12-03T06:16:31.000Z" title="发表于 2021-12-03 14:16:31">2021-12-03</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2021/11/16/my_paino/" title="电钢琴FP-30X"><img data-lazy-src="https://cdn.jsdelivr.net/gh/prjoker/CDN@main/cover/post01.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="电钢琴FP-30X"/></a><div class="content"><a class="title" href="/2021/11/16/my_paino/" title="电钢琴FP-30X">电钢琴FP-30X</a><time datetime="2021-11-16T15:34:14.000Z" title="发表于 2021-11-16 23:34:14">2021-11-16</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2021/11/09/111/" title="无题"><img data-lazy-src="https://cdn.jsdelivr.net/gh/prjoker/CDN@main/cover/post02.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="无题"/></a><div class="content"><a class="title" href="/2021/11/09/111/" title="无题">无题</a><time datetime="2021-11-09T13:05:47.738Z" title="发表于 2021-11-09 21:05:47">2021-11-09</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2021/10/12/04741network/" title="计算机网络技术(04741)"><img data-lazy-src="https://cdn.jsdelivr.net/gh/prjoker/CDN@main/cover/post02.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="计算机网络技术(04741)"/></a><div class="content"><a class="title" href="/2021/10/12/04741network/" title="计算机网络技术(04741)">计算机网络技术(04741)</a><time datetime="2021-10-12T04:12:46.000Z" title="发表于 2021-10-12 12:12:46">2021-10-12</time></div></div></div></div></div><div class="card-widget" id="card-newest-comments"><div class="card-content"><div class="item-headline"><i class="fas fa-bolt"></i><span>最新评论</span></div><div class="aside-list"><span>正在加载中...</span></div></div></div><div class="card-widget card-categories"><div class="card-content"><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/linux/"><span class="card-category-list-name">linux</span><span class="card-category-list-count">1</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/python/"><span class="card-category-list-name">python</span><span class="card-category-list-count">2</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/win%E7%B3%BB%E7%BB%9F/"><span class="card-category-list-name">win系统</span><span class="card-category-list-count">3</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E4%BA%A4%E6%8D%A2%E6%9C%BA%E5%91%BD%E4%BB%A4/"><span class="card-category-list-name">交换机命令</span><span class="card-category-list-count">4</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E6%80%9D%E8%80%83/"><span class="card-category-list-name">思考</span><span class="card-category-list-count">2</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E6%A0%91%E8%8E%93%E6%B4%BE/"><span class="card-category-list-name">树莓派</span><span class="card-category-list-count">1</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E7%94%9F%E6%B4%BB/"><span class="card-category-list-name">生活</span><span class="card-category-list-count">1</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E7%94%9F%E6%B4%BB%E5%A8%B1%E4%B9%90/"><span class="card-category-list-name">生活娱乐</span><span class="card-category-list-count">1</span></a></li>
<li class="card-category-list-item more is-center"><a class="card-category-list-link-more" href="/categories/">
<span>查看更多</span><i class="fas fa-angle-right"></i></a></li>
</ul></div></div><div class="card-widget card-tags"><div class="card-content"><div class="item-headline"><i class="fas fa-tags"></i><span>标签</span></div><div class="card-tag-cloud"><a href="/tags/%E8%87%AA%E8%80%83/" style="font-size: 1.23em; color: rgb(128, 144, 158)">自考</a><a href="/tags/%E4%BA%A4%E6%8D%A2%E6%9C%BA%E5%91%BD%E4%BB%A4/" style="font-size: 1.5em; color: rgb(193, 96, 196)">交换机命令</a><a href="/tags/linux/" style="font-size: 1.1em; color: rgb(158, 135, 175)">linux</a><a href="/tags/%E6%80%9D%E8%80%83/" style="font-size: 1.37em; color: rgb(146, 22, 195)">思考</a><a href="/tags/life/" style="font-size: 1.1em; color: rgb(33, 15, 197)">life</a><a href="/tags/%E7%94%B5%E9%92%A2%E7%90%B4/" style="font-size: 1.1em; color: rgb(122, 159, 5)">电钢琴</a><a href="/tags/%E7%88%AC%E8%99%AB/" style="font-size: 1.1em; color: rgb(170, 151, 54)">爬虫</a><a href="/tags/Python%E7%88%AC%E8%99%AB/" style="font-size: 1.1em; color: rgb(27, 74, 133)">Python爬虫</a><a href="/tags/%E9%BB%91%E7%A7%91%E6%8A%80/" style="font-size: 1.23em; color: rgb(163, 12, 18)">黑科技</a><a href="/tags/problem/" style="font-size: 1.1em; color: rgb(8, 147, 82)">problem</a><a href="/tags/%E6%A1%8C%E9%9D%A2%E8%BF%90%E7%BB%B4/" style="font-size: 1.1em; color: rgb(194, 161, 134)">桌面运维</a><a href="/tags/%E5%B7%A5%E4%BD%9C%E7%BB%8F%E5%8E%86/" style="font-size: 1.1em; color: rgb(39, 54, 177)">工作经历</a><a href="/tags/%E8%BD%AF%E8%80%83/" style="font-size: 1.1em; color: rgb(5, 111, 116)">软考</a><a href="/tags/%E7%BD%91%E7%BB%9C%E5%AE%89%E5%85%A8/" style="font-size: 1.1em; color: rgb(23, 29, 171)">网络安全</a></div></div></div><div class="card-widget card-archives"><div class="card-content"><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/2022/02/"><span class="card-archive-list-date">二月 2022</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/12/"><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/11/"><span class="card-archive-list-date">十一月 2021</span><span class="card-archive-list-count">2</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/07/"><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/06/"><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/03/"><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/2020/12/"><span class="card-archive-list-date">十二月 2020</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item more is-center"><a class="card-archive-list-link-more" href="/archives/">
<span>查看更多</span><i class="fas fa-angle-right" ></i></a></li></ul></div></div><div class="card-widget card-webinfo"><div class="card-content"><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">25</div></div><div class="webinfo-item"><div class="item-name">已运行时间 :</div><div class="item-count" id="runtimeshow" data-publishDate="2020-04-21T16: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="2022-03-08T11:53:42.449Z"></div></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">©2020 - 2022 <i style="color:#FF6A6A;animation: announ_animation 0.8s linear infinite;"class="fas fa-heart"></i> By 不言仙声</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text"><a target="_blank" rel="noopener" href="https://beian.miit.gov.cn/"><img class="icp-icon" src="/img/icp.png"><span>備案號:浙ICP备18046235号-4</span></a></div></div></footer></div><section id="rightside"><div id="rightside-config-hide"><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog"></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></section><div><script src="https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js"></script><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js"></script><script src="https://cdn.jsdelivr.net/npm/instant.page/instantpage.min.js" type="module" defer></script><script src="https://cdn.jsdelivr.net/npm/vanilla-lazyload/dist/lazyload.iife.min.js"></script><script src="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.js"></script><div class="js-pjax"><script>function subtitleType () {
$.getJSON('https://v1.hitokoto.cn', function (data) {
if (true) {
var from = '出自 ' + data.from
var sub = "世界因概率而精彩,The world is wonderful because of probability".length == 0 ? new Array() : "世界因概率而精彩,The world is wonderful because of probability".split(',')
var both = sub.unshift(data.hitokoto, from)
var typed = new Typed('#subtitle', {
strings: sub,
startDelay: 300,
typeSpeed: 150,
loop: true,
backSpeed: 50,
})
} else {
document.getElementById('subtitle').innerHTML = data.hitokoto
}
})
}
if (true) {
if (typeof Typed === 'function') subtitleType()
else $.getScript('https://cdn.jsdelivr.net/npm/typed.js/lib/typed.min.js', subtitleType)
} else {
subtitleType()
}
</script><script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div><script src="https://cdn.jsdelivr.net/npm/[email protected]/js/md5.min.js"></script><script>window.addEventListener('load', () => {
const changeContent = (content) => {
if (content === '') return content
content = content.replace(/<[^>]+>/g,"") // remove html tag
content = content.replace(/(http(s?):)([/|.|\w|\s|-])*\.(?:jpg|jpeg|gif|png|webp)/g, '') // remove image link
content = content.replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi, '') // remove url
if (content.length > 150) {
content = content.substring(0,150) + '...'
}
return content
}
const getIcon = (icon, mail) => {
if (icon) return icon
let defaultIcon = '?d=monsterid'
let iconUrl = `https://gravatar.loli.net/avatar/${md5(mail.toLowerCase()) + defaultIcon}`
return iconUrl
}
const generateHtml = array => {
let result = ''
for (let i = 0; i < array.length; i++) {
result += '<div class=\'aside-list-item\'>'
if (true) {
result += `<a href='${array[i].url}' class="thumbnail"><img src='${getIcon(array[i].avatar, array[i].mail)}' alt='${array[i].nick}'></a>`
}
result += `<div class='content'>
<a class='comment' href='${array[i].url}'>${array[i].content}</a>
<div class='name'><span>${array[i].nick}</span><time> / ${btf.diffDate(array[i].date, true)}</time></div>
</div></div>`
}
let $dom = document.querySelector('#card-newest-comments .aside-list')
$dom.innerHTML= result
window.pjax && window.pjax.refresh($dom)
}
const getValineData = () => {
let serverURL = ''
if (false) {
serverURL = ''
} else {
serverURL = 'https://iOkEYivf.api.lncldglobal.com'
}
var settings = {
"url": `${serverURL}/1.1/classes/Comment?limit=6&order=-createdAt`,
"method": "GET",
"timeout": 0,
"headers": {
"X-LC-Id": 'iOkEYivfLCrwbD109lREyr13-MdYXbMMI',
"X-LC-Key": 'bYATsf9LKQOxrxCs4Fq2yeWO',
"Content-Type": "application/json"
},
}
$.ajax(settings).done((response) => {
var valineArray = []
response.results.forEach((e)=>{
valineArray.push({
'avatar': e.QQAvatar,
'content': changeContent(e.comment),
'mail': e.mail,
'nick': e.nick,
'url': e.url,
'date': e.createdAt,
})
})
saveToLocal.set('leancloud-newest-comments', JSON.stringify(valineArray), 10/(60*24))
generateHtml(valineArray)
}).fail(()=>{
const $dom = document.querySelector('#card-newest-comments .aside-list')
$dom.innerHTML= "无法获取资料,请确认相关配置是否正确"
})
}
const newestCommentInit = () => {
if (document.querySelector('#card-newest-comments .aside-list')) {
const data = saveToLocal.get('leancloud-newest-comments')
if (data) {
generateHtml(JSON.parse(data))
} else {
getValineData()
}
}
}
newestCommentInit()
document.addEventListener('pjax:complete', newestCommentInit)
})</script><div class="aplayer no-destroy" data-id="2077331460" data-server="netease" data-type="playlist" data-fixed="true" data-mini="true" data-listFolded="false" data-order="random" data-preload="none" data-autoplay="false" muted></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.css"><script src="https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.js"></script><script src="https://cdn.jsdelivr.net/gh/metowolf/[email protected]/dist/Meting.min.js"></script><script src="https://cdn.jsdelivr.net/npm/pjax/pjax.min.js"></script><script>let pjaxSelectors = [
'title',
'meta[name=description]',
'#config_change',
'#body-wrap',
'#rightside-config-hide',
'#rightside-config-show',
'.js-pjax'
]
if (false) {
pjaxSelectors.unshift('meta[property="og:image"]', 'meta[property="og:title"]', 'meta[property="og:url"]')
}
var pjax = new Pjax({
elements: 'a:not([target="_blank"])',
selectors: pjaxSelectors,
cacheBust: false,
analytics: false,
scrollRestoration: false
})
document.addEventListener('pjax:complete', function () {
window.refreshFn()
$('script[data-pjax]').each(function () {
$(this).parent().append($(this).remove())
})
GLOBAL_CONFIG.islazyload && window.lazyLoadInstance.update()
typeof chatBtnFn === 'function' && chatBtnFn()
typeof panguInit === 'function' && panguInit()
if (typeof gtag === 'function') {
gtag('config', '', {'page_path': window.location.pathname});
}
typeof loadMeting === 'function' && document.getElementsByClassName('aplayer').length && loadMeting()
// Analytics
if (false) {
MtaH5.pgv()
}
// prismjs
typeof Prism === 'object' && Prism.highlightAll()
typeof preloader === 'object' && preloader.endLoading()
})
document.addEventListener('pjax:send', function () {
typeof preloader === 'object' && preloader.initLoading()
if (window.aplayers) {
for (let i = 0; i < window.aplayers.length; i++) {
if (!window.aplayers[i].options.fixed) {
window.aplayers[i].destroy()
}
}
}
typeof typed === 'object' && typed.destroy()
$(window).off('scroll')
//reset readmode
$('body').hasClass('read-mode') && $('body').removeClass('read-mode')
})</script></div></body></html>