-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
1273 lines (1061 loc) · 45.9 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">
<!-- hexo-inject:begin --><!-- hexo-inject:end --><meta charset="utf-8">
<meta itemprop="name" content="Uncle_drew">
<meta itemprop="image" content="https://cdn.jsdelivr.net/gh/drew233/cdn/favicon.ico">
<meta name="description" itemprop="description" content="Hand down,man down">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
<meta name="keywords" content="Uncle_drew,drew,欧文,acm,icpc,algorithm,算法,篮球,web,建站,chevereto,hexo">
<title itemprop="name">Uncle_drew</title>
<link rel="shortcut icon" href="https://cdn.jsdelivr.net/gh/drew233/cdn/favicon.ico">
<meta http-equiv="x-dns-prefetch-control" content="on">
<link rel="dns-prefetch" href="//cdn.bootcss.com">
<link rel="dns-prefetch" href="//cdn.mathjax.org">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/drew233/cdn/gg.css?family=Noto+SerifMerriweather|Merriweather+Sans|Source+Code+Pro|Ubuntu:400,700|Noto+Serif+SC" media="all">
<link rel="dns-prefetch" href="//cdn.jsdelivr.net">
<link rel="stylesheet" id="saukra_css-css" href="https://cdn.jsdelivr.net/gh/drew233/css/wustyle.min.css" type="text/css" media="all">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/drew233/css/lib.min.css" media="all">
<link href="https://cdn.bootcss.com/font-awesome/5.13.0/css/all.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/drew233/css/rfsearch.min.css" media="all">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/drew233/css/font.min.css" media="all">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/drew233/css/jquery.fancybox.min.css" media="all">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/drew233/css/zoom.min.css" media="all">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/drew233/css/sharejs.min.css">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/drew233/css/matery.min.css">
<style type="text/css">
#drew {
position: relative;
width: 100%;
height: 100%;
margin-bottom: 15px;
margin-top: 15px;
text-align: center;
border: 0;
border-radius: 10px;
color: rgba(0, 0, 0, .87);
background: #fff 50%;
background-size: cover;
box-shadow: 0 15px 35px rgba(50, 50, 93, .1), 0 5px 15px rgba(0, 0, 0, .07);
margin:0 auto;
}
</style>
<!-- <link rel="stylesheet" id="saukra_css-css" href="https://2heng.xin/wp-content/cache/autoptimize/css/autoptimize_ad42a61f4c7d4bdd9f91afcff6b5dda5.css
" type="text/css" media="all"> -->
<script>
/*Initial Variables*/
Function.prototype.getMultiLine = function () {
var lines = new String(this);
lines = lines.substring(lines.indexOf("/*") + 3, lines.lastIndexOf("*/"));
return lines;
}
var string = function () {
/*
Hello!
(〃` 3′〃)
*/
}
window.console.log(string.getMultiLine());
var mashiro_option = new Object();
var mashiro_global = new Object();
mashiro_option.NProgressON = true;
/*
* 邮箱信息之类的东西可以填在这里,这些js变量基本都作用于sakura-app.js
* 这样的设置仅是为了方便在基于PHP开发的主题中设置js变量,既然移植到了Node上,我想或许可以精简这一逻辑吧
*/
// mashiro_option.jsdelivr_css_src = "https://cdn.jsdelivr.net/gh/moezx/cdn@3.4.5/css/lib.min.css";
// mashiro_option.float_player_on = true;
/*End of Initial Variables*/
</script>
<script src="https://cdn.jsdelivr.net/gh/drew233/cdn/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript">
var bg = "https://cdn.jsdelivr.net/gh/drew233/imgcdn/1589450799625.webp,https://cdn.jsdelivr.net/gh/drew233/cdn/20200514082037.webp,https://cdn.jsdelivr.net/gh/drew233/cdn/20200508193114.webp,https://cdn.jsdelivr.net/gh/drew233/cdn/at166.webp,https://cdn.jsdelivr.net/gh/drew233/cdn/20200407230036.webp".split(",");
var bgindex = Math.floor(Math.random()*bg.length);
if (!!window.ActiveXObject || "ActiveXObject" in window) { //is IE?
alert('朋友,IE浏览器未适配哦~');
}
var issafariBrowser = /Safari/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent);
if(issafariBrowser){
alert('本站图片主要采用Webp,暂不兼容Safari');
};
</script>
<style type="text/css">
.hljs-ln{border-collapse:collapse}.hljs-ln td{padding:0}.hljs-ln-n:before{content:attr(data-line-number)}
</style>
<style type="text/css">.site-top .lower nav{display:block !important;}.author-profile i,.post-like a,.post-share .show-share,.sub-text,.we-info a,span.sitename,.post-more i:hover,#pagination a:hover,.post-content a:hover,.float-content i:hover{color:#FE9600}.feature i,.download,.navigator i:hover,.links ul li:before,.ar-time i,span.ar-circle,.object,.comment .comment-reply-link,.siren-checkbox-radio:checked + .siren-checkbox-radioInput:after{background:#FE9600}::-webkit-scrollbar-thumb{background:#FE9600}.download,.navigator i:hover,.link-title,.links ul li:hover,#pagination a:hover,.comment-respond input[type='submit']:hover{border-color:#FE9600}.entry-content a:hover,.site-info a:hover,.comment h4 a,#comments-navi a.prev,#comments-navi a.next,.comment h4 a:hover,.site-top ul li a:hover,.entry-title a:hover,#archives-temp h3,span.page-numbers.current,.sorry li a:hover,.site-title a:hover,i.iconfont.js-toggle-search.iconsearch:hover,.comment-respond input[type='submit']:hover{color:#FE9600}.comments .comments-main{display:block !important;}.comments .comments-hidden{display:none !important;}background-position:center center;background-attachment:inherit;}
</style><!-- hexo-inject:begin --><!-- hexo-inject:end -->
</head>
</html>
<body class="page-template page-template-user page-template-page-analytics page-template-userpage-analytics-php page page-id-1297 chinese-font serif isWebKit">
<!-- hexo-inject:begin --><!-- hexo-inject:end --><div class="scrollbar" id="bar">
</div>
<a href="#" class="cd-top faa-float animated"></a>
<section id="main-container">
<div class="headertop ">
<div id="banner_wave_1"></div>
<div id="banner_wave_2"></div>
<figure id="centerbg" class="centerbg">
<div class="focusinfo no-select">
<div class="header-tou">
<a href="/random.html">
<img src="https://cdn.jsdelivr.net/gh/drew233/cdn/dreww.webp">
</a>
</div>
<div class="header-info">
<p>Hand down,man down.</p>
<div class="top-social_v2">
<!-- <li id="bg-pre"> -->
<!-- <img class="flipx" src="https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/other/next-b.svg"> -->
</li>
<li>
<a href="https://github.com/Drew233" target="_blank" class="social-github" title="github">
<img src="https://cdn.jsdelivr.net/gh/drew233/cdn//20190811021906.webp">
</a>
</li>
<li>
<a href="https://wpa.qq.com/msgrd?v=3&uin=1120437716&site=qq&menu=yes" target="_blank" class="social-github" title="qq">
<img src="https://cdn.jsdelivr.net/gh/drew233/cdn//20190811022455.webp">
</a>
</li>
<!-- <li id="bg-next"> -->
<!-- <img src="https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/other/next-b.svg"> -->
</li>
</div>
</div>
</div>
</figure>
<div id="video-container" style="">
<video style="object-fit: fill" id="bgvideo" class="video" video-name="" src="" width="auto" preload="auto">
</video>
<div id="video-btn" class="loadvideo videolive">
</div>
<div id="video-add">
</div>
<div class="video-stu">
</div>
</div>
<div class="headertop-down faa-float animated" onclick="headertop_down()">
<span>
<i class="fa fa-chevron-down" aria-hidden="true">
</i>
</span>
</div>
</div>
<div id="page" class="site wrapper">
<header class="site-header no-select gizle sabit" role="banner">
<div class="site-top" id="pcmenu">
<div class="site-branding">
<span class="site-title">
<span class="logolink moe-mashiro">
<a href="/">
<span class="sakurasono">Uncle_drew</span>
<span class="shironeko"></span>
</a>
</span>
</span>
</div>
<div id="show-nav" class="showNav mobile-fit">
<div class="line line1">
</div>
<div class="line line2">
</div>
<div class="line line3">
</div>
</div>
<div class="lower-cantiner">
<div class="lower">
<nav class="mobile-fit-control hide">
<ul id="menu-new" class="menu">
<li>
<a href="/">
<span class="faa-parent animated-hover">
<i class="fa fa-home faa-shake" aria-hidden="true"></i>
首页
</span>
</a>
</li>
<li>
<a href="/archives">
<span class="faa-parent animated-hover">
<i class="fa fa-archive faa-shake" aria-hidden="true"></i>
归档
</span>
</a>
<ul class="sub-menu">
<li>
<a href="/categories/Algorithm/">
<i class="fa fa-code" aria-hidden="true"></i>
算法
</a>
</li>
<li>
<a href="/categories/Life/">
<i class="fa fa-bathtub" aria-hidden="true"></i>
生活
</a>
</li>
<li>
<a href="/categories/Training/">
<i class="fa fa-book" aria-hidden="true"></i>
集训
</a>
</li>
</ul>
</li>
<li>
<a href="/analytics/">
<span class="faa-parent animated-hover">
<i class="fa fa-line-chart" aria-hidden="true"></i>
统计
</span>
</a>
</li>
<li>
<a href="javascript:;">
<span class="faa-parent animated-hover">
<i class="fa fa-list-ul faa-vertical" aria-hidden="true"></i>
清单
</span>
</a>
<ul class="sub-menu">
<li>
<a href="/lab/">
<i class="fa fa-cogs" aria-hidden="true"></i>
lab
</a>
</li>
<li>
<a href="/category/">
<i class="fa fa-list" aria-hidden="true"></i>
分类
</a>
</li>
<li>
<a href="/tags/">
<i class="fa fa-tags" aria-hidden="true"></i>
标签
</a>
</li>
<li>
<a href="/2020/06/02/mcwallpaper/">
<i class="fa fa-television" aria-hidden="true"></i>
MC壁纸
</a>
</li>
<li>
<a href="/atom.xml">
<i class="fa fa-heart faa-pulse" aria-hidden="true"></i>
订阅
</a>
</li>
<li>
<a href="/donate/">
<i class="fa fa-money" aria-hidden="true"></i>
打赏
</a>
</li>
<li>
<a href="/random.html">
<i class="fa fa-random" aria-hidden="true"></i>
随机文章
</a>
</li>
</ul>
</li>
<li>
<a href="/comment/">
<span class="faa-parent animated-hover">
<i class="fa fa-pencil-square-o faa-tada" aria-hidden="true"></i>
留言板
</span>
</a>
</li>
<li>
<a href="/links/">
<span class="faa-parent animated-hover">
<i class="fa fa-link faa-shake" aria-hidden="true"></i>
友人帐
</span>
</a>
</li>
<li>
<a href="/shuoshuo/">
<span class="faa-parent animated-hover">
<i class="fa fa-clock-o" aria-hidden="true"></i>
说说
</span>
</a>
</li>
<li>
<a role="button" class="popup-trigger">
<i class="fa fa-search" aria-hidden="true"></i>
搜索
</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
</header>
<div class="blank" style="padding-top: 0px;"></div>
<div id="content" class="site-content">
<div class="notice" style="margin-top:60px">
<i class="iconfont icon-notification">
</i>
<div class="notice-content" id="hitokoto"><script src="https://v1.hitokoto.cn/?encode=js&select=%23hitokoto" defer></script></div>
</div>
<div class="top-feature-row">
<h1 class="fes-title" style="font-family: 'Ubuntu', sans-serif;">
<i class="fa fa-anchor" aria-hidden="true">
</i>
置顶文章</h1>
<div class="top-feature-v2">
<div class="the-feature square from_left_and_right">
<a href="/2020/04/10/hexo-shuoshuo/" target="_blank">
<div class="img">
<img src="https://cdn.jsdelivr.net/gh/drew233/cdn/20200410165227.webp">
</div>
<div class="info">
<h3>hexo添加动态说说页面</h3>
<p>之前弄了一个简单的说说页面,没想到效果挺好。挺多小伙伴都表示了很有用,最近突然意识到既然评论数据可以存储在leancloud然后展示出来,那说说肯定也可以啊!说干就干</p>
</div>
</a>
</div>
</div>
<div class="top-feature-v2">
<div class="the-feature square from_left_and_right">
<a href="/2019/10/19/plugin/" target="_blank">
<div class="img">
<img src="https://cdn.jsdelivr.net/gh/drew233/cdn//20191019104258.webp">
</div>
<div class="info">
<h3>Hexo插件</h3>
<p>hexo-generator-random | 自动实现hexo随机文章的插件</p>
</div>
</a>
</div>
</div>
<div class="top-feature-v2">
<div class="the-feature square from_left_and_right">
<a href="/2019/08/23/oj/" target="_blank">
<div class="img">
<img src="https://cdn.jsdelivr.net/gh/drew233/cdn//20190823102722.webp">
</div>
<div class="info">
<h3>青岛大学OJ</h3>
<p>开源青岛大学oj的搭建(傻瓜式操作)</p>
</div>
</a>
</div>
</div>
</div>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<h1 class="main-title" style="font-family: 'Ubuntu', sans-serif;">
<i class="fa fa-snowflake-o" aria-hidden="true"></i>
Discovery</h1>
<!-- 首页默认取最最新文章集 -->
<div class="animation-transition">
<article class="post post-list-thumb post-list-thumb-left" class="post post-list-thumb" itemscope="" itemtype="https://schema.org/BlogPosting">
<div class="post-thumb">
<a href="/2020/06/01/UCF2014/">
<img class="lazyload" onerror="imgError(this)" src="https://cdn.jsdelivr.net/gh/drew233/cdn/20200315221901.webp" data-src="https://cdn.jsdelivr.net/gh/drew233/imgcdn/1590977324128.webp">
</a>
</div>
<div class="post-content-wrap">
<div class="post-content">
<div class="post-date">
<i class="iconfont icon-time">
</i>2020-6-1</div>
<a href="/2020/06/01/UCF2014/" class="post-title">
<h3>J - Factorial Products UCF Local Programming Contest 2014</h3>
</a>
<div class="post-meta">
<span><i class="fa fa-tags"></i>
<a href="/tags/数学/">数学<em>·</em></a>
</span>
<span>
<i class="iconfont icon-file"></i>
<a href="/categories/Algorithm/">Algorithm</a>
</span>
</div>
<div class="float-content">
<p>比较水的一道数学题,这种做题方法得记录一下</p>
<div class="post-bottom">
<a href="/2020/06/01/UCF2014/" class="button-normal">
<i class="iconfont icon-caidan"></i>
</a>
</div>
</div>
</div>
</div>
</article>
</div>
<div class="animation-transition">
<article class="post post-list-thumb" itemscope="" itemtype="https://schema.org/BlogPosting">
<div class="post-thumb">
<a href="/2020/05/17/licenses/">
<img class="lazyload" onerror="imgError(this)" src="https://cdn.jsdelivr.net/gh/drew233/cdn/20200315221901.webp" data-src="https://cdn.jsdelivr.net/gh/drew233/imgcdn/1589720448723.webp">
</a>
</div>
<div class="post-content-wrap">
<div class="post-content">
<div class="post-date">
<i class="iconfont icon-time">
</i>2020-5-17</div>
<a href="/2020/05/17/licenses/" class="post-title">
<h3>基于我的视线,谈谈我对现在网络环境的一些看法</h3>
</a>
<div class="post-meta">
<span><i class="fa fa-tags"></i>
<a href="/tags/lisense/">lisense<em>·</em></a>
<a href="/tags/blog/">blog<em>·</em></a>
</span>
<span>
<i class="iconfont icon-file"></i>
<a href="/categories/Life/">Life</a>
</span>
</div>
<div class="float-content">
<p>闲来无事,抒发一下感情,简单谈一下自己对开源以及关于博客权益的一些看法。</p>
<div class="post-bottom">
<a href="/2020/05/17/licenses/" class="button-normal">
<i class="iconfont icon-caidan"></i>
</a>
</div>
</div>
</div>
</div>
</article>
</div>
<div class="animation-transition">
<article class="post post-list-thumb post-list-thumb-left" class="post post-list-thumb" itemscope="" itemtype="https://schema.org/BlogPosting">
<div class="post-thumb">
<a href="/2020/05/14/nowcoder14411/">
<img class="lazyload" onerror="imgError(this)" src="https://cdn.jsdelivr.net/gh/drew233/cdn/20200315221901.webp" data-src="https://cdn.jsdelivr.net/gh/drew233/imgcdn/1589450799625.webp">
</a>
</div>
<div class="post-content-wrap">
<div class="post-content">
<div class="post-date">
<i class="iconfont icon-time">
</i>2020-5-14</div>
<a href="/2020/05/14/nowcoder14411/" class="post-title">
<h3>团结就是力量</h3>
</a>
<div class="post-meta">
<span><i class="fa fa-tags"></i>
<a href="/tags/nowcoder/">nowcoder<em>·</em></a>
<a href="/tags/tarjan/">tarjan<em>·</em></a>
</span>
<span>
<i class="iconfont icon-file"></i>
<a href="/categories/Algorithm/">Algorithm</a>
</span>
</div>
<div class="float-content">
<p>tarjan缩点专题的第三题,自闭了</p>
<div class="post-bottom">
<a href="/2020/05/14/nowcoder14411/" class="button-normal">
<i class="iconfont icon-caidan"></i>
</a>
</div>
</div>
</div>
</div>
</article>
</div>
<div class="animation-transition">
<article class="post post-list-thumb" itemscope="" itemtype="https://schema.org/BlogPosting">
<div class="post-thumb">
<a href="/2020/05/14/88picgo/">
<img class="lazyload" onerror="imgError(this)" src="https://cdn.jsdelivr.net/gh/drew233/cdn/20200315221901.webp" data-src="https://cdn.jsdelivr.net/gh/drew233/imgcdn/1589427183977.webp">
</a>
</div>
<div class="post-content-wrap">
<div class="post-content">
<div class="post-date">
<i class="iconfont icon-time">
</i>2020-5-14</div>
<a href="/2020/05/14/88picgo/" class="post-title">
<h3>Picgo上传到GitHub莫名其妙的出错后,我选择自己实现上传功能</h3>
</a>
<div class="post-meta">
<span><i class="fa fa-tags"></i>
<a href="/tags/Github/">Github<em>·</em></a>
<a href="/tags/图床/">图床<em>·</em></a>
<a href="/tags/JavaScript/">JavaScript<em>·</em></a>
<a href="/tags/Html/">Html<em>·</em></a>
</span>
<span>
<i class="iconfont icon-file"></i>
<a href="/categories/Tutorial/">Tutorial</a>
</span>
</div>
<div class="float-content">
<p>通过调用GitHub提供的api上传图片</p>
<div class="post-bottom">
<a href="/2020/05/14/88picgo/" class="button-normal">
<i class="iconfont icon-caidan"></i>
</a>
</div>
</div>
</div>
</div>
</article>
</div>
<div class="animation-transition">
<article class="post post-list-thumb post-list-thumb-left" class="post post-list-thumb" itemscope="" itemtype="https://schema.org/BlogPosting">
<div class="post-thumb">
<a href="/2020/05/14/COVID-19/">
<img class="lazyload" onerror="imgError(this)" src="https://cdn.jsdelivr.net/gh/drew233/cdn/20200315221901.webp" data-src="https://cdn.jsdelivr.net/gh/drew233/cdn/20200514082037.webp">
</a>
</div>
<div class="post-content-wrap">
<div class="post-content">
<div class="post-date">
<i class="iconfont icon-time">
</i>2020-5-14</div>
<a href="/2020/05/14/COVID-19/" class="post-title">
<h3>COVID-19与我</h3>
</a>
<div class="post-meta">
<span><i class="fa fa-tags"></i>
<a href="/tags/Life/">Life<em>·</em></a>
<a href="/tags/COVID-19/">COVID-19<em>·</em></a>
</span>
<span>
<i class="iconfont icon-file"></i>
<a href="/categories/Life/">Life</a>
</span>
</div>
<div class="float-content">
<p>还记得疫情最开始的时候,看到别人博客说道自己丢了工作还替他感到惋惜,现在轮到了替自己惋惜。</p>
<div class="post-bottom">
<a href="/2020/05/14/COVID-19/" class="button-normal">
<i class="iconfont icon-caidan"></i>
</a>
</div>
</div>
</div>
</div>
</article>
</div>
<div class="animation-transition">
<article class="post post-list-thumb" itemscope="" itemtype="https://schema.org/BlogPosting">
<div class="post-thumb">
<a href="/2020/05/11/artitalk/">
<img class="lazyload" onerror="imgError(this)" src="https://cdn.jsdelivr.net/gh/drew233/cdn/20200315221901.webp" data-src="https://cdn.jsdelivr.net/gh/drew233/cdn/20200511100853.webp">
</a>
</div>
<div class="post-content-wrap">
<div class="post-content">
<div class="post-date">
<i class="iconfont icon-time">
</i>2020-5-11</div>
<a href="/2020/05/11/artitalk/" class="post-title">
<h3>Hexo添加可实时发布的说说界面 | Artitalk.js</h3>
</a>
<div class="post-meta">
<span><i class="fa fa-tags"></i>
<a href="/tags/html/">html<em>·</em></a>
<a href="/tags/javascript/">javascript<em>·</em></a>
<a href="/tags/Hexo/">Hexo<em>·</em></a>
</span>
<span>
<i class="iconfont icon-file"></i>
<a href="/categories/Life/">Life</a>
</span>
</div>
<div class="float-content">
<p>通过Artitalk.js添加一个说说页面。Artitalk,前hexo-shuoshuo,重铸了一下,使用方法其实差不多,但是好多朋友都说看不太懂,所以再开(水)一篇文章介绍一下它的使用吧。</p>
<div class="post-bottom">
<a href="/2020/05/11/artitalk/" class="button-normal">
<i class="iconfont icon-caidan"></i>
</a>
</div>
</div>
</div>
</div>
</article>
</div>
<div class="animation-transition">
<article class="post post-list-thumb post-list-thumb-left" class="post post-list-thumb" itemscope="" itemtype="https://schema.org/BlogPosting">
<div class="post-thumb">
<a href="/2020/05/08/artiimg/">
<img class="lazyload" onerror="imgError(this)" src="https://cdn.jsdelivr.net/gh/drew233/cdn/20200315221901.webp" data-src="https://cdn.jsdelivr.net/gh/drew233/cdn/20200508193114.webp">
</a>
</div>
<div class="post-content-wrap">
<div class="post-content">
<div class="post-date">
<i class="iconfont icon-time">
</i>2020-5-8</div>
<a href="/2020/05/08/artiimg/" class="post-title">
<h3>一步步带你通过Ajax+Github提供的api 实现前端剪切板图片上传</h3>
</a>
<div class="post-meta">
<span><i class="fa fa-tags"></i>
<a href="/tags/Github/">Github<em>·</em></a>
<a href="/tags/javascript/">javascript<em>·</em></a>
<a href="/tags/web/">web<em>·</em></a>
<a href="/tags/ajax/">ajax<em>·</em></a>
</span>
<span>
<i class="iconfont icon-file"></i>
<a href="/categories/Tutorial/">Tutorial</a>
</span>
</div>
<div class="float-content">
<p>之前是使用smms,使用的时候发现上传到网站,会出现跨域的错误(难以解决。所以想到了GitHub</p>
<div class="post-bottom">
<a href="/2020/05/08/artiimg/" class="button-normal">
<i class="iconfont icon-caidan"></i>
</a>
</div>
</div>
</div>
</div>
</article>
</div>
<div class="animation-transition">
<article class="post post-list-thumb" itemscope="" itemtype="https://schema.org/BlogPosting">
<div class="post-thumb">
<a href="/2020/05/07/imgupload/">
<img class="lazyload" onerror="imgError(this)" src="https://cdn.jsdelivr.net/gh/drew233/cdn/20200315221901.webp" data-src="https://cdn.jsdelivr.net/gh/drew233/cdn/20200507121624.webp">
</a>
</div>
<div class="post-content-wrap">
<div class="post-content">
<div class="post-date">
<i class="iconfont icon-time">
</i>2020-5-7</div>
<a href="/2020/05/07/imgupload/" class="post-title">
<h3>Javascript+Ajax+SMMS 实现前端剪切板图片上传</h3>
</a>
<div class="post-meta">
<span><i class="fa fa-tags"></i>
<a href="/tags/javascript/">javascript<em>·</em></a>
<a href="/tags/web/">web<em>·</em></a>
<a href="/tags/ajax/">ajax<em>·</em></a>
</span>
<span>
<i class="iconfont icon-file"></i>
<a href="/categories/Tutorial/">Tutorial</a>
</span>
</div>
<div class="float-content">
<p>因为最近在弄一个输入框的功能,发现如果可以直接cv上传图片确实很方便。查了一些资料,看了一些教程,最后也是实现了。</p>
<div class="post-bottom">
<a href="/2020/05/07/imgupload/" class="button-normal">
<i class="iconfont icon-caidan"></i>
</a>
</div>
</div>
</div>
</div>
</article>
</div>
<div class="animation-transition">
<article class="post post-list-thumb post-list-thumb-left" class="post post-list-thumb" itemscope="" itemtype="https://schema.org/BlogPosting">
<div class="post-thumb">
<a href="/2020/05/05/PNRC2019B/">
<img class="lazyload" onerror="imgError(this)" src="https://cdn.jsdelivr.net/gh/drew233/cdn/20200315221901.webp" data-src="https://cdn.jsdelivr.net/gh/drew233/cdn/2019B.webp">
</a>
</div>
<div class="post-content-wrap">
<div class="post-content">
<div class="post-date">
<i class="iconfont icon-time">
</i>2020-5-5</div>
<a href="/2020/05/05/PNRC2019B/" class="post-title">
<h3>ICPC Pacific Northwest Regional Contest 2019 B. Perfect Flush</h3>
</a>
<div class="post-meta">
<span><i class="fa fa-tags"></i>
<a href="/tags/vector/">vector<em>·</em></a>
<a href="/tags/单调栈/">单调栈<em>·</em></a>
</span>
<span>
<i class="iconfont icon-file"></i>
<a href="/categories/Training/">Training</a>
</span>
</div>
<div class="float-content">
<p>昨天比赛中卡了好久的题,总觉得很熟悉但是想不起来做法。我还想着用数据结构做的时候,看到了题解上面很妙的做法。</p>
<div class="post-bottom">
<a href="/2020/05/05/PNRC2019B/" class="button-normal">
<i class="iconfont icon-caidan"></i>
</a>
</div>
</div>
</div>
</div>
</article>
</div>
<div class="animation-transition">
<article class="post post-list-thumb" itemscope="" itemtype="https://schema.org/BlogPosting">
<div class="post-thumb">
<a href="/2020/05/03/abc166/">
<img class="lazyload" onerror="imgError(this)" src="https://cdn.jsdelivr.net/gh/drew233/cdn/20200315221901.webp" data-src="https://cdn.jsdelivr.net/gh/drew233/cdn/at166.webp">
</a>
</div>
<div class="post-content-wrap">
<div class="post-content">
<div class="post-date">
<i class="iconfont icon-time">
</i>2020-5-3</div>
<a href="/2020/05/03/abc166/" class="post-title">
<h3>Atcoder ABC 166 题解</h3>
</a>
<div class="post-meta">
<span><i class="fa fa-tags"></i>
<a href="/tags/思维/">思维<em>·</em></a>
<a href="/tags/atcoder/">atcoder<em>·</em></a>
</span>
<span>
<i class="iconfont icon-file"></i>
<a href="/categories/Algorithm/">Algorithm</a>
</span>
</div>
<div class="float-content">
<p>差亿点AK,虽然题目挺简单,但是还是记录一下吧。(我又飘了</p>
<div class="post-bottom">
<a href="/2020/05/03/abc166/" class="button-normal">
<i class="iconfont icon-caidan"></i>
</a>
</div>
</div>
</div>
</div>
</article>
</div>
</main>
<!-- 首页默认取最最新文章集 -->
<!--
<nav class="navigator">
<span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><span class="space">…</span><a class="page-number" href="/page/25/">25</a><a class="extend next" rel="next" href="/page/2/"><i class="iconfont icon-right"></i></a>
</nav>
-->
</div>
<div id="pagination"><a href="/page/2/" class="">Previous</a></div>
</div>
</div>
<!-- <footer id="footer">
<div class="outer">
<div id="footer-info" class="inner">
© 2020 Uncle_drew<br>
powered_by <a href="https://hexo.io/" target="_blank">Hexo</a>
</div>
</div>
</footer> -->
<footer id="colophon" class="site-footer" role="contentinfo">
<div class="site-info">
<div class="footertext">
<div class="img-preload">
<img src="https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/other/wordpress-rotating-ball-o.svg">
<img src="https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/other/disqus-preloader.svg">
</div>
<p style="color: #666666;">© 2019-2020 Uncle_drew</p>
<p style="color: #666666;" id="page_loading_time"></p>
</div>
<p style="font-family: 'Ubuntu', sans-serif;">
<span style="color: #b9b9b9;">Theme <a href="https://github.com/honjun/hexo-theme-sakura" target="_blank" style="color: #b9b9b9;;text-decoration: underline dotted rgba(0, 0, 0, .1);">Sakura</a> <i class="iconfont icon-sakura rotating" style="color: #ffc0cb;display:inline-block"></i> by <a href="https://2heng.xin/" target="_blank" style="color: #b9b9b9;;text-decoration: underline dotted rgba(0, 0, 0, .1);">Mashiro</a>&<a href="https://www.hojun.cn/" target="_blank" style="color: #b9b9b9;;text-decoration: underline dotted rgba(0, 0, 0, .1);">Hojun</a></a>
</span>
</p>
<div class="github-badge">
<a style="color: #fff" rel="license" href="https://hexo.io/" target="_blank" title="由 Hexo 强力驱动">
<span class="badge-subject">Powered</span><span class="badge-value bg-blue">Hexo</span></a>
</div>
<div class="github-badge">
<a style="color: #fff" rel="license" href="https://www.aliyun.com/" target="_blank" title="静态网页托管于阿里云服务器">
<span class="badge-subject">Hosted</span><span class="badge-value bg-red">Aliyun</span></a>
</div>
<div class="github-badge">
<a style="color: #fff" rel="license" href="https://www.aliyun.com/" target="_blank" title="阿里云提供域名相关服务">
<span class="badge-subject">DNS</span><span class="badge-value bg-red">Aliyun</span></a>
</div>
<div class="github-badge">
<a style="color: #fff" rel="license" href="https://www.jsdelivr.com/" target="_blank" title="jsDelivr 提供 CDN 加速服务">
<span class="badge-subject">CDN</span><span class="badge-value bg-brightgreen">jsDelivr</span></a>
</div>
<div class="github-badge">
<span class="badge-subject">UV</span><span class="badge-value bg-orange" id="busuanzi_value_site_uv" target="_blank" title="本站访客量"></span>
</div>
<div class="github-badge">
<span class="badge-subject">PV</span><span class="badge-value bg-orange" id="busuanzi_value_site_pv" target="_blank" title="本站浏览量"></span>
</div>
<div class="github-badge">
<span class="badge-subject">WordCount</span><span class="badge-value bg-blueviolet" target="_blank" title="全站字数">337.3k</span>
</div>
</div><!-- .site-info -->
</footer>
<!-- <script src="/js/tocbot.js"></script> -->
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/drew233/cdn/mmp/lib.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/drew233/cdn/js/jquery.fancybox.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/drew233/cdn/js/zoom.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/drew233/cdn/bug/sakura-ap.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/drew233/cdn/fasearch.min.js"></script>
<script src='https://cdn.jsdelivr.net/gh/drew233/css/lvaline.min.js'></script>
<script src="//cdn.bootcss.com/mathjax/2.7.7/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<center><img src="https://cdn.jsdelivr.net/gh/drew233/cdn//20191003172815.webp"></img></center>
<!-- 不蒜子 网页计数器 -->
<script src="https://cdn.jsdelivr.net/gh/xaoxuu/cdn-busuanzi@2.3/js/busuanzi.pure.mini.js"></script>
<script type="text/javascript">
/* <![CDATA[ */
if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
var Poi = {"pjax":"0","movies":{"url": "https://cdn.jsdelivr.net/gh/drew233/cdn/","name":"DLDS%20BD_Trim_Trim.mp4","live":"close"},"windowheight":"fixed","codelamp":"close","ajaxurl":"","order":"asc","formpostion":"bottom"};
} else {
var Poi = {"pjax":"0","movies":{"url": "https://cdn.jsdelivr.net/gh/drew233/cdn/","name":"DLDS%20BD_Trim_Trim.mp4","live":"open"},"windowheight":"auto","codelamp":"close","ajaxurl":"","order":"asc","formpostion":"bottom"};
}
/* ]]> */
</script>
<script>
$(document).ready(function() {
if ($(".toc").length > 0 && document.body.clientWidth > 1200) {
if ($(".pattern-center").length > 0) { //有图的情况
tocbot.init({
// Where to render the table of contents.
tocSelector: '.toc', // 放置目录的容器
// Where to grab the headings to build the table of contents.
contentSelector: '.entry-content', // 正文内容所在
// Which headings to grab inside of the contentSelector element.
scrollSmooth: true,
headingSelector: 'h1, h2, h3, h4, h5', // 需要索引的标题级别
headingsOffset: -400,
scrollSmoothOffset: -85
});
} else {
tocbot.init({
// Where to render the table of contents.
tocSelector: '.toc', // 放置目录的容器
// Where to grab the headings to build the table of contents.
contentSelector: '.entry-content', // 正文内容所在
// Which headings to grab inside of the contentSelector element.
scrollSmooth: true,
headingSelector: 'h1, h2, h3, h4, h5', // 需要索引的标题级别
headingsOffset: -85,
scrollSmoothOffset: -85
});
}
var offsetTop = $('.toc').offset().top - 95;