forked from Simpleyyt/simpleyyt.github.io
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathatom.xml
537 lines (311 loc) · 21.4 KB
/
atom.xml
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
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>星辰大海</title>
<icon>https://galens.uamazing.cn/icon.png</icon>
<subtitle>人生万事须自为,跬步江山即寥廓</subtitle>
<link href="https://galens.uamazing.cn/atom.xml" rel="self"/>
<link href="https://galens.uamazing.cn/"/>
<updated>2025-02-24T06:10:46.859Z</updated>
<id>https://galens.uamazing.cn/</id>
<author>
<name>李有福呀</name>
</author>
<generator uri="https://hexo.io/">Hexo</generator>
<entry>
<title>一张彩票引发服务器宕机一整天</title>
<link href="https://galens.uamazing.cn/posts/2025/1QGRPD8.html"/>
<id>https://galens.uamazing.cn/posts/2025/1QGRPD8.html</id>
<published>2025-02-22T16:00:00.000Z</published>
<updated>2025-02-24T06:10:46.859Z</updated>
<summary type="html"><p>"No zuo no
die",今天算是被狠狠地教育了一顿,今天发生了一件绝对离奇的事情,一张彩票居然导致我的服务器宕机了一整天,事后回想起来,还是忍俊不禁。</p>
<p>实情的经过是这样的...</p></summary>
<category term="Essay" scheme="https://galens.uamazing.cn/categories/Essay/"/>
<category term="2025年" scheme="https://galens.uamazing.cn/categories/Essay/2025%E5%B9%B4/"/>
<category term="生活" scheme="https://galens.uamazing.cn/tags/%E7%94%9F%E6%B4%BB/"/>
</entry>
<entry>
<title>记一次小孩住院吸取的教训</title>
<link href="https://galens.uamazing.cn/posts/2025/1C4RGF0.html"/>
<id>https://galens.uamazing.cn/posts/2025/1C4RGF0.html</id>
<published>2025-02-20T16:00:00.000Z</published>
<updated>2025-02-24T10:51:24.374Z</updated>
<summary type="html"><p>今天,小孩因连续高烧住院了,通过这个次住院经历,我学习到了一些诊断经验,也趟了一些住院的坑,在此总结反思,吸取教训,以此自勉。</p></summary>
<category term="Essay" scheme="https://galens.uamazing.cn/categories/Essay/"/>
<category term="2025年" scheme="https://galens.uamazing.cn/categories/Essay/2025%E5%B9%B4/"/>
<category term="生活" scheme="https://galens.uamazing.cn/tags/%E7%94%9F%E6%B4%BB/"/>
</entry>
<entry>
<title>MySql 创建用户并设置访问权限</title>
<link href="https://galens.uamazing.cn/posts/2025/3HBSA6A.html"/>
<id>https://galens.uamazing.cn/posts/2025/3HBSA6A.html</id>
<published>2025-01-06T16:00:00.000Z</published>
<updated>2025-01-06T16:00:00.000Z</updated>
<summary type="html"><p>为了保证数据库的安全,在 MySql
中,使用不同权限的账号来访问数据库。本文将介绍如何生成用户并赋予其访问权限。</p></summary>
<category term="Software" scheme="https://galens.uamazing.cn/categories/Software/"/>
<category term="MySql" scheme="https://galens.uamazing.cn/categories/Software/MySql/"/>
<category term="MySql" scheme="https://galens.uamazing.cn/tags/MySql/"/>
</entry>
<entry>
<title>ElasticSearch Docker 部署</title>
<link href="https://galens.uamazing.cn/posts/2024/2087YCV.html"/>
<id>https://galens.uamazing.cn/posts/2024/2087YCV.html</id>
<published>2024-12-08T16:00:00.000Z</published>
<updated>2024-12-07T16:00:00.000Z</updated>
<summary type="html"><p>本文简要记录如何使用 Docker 部署 ElasticSearch,并安装 hanlp
分词器提高中文分词效果。</p></summary>
<category term="Software" scheme="https://galens.uamazing.cn/categories/Software/"/>
<category term="ElasticSearch" scheme="https://galens.uamazing.cn/categories/Software/ElasticSearch/"/>
<category term="ElasticSearch" scheme="https://galens.uamazing.cn/tags/ElasticSearch/"/>
</entry>
<entry>
<title>使用 Docker 部署 AdguardHome</title>
<link href="https://galens.uamazing.cn/posts/2024/AC0WPY.html"/>
<id>https://galens.uamazing.cn/posts/2024/AC0WPY.html</id>
<published>2024-11-25T16:00:00.000Z</published>
<updated>2024-11-26T03:22:31.916Z</updated>
<summary type="html"><p>本文介绍如何在 Ubuntu 中通过 Docker 部署 AdguardHome 实现 DNS
解析和广告过滤。</p></summary>
<category term="Software" scheme="https://galens.uamazing.cn/categories/Software/"/>
<category term="Adguard" scheme="https://galens.uamazing.cn/categories/Software/Adguard/"/>
<category term="Docker" scheme="https://galens.uamazing.cn/tags/Docker/"/>
<category term="AdguardHome" scheme="https://galens.uamazing.cn/tags/AdguardHome/"/>
</entry>
<entry>
<title>掌握设计原则,打磨编程基本功</title>
<link href="https://galens.uamazing.cn/posts/2024/3D3WTKJ.html"/>
<id>https://galens.uamazing.cn/posts/2024/3D3WTKJ.html</id>
<published>2024-11-08T16:00:00.000Z</published>
<updated>2024-11-08T16:00:00.000Z</updated>
<summary type="html"><p>随着开发经验的增加,总感觉自己的代码风格有些混乱,同时伴随着一些困惑,如:</p>
<ol type="1">
<li>功能扩展性差,经常需要被重构</li>
<li>编码时无法对设计模式进行灵活使用</li>
<li>代码不够优雅</li>
</ol>
<p>虽然代码风格见人见智,但是好的代码,总会让人眼前一亮,<strong>低耦合、高内聚、高复用、易扩展、易维护</strong>,于己于人,都是一份优雅。</p>
<p>作者从入门开始,就开始阅读设计模式,有系统地研读过,也有零零散散看过其他人的心得,但总是不能达到天人合一,运用自如的状态。今朝又心有所动,于是下定决心,稳扎稳打,以愚公移山之劲,重学设计模式,打磨编程基本功。</p></summary>
<category term="Develop" scheme="https://galens.uamazing.cn/categories/Develop/"/>
<category term="DesignPattern" scheme="https://galens.uamazing.cn/categories/Develop/DesignPattern/"/>
<category term="设计模式" scheme="https://galens.uamazing.cn/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
</entry>
<entry>
<title>MongoDB使用 Docker 配置单节点副本集</title>
<link href="https://galens.uamazing.cn/posts/2024/M96VZZ.html"/>
<id>https://galens.uamazing.cn/posts/2024/M96VZZ.html</id>
<published>2024-11-05T16:00:00.000Z</published>
<updated>2024-12-04T16:00:00.000Z</updated>
<summary type="html"><p>为了快速搭建 MongoDB 副本集开发环境,可以使用 Docker
快速启动一个单节点副本集。</p>
<p>实现方式有两种:</p>
<ol type="1">
<li>直接使用 docker-compose 完成</li>
<li>手动配置</li>
</ol></summary>
<category term="Develop" scheme="https://galens.uamazing.cn/categories/Develop/"/>
<category term="Database" scheme="https://galens.uamazing.cn/categories/Develop/Database/"/>
<category term="Mongodb" scheme="https://galens.uamazing.cn/categories/Develop/Database/Mongodb/"/>
<category term="Docker" scheme="https://galens.uamazing.cn/tags/Docker/"/>
<category term="MongoDB" scheme="https://galens.uamazing.cn/tags/MongoDB/"/>
</entry>
<entry>
<title>家庭服务器被网络攻击后, 日均下载流量 2T</title>
<link href="https://galens.uamazing.cn/posts/2024/HPDBE7.html"/>
<id>https://galens.uamazing.cn/posts/2024/HPDBE7.html</id>
<published>2024-11-03T16:00:00.000Z</published>
<updated>2024-11-01T16:00:00.000Z</updated>
<summary type="html"><p>近日,发现家里网络非常慢,但是测速时,速度又很正常,于是进后台看看看,一看不要紧,看了后吓一跳,好家伙,网络被攻击了,最近几天日均下载量高达
2T。</p>
<p>不禁生起一阵感慨,裸奔的网络太凶险了!</p>
<p>大致的原因是这样的,在此做一个记录,与大家共警!</p></summary>
<category term="Essay" scheme="https://galens.uamazing.cn/categories/Essay/"/>
<category term="2024年" scheme="https://galens.uamazing.cn/categories/Essay/2024%E5%B9%B4/"/>
</entry>
<entry>
<title>Windows 中配置无线网络唤醒(wowlan)</title>
<link href="https://galens.uamazing.cn/posts/2024/3QV9Z7H.html"/>
<id>https://galens.uamazing.cn/posts/2024/3QV9Z7H.html</id>
<published>2024-10-21T16:00:00.000Z</published>
<updated>2024-10-21T16:00:00.000Z</updated>
<summary type="html"><p>本文仅对无线网络唤醒(简称wowlan)做一个配置记录,具体的教程见本文的参考文章。</p>
<p>网络上关于无线网唤醒的文章,99%
的都是关于有线的,无线的至今还没发现成功过。</p>
<p>作者以实践证明,无线网络唤醒是可以的!</p></summary>
<category term="System" scheme="https://galens.uamazing.cn/categories/System/"/>
<category term="Windows" scheme="https://galens.uamazing.cn/categories/System/Windows/"/>
<category term="Windows" scheme="https://galens.uamazing.cn/tags/Windows/"/>
<category term="wowlan" scheme="https://galens.uamazing.cn/tags/wowlan/"/>
</entry>
<entry>
<title>使用 VSCode 远程开发最佳实践</title>
<link href="https://galens.uamazing.cn/posts/2024/1XYHCAM.html"/>
<id>https://galens.uamazing.cn/posts/2024/1XYHCAM.html</id>
<published>2024-10-15T16:00:00.000Z</published>
<updated>2024-10-15T16:00:00.000Z</updated>
<summary type="html"><p>首先分析一下,为什么要远程开发?本人认为远程开发主要有以下优点:</p>
<ol type="1">
<li><p>一处搭建,多处使用</p>
<p>只需要在远程机上搭建好开发环境,在任何电脑上都可以进行开发,非常便利</p></li>
<li><p>开发环境隔离,可以在不同的开发环境之间快速切换</p></li>
<li><p>对本机性能要求低</p></li>
</ol></summary>
<category term="Software" scheme="https://galens.uamazing.cn/categories/Software/"/>
<category term="VSCode" scheme="https://galens.uamazing.cn/categories/Software/VSCode/"/>
<category term="Docker" scheme="https://galens.uamazing.cn/tags/Docker/"/>
<category term="VSCode" scheme="https://galens.uamazing.cn/tags/VSCode/"/>
</entry>
<entry>
<title>esxi 配置 RDM 直通</title>
<link href="https://galens.uamazing.cn/posts/2024/C906NX.html"/>
<id>https://galens.uamazing.cn/posts/2024/C906NX.html</id>
<published>2024-09-22T16:00:00.000Z</published>
<updated>2024-09-22T16:00:00.000Z</updated>
<summary type="html"><p>esxi 硬盘直通有两种方式,分别是 RDM(Raw Device Mapping) 直通和
PCIe(PCIe ) 直通。本文介绍如何通过 ssh 配置 esxi 硬盘直通。</p></summary>
<category term="System" scheme="https://galens.uamazing.cn/categories/System/"/>
<category term="ESXI" scheme="https://galens.uamazing.cn/categories/System/ESXI/"/>
<category term="esxi" scheme="https://galens.uamazing.cn/tags/esxi/"/>
</entry>
<entry>
<title>ComfyUI 节点介绍</title>
<link href="https://galens.uamazing.cn/posts/2024/2TKH0W3.html"/>
<id>https://galens.uamazing.cn/posts/2024/2TKH0W3.html</id>
<published>2024-05-26T16:00:00.000Z</published>
<updated>2024-05-26T16:00:00.000Z</updated>
<summary type="html"><p>本文总结了对 SD ComfyUI 中的一些节点的理解,以便灵活运用。</p></summary>
<category term="Software" scheme="https://galens.uamazing.cn/categories/Software/"/>
<category term="ComfyUI" scheme="https://galens.uamazing.cn/categories/Software/ComfyUI/"/>
<category term="ComfyUI" scheme="https://galens.uamazing.cn/tags/ComfyUI/"/>
<category term="SD" scheme="https://galens.uamazing.cn/tags/SD/"/>
</entry>
<entry>
<title>ComfyUI 入门资料整理</title>
<link href="https://galens.uamazing.cn/posts/2024/1189BHM.html"/>
<id>https://galens.uamazing.cn/posts/2024/1189BHM.html</id>
<published>2024-05-22T16:00:00.000Z</published>
<updated>2024-05-22T16:00:00.000Z</updated>
<summary type="html"><p>本文收集 ComfyUI 相关的学习资料,按学习的进度先后进行排序。</p></summary>
<category term="Software" scheme="https://galens.uamazing.cn/categories/Software/"/>
<category term="ComfyUI" scheme="https://galens.uamazing.cn/categories/Software/ComfyUI/"/>
<category term="ComfyUI" scheme="https://galens.uamazing.cn/tags/ComfyUI/"/>
<category term="SD" scheme="https://galens.uamazing.cn/tags/SD/"/>
</entry>
<entry>
<title>StableDiffusion 专有名词理解</title>
<link href="https://galens.uamazing.cn/posts/2024/1HAPA4N.html"/>
<id>https://galens.uamazing.cn/posts/2024/1HAPA4N.html</id>
<published>2024-05-22T16:00:00.000Z</published>
<updated>2024-05-22T16:00:00.000Z</updated>
<summary type="html"><p>本文对 SD 和 ComfyUI
中的一些名词进行解释,按文末参考文章中出现的先后顺序进行排列。</p>
<blockquote>
<p>本文主要采用 GPT 进行解释。</p>
</blockquote></summary>
<category term="Software" scheme="https://galens.uamazing.cn/categories/Software/"/>
<category term="ComfyUI" scheme="https://galens.uamazing.cn/categories/Software/ComfyUI/"/>
<category term="SD" scheme="https://galens.uamazing.cn/tags/SD/"/>
</entry>
<entry>
<title>纯 css 实现 placehoder 效果</title>
<link href="https://galens.uamazing.cn/posts/2024/2YJ7VJZ.html"/>
<id>https://galens.uamazing.cn/posts/2024/2YJ7VJZ.html</id>
<published>2024-05-10T16:00:00.000Z</published>
<updated>2024-05-10T16:00:00.000Z</updated>
<summary type="html"><p>如何使用 CSS 实现当内容为空时,显示 placeholder 呢?</p>
<p>代码如下:</p>
<p><strong>html</strong></p>
<figure class="highlight html"><table><tr><td</summary>
<category term="Develop" scheme="https://galens.uamazing.cn/categories/Develop/"/>
<category term="CSS" scheme="https://galens.uamazing.cn/categories/Develop/CSS/"/>
<category term="CSS" scheme="https://galens.uamazing.cn/tags/CSS/"/>
</entry>
<entry>
<title>Linux 中使用 acme.sh 申请泛域名证书</title>
<link href="https://galens.uamazing.cn/posts/2024/2TMXKG9.html"/>
<id>https://galens.uamazing.cn/posts/2024/2TMXKG9.html</id>
<published>2024-04-08T16:00:00.000Z</published>
<updated>2024-04-08T16:00:00.000Z</updated>
<summary type="html"><p>本文将介绍如何在 Ubuntu 系统中使用 <code>acme.sh</code> 通过
cloudflare 的 api 方式申请泛域名。</p></summary>
<category term="Develop" scheme="https://galens.uamazing.cn/categories/Develop/"/>
<category term="Web" scheme="https://galens.uamazing.cn/categories/Develop/Web/"/>
<category term="SSL" scheme="https://galens.uamazing.cn/tags/SSL/"/>
<category term="Let's Encrypt" scheme="https://galens.uamazing.cn/tags/Let-s-Encrypt/"/>
<category term="acme" scheme="https://galens.uamazing.cn/tags/acme/"/>
<category term="galens" scheme="https://galens.uamazing.cn/tags/galens/"/>
</entry>
<entry>
<title>Microstation 中实现非阻塞进度条</title>
<link href="https://galens.uamazing.cn/posts/2024/2MEYC7T.html"/>
<id>https://galens.uamazing.cn/posts/2024/2MEYC7T.html</id>
<published>2024-03-07T16:00:00.000Z</published>
<updated>2024-03-07T16:00:00.000Z</updated>
<summary type="html"><p>在进行 Microstation
二开时,若在代码执行耗时任务,则可能会导致界面出现假死的情况,此时窗体无法拖动、进度条也无法更新。</p>
<p>由于 Microstation
的非线程安全问题,代码必须在主线程上执行,但进度条位于主线程上,因此进度必定会卡死,这是一个矛盾的问题。</p>
<p>有两种方法来解决这个问题。</p></summary>
<category term="Bentley" scheme="https://galens.uamazing.cn/categories/Bentley/"/>
<category term="Develop" scheme="https://galens.uamazing.cn/categories/Bentley/Develop/"/>
<category term="Progress" scheme="https://galens.uamazing.cn/categories/Bentley/Develop/Progress/"/>
<category term="Microstation" scheme="https://galens.uamazing.cn/tags/Microstation/"/>
<category term="Progress" scheme="https://galens.uamazing.cn/tags/Progress/"/>
<category term="galens" scheme="https://galens.uamazing.cn/tags/galens/"/>
</entry>
<entry>
<title>创建和发布 NuGet 包</title>
<link href="https://galens.uamazing.cn/posts/2024/2CAZW8Q.html"/>
<id>https://galens.uamazing.cn/posts/2024/2CAZW8Q.html</id>
<published>2024-02-23T16:00:00.000Z</published>
<updated>2024-08-21T16:00:00.000Z</updated>
<summary type="html"><p>NuGet 是适用于 .NET 的包管理器。
它使开发人员能够创建、共享和使用有用的 .NET 库。 NuGet
客户端工具可生成这些库并将其作为“包”。</p>
<p>本文简要记录了如何创建 NuGet 包并发布。</p></summary>
<category term="Software" scheme="https://galens.uamazing.cn/categories/Software/"/>
<category term="Nuget" scheme="https://galens.uamazing.cn/categories/Software/Nuget/"/>
<category term="DotNET" scheme="https://galens.uamazing.cn/tags/DotNET/"/>
<category term="NuGet" scheme="https://galens.uamazing.cn/tags/NuGet/"/>
</entry>
<entry>
<title>Microstation 中坐标变换</title>
<link href="https://galens.uamazing.cn/posts/2024/1EMPAND.html"/>
<id>https://galens.uamazing.cn/posts/2024/1EMPAND.html</id>
<published>2024-02-23T16:00:00.000Z</published>
<updated>2024-02-23T16:00:00.000Z</updated>
<summary type="html"><p>在进行矩阵转换时,谨记如下公式: <span class="math display">\[
\begin{aligned}
M_{world} \cdot P_{world} &amp;= M_{local} \cdot P_{local} \\
\because M_{world} &amp;= E \\
\therefore P_{world} &amp;= M_{local} \cdot P_{local} \\
\end{aligned}
\]</span> <span class="math inline">\(M\)</span>
可以叫做坐标系的度量矩阵,将某个坐标系统转到另一个坐标系,是在原坐标系的值上左乘新坐标系度量矩阵的逆。</p>
<p>在理解 MS 中各个对象返回的 <code>DTransform</code>
含义时,先弄明白谁是度量矩阵,另一个是它的逆,就很好理解了。</p></summary>
<category term="Bentley" scheme="https://galens.uamazing.cn/categories/Bentley/"/>
<category term="Develop" scheme="https://galens.uamazing.cn/categories/Bentley/Develop/"/>
<category term="几何变换" scheme="https://galens.uamazing.cn/categories/Bentley/Develop/%E5%87%A0%E4%BD%95%E5%8F%98%E6%8D%A2/"/>
<category term="Bentley" scheme="https://galens.uamazing.cn/tags/Bentley/"/>
<category term="二次开发" scheme="https://galens.uamazing.cn/tags/%E4%BA%8C%E6%AC%A1%E5%BC%80%E5%8F%91/"/>
</entry>
<entry>
<title>使用草料二维码免费生成挪车码</title>
<link href="https://galens.uamazing.cn/posts/2024/2Z6NVCZ.html"/>
<id>https://galens.uamazing.cn/posts/2024/2Z6NVCZ.html</id>
<published>2024-02-21T16:00:00.000Z</published>
<updated>2024-02-21T16:00:00.000Z</updated>
<summary type="html"><figure>
<img data-src="https://obs.uamazing.cn:52443/public/files/images/image-20240222222605912.png"
alt="image-20240222222605912" />
<figcaption aria-hidden="true">image-20240222222605912</figcaption>
</figure>
<p>一些车主为了方便挪车,往往会在车上留下自己的电话,方便其他人及时与自己取得联系。直接展示电话号码的形式,会使号码非常容易泄露,从而遭受广告骚扰。</p>
<p>因此,可以将挪车信息转换成二维码的形式,避免电话号码直接曝光,从而保护隐私。</p></summary>
<category term="Tricks" scheme="https://galens.uamazing.cn/categories/Tricks/"/>
<category term="二维码" scheme="https://galens.uamazing.cn/tags/%E4%BA%8C%E7%BB%B4%E7%A0%81/"/>
<category term="挪车码" scheme="https://galens.uamazing.cn/tags/%E6%8C%AA%E8%BD%A6%E7%A0%81/"/>
</entry>
</feed>