-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
2733 lines (1754 loc) · 192 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
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
<!DOCTYPE html>
<html lang="zh-CN">
<head><meta name="generator" content="Hexo 3.9.0">
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="content-language" content="zh-CN">
<link rel="dns-prefetch" href="https://yansheng836.bitbucket.io">
<title>荷塘月色的博客</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="生活不止漫无天日的代码和bug,还有诗和远方。">
<meta name="keywords" content="荷塘月色,开发者,程序猿,Java,Spring,SpringMVC,MyBatis,MySQL数据库,开发工具,Git,GitHub,Hexo,yilia,Linux,Python,前端,资源">
<meta property="og:type" content="website">
<meta property="og:title" content="荷塘月色的博客">
<meta property="og:url" content="https://yansheng836.bitbucket.io/index.html">
<meta property="og:site_name" content="荷塘月色的博客">
<meta property="og:description" content="生活不止漫无天日的代码和bug,还有诗和远方。">
<meta property="og:locale" content="zh-CN">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="荷塘月色的博客">
<meta name="twitter:description" content="生活不止漫无天日的代码和bug,还有诗和远方。">
<link rel="icon" href="/assets/img/favicon.ico">
<link rel="stylesheet" type="text/css" href="/./main.0cf68a.css">
<link rel="stylesheet" type="text/css" href="/./search.css">
<!--添加网页关键字-->
<!--
<meta name="keywords" content="荷塘月色,开发者,程序猿,Java,Spring,SpringMVC,MyBatis,MySQL数据库,开发工具,Git,GitHub,Hexo,yilia,Linux,Python,前端,资源">
-->
<!--font-awesome的css-->
<link rel="stylesheet" type="text/css" href="//cdn.bootcss.com/font-awesome/4.6.3/css/font-awesome.min.css">
<!--font-awesome的css-->
<!--增加旋转头像的css-->
<link rel="stylesheet" type="text/css" href="/./rotate_head.css">
<!--增加旋转头像的css-->
<style type="text/css">
#container.show {
background: linear-gradient(200deg,#a0cfe4,#e8c37e);
}
</style>
<!--添加Google分析、百度分析-->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-150373134-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-150373134-1');
</script>
<!-- End Google Analytics -->
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?49dc27ba451ff65447423bfd44649c2f";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<!-- cnzz Analytics(友盟统计) -->
<!--<script type="text/javascript" src="https://v1.cnzz.com/z_stat.php?id=true&web_id=true"></script>-->
<script type="text/javascript" src="https://v1.cnzz.com/z_stat.php?id=1278237071&web_id=1278237071"></script>
<!--百度自动推送-->
<!-- 开启百度站长平台自动推送https://ziyuan.baidu.com/linksubmit/index,
https://ziyuan.baidu.com/college/courseinfo?id=267&page=2#h2_article_title19-->
<script>
(function () {
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https') {
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
} else {
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
})();
</script>
<!--360自动推送-->
<!-- 开启360站长平台自动推送(http://zhanzhang.so.com/sitetool/auto_include) -->
<script>
(function(){
var src = "https://jspassport.ssl.qhimg.com/11.0.1.js?d182b3f28525f2db83acfaaf6e696dba";
document.write('<script src="' + src + '" id="sozz"><\/script>');
})();
</script>
<link rel="alternate" href="/atom.xml" title="荷塘月色的博客" type="application/atom+xml">
<link rel="alternate" href="/rss2.xml" title="荷塘月色的博客" type="application/rss+xml">
</head>
</html>
<body>
<!-- 《添加--APlayer音乐播放器,详见: https://aplayer.js.org/#/zh-Hans/ -->
<!-- 添加--APlayer音乐播放器》 -->
<div id="container" q-class="show:isCtnShow">
<canvas id="anm-canvas" class="anm-canvas"></canvas>
<!-- 《添加左侧边栏的折叠按钮 -->
<div class="mymenucontainer" onclick="myFunction(this)">
<div class="bar1"></div>
<div class="bar2"></div>
<div class="bar3"></div>
</div>
<!-- 添加折叠按钮》 -->
<div class="left-col" q-class="show:isShow">
<!-- <div class="overlay" style="background: #4d4d4d"> -->
<!-- 左侧边栏(上半部分)不设置背景颜色 -->
<div class="overlay" >
<!-- 《添加“心知天气”-->
<div id="tp-weather-widget"></div>
<script>
(function(a,h,g,f,e,d,c,b){b=function(){d=h.createElement(g);c=h.getElementsByTagName(g)[0];d.src=e;d.charset="utf-8";d.async=1;c.parentNode.insertBefore(d,c)};a["SeniverseWeatherWidgetObject"]=f;a[f]||(a[f]=function(){(a[f].q=a[f].q||[]).push(arguments)});a[f].l=+new Date();if(a.attachEvent){a.attachEvent("onload",b)}else{a.addEventListener("load",b,false)}}(window,document,"script","SeniverseWeatherWidget","//cdn.sencdn.com/widget2/static/js/bundle.js?t="+parseInt((new Date().getTime() / 100000000).toString(),10)));
window.SeniverseWeatherWidget('show', {
flavor: "bubble",
location: "WS0E9D8WN298",
geolocation: true,
language: "zh-Hans",
unit: "c",
theme: "auto",
token: "a579c7ea-507d-41d7-b578-3537882d20c2",
hover: "enabled",
container: "tp-weather-widget"
})
</script>
<script>
// <iframe src="https://weather.seniverse.com/?token=a579c7ea-507d-41d7-b578-3537882d20c2"></iframe>
var elm = document.getElementById('tp-weather-widget');
//elm.style.color = 'black';
//elm.setAttribute('style','z-index:20');
var elm2 = document.getElementsByClassName('eOZYiU');
//elm2[0].setAttribute('style','z-index:20');
//elm2[0].style.z-index = 20;
/**/
</script>
<!-- 添加“心知天气”》-->
</div>
<div class="intrude-less">
<header id="header" class="inner">
<a href="/" class="profilepic">
<img src="https://oss.yansheng.fun/head.jpg" class="js-avatar">
</a>
<hgroup>
<div class="header-author"><a href="/">荷塘月色</a></div>
</hgroup>
<p class="header-subtitle">每天进步一点点</p>
<nav class="header-menu">
<ul>
<li><a href="/">主页</a></li>
<li><a href="/categories">分类</a></li>
<li><a href="/archives">归档</a></li>
<li><a href="/photos">相册</a></li>
<li><a href="/message-wall">留言墙</a></li>
</ul>
</nav>
<div class="blog-counter">
<span>总文章数 445</span>
</div>
<!-- 智能菜单 -->
<nav class="header-smart-menu">
<!-- 如果该项是友链,直接跳转链接,不适用侧滑效果 -->
<a q-on="click: openSlider(e, 'innerArchive')" href="javascript:void(0)">所有文章</a>
<!-- 如果该项是友链,直接跳转链接,不适用侧滑效果 -->
<a class="links" href="/links/index.html" target="_blank" >友链</a>
<!-- 如果该项是友链,直接跳转链接,不适用侧滑效果 -->
<a q-on="click: openSlider(e, 'aboutme')" href="javascript:void(0)">关于我</a>
</nav>
<nav class="header-nav">
<div class="social">
<a class="github" target="_blank" href="https://github.com/yansheng836" title="github"><i class="icon-github"></i></a>
<a class="csdn" target="_blank" href="https://blog.csdn.net/weixin_41287260" title="csdn"><i class="icon-csdn"></i></a>
<a class="rss" target="_blank" href="/rss2.xml" title="rss"><i class="icon-rss"></i></a>
<a class="mail" target="_blank" href="mailto:[email protected]" title="mail"><i class="icon-mail"></i></a>
</div>
<!-- 《左侧边栏添加--网易云音乐插件 -->
<!-- https://www.writebug.site/2018/04/21/hexo-yilia个性化之-添加背景音乐/ -->
<!-- 网易云音乐插件》-->
<!-- 《左侧边栏添加--APlayer音乐播放器:详见:https://aplayer.js.org/#/zh-Hans/ -->
<!-- 注:不再在左侧边栏添加,因为这样在手机端会被隐藏;改在layout.js中添加,这样手机端就可以显示音乐播放器。 -->
<!-- 左侧边栏添加--APlayer音乐播放器》 -->
</nav>
</header>
</div>
</div>
<div class="mid-col" q-class="show:isShow,hide:isShow|isFalse">
<nav id="mobile-nav">
<!-- <div class="overlay js-overlay" style="background: #4d4d4d"></div>-->
<div class="overlay js-overlay"></div>
<div class="btnctn js-mobile-btnctn">
<div class="slider-trigger list" q-on="click: openSlider(e)"><i class="icon icon-sort"></i></div>
</div>
<div class="intrude-less">
<header id="header" class="inner">
<div class="profilepic">
<img src="https://oss.yansheng.fun/head.jpg" class="js-avatar">
</div>
<hgroup>
<div class="header-author js-header-author">荷塘月色</div>
</hgroup>
<p class="header-subtitle"><i class="icon icon-quo-left"></i>每天进步一点点<i class="icon icon-quo-right"></i></p>
<nav class="header-nav">
<div class="social">
<a class="github" target="_blank" href="https://github.com/yansheng836" title="github"><i class="icon-github"></i></a>
<a class="csdn" target="_blank" href="https://blog.csdn.net/weixin_41287260" title="csdn"><i class="icon-csdn"></i></a>
<a class="rss" target="_blank" href="/rss2.xml" title="rss"><i class="icon-rss"></i></a>
<a class="mail" target="_blank" href="mailto:[email protected]" title="mail"><i class="icon-mail"></i></a>
</div>
</nav>
<nav class="header-menu js-header-menu">
<ul style="width: 70%">
<li style="width: 20%"><a href="/">主页</a></li>
<li style="width: 20%"><a href="/categories">分类</a></li>
<li style="width: 20%"><a href="/archives">归档</a></li>
<li style="width: 20%"><a href="/photos">相册</a></li>
<li style="width: 20%"><a href="/message-wall">留言墙</a></li>
</ul>
</nav>
</header>
</div>
<div class="mobile-mask" style="display:none" q-show="isShow"></div>
</nav>
<div class="page-header" style="">
<span>🍻
<span id="jinrishici-sentence" title="今日诗词">正在加载今日诗词....</span>
</span>
<script src="https://sdk.jinrishici.com/v2/browser/jinrishici.js" charset="utf-8"></script>
<script type="text/javascript" src="/js/search.js"></script>
<span id="local-search" class="local-search local-search-plugin" style="">
<input type="search" placeholder="站内搜索" id="local-search-input" class="local-search-input-cls" style="">
<i id="local-search-icon-search" class="icon" aria-hidden="true" title="站内搜索">🔍</i>
<div id="local-search-result" class="local-search-result-cls"></div>
</span>
<script type="text/javascript" src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<script>
// 移动设备侦测
var isMobile = {
Android: function () {
return navigator.userAgent.match(/Android/i);
},
BlackBerry: function () {
return navigator.userAgent.match(/BlackBerry/i);
},
iOS: function () {
return navigator.userAgent.match(/iPhone|iPad|iPod/i);
},
Opera: function () {
return navigator.userAgent.match(/Opera Mini/i);
},
Windows: function () {
return navigator.userAgent.match(/IEMobile/i);
},
any: function () {
return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Opera() || isMobile.Windows());
}
};
if(isMobile.any()){
//手机端取消搜索功能
$('.local-search').css("display","none");
}
if ($('.local-search').size() && !isMobile.any()) {
$.getScript('/js/search.js', function() {
//searchFunc("https://cdn.jsdelivr.net/gh/yansheng836/blog-files/search.xml", 'local-search-input', 'local-search-result');
searchFunc("/search.xml", 'local-search-input', 'local-search-result');
});
}
</script>
</div>
<div id="wrapper" class="body-wrap">
<div class="menu-l">
<div class="canvas-wrap">
<canvas data-colors="#eaeaea" data-sectionHeight="100" data-contentId="js-content" id="myCanvas1" class="anm-canvas"></canvas>
</div>
<div id="js-content" class="content-ll">
<article id="post-csdn-20220101-20221231/PostgreSQL之如何进行SQL优化" class="article article-type-post article-index" itemscope itemprop="blogPost">
<!-- 文章正文 -->
<div class="article-inner">
<!-- 文章头部 -->
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/article/53105e22.html">PostgreSQL之如何进行SQL优化</a>
</h1>
<!--引入不蒜子并添加文章访问量(开始) -->
<!--引入不蒜子并添加文章访问量(结束) -->
<a href="/article/53105e22.html" class="archive-article-date">
<time datetime="2022-07-11T07:03:31.000Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2022-07-11</time>
</a>
<!-- 《开始添加字数统计-->
<div style="margin-top:10px;">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="icon-statistics"></i>
<span class="post-meta-item-text"> 字数统计: </span>
<span class="post-count">7.4k字</span>
</span>
</span>
<span class="post-time">
|
<span class="post-meta-item-icon">
<i class="icon-book icon"></i>
<span class="post-meta-item-text"> 阅读时长≈</span>
<span class="post-count">30分</span>
</span>
</span>
</div>
<!-- 添加字数统计完成》 -->
</header>
<!-- 文章主要内容(入口、条目) -->
<div class="article-entry" itemprop="articleBody">
<p><img src="https://cdn.jsdelivr.net/gh/yansheng836/github-oss/image/postgres.png" alt></p>
<h2 id="一-明确主题">一、明确主题</h2>
<p>引语</p>
<ul>
<li>如何使用索引?(what 什么是索引?why 为什么需要索引?how 如何创建索引?when 什么时候走索引?)</li>
</ul>
<a class="article-more-a" href="/article/53105e22.html#more">more >></a>
<!-- 《添加版权声明 -->
<!-- 《添加版权声明 -->
<!--添加版权声明https://github.com/JoeyBling/hexo-theme-yilia-plus/commit/c1215e132f6d5621c5fea83d3c4f7ccbcca074a3-->
<!-- #版权基础设定:0-关闭声明; 1-文章对应的md文件里有declare: true属性,才有版权声明; 2-所有文章均有版权声明 -->
<div class="declare" hidden="hidden"></div>
<!-- 添加版权声明》 -->
<!-- 添加版权声明》 -->
</div>
<div class="article-info article-info-index">
<div class="article-pop-out tagcloud">
<i class="icon-tuding"></i>
<a class="article-tag-list-link color3">置顶</a>
</div>
<div class="article-tag tagcloud">
<i class="icon-price-tags icon"></i>
<ul class="article-tag-list">
<li class="article-tag-list-item">
<a href="javascript:void(0)" class="js-tag article-tag-list-link color1">PostgreSQL</a>
</li>
</ul>
</div>
<p class="article-more-link">
<a class="article-more-a hvr-shutter-in-horizontal" href="/article/53105e22.html">展开全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<aside class="wrap-side-operation">
<div class="mod-side-operation">
<div class="jump-container" id="js-jump-container" style="display:none;">
<a href="javascript:void(0)" class="mod-side-operation__jump-to-top">
<i class="icon-font icon-back"></i>
</a>
<div id="js-jump-plan-container" class="jump-plan-container" style="top: -11px;">
<i class="icon-font icon-plane jump-plane"></i>
</div>
</div>
</div>
</aside>
<!-- 评论系统 -->
<article id="post-csdn-20220101-20221231/PostgreSQL之如何敲开PG的大门" class="article article-type-post article-index" itemscope itemprop="blogPost">
<!-- 文章正文 -->
<div class="article-inner">
<!-- 文章头部 -->
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/article/9c352ccf.html">PostgreSQL之如何敲开PG的大门</a>
</h1>
<!--引入不蒜子并添加文章访问量(开始) -->
<!--引入不蒜子并添加文章访问量(结束) -->
<a href="/article/9c352ccf.html" class="archive-article-date">
<time datetime="2022-07-09T06:18:13.000Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2022-07-09</time>
</a>
<!-- 《开始添加字数统计-->
<div style="margin-top:10px;">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="icon-statistics"></i>
<span class="post-meta-item-text"> 字数统计: </span>
<span class="post-count">2.6k字</span>
</span>
</span>
<span class="post-time">
|
<span class="post-meta-item-icon">
<i class="icon-book icon"></i>
<span class="post-meta-item-text"> 阅读时长≈</span>
<span class="post-count">11分</span>
</span>
</span>
</div>
<!-- 添加字数统计完成》 -->
</header>
<!-- 文章主要内容(入口、条目) -->
<div class="article-entry" itemprop="articleBody">
<h2 id="零-声明">零、声明</h2>
<h3 id="0-1将信将疑">0.1将信将疑</h3>
<blockquote>
<p>《哈姆雷特》是莎士比亚的四大悲剧之一。莎士比亚曾经说过“一万个读者有一万个哈姆雷特”,意思是每个人的教育背景不同,心境不同,领悟不同,对于《哈姆雷特》的解读当然也就不同。现在这句话适用范围更广泛,表达的意思就是各人有各人的理解,对同一事物理解不尽相同。</p>
<p>– <a href="https://jikipedia.com/definition/baidu_qa/205772626" target="_blank" rel="noopener">https://jikipedia.com/definition/baidu_qa/205772626</a></p>
<p><img src="https://cdn.jsdelivr.net/gh/yansheng836/github-oss/csdn-img/eedcada5d2124a35a1173dafc7bacf14.jpeg#pic_center" alt="在这里插入图片描述"></p>
</blockquote>
<p>以下大部分内容都是<strong>个人观点</strong>,非官方术语,不保证正确性,仅供参考。</p>
<p>(如果大家觉得有什么地方不对,可以提出来,一起探讨,共同学习。)</p>
<p>对于网络上的一些资料也该如此:将信将疑、胆大猜测、小心求证。</p>
<a class="article-more-a" href="/article/9c352ccf.html#more">more >></a>
<!-- 《添加版权声明 -->
<!-- 《添加版权声明 -->
<!--添加版权声明https://github.com/JoeyBling/hexo-theme-yilia-plus/commit/c1215e132f6d5621c5fea83d3c4f7ccbcca074a3-->
<!-- #版权基础设定:0-关闭声明; 1-文章对应的md文件里有declare: true属性,才有版权声明; 2-所有文章均有版权声明 -->
<div class="declare" hidden="hidden"></div>
<!-- 添加版权声明》 -->
<!-- 添加版权声明》 -->
</div>
<div class="article-info article-info-index">
<div class="article-pop-out tagcloud">
<i class="icon-tuding"></i>
<a class="article-tag-list-link color3">置顶</a>
</div>
<div class="article-tag tagcloud">
<i class="icon-price-tags icon"></i>
<ul class="article-tag-list">
<li class="article-tag-list-item">
<a href="javascript:void(0)" class="js-tag article-tag-list-link color1">PostgreSQL</a>
</li>
</ul>
</div>
<p class="article-more-link">
<a class="article-more-a hvr-shutter-in-horizontal" href="/article/9c352ccf.html">展开全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<aside class="wrap-side-operation">
<div class="mod-side-operation">
<div class="jump-container" id="js-jump-container" style="display:none;">
<a href="javascript:void(0)" class="mod-side-operation__jump-to-top">
<i class="icon-font icon-back"></i>
</a>
<div id="js-jump-plan-container" class="jump-plan-container" style="top: -11px;">
<i class="icon-font icon-plane jump-plane"></i>
</div>
</div>
</div>
</aside>
<!-- 评论系统 -->
<article id="post-csdn-2023/Python版雪花算法生成唯一ID" class="article article-type-post article-index" itemscope itemprop="blogPost">
<!-- 文章正文 -->
<div class="article-inner">
<!-- 文章头部 -->
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/article/5a542ac.html">Python版雪花算法生成唯一ID</a>
</h1>
<!--引入不蒜子并添加文章访问量(开始) -->
<!--引入不蒜子并添加文章访问量(结束) -->
<a href="/article/5a542ac.html" class="archive-article-date">
<time datetime="2023-05-28T17:54:30.000Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2023-05-29</time>
</a>
<!-- 《开始添加字数统计-->
<div style="margin-top:10px;">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="icon-statistics"></i>
<span class="post-meta-item-text"> 字数统计: </span>
<span class="post-count">601字</span>
</span>
</span>
<span class="post-time">
|
<span class="post-meta-item-icon">
<i class="icon-book icon"></i>
<span class="post-meta-item-text"> 阅读时长≈</span>
<span class="post-count">2分</span>
</span>
</span>
</div>
<!-- 添加字数统计完成》 -->
</header>
<!-- 文章主要内容(入口、条目) -->
<div class="article-entry" itemprop="articleBody">
<h2 id="一-雪花算法图解">一、雪花算法图解</h2>
<p>理论一大堆,总结如下图:<br>
<img src="https://cdn.jsdelivr.net/gh/yansheng836/github-oss/csdn-img/20200826115308653.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2ZlaWZlaXllY2h1YW4=,size_16,color_FFFFFF,t_70#pic_center" alt="在这里插入图片描述"><br>
下方为源码,返回的结果为19位,为10进制表示,使用二进制表示就是64位,所以不必有所疑惑。</p>
<a class="article-more-a" href="/article/5a542ac.html#more">more >></a>
<!-- 《添加版权声明 -->
<!-- 《添加版权声明 -->
<!--添加版权声明https://github.com/JoeyBling/hexo-theme-yilia-plus/commit/c1215e132f6d5621c5fea83d3c4f7ccbcca074a3-->
<!-- #版权基础设定:0-关闭声明; 1-文章对应的md文件里有declare: true属性,才有版权声明; 2-所有文章均有版权声明 -->
<div class="declare" hidden="hidden"></div>
<!-- 添加版权声明》 -->
<!-- 添加版权声明》 -->
</div>
<div class="article-info article-info-index">
<div class="article-tag tagcloud">
<i class="icon-price-tags icon"></i>
<ul class="article-tag-list">
<li class="article-tag-list-item">
<a href="javascript:void(0)" class="js-tag article-tag-list-link color2">Python</a>
</li>
</ul>
</div>
<p class="article-more-link">
<a class="article-more-a hvr-shutter-in-horizontal" href="/article/5a542ac.html">展开全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<aside class="wrap-side-operation">
<div class="mod-side-operation">
<div class="jump-container" id="js-jump-container" style="display:none;">
<a href="javascript:void(0)" class="mod-side-operation__jump-to-top">
<i class="icon-font icon-back"></i>
</a>
<div id="js-jump-plan-container" class="jump-plan-container" style="top: -11px;">
<i class="icon-font icon-plane jump-plane"></i>
</div>
</div>
</div>
</aside>
<!-- 评论系统 -->
<article id="post-csdn-2023/解决PyCharm缓存文件过大问题" class="article article-type-post article-index" itemscope itemprop="blogPost">
<!-- 文章正文 -->
<div class="article-inner">
<!-- 文章头部 -->
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/article/2cebf237.html">解决PyCharm缓存文件过大问题</a>
</h1>
<!--引入不蒜子并添加文章访问量(开始) -->
<!--引入不蒜子并添加文章访问量(结束) -->
<a href="/article/2cebf237.html" class="archive-article-date">
<time datetime="2023-05-20T16:52:32.000Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2023-05-21</time>
</a>
<!-- 《开始添加字数统计-->
<div style="margin-top:10px;">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="icon-statistics"></i>
<span class="post-meta-item-text"> 字数统计: </span>
<span class="post-count">1.6k字</span>
</span>
</span>
<span class="post-time">
|
<span class="post-meta-item-icon">
<i class="icon-book icon"></i>
<span class="post-meta-item-text"> 阅读时长≈</span>
<span class="post-count">9分</span>
</span>
</span>
</div>
<!-- 添加字数统计完成》 -->
</header>
<!-- 文章主要内容(入口、条目) -->
<div class="article-entry" itemprop="articleBody">
<p>使用pycharm一段时间后 ,C盘空间也越来越小。这是因为pycharm在C盘生成了大量的缓存文件。解决C盘占用过大,有两个方法:</p>
<ol>
<li>方法一:直接删除pycharm缓存文件(暴力有效)</li>
<li>方法二:更改缓存文件路径</li>
</ol>
<a class="article-more-a" href="/article/2cebf237.html#more">more >></a>
<!-- 《添加版权声明 -->
<!-- 《添加版权声明 -->
<!--添加版权声明https://github.com/JoeyBling/hexo-theme-yilia-plus/commit/c1215e132f6d5621c5fea83d3c4f7ccbcca074a3-->
<!-- #版权基础设定:0-关闭声明; 1-文章对应的md文件里有declare: true属性,才有版权声明; 2-所有文章均有版权声明 -->
<div class="declare" hidden="hidden"></div>
<!-- 添加版权声明》 -->
<!-- 添加版权声明》 -->
</div>
<div class="article-info article-info-index">
<div class="article-tag tagcloud">
<i class="icon-price-tags icon"></i>
<ul class="article-tag-list">
<li class="article-tag-list-item">
<a href="javascript:void(0)" class="js-tag article-tag-list-link color2">Python</a>
</li>
<li class="article-tag-list-item">
<a href="javascript:void(0)" class="js-tag article-tag-list-link color3">PyCharm</a>
</li>
</ul>
</div>
<p class="article-more-link">
<a class="article-more-a hvr-shutter-in-horizontal" href="/article/2cebf237.html">展开全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<aside class="wrap-side-operation">
<div class="mod-side-operation">
<div class="jump-container" id="js-jump-container" style="display:none;">
<a href="javascript:void(0)" class="mod-side-operation__jump-to-top">
<i class="icon-font icon-back"></i>
</a>
<div id="js-jump-plan-container" class="jump-plan-container" style="top: -11px;">
<i class="icon-font icon-plane jump-plane"></i>
</div>
</div>
</div>
</aside>
<!-- 评论系统 -->
<article id="post-csdn-2023/Python解决“argument after must be an iterable”报错" class="article article-type-post article-index" itemscope itemprop="blogPost">
<!-- 文章正文 -->
<div class="article-inner">
<!-- 文章头部 -->
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/article/b955235.html">Python解决“argument after must be an iterable”报错</a>
</h1>
<!--引入不蒜子并添加文章访问量(开始) -->
<!--引入不蒜子并添加文章访问量(结束) -->
<a href="/article/b955235.html" class="archive-article-date">
<time datetime="2023-05-18T18:30:01.000Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2023-05-19</time>
</a>
<!-- 《开始添加字数统计-->
<div style="margin-top:10px;">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="icon-statistics"></i>
<span class="post-meta-item-text"> 字数统计: </span>
<span class="post-count">84字</span>
</span>
</span>
<span class="post-time">
|
<span class="post-meta-item-icon">
<i class="icon-book icon"></i>