-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
422 lines (371 loc) · 18.4 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
<!DOCTYPE html>
<html lang="zh" dir="auto">
<head>
<meta name="generator" content="Hugo 0.93.1" /><meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="robots" content="index, follow">
<title>他山之石</title>
<meta name="description" content="他山之石, 产品经理, 程序员, 互联网产品知识分享">
<meta name="author" content="Raydon">
<link rel="canonical" href="https://tszs.info/">
<meta name="referrer" content="no-referrer" />
<link crossorigin="anonymous" href="/assets/css/stylesheet.e122e6977df6d95939dc1ef27a01547dd8947f0cadc108f966e7e6a98dd09806.css" integrity="sha256-4SLml3322Vk53B7yegFUfdiUfwytwQj5ZufmqY3QmAY=" rel="preload stylesheet" as="style">
<link rel="icon" href="https://tszs.info/images/favicon/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="https://tszs.info/images/favicon/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://tszs.info/images/favicon/favicon-32x32.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://tszs.info/images/favicon/apple-touch-icon.png">
<link rel="mask-icon" href="https://tszs.info/images/favicon/favicon-32x32.png">
<meta name="theme-color" content="#2e2e33">
<meta name="msapplication-TileColor" content="#2e2e33">
<link rel="alternate" type="application/rss+xml" href="https://tszs.info/index.xml">
<link rel="alternate" type="application/json" href="https://tszs.info/index.json">
<noscript>
<style>
#theme-toggle,
.top-link {
display: none;
}
</style>
<style>
@media (prefers-color-scheme: dark) {
:root {
--theme: rgb(29, 30, 32);
--entry: rgb(46, 46, 51);
--primary: rgb(218, 218, 219);
--secondary: rgb(155, 156, 157);
--tertiary: rgb(65, 66, 68);
--content: rgb(196, 196, 197);
--hljs-bg: rgb(46, 46, 51);
--code-bg: rgb(55, 56, 62);
--border: rgb(51, 51, 51);
}
.list {
background: var(--theme);
}
.list:not(.dark)::-webkit-scrollbar-track {
background: 0 0;
}
.list:not(.dark)::-webkit-scrollbar-thumb {
border-color: var(--theme);
}
}
</style>
</noscript>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-RMBH6WFDEL"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-RMBH6WFDEL');
</script>
<script type="text/javascript">
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "h7fixzahtv");
</script>
<link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/6.2.0/css/all.min.css" rel="stylesheet">
<meta property="og:title" content="" />
<meta property="og:description" content="他山之石, 产品经理, 程序员, 互联网产品知识分享" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://tszs.info/" /><meta property="og:image" content="https://tszs.info/home-info.png"/>
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:image" content="https://tszs.info/home-info.png"/>
<meta name="twitter:title" content=""/>
<meta name="twitter:description" content="他山之石, 产品经理, 程序员, 互联网产品知识分享"/>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "他山之石",
"url": "https://tszs.info",
"description": "他山之石, 产品经理, 程序员, 互联网产品知识分享",
"thumbnailUrl": "https://tszs.info/images/favicon/favicon.ico",
"sameAs": [
"https://mp.weixin.qq.com/s?__biz=MzI0NzgzODg2MQ==\u0026mid=2247483772\u0026idx=1\u0026sn=5548976805de43e3a2258b30acea78ee\u0026chksm=e9a8a09ededf29884eda5bd9d35ed8283ba8b11bdd53dae253ceb058dbd04998cebb4757ffbe#rd", "https://www.zhihu.com/column/c_1564990170633519104", "mailto:[email protected]", "index.xml"
]
}
</script>
</head>
<body class="list" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
} else if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
} else if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
document.body.classList.add('dark');
}
</script>
<header class="header">
<div class="nav-container">
<nav class="nav">
<div class="logo">
<a href="https://tszs.info" accesskey="h" title="他山之石 (Alt + H)">
<img src="https://tszs.info/images/logo.gif" alt="" aria-label="logo"
height="35"> 他山之石</a>
<div class="logo-switches">
<button id="theme-toggle" accesskey="t" title="(Alt + T)">
<svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
</svg>
<svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<circle cx="12" cy="12" r="5"></circle>
<line x1="12" y1="1" x2="12" y2="3"></line>
<line x1="12" y1="21" x2="12" y2="23"></line>
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
<line x1="1" y1="12" x2="3" y2="12"></line>
<line x1="21" y1="12" x2="23" y2="12"></line>
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
</svg>
</button>
</div>
</div>
<ul id="menu">
<li>
<a href="https://tszs.info/" title="首页">
<span class="active">首页</span>
</a>
</li>
<li>
<a href="https://tszs.info/categories" title="分类">
<span>分类</span>
</a>
</li>
<li>
<a href="https://tszs.info/tags" title="标签">
<span>标签</span>
</a>
</li>
<li>
<a href="https://tszs.info/archives" title="时间线">
<span>时间线</span>
</a>
</li>
<li>
<a href="https://tszs.info/search" title="搜索">
<span>搜索</span>
</a>
</li>
</ul>
<div id="menuToggle">
<input type="checkbox" />
<span></span>
<span></span>
<span></span>
<ul id="menu-mini">
<li>
<a href="https://tszs.info/" class="active">首页 <i class="fa-solid fa-caret-right"></i>
</a>
</li>
<li>
<a href="https://tszs.info/categories">分类 <i class="fa-solid fa-caret-right"></i>
</a>
</li>
<li>
<a href="https://tszs.info/tags">标签 <i class="fa-solid fa-caret-right"></i>
</a>
</li>
<li>
<a href="https://tszs.info/archives">时间线 <i class="fa-solid fa-caret-right"></i>
</a>
</li>
<li>
<a href="https://tszs.info/search">搜索 <i class="fa-solid fa-caret-right"></i>
</a>
</li>
</ul>
</div>
</nav>
</div>
</header>
<main class="main">
<article class="first-entry home-info">
<header class="entry-header">
<h1>他山取石 可攻玉</h1>
</header>
<div class="entry-content">
<script src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/typed.js/2.0.12/typed.js"></script>
<div style="min-height:78px;">
<span id="typed3"></span>
</div>
<script>
var typed3 = new Typed('#typed3', {
strings: [
'👏🏼 欢迎来到他山之石\u003cbr\u003e 🎁 这里不定期分享一些外部能力知识给你\n<br>🙏🏼 希望你能够喜欢\n',
'👏🏼 欢迎来到他山之石\u003cbr\u003e 🎁 这里不定期分享一些外部能力知识给你\n<br>🧗🏻 我在上山的路上\n',
'👏🏼 欢迎来到他山之石\u003cbr\u003e 🎁 这里不定期分享一些外部能力知识给你\n<br>📝 —— Raydon.\n',
],
typeSpeed: 40,
backSpeed: 60,
smartBackspace: true,
loop: false
});
</script>
</div>
<footer class="entry-footer">
<div class="social-icons">
<a href="https://mp.weixin.qq.com/s?__biz=MzI0NzgzODg2MQ==&mid=2247483772&idx=1&sn=5548976805de43e3a2258b30acea78ee&chksm=e9a8a09ededf29884eda5bd9d35ed8283ba8b11bdd53dae253ceb058dbd04998cebb4757ffbe#rd" target="_blank" rel="noopener noreferrer me" title="Wechat">
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor" stroke="none">
<path d="M8.691 2.188C3.891 2.188 0 5.476 0 9.53c0 2.212 1.17 4.203 3.002 5.55a.59.59 0 0 1 .213.665l-.39 1.48c-.019.07-.048.141-.048.213 0 .163.13.295.29.295a.326.326 0 0 0 .167-.054l1.903-1.114a.864.864 0 0 1 .717-.098 10.16 10.16 0 0 0 2.837.403c.276 0 .543-.027.811-.05-.857-2.578.157-4.972 1.932-6.446 1.703-1.415 3.882-1.98 5.853-1.838-.576-3.583-4.196-6.348-8.596-6.348zM5.785 5.991c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178A1.17 1.17 0 0 1 4.623 7.17c0-.651.52-1.18 1.162-1.18zm5.813 0c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178 1.17 1.17 0 0 1-1.162-1.178c0-.651.52-1.18 1.162-1.18zm5.34 2.867c-1.797-.052-3.746.512-5.28 1.786-1.72 1.428-2.687 3.72-1.78 6.22.942 2.453 3.666 4.229 6.884 4.229.826 0 1.622-.12 2.361-.336a.722.722 0 0 1 .598.082l1.584.926a.272.272 0 0 0 .14.047c.134 0 .24-.111.24-.247 0-.06-.023-.12-.038-.177l-.327-1.233a.582.582 0 0 1-.023-.156.49.49 0 0 1 .201-.398C23.024 18.48 24 16.82 24 14.98c0-3.21-2.931-5.837-6.656-6.088V8.89c-.135-.01-.27-.027-.407-.03zm-2.53 3.274c.535 0 .969.44.969.982a.976.976 0 0 1-.969.983.976.976 0 0 1-.969-.983c0-.542.434-.982.97-.982zm4.844 0c.535 0 .969.44.969.982a.976.976 0 0 1-.969.983.976.976 0 0 1-.969-.983c0-.542.434-.982.969-.982z"/></svg>
</a>
<a href="https://www.zhihu.com/column/c_1564990170633519104" target="_blank" rel="noopener noreferrer me" title="Zhihu">
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor" stroke="none">
<path d="M5.721 0C2.251 0 0 2.25 0 5.719V18.28C0 21.751 2.252 24 5.721 24h12.56C21.751 24 24 21.75 24 18.281V5.72C24 2.249 21.75 0 18.281 0zm1.964 4.078c-.271.73-.5 1.434-.68 2.11h4.587c.545-.006.445 1.168.445 1.171H9.384a58.104 58.104 0 01-.112 3.797h2.712c.388.023.393 1.251.393 1.266H9.183a9.223 9.223 0 01-.408 2.102l.757-.604c.452.456 1.512 1.712 1.906 2.177.473.681.063 2.081.063 2.081l-2.794-3.382c-.653 2.518-1.845 3.607-1.845 3.607-.523.468-1.58.82-2.64.516 2.218-1.73 3.44-3.917 3.667-6.497H4.491c0-.015.197-1.243.806-1.266h2.71c.024-.32.086-3.254.086-3.797H6.598c-.136.406-.158.447-.268.753-.594 1.095-1.603 1.122-1.907 1.155.906-1.821 1.416-3.6 1.591-4.064.425-1.124 1.671-1.125 1.671-1.125zM13.078 6h6.377v11.33h-2.573l-2.184 1.373-.401-1.373h-1.219zm1.313 1.219v8.86h.623l.263.937 1.455-.938h1.456v-8.86z"/></svg>
</a>
<a href="mailto:[email protected]" target="_blank" rel="noopener noreferrer me" title="Email">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 21" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round">
<path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path>
<polyline points="22,6 12,13 2,6"></polyline>
</svg>
</a>
<a href="index.xml" target="_blank" rel="noopener noreferrer me" title="Rss">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round">
<path d="M4 11a9 9 0 0 1 9 9" />
<path d="M4 4a16 16 0 0 1 16 16" />
<circle cx="5" cy="19" r="1" />
</svg>
</a>
</div>
</footer>
</article>
<article class="post-entry">
<div class="post-info">
<header class="entry-header">
<h2>小白搭建Hexo博客(语雀端写作)详细教程
</h2>
</header>
<div class="entry-content">
<p>写在前面 这篇教程能实现什么? 语雀文章更新 → webhook推送 → 触发器触发云函数 → 私有仓库actions拉取文章更新 → 部署到公开仓库 → 托管网站...</p>
</div>
<footer class="entry-footer"><span title='2022-10-24 11:54:36.574 +0000 UTC'>2022-10-24</span> · 9 分钟 · Raydon</footer>
</div>
<a class="entry-link" aria-label="post link to 小白搭建Hexo博客(语雀端写作)详细教程" href="https://tszs.info/p/pg3i82/"></a>
</article>
<article class="post-entry">
<div class="post-info">
<header class="entry-header">
<h2>经典高分电影推荐
</h2>
</header>
<div class="entry-content">
<p>根据个人观看经历推荐</p>
</div>
<footer class="entry-footer"><span title='2022-10-17 00:00:00 +0000 UTC'>2022-10-17</span> · 12 分钟 · Raydon</footer>
</div>
<figure class="entry-cover"><img loading="lazy" src="https://cdn.tszs.info/blog/movie_love.png" alt="">
</figure>
<a class="entry-link" aria-label="post link to 经典高分电影推荐" href="https://tszs.info/p/movie_love/"></a>
</article>
<article class="post-entry">
<div class="post-info">
<header class="entry-header">
<h2>测试语雀文章自动同步是否正常
</h2>
</header>
<div class="entry-content">
<p>请忽略这篇文章</p>
</div>
<footer class="entry-footer"><span title='2022-10-16 05:33:29.957 +0000 UTC'>2022-10-16</span> · 1 分钟 · Raydon</footer>
</div>
<a class="entry-link" aria-label="post link to 测试语雀文章自动同步是否正常" href="https://tszs.info/p/qgwhdl/"></a>
</article>
<article class="post-entry">
<div class="post-info">
<header class="entry-header">
<h2>验证码产品对比
</h2>
</header>
<div class="entry-content">
<p>国内主流验证码平台简单对比分析</p>
</div>
<footer class="entry-footer"><span title='2022-09-26 00:00:00 +0000 UTC'>2022-09-26</span> · 4 分钟 · Raydon</footer>
</div>
<a class="entry-link" aria-label="post link to 验证码产品对比" href="https://tszs.info/p/captcha/"></a>
</article>
</main>
<footer class="footer">
<span>© 2025 <a href="https://tszs.info">他山之石</a></span>
<span>
转载请注明出处
<a href="https://beian.miit.gov.cn/" rel="noopener noreferrer" target="_blank" >津ICP备2022007831号-1</a>
</span>
</footer>
<a href="#top" aria-label="go to top" title="回到顶部 / Alt + G" class="top-link" id="top-link" accesskey="g">
<span class="top-inner">
<svg class="top-svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor">
<path d="M12 6H0l6-6z" />
</svg>
<div><span id="read_progress"></span>%</div>
</span>
</span>
</a>
<script>
let menu = document.getElementById('menu')
if (menu) {
menu.scrollLeft = localStorage.getItem("menu-scroll-position");
menu.onscroll = function () {
localStorage.setItem("menu-scroll-position", menu.scrollLeft);
}
}
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener("click", function (e) {
e.preventDefault();
var id = this.getAttribute("href").substr(1);
if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) {
document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({
behavior: "smooth"
});
} else {
document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView();
}
if (id === "top") {
history.replaceState(null, null, " ");
} else {
history.pushState(null, null, `#${id}`);
}
});
});
</script>
<script>
var mybutton = document.getElementById("top-link");
window.onscroll = function () {
if (document.body.scrollTop > 800 || document.documentElement.scrollTop > 800) {
mybutton.style.visibility = "visible";
mybutton.style.opacity = "1";
} else {
mybutton.style.visibility = "hidden";
mybutton.style.opacity = "0";
}
};
document.addEventListener('scroll', function (e) {
const readProgress = document.getElementById("read_progress");
const scrollHeight = document.documentElement.scrollHeight;
const clientHeight = document.documentElement.clientHeight;
const scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
readProgress.innerText = ((scrollTop / (scrollHeight - clientHeight)).toFixed(2) * 100).toFixed(0);
})
</script>
<script>
document.getElementById("theme-toggle").addEventListener("click", () => {
if (document.body.className.includes("dark")) {
document.body.classList.remove('dark');
localStorage.setItem("pref-theme", 'light');
} else {
document.body.classList.add('dark');
localStorage.setItem("pref-theme", 'dark');
}
})
</script>
</body>
</html>