-
Notifications
You must be signed in to change notification settings - Fork 0
/
rss2.xml
1384 lines (588 loc) · 53 KB
/
rss2.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
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>全力以赴</title>
<link>https://zyf.im/</link>
<atom:link href="https://zyf.im/rss2.xml" rel="self" type="application/rss+xml"/>
<description>永远热泪盈眶</description>
<pubDate>Tue, 08 Oct 2024 08:26:16 GMT</pubDate>
<generator>http://hexo.io/</generator>
<item>
<title>PHP Migrating to 8.2</title>
<link>https://zyf.im/2024/08/16/php-migrating-to-82/</link>
<guid>https://zyf.im/2024/08/16/php-migrating-to-82/</guid>
<pubDate>Fri, 16 Aug 2024 01:24:50 GMT</pubDate>
<description><ul>
<li>实验环境:<a href="https://onlinephp.io/">https://onlinephp.io/</a></li>
<li>Polyfill <a href="https://github.com/symfony/polyfill/tree/main/src">https://github.com/symfony/polyfill/tree/main/src</a></li>
</ul>
<h2 id="PHP8-2"><a href="#PHP8-2" class="headerlink"</description>
<category domain="https://zyf.im/tags/php/">php</category>
<comments>https://zyf.im/2024/08/16/php-migrating-to-82/#disqus_thread</comments>
</item>
<item>
<title>MongoDB 高手课</title>
<link>https://zyf.im/2023/04/19/mongodb-course/</link>
<guid>https://zyf.im/2023/04/19/mongodb-course/</guid>
<pubDate>Wed, 19 Apr 2023 02:47:10 GMT</pubDate>
<description><h2 id="04-特色及优势"><a href="#04-特色及优势" class="headerlink" title="04 特色及优势"></a>04 特色及优势</h2><p>对象模型,快速响应业务变化:</p>
<ul>
<li>多形性:同一个集合中可以包含不同字段(类型)的文档对象。</li>
<li>动态性:线上修改数据模式,修改是应用与数据库均无须下线。</li>
<li>数据治理:支持使用JSONSchema</description>
<category domain="https://zyf.im/tags/mongodb/">mongodb</category>
<comments>https://zyf.im/2023/04/19/mongodb-course/#disqus_thread</comments>
</item>
<item>
<title>手把手教你落地 DDD Part1</title>
<link>https://zyf.im/2023/03/09/hands-on-ddd-part1/</link>
<guid>https://zyf.im/2023/03/09/hands-on-ddd-part1/</guid>
<pubDate>Thu, 09 Mar 2023 09:18:46 GMT</pubDate>
<description><h2 id="01-小传"><a href="#01-小传" class="headerlink" title="01 小传"></a>01 小传</h2><p>Domain-Driven Design 是一种开发复杂软件的系统化的</description>
<category domain="https://zyf.im/tags/design-pattern/">design-pattern</category>
<category domain="https://zyf.im/tags/ddd/">ddd</category>
<comments>https://zyf.im/2023/03/09/hands-on-ddd-part1/#disqus_thread</comments>
</item>
<item>
<title>正则表达式</title>
<link>https://zyf.im/2023/03/01/regular-expression-getting-started/</link>
<guid>https://zyf.im/2023/03/01/regular-expression-getting-started/</guid>
<pubDate>Wed, 01 Mar 2023 07:31:15 GMT</pubDate>
<description><h2 id="00"><a href="#00" class="headerlink" title="00"></a>00</h2><ul>
<li><a href="https://regex101.com/">regex101</a></li>
<li><a href="https://jex.im/regulex/#!flags=&re=%5E(a%7Cb)*%3F%24">regulex</a></li>
<li><a href="https://ihateregex.io/expr/username/">ihateregex</a></li>
</ul>
<h2</description>
<category domain="https://zyf.im/tags/regular-expression/">regular-expression</category>
<comments>https://zyf.im/2023/03/01/regular-expression-getting-started/#disqus_thread</comments>
</item>
<item>
<title>Vim 实用技巧必知必会</title>
<link>https://zyf.im/2023/02/28/vim-practical-tips/</link>
<guid>https://zyf.im/2023/02/28/vim-practical-tips/</guid>
<pubDate>Tue, 28 Feb 2023 03:33:27 GMT</pubDate>
<description><h2 id="安装"><a href="#安装" class="headerlink" title="安装"></a>安装</h2><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">yum list installed | grep vim</span><br><span class="line"><span class="comment"># vim-X11.x86_64 2:7.4.629-8.el7_9 </description>
<category domain="https://zyf.im/tags/vim/">vim</category>
<comments>https://zyf.im/2023/02/28/vim-practical-tips/#disqus_thread</comments>
</item>
<item>
<title>Kubernetes 入门实战 Part3</title>
<link>https://zyf.im/2023/02/24/kubernetes-getting-started-part3/</link>
<guid>https://zyf.im/2023/02/24/kubernetes-getting-started-part3/</guid>
<pubDate>Fri, 24 Feb 2023 09:24:14 GMT</pubDate>
<description><h2 id="24-PersistentVolume-数据持久化"><a href="#24-PersistentVolume-数据持久化" class="headerlink" title="24 PersistentVolume 数据持久化"></a>24 PersistentVolume 数据持久化</h2><p>PersistentVolume 属于集群的系统资源,是和 Node 平级的一种对象,Pod 对它没有管理权,只有使用权。</p>
<p>StorageClass 它抽象了特定类型的存储系统(比如 Ceph、NFS),在 PVC 和 PV 之间充当“协调人”的角色,帮助</description>
<category domain="https://zyf.im/tags/kubernetes/">kubernetes</category>
<comments>https://zyf.im/2023/02/24/kubernetes-getting-started-part3/#disqus_thread</comments>
</item>
<item>
<title>Kubernetes 入门实战 Part2</title>
<link>https://zyf.im/2023/02/22/kubernetes-getting-started-part2/</link>
<guid>https://zyf.im/2023/02/22/kubernetes-getting-started-part2/</guid>
<pubDate>Wed, 22 Feb 2023 09:11:27 GMT</pubDate>
<description><h2 id="17-多节点的-Kubernetes-集群"><a href="#17-多节点的-Kubernetes-集群" class="headerlink" title="17 多节点的 Kubernetes 集群"></a>17 多节点的 Kubernetes 集群</h2><p>在腾讯云 TencentOS Server 3.1 (TK4) 下测试:</p>
<ul>
<li>master SA3.MEDIUM4 2 核 4GB 5Mbps</li>
<li>worker S5.SMALL2 1 核 2GB 1Mbps</li>
<li>worker S5.SMALL2 1 核</description>
<category domain="https://zyf.im/tags/kubernetes/">kubernetes</category>
<comments>https://zyf.im/2023/02/22/kubernetes-getting-started-part2/#disqus_thread</comments>
</item>
<item>
<title>Kubernetes 入门实战 Part1</title>
<link>https://zyf.im/2023/02/15/kubernetes-getting-started-part1/</link>
<guid>https://zyf.im/2023/02/15/kubernetes-getting-started-part1/</guid>
<pubDate>Wed, 15 Feb 2023 06:46:38 GMT</pubDate>
<description><h2 id="01-初识-Docker"><a href="#01-初识-Docker" class="headerlink" title="01 初识 Docker"></a>01 初识 Docker</h2><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">apt install -y docker.io</span><br><span class="line">service docker start</span><br><span</description>
<category domain="https://zyf.im/tags/kubernetes/">kubernetes</category>
<comments>https://zyf.im/2023/02/15/kubernetes-getting-started-part1/#disqus_thread</comments>
</item>
<item>
<title>Go 语言第一课</title>
<link>https://zyf.im/2023/02/01/go-language-lesson-one/</link>
<guid>https://zyf.im/2023/02/01/go-language-lesson-one/</guid>
<pubDate>Wed, 01 Feb 2023 03:44:27 GMT</pubDate>
<description><h2 id="02-设计哲学"><a href="#02-设计哲学" class="headerlink" title="02 设计哲学"></a>02 设计哲学</h2><p>设计哲学之于编程语言,就好比一个人的价值观之于这个人的行为。</p>
<ul>
<li>简单:Go 生产力的源泉。</li>
<li>显式:Go 希望开发人员 明确知道自己在做什么;显式的基于值比较的错误处理方案。</li>
<li>组合:类型嵌入(Type Embedding)。</li>
<li>并发:面向多核、原生支持并发、用户层轻量级线程 goroutine。</li>
<li>面向工程:将解决工程问题作为</description>
<category domain="https://zyf.im/tags/go/">go</category>
<comments>https://zyf.im/2023/02/01/go-language-lesson-one/#disqus_thread</comments>
</item>
<item>
<title>回顾 2022</title>
<link>https://zyf.im/2022/12/31/review-2022/</link>
<guid>https://zyf.im/2022/12/31/review-2022/</guid>
<pubDate>Sat, 31 Dec 2022 12:16:41 GMT</pubDate>
<description><blockquote>
<p>犯错的人不会沉浸在错误里,而是继续战斗。 —— 管泽元 S12 总决赛 DRX vs SKT 2:2</p>
</blockquote>
<p>– EOF</description>
<category domain="https://zyf.im/categories/review/">review</category>
<comments>https://zyf.im/2022/12/31/review-2022/#disqus_thread</comments>
</item>
<item>
<title>PHP Migrating to 8.1</title>
<link>https://zyf.im/2022/12/21/php-migrating-to-81/</link>
<guid>https://zyf.im/2022/12/21/php-migrating-to-81/</guid>
<pubDate>Wed, 21 Dec 2022 10:25:49 GMT</pubDate>
<description><ul>
<li>实验环境:<a href="https://onlinephp.io/">https://onlinephp.io/</a></li>
<li>Polyfill <a href="https://github.com/symfony/polyfill/tree/main/src">https://github.com/symfony/polyfill/tree/main/src</a></li>
</ul>
<h2 id="PHP8-0-to-PHP8-1"><a href="#PHP8-0-to-PHP8-1" class="headerlink"</description>
<category domain="https://zyf.im/tags/php/">php</category>
<comments>https://zyf.im/2022/12/21/php-migrating-to-81/#disqus_thread</comments>
</item>
<item>
<title>PHP Migrating to 7.4 8.0</title>
<link>https://zyf.im/2022/12/14/php-migrating-to-74-80/</link>
<guid>https://zyf.im/2022/12/14/php-migrating-to-74-80/</guid>
<pubDate>Wed, 14 Dec 2022 08:40:03 GMT</pubDate>
<description><ul>
<li>实验环境:<a href="https://onlinephp.io/">https://onlinephp.io/</a></li>
<li>Polyfill <a href="https://github.com/symfony/polyfill/tree/main/src">https://github.com/symfony/polyfill/tree/main/src</a></li>
</ul>
<h2 id="PHP7-3-to-PHP7-4"><a href="#PHP7-3-to-PHP7-4" class="headerlink"</description>
<category domain="https://zyf.im/tags/php/">php</category>
<comments>https://zyf.im/2022/12/14/php-migrating-to-74-80/#disqus_thread</comments>
</item>
<item>
<title>PHP Migrating to 7.2 7.3</title>
<link>https://zyf.im/2022/12/12/php-migrating-to-72-73/</link>
<guid>https://zyf.im/2022/12/12/php-migrating-to-72-73/</guid>
<pubDate>Mon, 12 Dec 2022 12:51:51 GMT</pubDate>
<description><ul>
<li>实验环境:<a href="https://onlinephp.io/">https://onlinephp.io/</a></li>
<li>Polyfill <a href="https://github.com/symfony/polyfill/tree/main/src">https://github.com/symfony/polyfill/tree/main/src</a></li>
</ul>
<h2 id="PHP7-1-to-PHP7-2"><a href="#PHP7-1-to-PHP7-2" class="headerlink"</description>
<category domain="https://zyf.im/tags/php/">php</category>
<comments>https://zyf.im/2022/12/12/php-migrating-to-72-73/#disqus_thread</comments>
</item>
<item>
<title>PHP Migrating to 7.0 7.1</title>
<link>https://zyf.im/2022/11/28/php-migrating-to-70-71/</link>
<guid>https://zyf.im/2022/11/28/php-migrating-to-70-71/</guid>
<pubDate>Mon, 28 Nov 2022 02:36:34 GMT</pubDate>
<description><ul>
<li>实验环境:<a href="https://onlinephp.io/">https://onlinephp.io/</a></li>
<li>Polyfill <a href="https://github.com/symfony/polyfill/tree/main/src">https://github.com/symfony/polyfill/tree/main/src</a></li>
</ul>
<h2 id="PHP7-0-to-PHP7-1"><a href="#PHP7-0-to-PHP7-1" class="headerlink"</description>
<category domain="https://zyf.im/tags/php/">php</category>
<comments>https://zyf.im/2022/11/28/php-migrating-to-70-71/#disqus_thread</comments>
</item>
<item>
<title>通过 ondrej/php PPA 管理多个 PHP 版本</title>
<link>https://zyf.im/2022/11/18/ondrej-multiversion-php/</link>
<guid>https://zyf.im/2022/11/18/ondrej-multiversion-php/</guid>
<pubDate>Fri, 18 Nov 2022 09:20:43 GMT</pubDate>
<description><p><a href="https://ostechnix.com/how-to-switch-between-multiple-php-versions-in-ubuntu/">https://ostechnix.com/how-to-switch-between-multiple-php-versions-in-ubuntu/</a></p>
<h2 id="References"><a href="#References" class="headerlink" title="References"></a>References</h2><ul>
<li><a</description>
<category domain="https://zyf.im/tags/php/">php</category>
<comments>https://zyf.im/2022/11/18/ondrej-multiversion-php/#disqus_thread</comments>
</item>
<item>
<title>Docker Code Snippet</title>
<link>https://zyf.im/2022/11/17/docker-code-snippet/</link>
<guid>https://zyf.im/2022/11/17/docker-code-snippet/</guid>
<pubDate>Thu, 17 Nov 2022 02:09:26 GMT</pubDate>
<description><h2 id="Dockerfile"><a href="#Dockerfile" class="headerlink" title="Dockerfile"></a>Dockerfile</h2><h3 id="ARG-构建参数"><a href="#ARG-构建参数" class="headerlink" title="ARG 构建参数"></a>ARG 构建参数</h3><p><code>ARG &lt;参数名&gt;[=&lt;默认值&gt;]</code></p>
<p>该默认值可以在构建命令 docker build 中用 –build-arg</description>
<category domain="https://zyf.im/categories/code-snippet/">code-snippet</category>
<comments>https://zyf.im/2022/11/17/docker-code-snippet/#disqus_thread</comments>
</item>
<item>
<title>Git Code Snippet</title>
<link>https://zyf.im/2022/10/01/git-code-snippet/</link>
<guid>https://zyf.im/2022/10/01/git-code-snippet/</guid>
<pubDate>Sat, 01 Oct 2022 02:00:00 GMT</pubDate>
<description><h2 id="建立独立的分支"><a href="#建立独立的分支" class="headerlink" title="建立独立的分支"></a>建立独立的分支</h2><p>当想在项目中使用一个独立分支进行项目文档的管理时,或者当我们想要发布一个软件的开源版本但又不希望将软件的版本历史暴露给外界时,都可以使用以下的方法建立一个独立分支:</p>
<figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">git <span class="built_in">help</span></description>
<category domain="https://zyf.im/categories/code-snippet/">code-snippet</category>
<category domain="https://zyf.im/tags/git/">git</category>
<comments>https://zyf.im/2022/10/01/git-code-snippet/#disqus_thread</comments>
</item>
<item>
<title>MySQL 实战 45 讲 Part2</title>
<link>https://zyf.im/2022/09/14/mysql-course-45-part2/</link>
<guid>https://zyf.im/2022/09/14/mysql-course-45-part2/</guid>
<pubDate>Wed, 14 Sep 2022 10:55:54 GMT</pubDate>
<description><blockquote>
<p><a href="http://gk.link/a/11AmM">MySQL 实战 45 讲 |</description>
<category domain="https://zyf.im/tags/mysql/">mysql</category>
<comments>https://zyf.im/2022/09/14/mysql-course-45-part2/#disqus_thread</comments>
</item>
<item>
<title>MySQL 实战 45 讲 Part1</title>
<link>https://zyf.im/2022/08/14/mysql-course-45-part1/</link>
<guid>https://zyf.im/2022/08/14/mysql-course-45-part1/</guid>
<pubDate>Sun, 14 Aug 2022 07:53:16 GMT</pubDate>
<description><blockquote>
<p><a href="http://gk.link/a/11AmM">MySQL 实战 45 讲 | 林晓斌</a></p>
</blockquote>
<h2 id="01-基础架构:一条-SQL-查询语句是如何执行的?"><a href="#01-基础架构:一条-SQL-查询语句是如何执行的?" class="headerlink" title="01 | 基础架构:一条 SQL 查询语句是如何执行的?"></a>01 | 基础架构:一条 SQL 查询语句是如何执行的?</h2><img alt="image"</description>
<category domain="https://zyf.im/tags/mysql/">mysql</category>
<comments>https://zyf.im/2022/08/14/mysql-course-45-part1/#disqus_thread</comments>
</item>
<item>
<title>Shell Code Snippet</title>
<link>https://zyf.im/2022/07/28/shell-code-snippet/</link>
<guid>https://zyf.im/2022/07/28/shell-code-snippet/</guid>
<pubDate>Thu, 28 Jul 2022 03:51:46 GMT</pubDate>
<description><h2 id="pkgs-org"><a href="#pkgs-org" class="headerlink" title="pkgs.org"></a>pkgs.org</h2><p><a href="https://pkgs.org/download/vim-common">https://pkgs.org/download/vim-common</a></p>
<figure class="highlight bash"><table><tr><td class="code"><pre><span class="line"><span class="comment"># rpm</description>
<category domain="https://zyf.im/categories/code-snippet/">code-snippet</category>
<comments>https://zyf.im/2022/07/28/shell-code-snippet/#disqus_thread</comments>
</item>
<item>
<title>Front-end Code Snippet</title>
<link>https://zyf.im/2022/07/26/front-end-code-snippet/</link>
<guid>https://zyf.im/2022/07/26/front-end-code-snippet/</guid>
<pubDate>Tue, 26 Jul 2022 03:51:46 GMT</pubDate>
<description><span id="more"></span>
<h2 id="库推荐"><a href="#库推荐" class="headerlink" title="库推荐"></a>库推荐</h2><h3 id="nrm"><a href="#nrm" class="headerlink" title="nrm"></a>nrm</h3><p><a href="https://github.com/Pana/nrm">Pana&#x2F;nrm</a></p>
<p>nrm can help you easy and fast switch between different npm</description>
<category domain="https://zyf.im/categories/code-snippet/">code-snippet</category>
<comments>https://zyf.im/2022/07/26/front-end-code-snippet/#disqus_thread</comments>
</item>
<item>
<title>【JavaScript 教程 | 网道】笔记</title>
<link>https://zyf.im/2022/06/09/javascript-wangdoc-reading-notes/</link>
<guid>https://zyf.im/2022/06/09/javascript-wangdoc-reading-notes/</guid>
<pubDate>Thu, 09 Jun 2022 06:59:09 GMT</pubDate>
<description><blockquote>
<p><a href="https://wangdoc.com/javascript/index.html">JavaScript 教程 | 网道(WangDoc.com)</a></p>
</blockquote></description>
<category domain="https://zyf.im/tags/javascript/">javascript</category>
<comments>https://zyf.im/2022/06/09/javascript-wangdoc-reading-notes/#disqus_thread</comments>
</item>
<item>
<title>GROUP_CONCAT 截断</title>
<link>https://zyf.im/2022/01/10/group-concat-max-len/</link>
<guid>https://zyf.im/2022/01/10/group-concat-max-len/</guid>
<pubDate>Mon, 10 Jan 2022 07:53:16 GMT</pubDate>
<description><p>今日在生产环境发生了:因为 <code>GROUP_CONCAT</code> 聚合的数据列发生截断导致异常,原来 <code>GROUP_CONCAT</code> 是有大小限制的。</p>
<figure class="highlight sql"><table><tr><td class="code"><pre><span class="line"><span class="keyword">SELECT</span> @<span class="variable">@GROUP</span>_CONCAT_MAX_LEN;</span><br><span</description>
<category domain="https://zyf.im/tags/mysql/">mysql</category>
<comments>https://zyf.im/2022/01/10/group-concat-max-len/#disqus_thread</comments>
</item>
<item>
<title>回顾 2021</title>
<link>https://zyf.im/2021/12/31/review-2021/</link>
<guid>https://zyf.im/2021/12/31/review-2021/</guid>
<pubDate>Fri, 31 Dec 2021 12:16:41 GMT</pubDate>
<description><p><a href="https://music.163.com/#/song?id=25638375">直到对的人来 · 追星族乐队</a></p>
<blockquote>
<p>我想跟他说:那家餐厅太美了,我一定要和你去一次。但是那个菜其实很一般的,那个老板娘戴的耳环特别漂亮。</p>
</blockquote>
<p>– EOF</description>
<category domain="https://zyf.im/categories/review/">review</category>
<comments>https://zyf.im/2021/12/31/review-2021/#disqus_thread</comments>
</item>
<item>
<title>PHP 安装 gRPC</title>
<link>https://zyf.im/2021/10/13/php-install-grpc/</link>
<guid>https://zyf.im/2021/10/13/php-install-grpc/</guid>
<pubDate>Wed, 13 Oct 2021 07:48:41 GMT</pubDate>
<description><h2 id="ENV"><a href="#ENV" class="headerlink" title="ENV"></a>ENV</h2><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line"><span class="built_in">cat</span> /etc/redhat-release</span><br><span class="line"></span><br><span class="line">CentOS Linux release 7.2</description>
<category domain="https://zyf.im/tags/php/">php</category>
<comments>https://zyf.im/2021/10/13/php-install-grpc/#disqus_thread</comments>
</item>
<item>
<title>分组聚合 OVER PARTITION BY</title>
<link>https://zyf.im/2021/09/14/sql-over-partition-by/</link>
<guid>https://zyf.im/2021/09/14/sql-over-partition-by/</guid>
<pubDate>Tue, 14 Sep 2021 03:58:42 GMT</pubDate>
<description><h2 id="在-HIVE-中"><a href="#在-HIVE-中" class="headerlink" title="在 HIVE 中"></a>在 HIVE 中</h2><p>最近在使用 HIVE,需要统计 <code>当年累计和</code> 这样的指标,请教同事后发现了 <code>OVER(PARTITION BY)</code></description>
<category domain="https://zyf.im/tags/mysql/">mysql</category>
<category domain="https://zyf.im/tags/hive/">hive</category>
<comments>https://zyf.im/2021/09/14/sql-over-partition-by/#disqus_thread</comments>
</item>
<item>
<title>PHP __invoke 使用</title>
<link>https://zyf.im/2021/07/20/php-invoke-is-anybody-using-it/</link>
<guid>https://zyf.im/2021/07/20/php-invoke-is-anybody-using-it/</guid>
<pubDate>Tue, 20 Jul 2021 06:58:33 GMT</pubDate>
<description><p>why they are magic? Because they are magically called by PHP when specific actions happen.</p>
<p>The <code>__invoke()</code> method is called when a script tries to call an object as a function.</p>
<figure class="highlight php"><table><tr><td class="code"><pre><span class="line"><span</description>
<category domain="https://zyf.im/tags/php/">php</category>
<comments>https://zyf.im/2021/07/20/php-invoke-is-anybody-using-it/#disqus_thread</comments>
</item>
<item>
<title>PHP strict_types 严格模式</title>
<link>https://zyf.im/2021/07/19/php-strict-types/</link>
<guid>https://zyf.im/2021/07/19/php-strict-types/</guid>
<pubDate>Mon, 19 Jul 2021 11:58:26 GMT</pubDate>
<description><ul>
<li>严格模式的声明 <em>必须</em> 放在文件的顶部。</li>
<li>严格模式不仅作用于函数参数的类型声明,也作用于函数的返回值类型。</li>
</ul>
<p>声明 PHP 文件作为严格模式的一个好事是,实际上只适用于当前文件。这确保了这个文件是严格类型,但是他没有影响到整个项目中的其他文件。这允许你一步一步的迁移非严格模式的代码。</p>
<p>使用提示类型没有 strict_types 可能导致微妙的错误。</p>
<p>严格类型之前,<code>int $x</code> 意味着 <code>$x must have a value coercible to</description>
<category domain="https://zyf.im/tags/php/">php</category>
<comments>https://zyf.im/2021/07/19/php-strict-types/#disqus_thread</comments>
</item>
<item>
<title>Git and GitHub Secrets</title>
<link>https://zyf.im/2021/07/12/git-and-github-secrets/</link>
<guid>https://zyf.im/2021/07/12/git-and-github-secrets/</guid>
<pubDate>Mon, 12 Jul 2021 02:40:15 GMT</pubDate>
<description><h2 id="记住密码"><a href="#记住密码" class="headerlink" title="记住密码"></a>记住密码</h2><p>Git 记住密码配置后,不用每次 pull、push 都需要输入密码:</p>
<figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">git config --global credential.helper store</span><br></pre></td></tr></table></figure>
<p>会在</description>
<category domain="https://zyf.im/tags/git/">git</category>
<comments>https://zyf.im/2021/07/12/git-and-github-secrets/#disqus_thread</comments>
</item>
<item>
<title>如何做好技术协同及管理</title>
<link>https://zyf.im/2021/07/08/how-to-do-technical-management/</link>
<guid>https://zyf.im/2021/07/08/how-to-do-technical-management/</guid>
<pubDate>Thu, 08 Jul 2021 13:08:08 GMT</pubDate>
<description><p>《如何做好技术协同及管理 —— 合作伙伴篇》一次沙龙后的笔记。</p>
<h2 id="招人"><a href="#招人" class="headerlink" title="招人"></a>招人</h2><ul>
<li>注重招人环节;在这一步要卡严,因为入职后再折腾就更费时费力了。</li>
<li>要关注的点:基础水平(工程能力)、离职原因(是否能长久)、个人性格(气场是否相合)。</li>
</ul>
<h2 id="入职"><a href="#入职" class="headerlink"</description>
<category domain="https://zyf.im/tags/thinking/">thinking</category>
<comments>https://zyf.im/2021/07/08/how-to-do-technical-management/#disqus_thread</comments>
</item>
<item>
<title>设计模式之美 Part2</title>
<link>https://zyf.im/2021/02/06/the-beauty-of-design-patterns-part2/</link>
<guid>https://zyf.im/2021/02/06/the-beauty-of-design-patterns-part2/</guid>
<pubDate>Sat, 06 Feb 2021 03:00:41 GMT</pubDate>
<description><h2 id="11"><a href="#11" class="headerlink" title="11"></a>11</h2><p>领域驱动设计(Domain Driven Design,简称 DDD)。</p>
<h3 id="什么是基于贫血模型的传统开发模式?"><a href="#什么是基于贫血模型的传统开发模式?" class="headerlink" title="什么是基于贫血模型的传统开发模式?"></a>什么是基于贫血模型的传统开发模式?</h3><p>UserEntity 和 UserRepository 组成了数据访问层,UserBo 和 UserService</description>
<category domain="https://zyf.im/tags/design-pattern/">design-pattern</category>
<comments>https://zyf.im/2021/02/06/the-beauty-of-design-patterns-part2/#disqus_thread</comments>
</item>
<item>
<title>设计模式之美 Part1</title>
<link>https://zyf.im/2021/02/05/the-beauty-of-design-patterns-part1/</link>
<guid>https://zyf.im/2021/02/05/the-beauty-of-design-patterns-part1/</guid>
<pubDate>Fri, 05 Feb 2021 03:00:41 GMT</pubDate>
<description><h2 id="00"><a href="#00" class="headerlink" title="00"></a>00</h2><p>KISS 原则(Keep It Simple and Stupid),这个原则理解起来很简单,一看貌似就懂了,那我问你,怎样的代码才算是足够简单呢?怎样才算不够简单需要优化呢?</p>
<p>“Talk is cheap, show me the code.”</p>
<h2 id="01"><a href="#01" class="headerlink"</description>
<category domain="https://zyf.im/tags/design-pattern/">design-pattern</category>
<comments>https://zyf.im/2021/02/05/the-beauty-of-design-patterns-part1/#disqus_thread</comments>
</item>
<item>
<title>MySQL Code Snippet</title>
<link>https://zyf.im/2021/01/29/mysql-code-snippet/</link>
<guid>https://zyf.im/2021/01/29/mysql-code-snippet/</guid>
<pubDate>Fri, 29 Jan 2021 10:08:00 GMT</pubDate>
<description><h2 id="Tips-SQL"><a href="#Tips-SQL" class="headerlink" title="Tips SQL"></a>Tips SQL</h2><figure class="highlight sql"><table><tr><td class="code"><pre><span class="line"><span class="comment">-- 追踪优化器 Trace 功能</span></span><br><span class="line"><span class="comment">-- </description>
<category domain="https://zyf.im/categories/code-snippet/">code-snippet</category>
<category domain="https://zyf.im/tags/mysql/">mysql</category>
<comments>https://zyf.im/2021/01/29/mysql-code-snippet/#disqus_thread</comments>
</item>
<item>
<title>PHP 月份加减问题</title>
<link>https://zyf.im/2021/01/27/php-strtotime-month/</link>
<guid>https://zyf.im/2021/01/27/php-strtotime-month/</guid>
<pubDate>Wed, 27 Jan 2021 10:18:24 GMT</pubDate>
<description><h2 id="看现象"><a href="#看现象" class="headerlink" title="看现象"></a>看现象</h2><figure class="highlight php"><table><tr><td class="code"><pre><span class="line"><span class="title function_ invoke__">var_dump</span>(<span class="title function_ invoke__">date</span>(<span</description>
<category domain="https://zyf.im/tags/php/">php</category>
<comments>https://zyf.im/2021/01/27/php-strtotime-month/#disqus_thread</comments>
</item>
<item>
<title>Yii2 Code Snippet</title>
<link>https://zyf.im/2021/01/19/yii2-code-snippet/</link>
<guid>https://zyf.im/2021/01/19/yii2-code-snippet/</guid>
<pubDate>Tue, 19 Jan 2021 04:08:13 GMT</pubDate>
<description><h2 id="gii-CLI"><a href="#gii-CLI" class="headerlink" title="gii CLI"></a>gii CLI</h2><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">php yii <span class="built_in">help</span> gii/mode</span><br><span class="line"></span><br><span class="line">php yii gii/model</description>
<category domain="https://zyf.im/categories/code-snippet/">code-snippet</category>
<category domain="https://zyf.im/tags/php/">php</category>
<category domain="https://zyf.im/tags/yii2/">yii2</category>
<comments>https://zyf.im/2021/01/19/yii2-code-snippet/#disqus_thread</comments>
</item>
<item>
<title>Yii2 Vue 跨域问题</title>
<link>https://zyf.im/2021/01/10/yii2-vue-cors/</link>
<guid>https://zyf.im/2021/01/10/yii2-vue-cors/</guid>
<pubDate>Sun, 10 Jan 2021 04:00:00 GMT</pubDate>
<description><h2 id="旧的解决办法"><a href="#旧的解决办法" class="headerlink" title="旧的解决办法"></a>旧的解决办法</h2><p>在控制器的 behaviors 方法中增加下面的代码:</p>
<figure class="highlight php"><table><tr><td class="code"><pre><span class="line"><span class="keyword">public</span> <span class="function"><span class="keyword">function</span></description>
<category domain="https://zyf.im/tags/php/">php</category>
<category domain="https://zyf.im/tags/vue/">vue</category>
<category domain="https://zyf.im/tags/yii2/">yii2</category>