-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
845 lines (428 loc) · 19.7 KB
/
index.html
File metadata and controls
845 lines (428 loc) · 19.7 KB
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
<!DOCTYPE html>
<html
lang="zh"
dir="ltr"
><meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Devon Chan</title>
<meta name="generator" content="Hugo Eureka 0.9.3" />
<link rel="stylesheet" href="/css/eureka.min.9cec6350e37e534b0338fa9a085bf06855de3b0f2dcf857e792e5e97b07ea905d4d5513db554cbc26a9c3da622bae92d.css">
<script defer src="/js/eureka.min.fa9a6bf6d7a50bb635b4cca7d2ba5cf3dfb095ae3798773f1328f7950028b48c17d06276594e1b5f244a25a6c969a705.js"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preload"
href="https://fonts.googleapis.com/css2?family=Lora:wght@400;600;700&family=Noto+Serif+SC:wght@400;600;700&display=swap"
as="style" onload="this.onload=null;this.rel='stylesheet'">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/styles/base16/solarized-light.min.css"
media="print"
onload="this.media='all';this.onload=null" crossorigin>
<script defer src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"
crossorigin></script>
<script defer src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/dart.min.js"
crossorigin></script>
<link rel="stylesheet" href="/css/highlightjs.min.2958991528e43eb6fc9b8c4f2b8e052f79c4010718e1d1e888a777620e9ee63021c2c57ec7417a3108019bb8c41943e6.css" media="print" onload="this.media='all';this.onload=null">
<script defer type="text/javascript" src="/js/fontawesome.min.fbf58334762fcb42c16e0593596bb7b04a0c32bf8e0cdd596701a58706a96ef120cb2abab225e9591ee227ffd9043e5a.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.15.2/dist/katex.min.css"
integrity="sha384-MlJdn/WNKDGXveldHDdyRP1R4CTHr3FeuDNfhsLPYrq2t0UBkUdK2jyTnXPEK1NQ" media="print"
onload="this.media='all';this.onload=null" crossorigin>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.15.2/dist/katex.min.js"
integrity="sha384-VQ8d8WVFw0yHhCk5E8I86oOhv48xLpnDZx5T9GogA/Y84DcCKWXDmSDfn13bzFZY" crossorigin></script>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.15.2/dist/contrib/auto-render.min.js"
integrity="sha384-+XBljXPPiv+OzfbB3cVmLHf4hdUFHlWNZN5spNQ7rmHTXpd7WvJum6fIACpNNfIR" crossorigin></script>
<script>
document.addEventListener("DOMContentLoaded", function () {
renderMathInElement(document.body, {
delimiters: [
{ left: "$$", right: "$$", display: true },
{ left: "$", right: "$", display: false },
{ left: "\\(", right: "\\)", display: false },
{ left: "\\[", right: "\\]", display: true }
],
});
});
</script>
<script defer src="https://cdn.jsdelivr.net/npm/mermaid@8.14.0/dist/mermaid.min.js"
integrity="sha384-atOyb0FxAgN9LyAc6PEf9BjgwLISyansgdH8/VXQH8p2o5vfrRgmGIJ2Sg22L0A0" crossorigin></script>
<link rel="icon" type="image/png" sizes="32x32" href="/images/icon_huce8e8dedf505879ede662da526747d97_23434_32x32_fill_box_center_3.png">
<link rel="apple-touch-icon" sizes="180x180" href="/images/icon_huce8e8dedf505879ede662da526747d97_23434_180x180_fill_box_center_3.png">
<meta name="description"
content="Eureka is a elegant and powerful theme for Hugo.">
<meta property="og:title" content="Devon Chan" />
<meta property="og:type" content="website" />
<meta property="og:image" content="/images/icon.png">
<meta property="og:url" content="/" />
<meta property="og:description" content="Eureka is a elegant and powerful theme for Hugo." />
<meta property="og:locale" content="zh" />
<meta property="og:site_name" content="Devon Chan" />
<meta property="og:updated_time" content="2023-07-16T00:38:35+08:00" />
<meta property="article:section" content="" />
<link rel="alternate" type="application/rss+xml" href="/index.xml" title="Devon Chan" />
<body class="flex min-h-screen flex-col">
<header
class="min-h-16 pl-scrollbar bg-secondary-bg fixed z-50 flex w-full items-center shadow-sm"
>
<div class="mx-auto w-full max-w-screen-xl"><script>
let storageColorScheme = localStorage.getItem("lightDarkMode")
if (((storageColorScheme == 'Auto' || storageColorScheme == null) && window.matchMedia("(prefers-color-scheme: dark)").matches) || storageColorScheme == "Dark") {
document.getElementsByTagName('html')[0].classList.add('dark')
}
</script>
<nav class="flex items-center justify-between flex-wrap px-4 py-4 md:py-0">
<a href="/" class="me-6 text-primary-text text-xl font-bold">Devon Chan</a>
<button id="navbar-btn" class="md:hidden flex items-center px-3 py-2" aria-label="Open Navbar">
<i class="fas fa-bars"></i>
</button>
<div id="target"
class="hidden block md:flex md:grow md:justify-between md:items-center w-full md:w-auto text-primary-text z-20">
<div class="md:flex md:h-16 text-sm md:grow pb-4 md:pb-0 border-b md:border-b-0">
<a href="/#about" class="block mt-4 md:inline-block md:mt-0 md:h-(16-4px) md:leading-(16-4px) box-border md:border-t-2 md:border-b-2 border-transparent me-4">关于</a>
<a href="/posts/" class="block mt-4 md:inline-block md:mt-0 md:h-(16-4px) md:leading-(16-4px) box-border md:border-t-2 md:border-b-2 border-transparent me-4">文章</a>
<a href="/essays/" class="block mt-4 md:inline-block md:mt-0 md:h-(16-4px) md:leading-(16-4px) box-border md:border-t-2 md:border-b-2 border-transparent me-4">随笔</a>
<a href="https://album.devonchan.com" class="block mt-4 md:inline-block md:mt-0 md:h-(16-4px) md:leading-(16-4px) box-border md:border-t-2 md:border-b-2 border-transparent me-4">影集</a>
</div>
<div class="flex">
<div class="relative pt-4 md:pt-0">
<div class="cursor-pointer hover:text-eureka" id="lightDarkMode">
<i class="fas fa-adjust"></i>
</div>
<div class="fixed hidden inset-0 opacity-0 h-full w-full cursor-default z-30" id="is-open">
</div>
<div class="absolute flex flex-col start-0 md:start-auto end-auto md:end-0 hidden bg-secondary-bg w-48 rounded py-2 border border-tertiary-bg cursor-pointer z-40"
id='lightDarkOptions'>
<span class="px-4 py-1 hover:text-eureka" name="Light">浅色</span>
<span class="px-4 py-1 hover:text-eureka" name="Dark">深色</span>
<span class="px-4 py-1 hover:text-eureka" name="Auto">自动</span>
</div>
</div>
</div>
</div>
<div class="fixed hidden inset-0 opacity-0 h-full w-full cursor-default z-0" id="is-open-mobile">
</div>
</nav>
<script>
let element = document.getElementById('lightDarkMode')
if (storageColorScheme == null || storageColorScheme == 'Auto') {
document.addEventListener('DOMContentLoaded', () => {
window.matchMedia("(prefers-color-scheme: dark)").addEventListener('change', switchDarkMode)
})
} else if (storageColorScheme == "Light") {
element.firstElementChild.classList.remove('fa-adjust')
element.firstElementChild.setAttribute("data-icon", 'sun')
element.firstElementChild.classList.add('fa-sun')
} else if (storageColorScheme == "Dark") {
element.firstElementChild.classList.remove('fa-adjust')
element.firstElementChild.setAttribute("data-icon", 'moon')
element.firstElementChild.classList.add('fa-moon')
}
document.addEventListener('DOMContentLoaded', () => {
getcolorscheme();
switchBurger();
});
</script>
</div>
</header>
<main class="grow pt-16">
<div
class="pl-scrollbar bg-secondary-bg"
>
<div class="mx-auto max-w-screen-xl">
<div
id="about"
class="lg:w-3/4 mx-auto px-6 md:px-8 xl:px-12 py-12"
>
<div class="mb-12 flex flex-col items-center justify-center md:flex-row">
<div class="md:ms-0 md:me-8 md:pe-8 md:border-e mx-auto w-48 flex-none">
<img src="/images/tx_img.jpg" class="rounded-full" alt="Avatar" />
</div>
<div class="mt-4 w-full grow md:mt-0">
<h1 class="py-4 text-3xl">陈得锋</h1>
<div class="w-3/12 border-b xl:w-2/12"></div>
<div class="flex items-center pt-4">
<i class="fas fa-user"></i>
<div class="flex flex-wrap">
<span class="ps-4">Java后端开发</span>
<a href="http://www.hargent.com/gywm.html" class="ps-4">华政数智科技(北京)有限公司</a>
</div>
</div>
<div class="py-8 text-lg leading-normal">
一个渴望成为大牛但佛系且拒绝摆烂的普通程序猿而已
</div>
</div>
<div class="md:ms-8 flex items-end justify-center md:flex-col">
<div class="mx-2 mb-2 mt-4 md:mx-0 md:mt-2">
<a href="mailto:i@devonchan.com"><i class="fas fa-envelope"></i></a>
</div>
<div class="mx-2 mb-2 mt-4 md:mx-0 md:mt-2">
<a href="https://twitter.com/devonchan_"><i class="fab fa-twitter"></i></a>
</div>
<div class="mx-2 mb-2 mt-4 md:mx-0 md:mt-2">
<a href="https://github.com/0xdevon"><i class="fab fa-github"></i></a>
</div>
</div>
</div>
<div class="prose">
<h2 id="关于我">关于我</h2>
<ul>
<li>毕业于天津理工大学,主修软件工程</li>
<li>数码3C狂热者,Apple生态死忠粉</li>
<li>爱好:音乐、散步、滑雪、台球</li>
<li>标签:「严苛」、「较真」、「宅」、「折腾」、「拒绝无效社交」、「普通但不自信」</li>
</ul>
<h2 id="愿景--理想">愿景 & 理想</h2>
<p>过去的这些年平平淡淡,相信还有很多事物值得我去探索,期待在接下的日子里尝试它们:</p>
<ul>
<li>保持身体健康</li>
<li>一个人的旅行,丈量祖国大好河山</li>
<li>学习第二门编程语言(偏向于Apple生态的开发)</li>
<li>上线个人网站v2.0(更加优质的内容输出、交互和体验)</li>
<li>学习专业摄影技术,入手一台微单(扫街、风光、延时摄影)</li>
</ul>
</div>
</div>
</div>
</div>
<div
class="pl-scrollbar bg-primary-bg"
>
<div class="mx-auto max-w-screen-xl">
<div
id="pages"
class="lg:w-3/4 mx-auto px-6 md:px-8 xl:px-12 py-12"
>
<h2 class=" font-bold text-3xl my-4">内容总览</h2>
<div class="overflow-hidden divide-y">
<div class="py-6">
<div class="flex flex-col-reverse lg:flex-row justify-between">
<div class="w-full ">
<div class="prose">
<a href="/posts/redis-on-docker/" class="no-underline">
<h3 class="mt-0">MacBook使用docker方式部署Redis踩坑经历</h3>
</a>
问题:docker宿主机上SpringBoot项目连接docker中的Redis被拒绝 org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to Redis; nested exception is org.springframework.data.redis.connection.PoolException: Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1:6379 at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory$ExceptionTranslatingConnectionProvider.translateException(LettuceConnectionFactory.java:1553) at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory$ExceptionTranslatingConnectionProvider.getConnection(LettuceConnectionFactory.java:1461) Caused
<div
class="text-tertiary-text not-prose mt-2 flex flex-row flex-wrap items-center"
>
<div class="me-6 my-2">
<i class="fas fa-calendar me-1"></i>
<span
>2023-07-16</span
>
</div>
<div class="me-6 my-2">
<i class="fas fa-clock me-1"></i>
<span>预计阅读时间:1分钟</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="py-6">
<div class="flex flex-col-reverse lg:flex-row justify-between">
<div class="w-full ">
<div class="prose">
<a href="/posts/mysql-on-docker/" class="no-underline">
<h3 class="mt-0">MacBook使用docker方式部署MySQL 8踩坑经历</h3>
</a>
问题:启动项目时报错Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'biz.XXL_JOB_QRTZ' doesn't exist 原因:MySQL大小写敏感配置 查看MySQL大小写敏感配置:show variables like '%case%' 如果区分大小写,则结果为: +------------------------+-------+ |
<div
class="text-tertiary-text not-prose mt-2 flex flex-row flex-wrap items-center"
>
<div class="me-6 my-2">
<i class="fas fa-calendar me-1"></i>
<span
>2023-07-16</span
>
</div>
<div class="me-6 my-2">
<i class="fas fa-clock me-1"></i>
<span>预计阅读时间:1分钟</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="py-6">
<div class="flex flex-col-reverse lg:flex-row justify-between">
<div class="w-full ">
<div class="prose">
<a href="/posts/cycling-dependecy-solution/" class="no-underline">
<h3 class="mt-0">解决SpringBoot循环依赖</h3>
</a>
概念引入 循环依赖:是指两个或多个模块之间相互依赖,形成一个循环的依赖关系。当这种情况发生时,编译器无法确定哪个模块应该先被编译,导致编译错误或者程序运
<div
class="text-tertiary-text not-prose mt-2 flex flex-row flex-wrap items-center"
>
<div class="me-6 my-2">
<i class="fas fa-calendar me-1"></i>
<span
>2023-03-27</span
>
</div>
<div class="me-6 my-2">
<i class="fas fa-clock me-1"></i>
<span>预计阅读时间:3分钟</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="py-6">
<div class="flex flex-col-reverse lg:flex-row justify-between">
<div class="w-full ">
<div class="prose">
<a href="/posts/shell-script-execute-error/" class="no-underline">
<h3 class="mt-0">解决在Mac上执行shell脚本,报错"/bin/bash^M:bad interpreter:No such file or directory"</h3>
</a>
今天在Mac下执行shell脚本时,出现了这样的异常信息: 其原因是不同系统编码格式引起的,应该是这个shell脚本在window上被编辑过 解决方法是利
<div
class="text-tertiary-text not-prose mt-2 flex flex-row flex-wrap items-center"
>
<div class="me-6 my-2">
<i class="fas fa-calendar me-1"></i>
<span
>2023-02-21</span
>
</div>
<div class="me-6 my-2">
<i class="fas fa-clock me-1"></i>
<span>预计阅读时间:1分钟</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="py-6">
<div class="flex flex-col-reverse lg:flex-row justify-between">
<div class="w-full ">
<div class="prose">
<a href="/posts/quick-sort-notes/" class="no-underline">
<h3 class="mt-0">浅谈Quicksort(快速排序)</h3>
</a>
题外话 最近在修炼内功的同时,也试图把一些常见的高频算法捡起来上手操作一下,温故而知新总是有道理的,期间查阅了各种渠道的资料来辅助记忆,但是发现到手的大
<div
class="text-tertiary-text not-prose mt-2 flex flex-row flex-wrap items-center"
>
<div class="me-6 my-2">
<i class="fas fa-calendar me-1"></i>
<span
>2022-12-05</span
>
</div>
<div class="me-6 my-2">
<i class="fas fa-clock me-1"></i>
<span>预计阅读时间:5分钟</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="pt-2 hover:text-eureka">
<a href="/posts/" class="font-semibold">阅读更多</a>
<i class='fas fa-caret-right ms-1'></i>
</div>
</div>
</div>
</div>
<div
class="pl-scrollbar bg-tertiary-bg"
>
<div class="mx-auto max-w-screen-xl">
<div
id="experience"
class="lg:w-4/5 mx-auto px-6 md:px-8 xl:px-12 py-12"
>
<div
class="lg:flex-row flex flex-col"
>
<div
class="lg:w-1/4 lg:me-4 flex-none"
>
<h2 class="my-4 text-3xl font-bold">个人经历</h2>
</div>
<div
class="lg:ms-4 grow"
>
<div class="mb-6">
<div
class="bg-secondary-bg prose dark:border-tertiary-bg rounded border p-6 transition duration-200 ease-in-out hover:shadow-lg"
>
<h3 class="">学生</h3>
<div class="flex flex-col md:flex-row md:justify-between">
<div>
<a href="https://www.tjut.edu.cn/" class="no-underline">
天津理工大学
</a>
<span class="ms-2 me-2">·</span>
<span>中国 · 天津 </span>
</div>
<div class="shrink-0">2017.9 - 2021.7</div>
</div>
<div class="mt-5"><ul>
<li>软件工程专业学士</li>
<li>有幸通过CET-6</li>
</ul>
</div>
</div>
</div>
<div class="mb-6">
<div
class="bg-secondary-bg prose dark:border-tertiary-bg rounded border p-6 transition duration-200 ease-in-out hover:shadow-lg"
>
<h3 class="">Java开发工程师</h3>
<div class="flex flex-col md:flex-row md:justify-between">
<div>
<a href="https://www.trs.com.cn/ljwm/gsjj/" class="no-underline">
北京拓尔思信息系统有限公司
</a>
<span class="ms-2 me-2">·</span>
<span>中国 · 北京 </span>
</div>
<div class="shrink-0">2021.8 - 2023.2</div>
</div>
<div class="mt-5"><ul>
<li>从事军工、信创行业项目开发</li>
</ul>
</div>
</div>
</div>
<div class="mb-6">
<div
class="bg-secondary-bg prose dark:border-tertiary-bg rounded border p-6 transition duration-200 ease-in-out hover:shadow-lg"
>
<h3 class="">Java开发工程师</h3>
<div class="flex flex-col md:flex-row md:justify-between">
<div>
<a href="http://www.hargent.com/gywm.html" class="no-underline">
华政数智科技(北京)有限公司
</a>
<span class="ms-2 me-2">·</span>
<span>中国 · 北京 </span>
</div>
<div class="shrink-0">2023.3 -</div>
</div>
<div class="mt-5"><ul>
<li>从事涉税服务SaaS系统开发</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<footer class="pl-scrollbar">
<div class="mx-auto w-full max-w-screen-xl"><div class="text-center p-6 pin-b">
<p class="text-sm text-tertiary-text">Copyright © 2026 <a href="https://weibo.com/zer09b">Devon Chan</a>
· Powered by <a href="https://github.com/wangchucheng/hugo-eureka" class="hover:text-eureka">Eureka</a> theme based on <a href="https://gohugo.io" class="hover:text-eureka">Hugo</a></p>
</div></div>
</footer>
</body>
</html>