PageSourceSearch

https://woodwhales.cn/

html woodwhales.cn collected 2026-10-03 23:19:59 UTC 80,133 bytes, 3,194 lines download raw bytes

1<!DOCTYPE html>
2
3
4
5
6<html class="theme-next muse" lang="zh-Hans">
7<head>
8  <meta charset="UTF-8"/>
9<meta http-equiv="X-UA-Compatible" content="IE=edge" />
10<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
11<meta name="theme-color" content="#fff">
12<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1815293530059355"
13     crossorigin="anonymous"></script>
13
14
15
16
17
18
19
20
21
22<meta http-equiv="Cache-Control" content="no-transform" />
23<meta http-equiv="Cache-Control" content="no-siteapp" />
24
25
26
27  <meta name="google-site-verification" content="3uDNOuCQu6inuHg_QHas_nknR5rEe5WHetNJ6bVEwVA" />
28
29
30
31  <meta name="msvalidate.01" content="DCCE27951FD510E830BDD5D014EB15B4" />
32
33
34
35
36
37
38
39
40
41
42
43
44  
45  
46  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />
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    <link href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic|Roboto Slab:300,300italic,400,400italic,700,700italic|Roboto Mono:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
85  
86
87
88
89
90
91
92<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />
93
94<link href="/css/main.css?v=5.1.4" rel="stylesheet" type="text/css" />
95
96
97  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=5.1.4">
98
99
100  <link rel="icon" type="image/png" sizes="32x32" href="/uploads/favicon-32x32.ico?v=5.1.4">
101
102
103  <link rel="icon" type="image/png" sizes="16x16" href="/uploads/favicon-16x16.ico?v=5.1.4">
104
105
106  <link rel="mask-icon" href="/images/logo.svg?v=5.1.4" color="#fff">
107
108
109
110
111
112  <meta name="keywords" content="woodwhales, 木鲸鱼, Java, 设计, 博客" />
113
114
115
116
117
118
119
120
121
122
123<meta name="description" content="好记性不如烂笔头">
124<meta property="og:type" content="website">
125<meta property="og:title" content="woodwhale&#39;s blog">
126<meta property="og:url" content="https://woodwhales.cn/index.html">
127<meta property="og:site_name" content="woodwhale&#39;s blog">
128<meta property="og:description" content="好记性不如烂笔头">
129<meta property="og:locale">
130<meta property="article:author" content="木鲸鱼">
131<meta property="article:tag" content="Java,编程,技术,设计,博客,建站,木鲸鱼,开源,折腾,woodwhales,blog,程序员">
132<meta name="twitter:card" content="summary">
133
134
135
136<script type="text/javascript" id="hexo.configurations">
137  var NexT = window.NexT || {};
138  var CONFIG = {
139    root: '',
140    scheme: 'Muse',
141    version: '5.1.4',
142    sidebar: {"position":"left","display":"hide","offset":12,"b2t":false,"scrollpercent":true,"onmobile":false},
143    fancybox: true,
144    tabs: true,
145    motion: {"enable":false,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
146    duoshuo: {
147      userId: 'undefined',
148      author: '博主'
149    },
150    algolia: {
151      applicationID: '',
152      apiKey: '',
153      indexName: '',
154      hits: {"per_page":10},
155      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
156    }
157  };
158</script>
158
159
160
161
162  <link rel="canonical" href="https://woodwhales.cn/"/>
163
164
165
166
167<script async src="https://fundingchoicesmessages.google.com/i/pub-1815293530059355?ers=1" nonce="iiDO3i5ZgRmrRRl65XssBQ"></script>
167<script nonce="iiDO3i5ZgRmrRRl65XssBQ">(function() {function signalGooglefcPresent() {if (!window.frames['googlefcPresent']) {if (document.body) {const iframe = document.createElement('iframe'); iframe.style = 'width: 0; height: 0; border: none; z-index: -1000; left: -1000px; top: -1000px;'; iframe.style.display = 'none'; iframe.name = 'googlefcPresent'; document.body.appendChild(iframe);} else {setTimeout(signalGooglefcPresent, 0);}}}signalGooglefcPresent();})();</script>
167
168
169  <title>woodwhale's blog -  </title>
170  
171
172
173
174
175
176
177
178
179<meta name="generator" content="Hexo 7.0.0">
180<style>.github-emoji { position: relative; display: inline-block; width: 1.2em; min-height: 1.2em; overflow: hidden; vertical-align: top; color: transparent; }  .github-emoji > span { position: relative; z-index: 10; }  .github-emoji img, .github-emoji .fancybox { margin: 0 !important; padding: 0 !important; border: none !important; outline: none !important; text-decoration: none !important; user-select: none !important; cursor: auto !important; }  .github-emoji img { height: 1.2em !important; width: 1.2em !important; position: absolute !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; user-select: none !important; cursor: auto !important; } .github-emoji-fallback { color: inherit; } .github-emoji-fallback img { opacity: 0 !important; }</style>
181</head>
182
183<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">
184
185	<div class="bg_content">
186		<canvas id="canvas"></canvas>
187	</div>
188
189  
190  
191    
192  
193
194  <div class="container sidebar-position-left 
195  page-home">
196    <div class="headband"></div>
197
198    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
199      <div class="header-inner"><div class="site-brand-wrapper">
200  <div class="site-meta ">
201    
202
203    <div class="custom-logo-site-title">
204      <a href="/"  class="brand" rel="start">
205        <span class="logo-line-before"><i></i></span>
206        <span class="site-title">woodwhale's blog</span>
207        <span class="logo-line-after"><i></i></span>
208      </a>
209    </div>
210      
211        <p class="site-subtitle">技术改变生活</p>
212      
213  </div>
214
215  <div class="site-nav-toggle">
216    <button>
217      <span class="btn-bar"></span>
218      <span class="btn-bar"></span>
219      <span class="btn-bar"></span>
220    </button>
221  </div>
222</div>
223
224<nav class="site-nav">
225  
226
227  
228    <ul id="menu" class="menu">
229      
230        
231        <li class="menu-item menu-item-home">
232          <a href="/" rel="section">
233            
234              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
235            
236            首页
237          </a>
238        </li>
239      
240        
241        <li class="menu-item menu-item-archives">
242          <a href="/archives/" rel="section">
243            
244              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
245            
246            归档
247          </a>
248        </li>
249      
250        
251        <li class="menu-item menu-item-categories">
252          <a href="/categories/" rel="section">
253            
254              <i class="menu-item-icon fa fa-fw fa-th"></i> <br />
255            
256            分类
257          </a>
258        </li>
259      
260        
261        <li class="menu-item menu-item-tags">
262          <a href="/tags/" rel="section">
263            
264              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
265            
266            标签
267          </a>
268        </li>
269      
270        
271        <li class="menu-item menu-item-tools">
272          <a href="/tools/" rel="section">
273            
274              <i class="menu-item-icon fa fa-fw fa-cogs"></i> <br />
275            
276            工具
277          </a>
278        </li>
279      
280        
281        <li class="menu-item menu-item-resources">
282          <a href="/resources/" rel="section">
283            
284              <i class="menu-item-icon fa fa-fw fa-gift"></i> <br />
285            
286            福利
287          </a>
288        </li>
289      
290        
291        <li class="menu-item menu-item-setup">
292          <a href="/setup/" rel="section">
293            
294              <i class="menu-item-icon fa fa-fw fa-power-off"></i> <br />
295            
296            装机
297          </a>
298        </li>
299      
300        
301        <li class="menu-item menu-item-works">
302          <a href="/works/" rel="section">
303            
304              <i class="menu-item-icon fa fa-fw fa-bars"></i> <br />
305            
306            作品
307          </a>
308        </li>
309      
310        
311        <li class="menu-item menu-item-about">
312          <a href="/about/" rel="section">
313            
314              <i class="menu-item-icon fa fa-fw fa-futbol-o"></i> <br />
315            
316            关于
317          </a>
318        </li>
319      
320
321      
322        <li class="menu-item menu-item-search">
323          
324            <a href="javascript:;" class="popup-trigger">
325          
326            
327              <i class="menu-item-icon fa fa-search fa-fw"></i> <br />
328            
329            搜索
330          </a>
331        </li>
332      
333    </ul>
334  
335
336  
337    <div class="site-search">
338      
339  <div class="popup search-popup local-search-popup">
340  <div class="local-search-header clearfix">
341    <span class="search-icon">
342      <i class="fa fa-search"></i>
343    </span>
344    <span class="popup-btn-close">
345      <i class="fa fa-times-circle"></i>
346    </span>
347    <div class="local-search-input-wrapper">
348      <input autocomplete="off"
349             placeholder="搜索..." spellcheck="false"
350             type="text" id="local-search-input">
351    </div>
352  </div>
353  <div id="local-search-result"></div>
354</div>
355
356
357
358    </div>
359  
360</nav>
361
362
363
364 </div>
365    </header>
366
367    <main id="main" class="main">
368      <div class="main-inner">
369        <div class="content-wrap">
370          <div id="content" class="content">
371            
372  <section id="posts" class="posts-expand">
373    
374      
375
376  
377
378  
379  
380  
381
382  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
383  
384  
385  
386  <div class="post-block">
387    <link itemprop="mainEntityOfPage" href="https://woodwhales.cn/2025/07/27/103/">
388
389    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
390      <meta itemprop="name" content="woodwhales">
391      <meta itemprop="description" content="">
392      <meta itemprop="image" content="/uploads/avatar-woodwhale.png">
393    </span>
394
395    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
396      <meta itemprop="name" content="woodwhale's blog">
397    </span>
398
399    
400      <header class="post-header">
401
402        
403        
404          <h1 class="post-title" itemprop="name headline">
405                
406                <a class="post-title-link" href="/2025/07/27/103/" itemprop="url">Docker 部署 rocketmq 5.3.3(含 ACL 2.0 配置)</a></h1>
407        
408
409        <div class="post-meta">
410          <span class="post-time">
411            
412              <span class="post-meta-item-icon">
413                <i class="fa fa-calendar-o"></i>
414              </span>
415              
416                <span class="post-meta-item-text">发表于</span>
417              
418              <time title="创建于" itemprop="dateCreated datePublished" datetime="2025-07-27T00:13:00+08:00">
419                2025-07-27
420              </time>
421            
422
423            
424
425            
426          </span>
427
428          
429            <span class="post-category" >
430            
431              <span class="post-meta-divider">|</span>
432            
433              <span class="post-meta-item-icon">
434                <i class="fa fa-folder-o"></i>
435              </span>
436              
437                <span class="post-meta-item-text">分类</span>
438              
439              
440                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
441                  <a href="/categories/rocketmq/" itemprop="url" rel="index">
442                    <span itemprop="name">rocketmq</span>
443                  </a>
444                </span>
445
446                
447                
448              
449            </span>
450          
451
452          
453            
454              <span class="post-comments-count">
455                <span class="post-meta-divider">|</span>
456                <span class="post-meta-item-icon">
457                  <i class="fa fa-comment-o"></i>
458                </span>
459                <a href="/2025/07/27/103/#comments" itemprop="discussionUrl">
460                  <span class="post-comments-count valine-comment-count" data-xid="/2025/07/27/103/" itemprop="commentCount"></span>
461                </a>
462              </span>
463            
464          
465
466          
467          
468
469          
470
471          
472            <div class="post-wordcount">
473              
474                
475                  <span class="post-meta-divider">|</span>
476                
477                <span class="post-meta-item-icon">
478                  <i class="fa fa-pencil-square-o"></i>
479                </span>
480                
481                  <span class="post-meta-item-text">全文总计&#58;</span>
482                
483                <span title="全文总计">
484                   字
485                </span>
486              
487
488              
489
490              
491            </div>
492          
493
494          
495
496        </div>
497      </header>
498    
499
500    
501    
502    
503    <div class="post-body" itemprop="articleBody">
504
505      
506      
507        <div class="post-gallery" itemscope itemtype="http://schema.org/ImageGallery">
508          
509          
510            <div class="post-gallery-row">
511              <a class="post-gallery-img fancybox"
512                 target="_blank" href="https://image.woodwhales.cn/103/face.png" rel="gallery_cmdkgfqvu00e134v894fyeycf noopener"
513                 itemscope itemtype="http://schema.org/ImageObject" itemprop="url">
514                <img src="https://image.woodwhales.cn/103/face.png" itemprop="contentUrl"/>
515              </a>
516            
517          
518
519          
520          </div>
521        </div>
522      
523
524      
525        
526          Docker 部署 rocketmq 5.3.3(含 ACL 2.0 配置)
527		  <!-- 增加文章摘要图片 -->
528			
529          <!--noindex-->
530          <div class="post-button text-center">
531            <a class="btn" href="/2025/07/27/103/">
532              阅读全文 &raquo;
533            </a>
534          </div>		
535          <!--/noindex-->
536        
537      
538    </div>
539    
540    
541    
542
543	
544	
545	
546	
547    
548
549    
550	
551	<div>
552      
553	</div>
554
555    
556	
557    <footer class="post-footer">
558      
559
560      
561
562      
563
564      
565      
566        <div class="post-eof"></div>
567      
568    </footer>
569  </div>
570  
571  
572  
573  </article>
574
575
576    
577      
578
579  
580
581  
582  
583  
584
585  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
586  
587  
588  
589  <div class="post-block">
590    <link itemprop="mainEntityOfPage" href="https://woodwhales.cn/2025/05/24/102/">
591
592    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
593      <meta itemprop="name" content="woodwhales">
594      <meta itemprop="description" content="">
595      <meta itemprop="image" content="/uploads/avatar-woodwhale.png">
596    </span>
597
598    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
599      <meta itemprop="name" content="woodwhale's blog">
600    </span>
601
602    
603      <header class="post-header">
604
605        
606        
607          <h1 class="post-title" itemprop="name headline">
608                
609                <a class="post-title-link" href="/2025/05/24/102/" itemprop="url">Docker 安装 Harbor 教程(搭建 Docker 私有仓库 harbor 避坑指南)</a></h1>
610        
611
612        <div class="post-meta">
613          <span class="post-time">
614            
615              <span class="post-meta-item-icon">
616                <i class="fa fa-calendar-o"></i>
617              </span>
618              
619                <span class="post-meta-item-text">发表于</span>
620              
621              <time title="创建于" itemprop="dateCreated datePublished" datetime="2025-05-24T17:38:00+08:00">
622                2025-05-24
623              </time>
624            
625
626            
627
628            
629          </span>
630
631          
632            <span class="post-category" >
633            
634              <span class="post-meta-divider">|</span>
635            
636              <span class="post-meta-item-icon">
637                <i class="fa fa-folder-o"></i>
638              </span>
639              
640                <span class="post-meta-item-text">分类</span>
641              
642              
643                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
644                  <a href="/categories/harbor/" itemprop="url" rel="index">
645                    <span itemprop="name">harbor</span>
646                  </a>
647                </span>
648
649                
650                
651              
652            </span>
653          
654
655          
656            
657              <span class="post-comments-count">
658                <span class="post-meta-divider">|</span>
659                <span class="post-meta-item-icon">
660                  <i class="fa fa-comment-o"></i>
661                </span>
662                <a href="/2025/05/24/102/#comments" itemprop="discussionUrl">
663                  <span class="post-comments-count valine-comment-count" data-xid="/2025/05/24/102/" itemprop="commentCount"></span>
664                </a>
665              </span>
666            
667          
668
669          
670          
671
672          
673
674          
675            <div class="post-wordcount">
676              
677                
678                  <span class="post-meta-divider">|</span>
679                
680                <span class="post-meta-item-icon">
681                  <i class="fa fa-pencil-square-o"></i>
682                </span>
683                
684                  <span class="post-meta-item-text">全文总计&#58;</span>
685                
686                <span title="全文总计">
687                   字
688                </span>
689              
690
691              
692
693              
694            </div>
695          
696
697          
698
699        </div>
700      </header>
701    
702
703    
704    
705    
706    <div class="post-body" itemprop="articleBody">
707
708      
709      
710        <div class="post-gallery" itemscope itemtype="http://schema.org/ImageGallery">
711          
712          
713            <div class="post-gallery-row">
714              <a class="post-gallery-img fancybox"
715                 target="_blank" href="https://image.woodwhales.cn/102/face.png" rel="gallery_cmdkgfqvt00dy34v84dv40ail noopener"
716                 itemscope itemtype="http://schema.org/ImageObject" itemprop="url">
717                <img src="https://image.woodwhales.cn/102/face.png" itemprop="contentUrl"/>
718              </a>
719            
720          
721
722          
723          </div>
724        </div>
725      
726
727      
728        
729          Docker 安装 Harbor 教程(搭建 Docker 私有仓库 harbor 避坑指南)
730		  <!-- 增加文章摘要图片 -->
731			
732          <!--noindex-->
733          <div class="post-button text-center">
734            <a class="btn" href="/2025/05/24/102/">
735              阅读全文 &raquo;
736            </a>
737          </div>		
738          <!--/noindex-->
739        
740      
741    </div>
742    
743    
744    
745
746	
747	
748	
749	
750    
751
752    
753	
754	<div>
755      
756	</div>
757
758    
759	
760    <footer class="post-footer">
761      
762
763      
764
765      
766
767      
768      
769        <div class="post-eof"></div>
770      
771    </footer>
772  </div>
773  
774  
775  
776  </article>
777
778
779    
780      
781
782  
783
784  
785  
786  
787
788  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
789  
790  
791  
792  <div class="post-block">
793    <link itemprop="mainEntityOfPage" href="https://woodwhales.cn/2024/08/25/101/">
794
795    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
796      <meta itemprop="name" content="woodwhales">
797      <meta itemprop="description" content="">
798      <meta itemprop="image" content="/uploads/avatar-woodwhale.png">
799    </span>
800
801    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
802      <meta itemprop="name" content="woodwhale's blog">
803    </span>
804
805    
806      <header class="post-header">
807
808        
809        
810          <h1 class="post-title" itemprop="name headline">
811                
812                <a class="post-title-link" href="/2024/08/25/101/" itemprop="url">已docker容器运行的postgreSQL安装postgis插件</a></h1>
813        
814
815        <div class="post-meta">
816          <span class="post-time">
817            
818              <span class="post-meta-item-icon">
819                <i class="fa fa-calendar-o"></i>
820              </span>
821              
822                <span class="post-meta-item-text">发表于</span>
823              
824              <time title="创建于" itemprop="dateCreated datePublished" datetime="2024-08-25T23:19:00+08:00">
825                2024-08-25
826              </time>
827            
828
829            
830
831            
832          </span>
833
834          
835            <span class="post-category" >
836            
837              <span class="post-meta-divider">|</span>
838            
839              <span class="post-meta-item-icon">
840                <i class="fa fa-folder-o"></i>
841              </span>
842              
843                <span class="post-meta-item-text">分类</span>
844              
845              
846                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
847                  <a href="/categories/postgreSQL/" itemprop="url" rel="index">
848                    <span itemprop="name">postgreSQL</span>
849                  </a>
850                </span>
851
852                
853                
854              
855            </span>
856          
857
858          
859            
860              <span class="post-comments-count">
861                <span class="post-meta-divider">|</span>
862                <span class="post-meta-item-icon">
863                  <i class="fa fa-comment-o"></i>
864                </span>
865                <a href="/2024/08/25/101/#comments" itemprop="discussionUrl">
866                  <span class="post-comments-count valine-comment-count" data-xid="/2024/08/25/101/" itemprop="commentCount"></span>
867                </a>
868              </span>
869            
870          
871
872          
873          
874
875          
876
877          
878            <div class="post-wordcount">
879              
880                
881                  <span class="post-meta-divider">|</span>
882                
883                <span class="post-meta-item-icon">
884                  <i class="fa fa-pencil-square-o"></i>
885                </span>
886                
887                  <span class="post-meta-item-text">全文总计&#58;</span>
888                
889                <span title="全文总计">
890                   字
891                </span>
892              
893
894              
895
896              
897            </div>
898          
899
900          
901
902        </div>
903      </header>
904    
905
906    
907    
908    
909    <div class="post-body" itemprop="articleBody">
910
911      
912      
913        <div class="post-gallery" itemscope itemtype="http://schema.org/ImageGallery">
914          
915          
916            <div class="post-gallery-row">
917              <a class="post-gallery-img fancybox"
918                 target="_blank" href="https://image.woodwhales.cn/101/face.jpg" rel="gallery_cmdkgfqvt00dx34v83u0ga1ol noopener"
919                 itemscope itemtype="http://schema.org/ImageObject" itemprop="url">
920                <img src="https://image.woodwhales.cn/101/face.jpg" itemprop="contentUrl"/>
921              </a>
922            
923          
924
925          
926          </div>
927        </div>
928      
929
930      
931        
932          已docker容器运行的postgreSQL安装postgis插件
933		  <!-- 增加文章摘要图片 -->
934			
935          <!--noindex-->
936          <div class="post-button text-center">
937            <a class="btn" href="/2024/08/25/101/">
938              阅读全文 &raquo;
939            </a>
940          </div>		
941          <!--/noindex-->
942        
943      
944    </div>
945    
946    
947    
948
949	
950	
951	
952	
953    
954
955    
956	
957	<div>
958      
959	</div>
960
961    
962	
963    <footer class="post-footer">
964      
965
966      
967
968      
969
970      
971      
972        <div class="post-eof"></div>
973      
974    </footer>
975  </div>
976  
977  
978  
979  </article>
980
981
982    
983      
984
985  
986
987  
988  
989  
990
991  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
992  
993  
994  
995  <div class="post-block">
996    <link itemprop="mainEntityOfPage" href="https://woodwhales.cn/2024/08/25/100/">
997
998    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
999      <meta itemprop="name" content="woodwhales">
1000      <meta itemprop="description" content="">
1001      <meta itemprop="image" content="/uploads/avatar-woodwhale.png">
1002    </span>
1003
1004    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
1005      <meta itemprop="name" content="woodwhale's blog">
1006    </span>
1007
1008    
1009      <header class="post-header">
1010
1011        
1012        
1013          <h1 class="post-title" itemprop="name headline">
1014                
1015                <a class="post-title-link" href="/2024/08/25/100/" itemprop="url">nginx常见自定义配置</a></h1>
1016        
1017
1018        <div class="post-meta">
1019          <span class="post-time">
1020            
1021              <span class="post-meta-item-icon">
1022                <i class="fa fa-calendar-o"></i>
1023              </span>
1024              
1025                <span class="post-meta-item-text">发表于</span>
1026              
1027              <time title="创建于" itemprop="dateCreated datePublished" datetime="2024-08-25T22:19:00+08:00">
1028                2024-08-25
1029              </time>
1030            
1031
1032            
1033
1034            
1035          </span>
1036
1037          
1038            <span class="post-category" >
1039            
1040              <span class="post-meta-divider">|</span>
1041            
1042              <span class="post-meta-item-icon">
1043                <i class="fa fa-folder-o"></i>
1044              </span>
1045              
1046                <span class="post-meta-item-text">分类</span>
1047              
1048              
1049                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
1050                  <a href="/categories/nginx/" itemprop="url" rel="index">
1051                    <span itemprop="name">nginx</span>
1052                  </a>
1053                </span>
1054
1055                
1056                
1057              
1058            </span>
1059          
1060
1061          
1062            
1063              <span class="post-comments-count">
1064                <span class="post-meta-divider">|</span>
1065                <span class="post-meta-item-icon">
1066                  <i class="fa fa-comment-o"></i>
1067                </span>
1068                <a href="/2024/08/25/100/#comments" itemprop="discussionUrl">
1069                  <span class="post-comments-count valine-comment-count" data-xid="/2024/08/25/100/" itemprop="commentCount"></span>
1070                </a>
1071              </span>
1072            
1073          
1074
1075          
1076          
1077
1078          
1079
1080          
1081            <div class="post-wordcount">
1082              
1083                
1084                  <span class="post-meta-divider">|</span>
1085                
1086                <span class="post-meta-item-icon">
1087                  <i class="fa fa-pencil-square-o"></i>
1088                </span>
1089                
1090                  <span class="post-meta-item-text">全文总计&#58;</span>
1091                
1092                <span title="全文总计">
1093                   字
1094                </span>
1095              
1096
1097              
1098
1099              
1100            </div>
1101          
1102
1103          
1104
1105        </div>
1106      </header>
1107    
1108
1109    
1110    
1111    
1112    <div class="post-body" itemprop="articleBody">
1113
1114      
1115      
1116        <div class="post-gallery" itemscope itemtype="http://schema.org/ImageGallery">
1117          
1118          
1119            <div class="post-gallery-row">
1120              <a class="post-gallery-img fancybox"
1121                 target="_blank" href="https://image.woodwhales.cn/100/face.jpg" rel="gallery_cmdkgfqv0008l34v802qs5xmm noopener"
1122                 itemscope itemtype="http://schema.org/ImageObject" itemprop="url">
1123                <img src="https://image.woodwhales.cn/100/face.jpg" itemprop="contentUrl"/>
1124              </a>
1125            
1126          
1127
1128          
1129          </div>
1130        </div>
1131      
1132
1133      
1134        
1135          nginx常见自定义配置,映射本地文件目录,静态页面,本地接口代理
1136		  <!-- 增加文章摘要图片 -->
1137			
1138          <!--noindex-->
1139          <div class="post-button text-center">
1140            <a class="btn" href="/2024/08/25/100/">
1141              阅读全文 &raquo;
1142            </a>
1143          </div>		
1144          <!--/noindex-->
1145        
1146      
1147    </div>
1148    
1149    
1150    
1151
1152	
1153	
1154	
1155	
1156    
1157
1158    
1159	
1160	<div>
1161      
1162	</div>
1163
1164    
1165	
1166    <footer class="post-footer">
1167      
1168
1169      
1170
1171      
1172
1173      
1174      
1175        <div class="post-eof"></div>
1176      
1177    </footer>
1178  </div>
1179  
1180  
1181  
1182  </article>
1183
1184
1185    
1186      
1187
1188  
1189
1190  
1191  
1192  
1193
1194  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
1195  
1196  
1197  
1198  <div class="post-block">
1199    <link itemprop="mainEntityOfPage" href="https://woodwhales.cn/2024/03/20/099/">
1200
1201    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
1202      <meta itemprop="name" content="woodwhales">
1203      <meta itemprop="description" content="">
1204      <meta itemprop="image" content="/uploads/avatar-woodwhale.png">
1205    </span>
1206
1207    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
1208      <meta itemprop="name" content="woodwhale's blog">
1209    </span>
1210
1211    
1212      <header class="post-header">
1213
1214        
1215        
1216          <h1 class="post-title" itemprop="name headline">
1217                
1218                <a class="post-title-link" href="/2024/03/20/099/" itemprop="url">解决在 yolov8 训练自己的数据集时,matplotlib 中文乱码问题</a></h1>
1219        
1220
1221        <div class="post-meta">
1222          <span class="post-time">
1223            
1224              <span class="post-meta-item-icon">
1225                <i class="fa fa-calendar-o"></i>
1226              </span>
1227              
1228                <span class="post-meta-item-text">发表于</span>
1229              
1230              <time title="创建于" itemprop="dateCreated datePublished" datetime="2024-03-20T17:13:00+08:00">
1231                2024-03-20
1232              </time>
1233            
1234
1235            
1236
1237            
1238          </span>
1239
1240          
1241            <span class="post-category" >
1242            
1243              <span class="post-meta-divider">|</span>
1244            
1245              <span class="post-meta-item-icon">
1246                <i class="fa fa-folder-o"></i>
1247              </span>
1248              
1249                <span class="post-meta-item-text">分类</span>
1250              
1251              
1252                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
1253                  <a href="/categories/yolov8/" itemprop="url" rel="index">
1254                    <span itemprop="name">yolov8</span>
1255                  </a>
1256                </span>
1257
1258                
1259                
1260              
1261            </span>
1262          
1263
1264          
1265            
1266              <span class="post-comments-count">
1267                <span class="post-meta-divider">|</span>
1268                <span class="post-meta-item-icon">
1269                  <i class="fa fa-comment-o"></i>
1270                </span>
1271                <a href="/2024/03/20/099/#comments" itemprop="discussionUrl">
1272                  <span class="post-comments-count valine-comment-count" data-xid="/2024/03/20/099/" itemprop="commentCount"></span>
1273                </a>
1274              </span>
1275            
1276          
1277
1278          
1279          
1280
1281          
1282
1283          
1284            <div class="post-wordcount">
1285              
1286                
1287                  <span class="post-meta-divider">|</span>
1288                
1289                <span class="post-meta-item-icon">
1290                  <i class="fa fa-pencil-square-o"></i>
1291                </span>
1292                
1293                  <span class="post-meta-item-text">全文总计&#58;</span>
1294                
1295                <span title="全文总计">
1296                   字
1297                </span>
1298              
1299
1300              
1301
1302              
1303            </div>
1304          
1305
1306          
1307
1308        </div>
1309      </header>
1310    
1311
1312    
1313    
1314    
1315    <div class="post-body" itemprop="articleBody">
1316
1317      
1318      
1319        <div class="post-gallery" itemscope itemtype="http://schema.org/ImageGallery">
1320          
1321          
1322            <div class="post-gallery-row">
1323              <a class="post-gallery-img fancybox"
1324                 target="_blank" href="https://image.woodwhales.cn/099/face.png" rel="gallery_cmdkgfquz008h34v80y8w850e noopener"
1325                 itemscope itemtype="http://schema.org/ImageObject" itemprop="url">
1326                <img src="https://image.woodwhales.cn/099/face.png" itemprop="contentUrl"/>
1327              </a>
1328            
1329          
1330
1331          
1332          </div>
1333        </div>
1334      
1335
1336      
1337        
1338          解决在 yolov8 训练自己的数据集时,matplotlib 中文乱码问题
1339		  <!-- 增加文章摘要图片 -->
1340			
1341          <!--noindex-->
1342          <div class="post-button text-center">
1343            <a class="btn" href="/2024/03/20/099/">
1344              阅读全文 &raquo;
1345            </a>
1346          </div>		
1347          <!--/noindex-->
1348        
1349      
1350    </div>
1351    
1352    
1353    
1354
1355	
1356	
1357	
1358	
1359    
1360
1361    
1362	
1363	<div>
1364      
1365	</div>
1366
1367    
1368	
1369    <footer class="post-footer">
1370      
1371
1372      
1373
1374      
1375
1376      
1377      
1378        <div class="post-eof"></div>
1379      
1380    </footer>
1381  </div>
1382  
1383  
1384  
1385  </article>
1386
1387
1388    
1389      
1390
1391  
1392
1393  
1394  
1395  
1396
1397  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
1398  
1399  
1400  
1401  <div class="post-block">
1402    <link itemprop="mainEntityOfPage" href="https://woodwhales.cn/2024/01/09/098/">
1403
1404    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
1405      <meta itemprop="name" content="woodwhales">
1406      <meta itemprop="description" content="">
1407      <meta itemprop="image" content="/uploads/avatar-woodwhale.png">
1408    </span>
1409
1410    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
1411      <meta itemprop="name" content="woodwhale's blog">
1412    </span>
1413
1414    
1415      <header class="post-header">
1416
1417        
1418        
1419          <h1 class="post-title" itemprop="name headline">
1420                
1421                <a class="post-title-link" href="/2024/01/09/098/" itemprop="url">docker 安装 Minio</a></h1>
1422        
1423
1424        <div class="post-meta">
1425          <span class="post-time">
1426            
1427              <span class="post-meta-item-icon">
1428                <i class="fa fa-calendar-o"></i>
1429              </span>
1430              
1431                <span class="post-meta-item-text">发表于</span>
1432              
1433              <time title="创建于" itemprop="dateCreated datePublished" datetime="2024-01-09T11:04:00+08:00">
1434                2024-01-09
1435              </time>
1436            
1437
1438            
1439
1440            
1441          </span>
1442
1443          
1444            <span class="post-category" >
1445            
1446              <span class="post-meta-divider">|</span>
1447            
1448              <span class="post-meta-item-icon">
1449                <i class="fa fa-folder-o"></i>
1450              </span>
1451              
1452                <span class="post-meta-item-text">分类</span>
1453              
1454              
1455                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
1456                  <a href="/categories/Minio/" itemprop="url" rel="index">
1457                    <span itemprop="name">Minio</span>
1458                  </a>
1459                </span>
1460
1461                
1462                
1463              
1464            </span>
1465          
1466
1467          
1468            
1469              <span class="post-comments-count">
1470                <span class="post-meta-divider">|</span>
1471                <span class="post-meta-item-icon">
1472                  <i class="fa fa-comment-o"></i>
1473                </span>
1474                <a href="/2024/01/09/098/#comments" itemprop="discussionUrl">
1475                  <span class="post-comments-count valine-comment-count" data-xid="/2024/01/09/098/" itemprop="commentCount"></span>
1476                </a>
1477              </span>
1478            
1479          
1480
1481          
1482          
1483
1484          
1485
1486          
1487            <div class="post-wordcount">
1488              
1489                
1490                  <span class="post-meta-divider">|</span>
1491                
1492                <span class="post-meta-item-icon">
1493                  <i class="fa fa-pencil-square-o"></i>
1494                </span>
1495                
1496                  <span class="post-meta-item-text">全文总计&#58;</span>
1497                
1498                <span title="全文总计">
1499                   字
1500                </span>
1501              
1502
1503              
1504
1505              
1506            </div>
1507          
1508
1509          
1510
1511        </div>
1512      </header>
1513    
1514
1515    
1516    
1517    
1518    <div class="post-body" itemprop="articleBody">
1519
1520      
1521      
1522        <div class="post-gallery" itemscope itemtype="http://schema.org/ImageGallery">
1523          
1524          
1525            <div class="post-gallery-row">
1526              <a class="post-gallery-img fancybox"
1527                 target="_blank" href="https://image.woodwhales.cn/098/face.png" rel="gallery_cmdkgfquy008b34v8c22s7jkn noopener"
1528                 itemscope itemtype="http://schema.org/ImageObject" itemprop="url">
1529                <img src="https://image.woodwhales.cn/098/face.png" itemprop="contentUrl"/>
1530              </a>
1531            
1532          
1533
1534          
1535          </div>
1536        </div>
1537      
1538
1539      
1540        
1541          docker 安装 Minio
1542		  <!-- 增加文章摘要图片 -->
1543			
1544          <!--noindex-->
1545          <div class="post-button text-center">
1546            <a class="btn" href="/2024/01/09/098/">
1547              阅读全文 &raquo;
1548            </a>
1549          </div>		
1550          <!--/noindex-->
1551        
1552      
1553    </div>
1554    
1555    
1556    
1557
1558	
1559	
1560	
1561	
1562    
1563
1564    
1565	
1566	<div>
1567      
1568	</div>
1569
1570    
1571	
1572    <footer class="post-footer">
1573      
1574
1575      
1576
1577      
1578
1579      
1580      
1581        <div class="post-eof"></div>
1582      
1583    </footer>
1584  </div>
1585  
1586  
1587  
1588  </article>
1589
1590
1591    
1592      
1593
1594  
1595
1596  
1597  
1598  
1599
1600  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
1601  
1602  
1603  
1604  <div class="post-block">
1605    <link itemprop="mainEntityOfPage" href="https://woodwhales.cn/2024/01/01/097/">
1606
1607    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
1608      <meta itemprop="name" content="woodwhales">
1609      <meta itemprop="description" content="">
1610      <meta itemprop="image" content="/uploads/avatar-woodwhale.png">
1611    </span>
1612
1613    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
1614      <meta itemprop="name" content="woodwhale's blog">
1615    </span>
1616
1617    
1618      <header class="post-header">
1619
1620        
1621        
1622          <h1 class="post-title" itemprop="name headline">
1623                
1624                <a class="post-title-link" href="/2024/01/01/097/" itemprop="url">Anaconda 安装 for windows</a></h1>
1625        
1626
1627        <div class="post-meta">
1628          <span class="post-time">
1629            
1630              <span class="post-meta-item-icon">
1631                <i class="fa fa-calendar-o"></i>
1632              </span>
1633              
1634                <span class="post-meta-item-text">发表于</span>
1635              
1636              <time title="创建于" itemprop="dateCreated datePublished" datetime="2024-01-01T20:50:00+08:00">
1637                2024-01-01
1638              </time>
1639            
1640
1641            
1642
1643            
1644          </span>
1645
1646          
1647            <span class="post-category" >
1648            
1649              <span class="post-meta-divider">|</span>
1650            
1651              <span class="post-meta-item-icon">
1652                <i class="fa fa-folder-o"></i>
1653              </span>
1654              
1655                <span class="post-meta-item-text">分类</span>
1656              
1657              
1658                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
1659                  <a href="/categories/anaconda/" itemprop="url" rel="index">
1660                    <span itemprop="name">anaconda</span>
1661                  </a>
1662                </span>
1663
1664                
1665                
1666              
1667            </span>
1668          
1669
1670          
1671            
1672              <span class="post-comments-count">
1673                <span class="post-meta-divider">|</span>
1674                <span class="post-meta-item-icon">
1675                  <i class="fa fa-comment-o"></i>
1676                </span>
1677                <a href="/2024/01/01/097/#comments" itemprop="discussionUrl">
1678                  <span class="post-comments-count valine-comment-count" data-xid="/2024/01/01/097/" itemprop="commentCount"></span>
1679                </a>
1680              </span>
1681            
1682          
1683
1684          
1685          
1686
1687          
1688
1689          
1690            <div class="post-wordcount">
1691              
1692                
1693                  <span class="post-meta-divider">|</span>
1694                
1695                <span class="post-meta-item-icon">
1696                  <i class="fa fa-pencil-square-o"></i>
1697                </span>
1698                
1699                  <span class="post-meta-item-text">全文总计&#58;</span>
1700                
1701                <span title="全文总计">
1702                   字
1703                </span>
1704              
1705
1706              
1707
1708              
1709            </div>
1710          
1711
1712          
1713
1714        </div>
1715      </header>
1716    
1717
1718    
1719    
1720    
1721    <div class="post-body" itemprop="articleBody">
1722
1723      
1724      
1725        <div class="post-gallery" itemscope itemtype="http://schema.org/ImageGallery">
1726          
1727          
1728            <div class="post-gallery-row">
1729              <a class="post-gallery-img fancybox"
1730                 target="_blank" href="https://image.woodwhales.cn/097/face.jpg" rel="gallery_cmdkgfquz008f34v8djo5c0c7 noopener"
1731                 itemscope itemtype="http://schema.org/ImageObject" itemprop="url">
1732                <img src="https://image.woodwhales.cn/097/face.jpg" itemprop="contentUrl"/>
1733              </a>
1734            
1735          
1736
1737          
1738          </div>
1739        </div>
1740      
1741
1742      
1743        
1744          Anaconda 安装 for windows
1745		  <!-- 增加文章摘要图片 -->
1746			
1747          <!--noindex-->
1748          <div class="post-button text-center">
1749            <a class="btn" href="/2024/01/01/097/">
1750              阅读全文 &raquo;
1751            </a>
1752          </div>		
1753          <!--/noindex-->
1754        
1755      
1756    </div>
1757    
1758    
1759    
1760
1761	
1762	
1763	
1764	
1765    
1766
1767    
1768	
1769	<div>
1770      
1771	</div>
1772
1773    
1774	
1775    <footer class="post-footer">
1776      
1777
1778      
1779
1780      
1781
1782      
1783      
1784        <div class="post-eof"></div>
1785      
1786    </footer>
1787  </div>
1788  
1789  
1790  
1791  </article>
1792
1793
1794    
1795      
1796
1797  
1798
1799  
1800  
1801  
1802
1803  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
1804  
1805  
1806  
1807  <div class="post-block">
1808    <link itemprop="mainEntityOfPage" href="https://woodwhales.cn/2024/01/01/096/">
1809
1810    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
1811      <meta itemprop="name" content="woodwhales">
1812      <meta itemprop="description" content="">
1813      <meta itemprop="image" content="/uploads/avatar-woodwhale.png">
1814    </span>
1815
1816    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
1817      <meta itemprop="name" content="woodwhale's blog">
1818    </span>
1819
1820    
1821      <header class="post-header">
1822
1823        
1824        
1825          <h1 class="post-title" itemprop="name headline">
1826                
1827                <a class="post-title-link" href="/2024/01/01/096/" itemprop="url">认识机器学习</a></h1>
1828        
1829
1830        <div class="post-meta">
1831          <span class="post-time">
1832            
1833              <span class="post-meta-item-icon">
1834                <i class="fa fa-calendar-o"></i>
1835              </span>
1836              
1837                <span class="post-meta-item-text">发表于</span>
1838              
1839              <time title="创建于" itemprop="dateCreated datePublished" datetime="2024-01-01T17:20:00+08:00">
1840                2024-01-01
1841              </time>
1842            
1843
1844            
1845
1846            
1847          </span>
1848
1849          
1850            <span class="post-category" >
1851            
1852              <span class="post-meta-divider">|</span>
1853            
1854              <span class="post-meta-item-icon">
1855                <i class="fa fa-folder-o"></i>
1856              </span>
1857              
1858                <span class="post-meta-item-text">分类</span>
1859              
1860              
1861                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
1862                  <a href="/categories/%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0/" itemprop="url" rel="index">
1863                    <span itemprop="name">机器学习</span>
1864                  </a>
1865                </span>
1866
1867                
1868                
1869              
1870            </span>
1871          
1872
1873          
1874            
1875              <span class="post-comments-count">
1876                <span class="post-meta-divider">|</span>
1877                <span class="post-meta-item-icon">
1878                  <i class="fa fa-comment-o"></i>
1879                </span>
1880                <a href="/2024/01/01/096/#comments" itemprop="discussionUrl">
1881                  <span class="post-comments-count valine-comment-count" data-xid="/2024/01/01/096/" itemprop="commentCount"></span>
1882                </a>
1883              </span>
1884            
1885          
1886
1887          
1888          
1889
1890          
1891
1892          
1893            <div class="post-wordcount">
1894              
1895                
1896                  <span class="post-meta-divider">|</span>
1897                
1898                <span class="post-meta-item-icon">
1899                  <i class="fa fa-pencil-square-o"></i>
1900                </span>
1901                
1902                  <span class="post-meta-item-text">全文总计&#58;</span>
1903                
1904                <span title="全文总计">
1905                   字
1906                </span>
1907              
1908
1909              
1910
1911              
1912            </div>
1913          
1914
1915          
1916
1917        </div>
1918      </header>
1919    
1920
1921    
1922    
1923    
1924    <div class="post-body" itemprop="articleBody">
1925
1926      
1927      
1928        <div class="post-gallery" itemscope itemtype="http://schema.org/ImageGallery">
1929          
1930          
1931            <div class="post-gallery-row">
1932              <a class="post-gallery-img fancybox"
1933                 target="_blank" href="https://image.woodwhales.cn/096/face.png" rel="gallery_cmdkgfquy008934v85ct28p7h noopener"
1934                 itemscope itemtype="http://schema.org/ImageObject" itemprop="url">
1935                <img src="https://image.woodwhales.cn/096/face.png" itemprop="contentUrl"/>
1936              </a>
1937            
1938          
1939
1940          
1941          </div>
1942        </div>
1943      
1944
1945      
1946        
1947          机器学习科普,通俗易懂理解机器学习的本质
1948		  <!-- 增加文章摘要图片 -->
1949			
1950          <!--noindex-->
1951          <div class="post-button text-center">
1952            <a class="btn" href="/2024/01/01/096/">
1953              阅读全文 &raquo;
1954            </a>
1955          </div>		
1956          <!--/noindex-->
1957        
1958      
1959    </div>
1960    
1961    
1962    
1963
1964	
1965	
1966	
1967	
1968    
1969
1970    
1971	
1972	<div>
1973      
1974	</div>
1975
1976    
1977	
1978    <footer class="post-footer">
1979      
1980
1981      
1982
1983      
1984
1985      
1986      
1987        <div class="post-eof"></div>
1988      
1989    </footer>
1990  </div>
1991  
1992  
1993  
1994  </article>
1995
1996
1997    
1998      
1999
2000  
2001
2002  
2003  
2004  
2005
2006  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
2007  
2008  
2009  
2010  <div class="post-block">
2011    <link itemprop="mainEntityOfPage" href="https://woodwhales.cn/2023/12/28/095/">
2012
2013    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
2014      <meta itemprop="name" content="woodwhales">
2015      <meta itemprop="description" content="">
2016      <meta itemprop="image" content="/uploads/avatar-woodwhale.png">
2017    </span>
2018
2019    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
2020      <meta itemprop="name" content="woodwhale's blog">
2021    </span>
2022
2023    
2024      <header class="post-header">
2025
2026        
2027        
2028          <h1 class="post-title" itemprop="name headline">
2029                
2030                <a class="post-title-link" href="/2023/12/28/095/" itemprop="url">安装JDK21(windows、centos)</a></h1>
2031        
2032
2033        <div class="post-meta">
2034          <span class="post-time">
2035            
2036              <span class="post-meta-item-icon">
2037                <i class="fa fa-calendar-o"></i>
2038              </span>
2039              
2040                <span class="post-meta-item-text">发表于</span>
2041              
2042              <time title="创建于" itemprop="dateCreated datePublished" datetime="2023-12-28T01:01:00+08:00">
2043                2023-12-28
2044              </time>
2045            
2046
2047            
2048
2049            
2050          </span>
2051
2052          
2053            <span class="post-category" >
2054            
2055              <span class="post-meta-divider">|</span>
2056            
2057              <span class="post-meta-item-icon">
2058                <i class="fa fa-folder-o"></i>
2059              </span>
2060              
2061                <span class="post-meta-item-text">分类</span>
2062              
2063              
2064                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
2065                  <a href="/categories/JDK21/" itemprop="url" rel="index">
2066                    <span itemprop="name">JDK21</span>
2067                  </a>
2068                </span>
2069
2070                
2071                
2072              
2073            </span>
2074          
2075
2076          
2077            
2078              <span class="post-comments-count">
2079                <span class="post-meta-divider">|</span>
2080                <span class="post-meta-item-icon">
2081                  <i class="fa fa-comment-o"></i>
2082                </span>
2083                <a href="/2023/12/28/095/#comments" itemprop="discussionUrl">
2084                  <span class="post-comments-count valine-comment-count" data-xid="/2023/12/28/095/" itemprop="commentCount"></span>
2085                </a>
2086              </span>
2087            
2088          
2089
2090          
2091          
2092
2093          
2094
2095          
2096            <div class="post-wordcount">
2097              
2098                
2099                  <span class="post-meta-divider">|</span>
2100                
2101                <span class="post-meta-item-icon">
2102                  <i class="fa fa-pencil-square-o"></i>
2103                </span>
2104                
2105                  <span class="post-meta-item-text">全文总计&#58;</span>
2106                
2107                <span title="全文总计">
2108                   字
2109                </span>
2110              
2111
2112              
2113
2114              
2115            </div>
2116          
2117
2118          
2119
2120        </div>
2121      </header>
2122    
2123
2124    
2125    
2126    
2127    <div class="post-body" itemprop="articleBody">
2128
2129      
2130      
2131        <div class="post-gallery" itemscope itemtype="http://schema.org/ImageGallery">
2132          
2133          
2134            <div class="post-gallery-row">
2135              <a class="post-gallery-img fancybox"
2136                 target="_blank" href="https://image.woodwhales.cn/095/face.png" rel="gallery_cmdkgfquw008634v8ecfpbkvc noopener"
2137                 itemscope itemtype="http://schema.org/ImageObject" itemprop="url">
2138                <img src="https://image.woodwhales.cn/095/face.png" itemprop="contentUrl"/>
2139              </a>
2140            
2141          
2142
2143          
2144          </div>
2145        </div>
2146      
2147
2148      
2149        
2150          安装JDK21(windows、centos)
2151		  <!-- 增加文章摘要图片 -->
2152			
2153          <!--noindex-->
2154          <div class="post-button text-center">
2155            <a class="btn" href="/2023/12/28/095/">
2156              阅读全文 &raquo;
2157            </a>
2158          </div>		
2159          <!--/noindex-->
2160        
2161      
2162    </div>
2163    
2164    
2165    
2166
2167	
2168	
2169	
2170	
2171    
2172
2173    
2174	
2175	<div>
2176      
2177	</div>
2178
2179    
2180	
2181    <footer class="post-footer">
2182      
2183
2184      
2185
2186      
2187
2188      
2189      
2190        <div class="post-eof"></div>
2191      
2192    </footer>
2193  </div>
2194  
2195  
2196  
2197  </article>
2198
2199
2200    
2201      
2202
2203  
2204
2205  
2206  
2207  
2208
2209  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
2210  
2211  
2212  
2213  <div class="post-block">
2214    <link itemprop="mainEntityOfPage" href="https://woodwhales.cn/2023/12/27/094/">
2215
2216    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
2217      <meta itemprop="name" content="woodwhales">
2218      <meta itemprop="description" content="">
2219      <meta itemprop="image" content="/uploads/avatar-woodwhale.png">
2220    </span>
2221
2222    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
2223      <meta itemprop="name" content="woodwhale's blog">
2224    </span>
2225
2226    
2227      <header class="post-header">
2228
2229        
2230        
2231          <h1 class="post-title" itemprop="name headline">
2232                
2233                <a class="post-title-link" href="/2023/12/27/094/" itemprop="url">PostgreSQL 的 hstore、arrays 数据类型</a></h1>
2234        
2235
2236        <div class="post-meta">
2237          <span class="post-time">
2238            
2239              <span class="post-meta-item-icon">
2240                <i class="fa fa-calendar-o"></i>
2241              </span>
2242              
2243                <span class="post-meta-item-text">发表于</span>
2244              
2245              <time title="创建于" itemprop="dateCreated datePublished" datetime="2023-12-27T15:33:00+08:00">
2246                2023-12-27
2247              </time>
2248            
2249
2250            
2251
2252            
2253          </span>
2254
2255          
2256            <span class="post-category" >
2257            
2258              <span class="post-meta-divider">|</span>
2259            
2260              <span class="post-meta-item-icon">
2261                <i class="fa fa-folder-o"></i>
2262              </span>
2263              
2264                <span class="post-meta-item-text">分类</span>
2265              
2266              
2267                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
2268                  <a href="/categories/PostgreSQL/" itemprop="url" rel="index">
2269                    <span itemprop="name">PostgreSQL</span>
2270                  </a>
2271                </span>
2272
2273                
2274                
2275              
2276            </span>
2277          
2278
2279          
2280            
2281              <span class="post-comments-count">
2282                <span class="post-meta-divider">|</span>
2283                <span class="post-meta-item-icon">
2284                  <i class="fa fa-comment-o"></i>
2285                </span>
2286                <a href="/2023/12/27/094/#comments" itemprop="discussionUrl">
2287                  <span class="post-comments-count valine-comment-count" data-xid="/2023/12/27/094/" itemprop="commentCount"></span>
2288                </a>
2289              </span>
2290            
2291          
2292
2293          
2294          
2295
2296          
2297
2298          
2299            <div class="post-wordcount">
2300              
2301                
2302                  <span class="post-meta-divider">|</span>
2303                
2304                <span class="post-meta-item-icon">
2305                  <i class="fa fa-pencil-square-o"></i>
2306                </span>
2307                
2308                  <span class="post-meta-item-text">全文总计&#58;</span>
2309                
2310                <span title="全文总计">
2311                   字
2312                </span>
2313              
2314
2315              
2316
2317              
2318            </div>
2319          
2320
2321          
2322
2323        </div>
2324      </header>
2325    
2326
2327    
2328    
2329    
2330    <div class="post-body" itemprop="articleBody">
2331
2332      
2333      
2334        <div class="post-gallery" itemscope itemtype="http://schema.org/ImageGallery">
2335          
2336          
2337            <div class="post-gallery-row">
2338              <a class="post-gallery-img fancybox"
2339                 target="_blank" href="https://image.woodwhales.cn/094/face.png" rel="gallery_cmdkgfquv008334v89fxya2h9 noopener"
2340                 itemscope itemtype="http://schema.org/ImageObject" itemprop="url">
2341                <img src="https://image.woodwhales.cn/094/face.png" itemprop="contentUrl"/>
2342              </a>
2343            
2344          
2345
2346          
2347          </div>
2348        </div>
2349      
2350
2351      
2352        
2353          PostgreSQL 的 hstore、arrays 数据类型
2354		  <!-- 增加文章摘要图片 -->
2355			
2356          <!--noindex-->
2357          <div class="post-button text-center">
2358            <a class="btn" href="/2023/12/27/094/">
2359              阅读全文 &raquo;
2360            </a>
2361          </div>		
2362          <!--/noindex-->
2363        
2364      
2365    </div>
2366    
2367    
2368    
2369
2370	
2371	
2372	
2373	
2374    
2375
2376    
2377	
2378	<div>
2379      
2380	</div>
2381
2382    
2383	
2384    <footer class="post-footer">
2385      
2386
2387      
2388
2389      
2390
2391      
2392      
2393        <div class="post-eof"></div>
2394      
2395    </footer>
2396  </div>
2397  
2398  
2399  
2400  </article>
2401
2402
2403    
2404  </section>
2405
2406  
2407  <nav class="pagination">
2408    <span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><span class="space">&hellip;</span><a class="page-number" href="/page/11/">11</a><a class="extend next" rel="next" href="/page/2/">&gt;</a>
2409  </nav>
2410
2411
2412
2413          </div>
2414          
2415
2416
2417          
2418
2419<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1815293530059355"
2420     crossorigin="anonymous"></script>
2420
2421
2422        </div>
2423        
2424          
2425  
2426  <div class="sidebar-toggle">
2427    <div class="sidebar-toggle-line-wrap">
2428      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
2429      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
2430      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
2431    </div>
2432  </div>
2433
2434  <aside id="sidebar" class="sidebar">
2435    
2436    <div class="sidebar-inner">
2437
2438      
2439
2440      
2441
2442      <section class="site-overview-wrap sidebar-panel sidebar-panel-active">
2443        <div class="site-overview">
2444          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
2445            
2446              <img class="site-author-image" itemprop="image"
2447                src="/uploads/avatar-woodwhale.png"
2448                alt="woodwhales" />
2449            
2450              <p class="site-author-name" itemprop="name">woodwhales</p>
2451              <p class="site-description motion-element" itemprop="description"></p>
2452          </div>
2453
2454          <nav class="site-state motion-element">
2455
2456            
2457              <div class="site-state-item site-state-posts">
2458              
2459                <a href="/archives/%7C%7C%20archive">
2460              
2461                  <span class="site-state-item-count">103</span>
2462                  <span class="site-state-item-name">日志</span>
2463                </a>
2464              </div>
2465            
2466
2467            
2468              
2469              
2470              <div class="site-state-item site-state-categories">
2471                <a href="/categories/index.html">
2472                  <span class="site-state-item-count">64</span>
2473                  <span class="site-state-item-name">分类</span>
2474                </a>
2475              </div>
2476            
2477
2478            
2479              
2480              
2481              <div class="site-state-item site-state-tags">
2482                <a href="/tags/index.html">
2483                  <span class="site-state-item-count">84</span>
2484                  <span class="site-state-item-name">标签</span>
2485                </a>
2486              </div>
2487            
2488
2489          </nav>
2490
2491          
2492
2493          
2494            <div class="links-of-author motion-element">
2495                
2496                  <span class="links-of-author-item">
2497                    <a href="https://github.com/woodwhales" target="_blank" title="GitHub">
2498                      
2499                        <i class="fa fa-fw fa-github"></i>GitHub</a>
2500                  </span>
2501                
2502                  <span class="links-of-author-item">
2503                    <a href="/cdn-cgi/l/email-protection#4c3b2323283b242d20293f0c7d7a7f622f2321" target="_blank" title="E-Mail">
2504                      
2505                        <i class="fa fa-fw fa-envelope"></i>E-Mail</a>
2506                  </span>
2507                
2508                  <span class="links-of-author-item">
2509                    <a href="https://juejin.im/user/5b1f7a2f518825137f0d31d1" target="_blank" title="掘金">
2510                      
2511                        <i class="fa fa-fw fa-book"></i>掘金</a>
2512                  </span>
2513                
2514                  <span class="links-of-author-item">
2515                    <a href="https://www.cnblogs.com/mujingyu/" target="_blank" title="博客园">
2516                      
2517                        <i class="fa fa-fw fa-laptop"></i>博客园</a>
2518                  </span>
2519                
2520            </div>
2521          
2522
2523          
2524          
2525
2526          
2527          
2528            <div class="links-of-blogroll motion-element links-of-blogroll-inline">
2529              <div class="links-of-blogroll-title">
2530                <i class="fa  fa-fw fa-globe"></i>
2531                神奇的链接
2532              </div>
2533              <ul class="links-of-blogroll-list">
2534                
2535                  <li class="links-of-blogroll-item">
2536                    <a href="https://music.cloudcoders.cn" title="开源音乐播放器" rel="external nofollow" target="_blank">开源音乐播放器</a>
2537                  </li>
2538                
2539                  <li class="links-of-blogroll-item">
2540                    <a href="https://image.woodwhales.cn/" title="woodwhales-image-store" rel="external nofollow" target="_blank">woodwhales-image-store</a>
2541                  </li>
2542                
2543                  <li class="links-of-blogroll-item">
2544                    <a href="http://www.bilibili.com/video/av6211226" title="尼古拉·特斯拉:发明了现代世界的人" rel="external nofollow" target="_blank">尼古拉·特斯拉:发明了现代世界的人</a>
2545                  </li>
2546                
2547                  <li class="links-of-blogroll-item">
2548                    <a href="https://www.bilibili.com/video/av21376839" title="计算机科学速成课:Crash Course" rel="external nofollow" target="_blank">计算机科学速成课:Crash Course</a>
2549                  </li>
2550                
2551              </ul>
2552			  
2553			  <div id="days"></div>
vendor: 109 bytes, lines 2553-2554
2553
2554<script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script>
2554<script>
2555	function show_date_time(){
2556	window.setTimeout("show_date_time()", 1000);
2557	BirthDay=new Date("12/21/2018 00:00:00");
2558	today=new Date();
2559	timeold=(today.getTime()-BirthDay.getTime());
2560	sectimeold=timeold/1000
2561	secondsold=Math.floor(sectimeold);
2562	msPerDay=24*60*60*1000
2563	e_daysold=timeold/msPerDay
2564	daysold=Math.floor(e_daysold);
2565	e_hrsold=(e_daysold-daysold)*24;
2566	hrsold=setzero(Math.floor(e_hrsold));
2567	e_minsold=(e_hrsold-hrsold)*60;
2568	minsold=setzero(Math.floor((e_hrsold-hrsold)*60));
2569	seconds=setzero(Math.floor((e_minsold-minsold)*60));
2570	document.getElementById('days').innerHTML="已运行 "+daysold+" 天 "+hrsold+" 小时 "+minsold+" 分 "+seconds+" 秒";
2571	}
2572	function setzero(i){
2573	if (i<10)
2574	{i="0" + i};
2575	return i;
2576	}
2577	show_date_time();
2578</script>
2578
2579            </div>
2580          
2581
2582          <!--<div id="days"></div>
2583<script>
2584	function show_date_time(){
2585	window.setTimeout("show_date_time()", 1000);
2586	BirthDay=new Date("12/21/2018 00:00:00");
2587	today=new Date();
2588	timeold=(today.getTime()-BirthDay.getTime());
2589	sectimeold=timeold/1000
2590	secondsold=Math.floor(sectimeold);
2591	msPerDay=24*60*60*1000
2592	e_daysold=timeold/msPerDay
2593	daysold=Math.floor(e_daysold);
2594	e_hrsold=(e_daysold-daysold)*24;
2595	hrsold=setzero(Math.floor(e_hrsold));
2596	e_minsold=(e_hrsold-hrsold)*60;
2597	minsold=setzero(Math.floor((e_hrsold-hrsold)*60));
2598	seconds=setzero(Math.floor((e_minsold-minsold)*60));
2599	document.getElementById('days').innerHTML="已运行 "+daysold+" 天 "+hrsold+" 小时 "+minsold+" 分 "+seconds+" 秒";
2600	}
2601	function setzero(i){
2602	if (i<10)
2603	{i="0" + i};
2604	return i;
2605	}
2606	show_date_time();
2607</script>
2607-->
2608        </div>
2609      </section>
2610
2611      
2612
2613      
2614
2615    </div>
2616	
2616<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1815293530059355"
2617     crossorigin="anonymous"></script>
2617
2618  </aside>
2619
2620
2621        
2622      </div>
2623    </main>
2624
2625    <footer id="footer" class="footer">
2626      <div class="footer-inner">
2627        
2627<script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
2627
2628<div class="copyright">&copy; 2018 &mdash; <span itemprop="copyrightYear">2025</span>
2629  <span class="with-love" id="heart">
2630    <i class="fa fa-heart"></i>
2631  </span>
2632  <span class="author" itemprop="copyrightHolder">木鲸鱼</span>
2633  
2634</div>
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644        
2645<div class="busuanzi-count">
2646  
2646<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
2646
2647
2648  
2649    <span class="site-uv">
2650      <i class="fa fa-user-circle-o"></i> 访问人数
2651      <span class="busuanzi-value" id="busuanzi_value_site_uv"></span>
2652      人
2653    </span>
2654  
2655
2656  
2657    <span class="site-pv">
2658      <i class="fa fa-eye"></i> 访问总量
2659      <span class="busuanzi-value" id="busuanzi_value_site_pv"></span>
2660      次
2661    </span>
2662  
2663</div>
2664
2665
2666
2667
2668
2669
2670
2671
2672        
2673      </div>
2674    </footer>
2675
2676    
2677      <div class="back-to-top">
2678        <i class="fa fa-arrow-up"></i>
2679        
2680          <span id="scrollpercent"><span>0</span>%</span>
2681        
2682      </div>
2683    
2684
2685    
2686
2687  </div>
2688
2689  
2690
2691<script type="text/javascript">
2692  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
2693    window.Promise = null;
2694  }
2695</script>
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705  
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718  
2719  
2720    
2720<script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
2720
2721  
2722
2723  
2724  
2725    
2725<script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
2725
2726  
2727
2728  
2729  
2730    
2730<script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
2730
2731  
2732
2733  
2734  
2735    
2735<script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
2735
2736  
2737
2738  
2739  
2740    
2740<script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
2740
2741  
2742
2743  
2744  
2745    
2745<script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
2745
2746  
2747
2748
2749  
2750
2751
2752  
2752<script type="text/javascript" src="/js/src/utils.js?v=5.1.4"></script>
2752
2753
2754  
2754<script type="text/javascript" src="/js/src/motion.js?v=5.1.4"></script>
2754
2755
2756
2757
2758  
2759  
2760
2761  
2762
2763  
2764
2765
2766  
2766<script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.4"></script>
2766
2767
2768
2769
2770  
2771
2772
2773  
2774
2775
2776
2777
2778	
2779
2780
2781
2782
2783
2784  
2785
2786
2787
2788
2789
2790  
2791
2792
2793
2794
2795
2796
2797
2798
2799  
2799<script src="//code.bdstatic.com/npm/[email protected]/dist/av-min.js"></script>
2799
2800  
2800<script src="//unpkg.com/valine/dist/Valine.min.js"></script>
2800
2801
2802  
2802<script type="text/javascript">
2803    var GUEST = ['nick','mail','link'];
2804    var guest = 'nick,mail,link';
2805    guest = guest.split(',').filter(item=>{
2806      return GUEST.indexOf(item)>-1;
2807    });
2808    new Valine({
2809        el: '#comments' ,
2810        verify: false,
2811        notify: true,
2812        appId: 'WWd60b61wU67AeJzg0yzDD1E-gzGzoHsz',
2813        appKey: 'QjMAV3Hw76n6nhrDaxLtfoPE',
2814        placeholder: '网络一线牵珍惜,珍惜这段缘\n 您可以填写邮箱,回复评论时,您会收到邮件通知。',
2815        avatar:'mm',
2816        guest_info:guest,
2817        pageSize:'10' || 10,
2818        serverURLs: 'https://wwd60b61.lc-cn-n1-shared.com'
2819    });
2820  </script>
2820
2821
2822
2823  
2824
2825  
2825<script type="text/javascript">
2826    // Popup Window;
2827    var isfetched = false;
2828    var isXml = true;
2829    // Search DB path;
2830    var search_path = "search.xml";
2831    if (search_path.length === 0) {
2832      search_path = "search.xml";
2833    } else if (/json$/i.test(search_path)) {
2834      isXml = false;
2835    }
2836    var path = "/" + search_path;
2837    // monitor main search box;
2838
2839    var onPopupClose = function (e) {
2840      $('.popup').hide();
2841      $('#local-search-input').val('');
2842      $('.search-result-list').remove();
2843      $('#no-result').remove();
2844      $(".local-search-pop-overlay").remove();
2845      $('body').css('overflow', '');
2846    }
2847
2848    function proceedsearch() {
2849      $("body")
2850        .append('<div class="search-popup-overlay local-search-pop-overlay"></div>')
2851        .css('overflow', 'hidden');
2852      $('.search-popup-overlay').click(onPopupClose);
2853      $('.popup').toggle();
2854      var $localSearchInput = $('#local-search-input');
2855      $localSearchInput.attr("autocapitalize", "none");
2856      $localSearchInput.attr("autocorrect", "off");
2857      $localSearchInput.focus();
2858    }
2859
2860    // search function;
2861    var searchFunc = function(path, search_id, content_id) {
2862      'use strict';
2863
2864      // start loading animation
2865      $("body")
2866        .append('<div class="search-popup-overlay local-search-pop-overlay">' +
2867          '<div id="search-loading-icon">' +
2868          '<i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>' +
2869          '</div>' +
2870          '</div>')
2871        .css('overflow', 'hidden');
2872      $("#search-loading-icon").css('margin', '20% auto 0 auto').css('text-align', 'center');
2873
2874      $.ajax({
2875        url: path,
2876        dataType: isXml ? "xml" : "json",
2877        async: true,
2878        success: function(res) {
2879          // get the contents from search data
2880          isfetched = true;
2881          $('.popup').detach().appendTo('.header-inner');
2882          var datas = isXml ? $("entry", res).map(function() {
2883            return {
2884              title: $("title", this).text(),
2885              content: $("content",this).text(),
2886              url: $("url" , this).text()
2887            };
2888          }).get() : res;
2889          var input = document.getElementById(search_id);
2890          var resultContent = document.getElementById(content_id);
2891          var inputEventFunction = function() {
2892            var searchText = input.value.trim().toLowerCase();
2893            var keywords = searchText.split(/[\s\-]+/);
2894            if (keywords.length > 1) {
2895              keywords.push(searchText);
2896            }
2897            var resultItems = [];
2898            if (searchText.length > 0) {
2899              // perform local searching
2900              datas.forEach(function(data) {
2901                var isMatch = false;
2902                var hitCount = 0;
2903                var searchTextCount = 0;
2904                var title = data.title.trim();
2905                var titleInLowerCase = title.toLowerCase();
2906                var content = data.content.trim().replace(/<[^>]+>/g,"");
2907                var contentInLowerCase = content.toLowerCase();
2908                var articleUrl = decodeURIComponent(data.url);
2909                var indexOfTitle = [];
2910                var indexOfContent = [];
2911                // only match articles with not empty titles
2912                if(title != '') {
2913                  keywords.forEach(function(keyword) {
2914                    function getIndexByWord(word, text, caseSensitive) {
2915                      var wordLen = word.length;
2916                      if (wordLen === 0) {
2917                        return [];
2918                      }
2919                      var startPosition = 0, position = [], index = [];
2920                      if (!caseSensitive) {
2921                        text = text.toLowerCase();
2922                        word = word.toLowerCase();
2923                      }
2924                      while ((position = text.indexOf(word, startPosition)) > -1) {
2925                        index.push({position: position, word: word});
2926                        startPosition = position + wordLen;
2927                      }
2928                      return index;
2929                    }
2930
2931                    indexOfTitle = indexOfTitle.concat(getIndexByWord(keyword, titleInLowerCase, false));
2932                    indexOfContent = indexOfContent.concat(getIndexByWord(keyword, contentInLowerCase, false));
2933                  });
2934                  if (indexOfTitle.length > 0 || indexOfContent.length > 0) {
2935                    isMatch = true;
2936                    hitCount = indexOfTitle.length + indexOfContent.length;
2937                  }
2938                }
2939
2940                // show search results
2941
2942                if (isMatch) {
2943                  // sort index by position of keyword
2944
2945                  [indexOfTitle, indexOfContent].forEach(function (index) {
2946                    index.sort(function (itemLeft, itemRight) {
2947                      if (itemRight.position !== itemLeft.position) {
2948                        return itemRight.position - itemLeft.position;
2949                      } else {
2950                        return itemLeft.word.length - itemRight.word.length;
2951                      }
2952                    });
2953                  });
2954
2955                  // merge hits into slices
2956
2957                  function mergeIntoSlice(text, start, end, index) {
2958                    var item = index[index.length - 1];
2959                    var position = item.position;
2960                    var word = item.word;
2961                    var hits = [];
2962                    var searchTextCountInSlice = 0;
2963                    while (position + word.length <= end && index.length != 0) {
2964                      if (word === searchText) {
2965                        searchTextCountInSlice++;
2966                      }
2967                      hits.push({position: position, length: word.length});
2968                      var wordEnd = position + word.length;
2969
2970                      // move to next position of hit
2971
2972                      index.pop();
2973                      while (index.length != 0) {
2974                        item = index[index.length - 1];
2975                        position = item.position;
2976                        word = item.word;
2977                        if (wordEnd > position) {
2978                          index.pop();
2979                        } else {
2980                          break;
2981                        }
2982                      }
2983                    }
2984                    searchTextCount += searchTextCountInSlice;
2985                    return {
2986                      hits: hits,
2987                      start: start,
2988                      end: end,
2989                      searchTextCount: searchTextCountInSlice
2990                    };
2991                  }
2992
2993                  var slicesOfTitle = [];
2994                  if (indexOfTitle.length != 0) {
2995                    slicesOfTitle.push(mergeIntoSlice(title, 0, title.length, indexOfTitle));
2996                  }
2997
2998                  var slicesOfContent = [];
2999                  while (indexOfContent.length != 0) {
3000                    var item = indexOfContent[indexOfContent.length - 1];
3001                    var position = item.position;
3002                    var word = item.word;
3003                    // cut out 100 characters
3004                    var start = position - 20;
3005                    var end = position + 80;
3006                    if(start < 0){
3007                      start = 0;
3008                    }
3009                    if (end < position + word.length) {
3010                      end = position + word.length;
3011                    }
3012                    if(end > content.length){
3013                      end = content.length;
3014                    }
3015                    slicesOfContent.push(mergeIntoSlice(content, start, end, indexOfContent));
3016                  }
3017
3018                  // sort slices in content by search text's count and hits' count
3019
3020                  slicesOfContent.sort(function (sliceLeft, sliceRight) {
3021                    if (sliceLeft.searchTextCount !== sliceRight.searchTextCount) {
3022                      return sliceRight.searchTextCount - sliceLeft.searchTextCount;
3023                    } else if (sliceLeft.hits.length !== sliceRight.hits.length) {
3024                      return sliceRight.hits.length - sliceLeft.hits.length;
3025                    } else {
3026                      return sliceLeft.start - sliceRight.start;
3027                    }
3028                  });
3029
3030                  // select top N slices in content
3031
3032                  var upperBound = parseInt('1');
3033                  if (upperBound >= 0) {
3034                    slicesOfContent = slicesOfContent.slice(0, upperBound);
3035                  }
3036
3037                  // highlight title and content
3038
3039                  function highlightKeyword(text, slice) {
3040                    var result = '';
3041                    var prevEnd = slice.start;
3042                    slice.hits.forEach(function (hit) {
3043                      result += text.substring(prevEnd, hit.position);
3044                      var end = hit.position + hit.length;
3045                      result += '<b class="search-keyword">' + text.substring(hit.position, end) + '</b>';
3046                      prevEnd = end;
3047                    });
3048                    result += text.substring(prevEnd, slice.end);
3049                    return result;
3050                  }
3051
3052                  var resultItem = '';
3053
3054                  if (slicesOfTitle.length != 0) {
3055                    resultItem += "<li><a href='" + articleUrl + "' class='search-result-title'>" + highlightKeyword(title, slicesOfTitle[0]) + "</a>";
3056                  } else {
3057                    resultItem += "<li><a href='" + articleUrl + "' class='search-result-title'>" + title + "</a>";
3058                  }
3059
3060                  slicesOfContent.forEach(function (slice) {
3061                    resultItem += "<a href='" + articleUrl + "'>" +
3062                      "<p class=\"search-result\">" + highlightKeyword(content, slice) +
3063                      "...</p>" + "</a>";
3064                  });
3065
3066                  resultItem += "</li>";
3067                  resultItems.push({
3068                    item: resultItem,
3069                    searchTextCount: searchTextCount,
3070                    hitCount: hitCount,
3071                    id: resultItems.length
3072                  });
3073                }
3074              })
3075            };
3076            if (keywords.length === 1 && keywords[0] === "") {
3077              resultContent.innerHTML = '<div id="no-result"><i class="fa fa-search fa-5x" /></div>'
3078            } else if (resultItems.length === 0) {
3079              resultContent.innerHTML = '<div id="no-result"><i class="fa fa-frown-o fa-5x" /></div>'
3080            } else {
3081              resultItems.sort(function (resultLeft, resultRight) {
3082                if (resultLeft.searchTextCount !== resultRight.searchTextCount) {
3083                  return resultRight.searchTextCount - resultLeft.searchTextCount;
3084                } else if (resultLeft.hitCount !== resultRight.hitCount) {
3085                  return resultRight.hitCount - resultLeft.hitCount;
3086                } else {
3087                  return resultRight.id - resultLeft.id;
3088                }
3089              });
3090              var searchResultList = '<ul class=\"search-result-list\">';
3091              resultItems.forEach(function (result) {
3092                searchResultList += result.item;
3093              })
3094              searchResultList += "</ul>";
3095              resultContent.innerHTML = searchResultList;
3096            }
3097          }
3098
3099          if ('auto' === 'auto') {
3100            input.addEventListener('input', inputEventFunction);
3101          } else {
3102            $('.search-icon').click(inputEventFunction);
3103            input.addEventListener('keypress', function (event) {
3104              if (event.keyCode === 13) {
3105                inputEventFunction();
3106              }
3107            });
3108          }
3109
3110          // remove loading animation
3111          $(".local-search-pop-overlay").remove();
3112          $('body').css('overflow', '');
3113
3114          proceedsearch();
3115        }
3116      });
3117    }
3118
3119    // handle and trigger popup window;
3120    $('.popup-trigger').click(function(e) {
3121      e.stopPropagation();
3122      if (isfetched === false) {
3123        searchFunc(path, 'local-search-input', 'local-search-result');
3124      } else {
3125        proceedsearch();
3126      };
3127    });
3128
3129    $('.popup-btn-close').click(onPopupClose);
3130    $('.popup').click(function(e){
3131      e.stopPropagation();
3132    });
3133    $(document).on('keyup', function (event) {
3134      var shouldDismissSearchPopup = event.which === 27 &&
3135        $('.search-popup').is(':visible');
3136      if (shouldDismissSearchPopup) {
3137        onPopupClose();
3138      }
3139    });
3140  </script>
3140
3141
3142
3143
3144
3145
3146  
3147
3148  
3149
3150  
3151<script>
3152(function(){
3153    var bp = document.createElement('script');
3154    var curProtocol = window.location.protocol.split(':')[0];
3155    if (curProtocol === 'https') {
3156        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
3157    }
3158    else {
3159        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
3160    }
3161    var s = document.getElementsByTagName("script")[0];
3162    s.parentNode.insertBefore(bp, s);
3163})();
3164</script>
3164
3165
3166
3167  
3168  
3169
3170  
3171
3172  
3173
3174  
3175
3176  
3177  <!-- 代码块复制功能 -->
3178  <!-- 代码块复制功能 -->
3179<script type="text/javascript" src="/js/src/clipboard.min.js"></script>
3179  
3180<script type="text/javascript" src="/js/src/clipboard-use.js"></script>
3180
3181  
3182  <!-- 音乐 
3183  <link rel="stylesheet" href="/dist/APlayer.min.css">
3184<div id="aplayer"></div>
3185<script type="text/javascript" src="/dist/APlayer.min.js"></script>
vendor: 1 bytes, line 3185
3185
3186<script type="text/javascript" src="/dist/music.js"></script>
3186
3187  -->
3188
3189  <!-- 动态背景 
3190  
3190<script type="text/javascript" src="/js/src/dynamic_bg.js"></script>
3190
3191  -->
3192  
3193<!-- Cloudflare Pages Analytics -->
vendor: 99 bytes, line 3193
3193<script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "
31939121ddcfe9594c9c8d2897ce33831d16
vendor: 13 bytes, line 3193
3193"}'></script>
3193<!-- Cloudflare Pages Analytics --></body>
3194</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.