-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
494 lines (419 loc) · 18.8 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
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>00002000的小窝</title>
<meta name="renderer" content="webkit" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta name="theme-color" content="#f8f5ec" />
<meta name="msapplication-navbutton-color" content="#f8f5ec">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#f8f5ec">
<meta name="author" content="00002000" /><meta name="description" content="00002000的博客" /><meta name="keywords" content="blog, 00002000, 技术" />
<meta name="generator" content="Hugo 0.118.2 with theme even" />
<link rel="canonical" href="https://blog.00002000.xyz/" />
<link href="https://blog.00002000.xyz/index.xml" rel="alternate" type="application/rss+xml" title="00002000的小窝" />
<link href="https://blog.00002000.xyz/index.xml" rel="feed" type="application/rss+xml" title="00002000的小窝" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<link href="/sass/main.min.f92fd13721ddf72129410fd8250e73152cc6f2438082b6c0208dc24ee7c13fc4.css" rel="stylesheet">
<link href="/lib/fancybox/jquery.fancybox-3.1.20.min.css" rel="stylesheet">
<meta property="og:title" content="00002000的小窝" />
<meta property="og:description" content="00002000的博客" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://blog.00002000.xyz/" />
<meta itemprop="name" content="00002000的小窝">
<meta itemprop="description" content="00002000的博客"><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="00002000的小窝"/>
<meta name="twitter:description" content="00002000的博客"/>
<!--[if lte IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/classlist/1.1.20170427/classList.min.js"></script>
<![endif]-->
<!--[if lt IE 9]>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/html5shiv.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dest/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div id="mobile-navbar" class="mobile-navbar">
<div class="mobile-header-logo">
<a href="/" class="logo">00002000的小窝</a>
</div>
<div class="mobile-navbar-icon">
<span></span>
<span></span>
<span></span>
</div>
</div>
<nav id="mobile-menu" class="mobile-menu slideout-menu">
<ul class="mobile-menu-list">
<a href="/">
<li class="mobile-menu-item">主页</li>
</a><a href="/post/">
<li class="mobile-menu-item">归档</li>
</a><a href="/tags/">
<li class="mobile-menu-item">标签</li>
</a><a href="/categories/">
<li class="mobile-menu-item">合集</li>
</a><a href="/about/">
<li class="mobile-menu-item">关于我</li>
</a>
</ul>
</nav>
<div class="container" id="mobile-panel">
<header id="header" class="header">
<div class="logo-wrapper">
<a href="/" class="logo">00002000的小窝</a>
</div>
<nav class="site-navbar">
<ul id="menu" class="menu">
<li class="menu-item">
<a class="menu-item-link" href="/">主页</a>
</li><li class="menu-item">
<a class="menu-item-link" href="/post/">归档</a>
</li><li class="menu-item">
<a class="menu-item-link" href="/tags/">标签</a>
</li><li class="menu-item">
<a class="menu-item-link" href="/categories/">合集</a>
</li><li class="menu-item">
<a class="menu-item-link" href="/about/">关于我</a>
</li>
</ul>
</nav>
</header>
<main id="main" class="main">
<div class="content-wrapper">
<div id="content" class="content">
<section id="posts" class="posts">
<article class="post">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/code/linux/workrave/">Workrave:拯救你的手指,肌肉和眼睛</a></h1>
<div class="post-meta">
<span class="post-time"> 2023-09-15 </span>
<div class="post-category">
<a href="/categories/linux%E9%85%8D%E7%BD%AE/"> linux配置 </a>
</div>
<span class="more-meta"> 约 419 字 </span>
<span class="more-meta"> 预计阅读 1 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
</div>
<div class="read-more">
<a href="/post/code/linux/workrave/" class="read-more-link">阅读更多</a>
</div>
</div>
</article>
<article class="post">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/code/linux/%E5%AE%89%E8%A3%85%E4%BD%BF%E7%94%A8zsh%E5%8F%8A%E5%85%B6%E5%BC%BA%E5%A4%A7%E7%9A%84%E6%8F%92%E4%BB%B6/">安装使用zsh及其强大的插件</a></h1>
<div class="post-meta">
<span class="post-time"> 2023-09-15 </span>
<div class="post-category">
<a href="/categories/linux%E9%85%8D%E7%BD%AE/"> linux配置 </a>
</div>
<span class="more-meta"> 约 261 字 </span>
<span class="more-meta"> 预计阅读 1 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
<h3 id="安装">安装</h3>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-sh" data-lang="sh"><span class="line"><span class="cl"><span class="c1"># 安装zsh及其插件(以archlinux为例)</span>
</span></span><span class="line"><span class="cl">sudo pacman -S zsh-autosuggestions zsh-syntax-highlighting zsh-theme-powerlevel10k zsh-history-substring-search zsh zsh-completions
</span></span><span class="line"><span class="cl">yay -S zsh-z-git
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="c1"># 修改当前用户默认shell</span>
</span></span><span class="line"><span class="cl">chsh -s /usr/bin/zsh
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="c1"># command-not-found钩子</span>
</span></span><span class="line"><span class="cl">sudo pacman -S pkgfile
</span></span><span class="line"><span class="cl">sudo pkgfile --update
</span></span></code></pre></td></tr></table>
</div>
</div>
</div>
<div class="read-more">
<a href="/post/code/linux/%E5%AE%89%E8%A3%85%E4%BD%BF%E7%94%A8zsh%E5%8F%8A%E5%85%B6%E5%BC%BA%E5%A4%A7%E7%9A%84%E6%8F%92%E4%BB%B6/" class="read-more-link">阅读更多</a>
</div>
</div>
</article>
<article class="post">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/code/linux/%E6%89%8B%E6%9C%BA%E5%85%85%E5%BD%93%E7%94%B5%E8%84%91%E6%89%AC%E5%A3%B0%E5%99%A8/">手机充当电脑扬声器</a></h1>
<div class="post-meta">
<span class="post-time"> 2023-09-15 </span>
<div class="post-category">
<a href="/categories/linux%E9%85%8D%E7%BD%AE/"> linux配置 </a>
</div>
<span class="more-meta"> 约 91 字 </span>
<span class="more-meta"> 预计阅读 1 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
<p><code>yay PC audio phone</code>后有两个软件可用:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">1. aur/soundwire 3.0.0-4 <span class="o">(</span>+22 0.00<span class="o">)</span>
</span></span><span class="line"><span class="cl"> Wirelessly transmit any audio from your PC to your Android phone or other PCs
</span></span><span class="line"><span class="cl">2. aur/audiorelay 0.27.5-3 <span class="o">(</span>+5 0.16<span class="o">)</span>
</span></span><span class="line"><span class="cl"> Stream your PC audio to your phone
</span></span></code></pre></td></tr></table>
</div>
</div><p>这里选择第一种。</p>
</div>
<div class="read-more">
<a href="/post/code/linux/%E6%89%8B%E6%9C%BA%E5%85%85%E5%BD%93%E7%94%B5%E8%84%91%E6%89%AC%E5%A3%B0%E5%99%A8/" class="read-more-link">阅读更多</a>
</div>
</div>
</article>
<article class="post">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/code/linux/gitea/">gitea配置全局代理用于镜像github源</a></h1>
<div class="post-meta">
<span class="post-time"> 2023-09-15 </span>
<div class="post-category">
<a href="/categories/linux%E9%85%8D%E7%BD%AE/"> linux配置 </a>
</div>
<span class="more-meta"> 约 76 字 </span>
<span class="more-meta"> 预计阅读 1 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
<p>gitea打算加入代理功能方便mirror一些仓库,因为国内访问速度不佳</p>
<p>只需要添加下述配置到<code>config/app.ini</code></p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-javascript" data-lang="javascript"><span class="line"><span class="cl"><span class="p">......</span>
</span></span><span class="line"><span class="cl"><span class="nx">PROXY_ENABLED</span> <span class="o">=</span> <span class="kc">true</span>
</span></span><span class="line"><span class="cl"><span class="nx">PROXY_URL</span> <span class="o">=</span> <span class="nx">socks</span><span class="o">:</span><span class="c1">//127.0.0.1:1080
</span></span></span><span class="line"><span class="cl"><span class="c1"></span><span class="nx">PROXY_HOSTS</span> <span class="o">=</span> <span class="o">*</span><span class="p">.</span><span class="nx">github</span><span class="p">.</span><span class="nx">com</span>
</span></span><span class="line"><span class="cl"><span class="p">......</span>
</span></span></code></pre></td></tr></table>
</div>
</div>
</div>
<div class="read-more">
<a href="/post/code/linux/gitea/" class="read-more-link">阅读更多</a>
</div>
</div>
</article>
<article class="post">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/code/linux/ln/">ln -s 源路径要求为绝对路径</a></h1>
<div class="post-meta">
<span class="post-time"> 2023-09-15 </span>
<div class="post-category">
<a href="/categories/linux%E9%85%8D%E7%BD%AE/"> linux配置 </a>
</div>
<span class="more-meta"> 约 73 字 </span>
<span class="more-meta"> 预计阅读 1 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
<p>创建软链接命令的正确用法如下:</p>
<p><code>ln -s [源路径] [目标路径]</code></p>
<p><strong>其中源路径要求为绝对路径</strong></p>
</div>
<div class="read-more">
<a href="/post/code/linux/ln/" class="read-more-link">阅读更多</a>
</div>
</div>
</article>
<article class="post">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/code/linux/docker/">Docker</a></h1>
<div class="post-meta">
<span class="post-time"> 2023-09-15 </span>
<div class="post-category">
<a href="/categories/linux%E9%85%8D%E7%BD%AE/"> linux配置 </a>
</div>
<span class="more-meta"> 约 341 字 </span>
<span class="more-meta"> 预计阅读 1 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
</div>
<div class="read-more">
<a href="/post/code/linux/docker/" class="read-more-link">阅读更多</a>
</div>
</div>
</article>
<article class="post">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/code/linux/gentoo-config/">Gentoo装机后配置</a></h1>
<div class="post-meta">
<span class="post-time"> 2023-09-15 </span>
<div class="post-category">
<a href="/categories/linux%E9%85%8D%E7%BD%AE/"> linux配置 </a>
</div>
<span class="more-meta"> 约 392 字 </span>
<span class="more-meta"> 预计阅读 1 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
<p><a href="https://alessandrochen.github.io/2019/04/27/Fcitx%E6%B7%BB%E5%8A%A0%E8%AF%8D%E5%BA%93/">fcitx输入法</a></p>
</div>
<div class="read-more">
<a href="/post/code/linux/gentoo-config/" class="read-more-link">阅读更多</a>
</div>
</div>
</article>
<article class="post">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/code/linux/github-mirror/">Github 镜像</a></h1>
<div class="post-meta">
<span class="post-time"> 2023-09-15 </span>
<div class="post-category">
<a href="/categories/%E7%BD%91%E7%BB%9C/"> 网络 </a>
</div>
<span class="more-meta"> 约 8 字 </span>
<span class="more-meta"> 预计阅读 1 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
</div>
<div class="read-more">
<a href="/post/code/linux/github-mirror/" class="read-more-link">阅读更多</a>
</div>
</div>
</article>
<article class="post">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/code/linux/urxvt/">Urxvt复制粘贴</a></h1>
<div class="post-meta">
<span class="post-time"> 2023-09-15 </span>
<div class="post-category">
<a href="/categories/linux%E9%85%8D%E7%BD%AE/"> linux配置 </a>
</div>
<span class="more-meta"> 约 227 字 </span>
<span class="more-meta"> 预计阅读 1 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
<p>关于复制粘贴操作有两种方法:</p>
</div>
<div class="read-more">
<a href="/post/code/linux/urxvt/" class="read-more-link">阅读更多</a>
</div>
</div>
</article>
<article class="post">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/%E7%BC%96%E7%A8%8B%E8%AF%AD%E8%A8%80/regex/">正则表达式</a></h1>
<div class="post-meta">
<span class="post-time"> 2023-09-11 </span>
<div class="post-category">
<a href="/categories/%E7%BC%96%E7%A8%8B/"> 编程 </a>
</div>
<span class="more-meta"> 约 536 字 </span>
<span class="more-meta"> 预计阅读 2 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
表列出了正则表达式中的特殊字符: 特别字符 描述 $ 匹配输入字符串的结尾位置。如果设置了 RegExp 对象的 Multiline 属性,则 $ 也匹配 ‘\n’ 或 ‘\r&rsqu
</div>
<div class="read-more">
<a href="/post/%E7%BC%96%E7%A8%8B%E8%AF%AD%E8%A8%80/regex/" class="read-more-link">阅读更多</a>
</div>
</div>
</article>
</section>
<nav class="pagination">
<a class="next" href="/page/2/">
<span class="next-text">下一页</span>
<i class="iconfont icon-right"></i>
</a>
</nav>
</div>
</div>
</main>
<footer id="footer" class="footer">
<div class="social-links">
<a href="mailto:[email protected]" class="iconfont icon-email" title="email"></a>
<a href="https://github.com/seeu100" class="iconfont icon-github" title="github"></a>
<a href="https://www.zhihu.com/people/seeu100" class="iconfont icon-zhihu" title="zhihu"></a>
<a href="https://space.bilibili.com/197358900" class="iconfont icon-bilibili" title="bilibili"></a>
<a href="https://blog.00002000.xyz/index.xml" type="application/rss+xml" class="iconfont icon-rss" title="rss"></a>
</div>
<div class="copyright">
<span class="power-by">
由 <a class="hexo-link" href="https://gohugo.io">Hugo</a> 强力驱动
</span>
<span class="division">|</span>
<span class="theme-info">
主题 -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
</span>
<div class="busuanzi-footer">
<span id="busuanzi_container_site_pv"> 本站总访问量 <span id="busuanzi_value_site_pv"><img src="/img/spinner.svg" alt="spinner.svg"/></span> 次 </span>
<span class="division">|</span>
<span id="busuanzi_container_site_uv"> 本站总访客数 <span id="busuanzi_value_site_uv"><img src="/img/spinner.svg" alt="spinner.svg"/></span> 人 </span>
</div>
<span class="copyright-year">
©
2017 -
2023<span class="heart"><i class="iconfont icon-heart"></i></span><span>00002000</span>
</span>
</div>
</footer>
<div class="back-to-top" id="back-to-top">
<i class="iconfont icon-up"></i>
</div>
</div>
<script type="text/javascript" src="/lib/jquery/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="/lib/slideout/slideout-1.0.1.min.js"></script>
<script type="text/javascript" src="/lib/fancybox/jquery.fancybox-3.1.20.min.js"></script>
<script type="text/javascript" src="/lib/timeago/timeago-3.0.2.min.js"></script>
<script type="text/javascript" src="/lib/timeago/timeago.locales-3.0.2.min.js"></script>
<script><!-- NOTE: timeago.js uses the language code format like "zh_CN" (underscore and case sensitive) -->
var languageCode = "zh_CN".replace(/-/g, '_').replace(/_(.*)/, function ($0, $1) {return $0.replace($1, $1.toUpperCase());});
timeago().render(document.querySelectorAll('.timeago'), languageCode);
timeago.cancel();
</script>
<script type="text/javascript" src="/js/main.min.4ae89da218555efa0e7093a20b92017d2e1202b66fff9fc2edf4cb8d44b44c6e.js"></script>
</body>
</html>