-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1413 lines (1037 loc) · 58 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 charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="theme-color" content="#222" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="#222" media="(prefers-color-scheme: dark)"><meta name="generator" content="Hexo 7.3.0">
<link rel="apple-touch-icon" sizes="180x180" href="/images/favicon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon.png">
<link rel="mask-icon" href="/images/logo.svg" color="#222">
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha256-5eIC48iZUHmSlSUz9XtjRyK2mzQkHScZY1WdMaoz74E=" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.1.1/animate.min.css" integrity="sha256-PR7ttpcvz8qrF57fur/yAx1qXMFJeJFiA6pSzWi0OIE=" crossorigin="anonymous">
<script class="next-config" data-name="main" type="application/json">{"hostname":"ycyc.win","root":"/","images":"/images","scheme":"Muse","darkmode":"auto","version":"8.21.0","exturl":false,"sidebar":{"position":"right","width_expanded":320,"width_dual_column":240,"display":"post","padding":18,"offset":12},"hljswrap":true,"copycode":{"enable":true,"style":"default"},"fold":{"enable":true,"height":500},"bookmark":{"enable":false,"color":"#222","save":"auto"},"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":"gitalk","storage":true,"lazyload":false,"nav":null,"activeClass":"gitalk"},"stickytabs":false,"motion":{"enable":true,"async":false,"transition":{"menu_item":"fadeInDown","post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果:${query}","hits_time":"找到 ${hits} 个搜索结果(用时 ${time} 毫秒)","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"top_n_per_article":1,"unescape":false,"preload":false,"trigger":"auto"}}</script><script src="/js/config.js"></script>
<meta name="description" content="YCYC.WIN">
<meta property="og:type" content="website">
<meta property="og:title" content="渊澄|YCYC.WIN">
<meta property="og:url" content="https://ycyc.win/index.html">
<meta property="og:site_name" content="渊澄|YCYC.WIN">
<meta property="og:description" content="YCYC.WIN">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="苗洋">
<meta name="twitter:card" content="summary">
<link rel="canonical" href="https://ycyc.win/">
<script class="next-config" data-name="page" type="application/json">{"sidebar":"","isHome":true,"isPost":false,"lang":"zh-CN","comments":"","permalink":"","path":"index.html","title":""}</script>
<script class="next-config" data-name="calendar" type="application/json">""</script>
<title>渊澄|YCYC.WIN</title>
<script src="/js/third-party/analytics/baidu-analytics.js"></script>
<script async src="https://hm.baidu.com/hm.js?30e8d6135d26f90972c140eb3a42a5ba"></script>
<noscript>
<link rel="stylesheet" href="/css/noscript.css">
</noscript>
<link rel="alternate" href="/atom.xml" title="渊澄|YCYC.WIN" type="application/atom+xml">
</head>
<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
<div class="headband"></div>
<main class="main">
<div class="column">
<header class="header" itemscope itemtype="http://schema.org/WPHeader"><div class="site-brand-container">
<div class="site-nav-toggle">
<div class="toggle" aria-label="切换导航栏" role="button">
<span class="toggle-line"></span>
<span class="toggle-line"></span>
<span class="toggle-line"></span>
</div>
</div>
<div class="site-meta">
<img class="custom-logo-image" src="/images/logo_yc_10.png" alt="渊澄|YCYC.WIN">
<a href="/" class="brand" rel="start">
<i class="logo-line"></i>
<h1 class="site-title">渊澄|YCYC.WIN</h1>
<i class="logo-line"></i>
</a>
<p class="site-subtitle" itemprop="description">川流不息,渊澄取映<YCYC.WIN></p>
</div>
<div class="site-nav-right">
<div class="toggle popup-trigger" aria-label="搜索" role="button">
<i class="fa fa-search fa-fw fa-lg"></i>
</div>
</div>
</div>
<nav class="site-nav">
<ul class="main-menu menu"><li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li><li class="menu-item menu-item-about"><a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a></li><li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li><li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li><li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li><li class="menu-item menu-item-友链"><a href="/links/" rel="section"><i class="fa fa-users fa-fw"></i>友链</a></li><li class="menu-item menu-item-说说"><a href="/talks/" rel="section"><i class="fa fa-commenting fa-fw"></i>说说</a></li>
<li class="menu-item menu-item-search">
<a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
</a>
</li>
</ul>
</nav>
<div class="search-pop-overlay">
<div class="popup search-popup">
<div class="search-header">
<span class="search-icon">
<i class="fa fa-search"></i>
</span>
<div class="search-input-container">
<input autocomplete="off" autocapitalize="off" maxlength="80"
placeholder="搜索..." spellcheck="false"
type="search" class="search-input">
</div>
<span class="popup-btn-close" role="button">
<i class="fa fa-times-circle"></i>
</span>
</div>
<div class="search-result-container">
<div class="search-result-icon">
<i class="fa fa-spinner fa-pulse fa-5x"></i>
</div>
</div>
</div>
</div>
</header>
<aside class="sidebar">
<div class="sidebar-inner sidebar-overview-active">
<ul class="sidebar-nav">
<li class="sidebar-nav-toc">
文章目录
</li>
<li class="sidebar-nav-overview">
站点概览
</li>
</ul>
<div class="sidebar-panel-container">
<!--noindex-->
<div class="post-toc-wrap sidebar-panel">
</div>
<!--/noindex-->
<div class="site-overview-wrap sidebar-panel">
<div class="site-author animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
<img class="site-author-image" itemprop="image" alt="苗洋"
src="/images/logo_yc_07.png">
<p class="site-author-name" itemprop="name">苗洋</p>
<div class="site-description" itemprop="description">YCYC.WIN</div>
</div>
<div class="site-state-wrap animated">
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">61</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
<div class="site-state-item site-state-categories">
<a href="/categories/">
<span class="site-state-item-count">8</span>
<span class="site-state-item-name">分类</span></a>
</div>
<div class="site-state-item site-state-tags">
<a href="/tags/">
<span class="site-state-item-count">138</span>
<span class="site-state-item-name">标签</span></a>
</div>
</nav>
</div>
<div class="links-of-author animated">
<span class="links-of-author-item">
<a href="https://github.com/miaoyanginfo" title="GitHub → https://github.com/miaoyanginfo" rel="noopener me" target="_blank"><i class="fab fa-github fa-fw"></i></a>
</span>
<span class="links-of-author-item">
<a href="https://twitter.com/miaoyanginfo" title="Twitter → https://twitter.com/miaoyanginfo" rel="noopener me" target="_blank"><i class="fab fa-x-twitter fa-fw"></i></a>
</span>
<span class="links-of-author-item">
<a href="https://t.me/yuanchengYC" title="telegram → https://t.me/yuanchengYC" rel="noopener me" target="_blank"><i class="fab fa-telegram fa-fw"></i></a>
</span>
<span class="links-of-author-item">
<a href="/atom.xml" title="RSS → /atom.xml" rel="noopener me"><i class="fa fa-rss fa-fw"></i></a>
</span>
<span class="links-of-author-item">
<a href="https://instagram.com/miaoyang1989" title="Instagram → https://instagram.com/miaoyang1989" rel="noopener me" target="_blank"><i class="fab fa-instagram fa-fw"></i></a>
</span>
</div>
<div class="cc-license animated" itemprop="license">
<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" class="cc-opacity" rel="noopener" target="_blank"><img src="https://cdnjs.cloudflare.com/ajax/libs/creativecommons-vocabulary/2020.11.3/assets/license_badges/small/by_nc_sa.svg" alt="Creative Commons"></a>
</div>
</div>
</div>
<div class="back-to-top animated" role="button" aria-label="返回顶部">
<i class="fa fa-arrow-up"></i>
<span>0%</span>
</div>
</div>
<div class="sidebar-inner sidebar-blogroll">
<div class="links-of-blogroll animated">
<div class="links-of-blogroll-title"><i class="fa fa-globe fa-fw"></i>
链接
</div>
<ul class="links-of-blogroll-list">
<li class="links-of-blogroll-item">
<a href="https://netlify.miaoyang.win/" title="https://netlify.miaoyang.win/" rel="noopener" target="_blank">netlify</a>
</li>
<li class="links-of-blogroll-item">
<a href="https://miaoyanginfo.vercel.app/" title="https://miaoyanginfo.vercel.app/" rel="noopener" target="_blank">vercel</a>
</li>
<li class="links-of-blogroll-item">
<a href="https://miaoyanginfo.github.io/" title="https://miaoyanginfo.github.io/" rel="noopener" target="_blank">github</a>
</li>
<li class="links-of-blogroll-item">
<a href="https://yuancheng.pages.dev/" title="https://yuancheng.pages.dev/" rel="noopener" target="_blank">cloudflare</a>
</li>
<li class="links-of-blogroll-item">
<a href="https://miaoyang.win/" title="https://miaoyang.win/" rel="noopener" target="_blank">首页</a>
</li>
<li class="links-of-blogroll-item">
<a href="https://go.ycyc.win/alist" title="https://go.ycyc.win/alist" rel="noopener" target="_blank">网盘</a>
</li>
<li class="links-of-blogroll-item">
<a href="https://to.ycyc.win/" title="https://to.ycyc.win" rel="noopener" target="_blank">短链接</a>
</li>
<li class="links-of-blogroll-item">
<a href="/sitemap.xml" title="/sitemap.xml">站点地图</a>
</li>
</ul>
</div>
</div>
</aside>
</div>
<div class="main-inner index posts-expand">
<div class="post-block">
<article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
<link itemprop="mainEntityOfPage" href="https://ycyc.win/posts/37049.html">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/logo_yc_07.png">
<meta itemprop="name" content="苗洋">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="渊澄|YCYC.WIN">
<meta itemprop="description" content="YCYC.WIN">
</span>
<span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="name" content="undefined | 渊澄|YCYC.WIN">
<meta itemprop="description" content="">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/posts/37049.html" class="post-title-link" itemprop="url">渊澄短链接服务上线了!</a>
</h2>
<div class="post-meta-container">
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2024-10-02 12:33:00 / 修改时间:17:33:00" itemprop="dateCreated datePublished" datetime="2024-10-02T12:33:00+08:00">2024-10-02</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-folder"></i>
</span>
<span class="post-meta-item-text">分类于</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/%E7%BD%91%E7%BB%9C/" itemprop="url" rel="index"><span itemprop="name">网络</span></a>
</span>
</span>
<span class="post-meta-break"></span>
<span class="post-meta-item" title="本文字数">
<span class="post-meta-item-icon">
<i class="far fa-file-word"></i>
</span>
<span class="post-meta-item-text">本文字数:</span>
<span>187</span>
</span>
<span class="post-meta-item" title="阅读时长">
<span class="post-meta-item-icon">
<i class="far fa-clock"></i>
</span>
<span class="post-meta-item-text">阅读时长 ≈</span>
<span>1 分钟</span>
</span>
</div>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>利用国庆假期搭建了一个短链接生成服务,使用任意长链接可以生成类似于<a target="_blank" rel="noopener" href="https://to.ycyc.win/yourlink">https://to.ycyc.win/yourlink</a> 的短链接,虽然也不是很短😜,但有胜于无。<br>
站点地址 <a target="_blank" rel="noopener" href="https://to.ycyc.win">https://to.ycyc.win</a><br>
使用方法很简单,在输入框输入你需要生成短链接的长链接,点击生成按钮即可。<br>
然后你也可以使用备用站点 <a target="_blank" rel="noopener" href="https://2.ycyc.win">https://2.ycyc.win</a> 来生成(2和to同音,而且又少了一个字符👏)。两个站点地址数据共享,后缀可通用。</p>
<p><img src="https://img.ycyc.win/img/202410021236082.png" alt="image.png"></p>
<blockquote>
<p>重要声明:免费服务,使用前需遵守中华人民共和国相关法律法规,切勿用于非法用途,以免服务被封,影响其他人的使用!</p>
</blockquote>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
</div>
<div class="post-block">
<article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
<link itemprop="mainEntityOfPage" href="https://ycyc.win/posts/30452.html">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/logo_yc_07.png">
<meta itemprop="name" content="苗洋">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="渊澄|YCYC.WIN">
<meta itemprop="description" content="YCYC.WIN">
</span>
<span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="name" content="undefined | 渊澄|YCYC.WIN">
<meta itemprop="description" content="">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/posts/30452.html" class="post-title-link" itemprop="url">拒绝QQ绿钻,让小爱音箱随意播放音乐</a>
</h2>
<div class="post-meta-container">
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2024-10-02 09:35:00" itemprop="dateCreated datePublished" datetime="2024-10-02T09:35:00+08:00">2024-10-02</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="修改时间:2024-10-03 11:09:00" itemprop="dateModified" datetime="2024-10-03T11:09:00+08:00">2024-10-03</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-folder"></i>
</span>
<span class="post-meta-item-text">分类于</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/%E5%BD%B1%E9%9F%B3/" itemprop="url" rel="index"><span itemprop="name">影音</span></a>
</span>
</span>
<span class="post-meta-break"></span>
<span class="post-meta-item" title="本文字数">
<span class="post-meta-item-icon">
<i class="far fa-file-word"></i>
</span>
<span class="post-meta-item-text">本文字数:</span>
<span>689</span>
</span>
<span class="post-meta-item" title="阅读时长">
<span class="post-meta-item-icon">
<i class="far fa-clock"></i>
</span>
<span class="post-meta-item-text">阅读时长 ≈</span>
<span>3 分钟</span>
</span>
</div>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<h2 id="引言"><a class="header-anchor" href="#引言">¶</a>引言</h2>
<p>现在的各种智能音箱,想要好好听音乐,都需要开通各种音乐VIP服务才行,而且有些歌曲因为版权原因,在特定的平台才会有,所以办一个平台的会员有时候还不够。要是不办会员,只能试听十几秒,或者是听一些不知名的翻唱版本。那有没有一种方法,让音箱调用本地NAS里面储存的音乐来播放呢?这样就不用办各种音乐会员了。</p>
<p>xiaomusic是用来让小米音箱播放音乐的docker项目 <a target="_blank" rel="noopener" href="https://github.com/hanxi/xiaomusic">https://github.com/hanxi/xiaomusic</a> 其原理应该是用特定唤醒语劫持小爱音箱网络请求,使用yt-dlp这个项目前往油管下载同名的视频音源到本地,咨询了作者之后得知如果网络不支持访问油管,会转到B站下载,然后进行播放(目前默认是从B站下载资源,除非在设置界面指定从油管下载)。</p>
<h2 id="安装命令"><a class="header-anchor" href="#安装命令">¶</a>安装命令</h2>
<p>运行以下命令安装docker容器:</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">docker run -p 8090:8090 \</span><br><span class="line"> -v /mnt/usb/xiaomusic/music:/app/music \</span><br><span class="line"> -v /mnt/usb/xiaomusic/conf:/app/conf \</span><br><span class="line"> hanxi/xiaomusic</span><br></pre></td></tr></table></figure>
<blockquote>
<p>将命令中的/mnt/usb/xiaomusic字段替换为你本地容器配置的文件夹。<br>
另外本地曲库需放到music文件夹内才会被识别。</p>
</blockquote>
<p>容器创建完成之后访问宿主机ip:8090端口进入容器设置页面。<br>
<img src="https://img.ycyc.win/img/202410021835074.png" alt="image.png"></p>
<!--noindex-->
<div class="post-button">
<a class="btn" href="/posts/30452.html#more" rel="contents">
阅读全文 »
</a>
</div>
<!--/noindex-->
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
</div>
<div class="post-block">
<article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
<link itemprop="mainEntityOfPage" href="https://ycyc.win/posts/13016.html">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/logo_yc_07.png">
<meta itemprop="name" content="苗洋">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="渊澄|YCYC.WIN">
<meta itemprop="description" content="YCYC.WIN">
</span>
<span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="name" content="undefined | 渊澄|YCYC.WIN">
<meta itemprop="description" content="">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/posts/13016.html" class="post-title-link" itemprop="url">Obsidian格式化插件-Linter</a>
</h2>
<div class="post-meta-container">
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2024-09-26 14:54:00 / 修改时间:15:41:00" itemprop="dateCreated datePublished" datetime="2024-09-26T14:54:00+08:00">2024-09-26</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-folder"></i>
</span>
<span class="post-meta-item-text">分类于</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/HEXO/" itemprop="url" rel="index"><span itemprop="name">HEXO</span></a>
</span>
</span>
<span class="post-meta-break"></span>
<span class="post-meta-item" title="本文字数">
<span class="post-meta-item-icon">
<i class="far fa-file-word"></i>
</span>
<span class="post-meta-item-text">本文字数:</span>
<span>657</span>
</span>
<span class="post-meta-item" title="阅读时长">
<span class="post-meta-item-icon">
<i class="far fa-clock"></i>
</span>
<span class="post-meta-item-text">阅读时长 ≈</span>
<span>2 分钟</span>
</span>
</div>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>今天介绍一款Obsidian神级插件-Linter。<br>
项目主页<a target="_blank" rel="noopener" href="https://github.com/platers/obsidian-linter">platers/obsidian-linter: An Obsidian plugin that formats and styles your notes with a focus on configurability and extensibility. (github.com)</a><br>
Linter是一款可以让你的Obsidian文件更加整齐统一美观的插件,而我得知到它的途径是我想要实现如何在Obsidian的文章中可以自动更新文章的修改时间。<br>
Hexo日志的Front-matter有date和updated两个参数,date是文章的创建时间,updated是最后修改时间。之前用vscode通过github action部署之后这两个时间默认是一样的,都是项目最后部署的时间,除非你手动在每篇文章都指定这两个字段。<br>
转到Obsidian之后,我用templater插件创建了Front-matter模板,虽然可以简化手动输入的操作,但是updated字段在你首次插入模板之后就固定下来了,不会随着你修改的时间而变化,除非你手动去修正。<br>
然后就是一通搜索,看看有没有办法能获取到每次文章真正修改的时间,并写入到文章的Front-matter中去。<br>
然后就是有人推荐一款名为Linter的插件。看上去设置比较繁琐,但实际安装调整完之后感觉还好。只要设置正确,都能按照你的预期来执行。</p>
<!--noindex-->
<div class="post-button">
<a class="btn" href="/posts/13016.html#more" rel="contents">
阅读全文 »
</a>
</div>
<!--/noindex-->
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
</div>
<div class="post-block">
<article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
<link itemprop="mainEntityOfPage" href="https://ycyc.win/posts/23533.html">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/logo_yc_07.png">
<meta itemprop="name" content="苗洋">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="渊澄|YCYC.WIN">
<meta itemprop="description" content="YCYC.WIN">
</span>
<span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="name" content="undefined | 渊澄|YCYC.WIN">
<meta itemprop="description" content="">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/posts/23533.html" class="post-title-link" itemprop="url">让HEXO“动起来”-体验Qexo静态博客管理面板</a>
</h2>
<div class="post-meta-container">
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2024-09-25 10:24:00" itemprop="dateCreated datePublished" datetime="2024-09-25T10:24:00+08:00">2024-09-25</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="修改时间:2024-09-30 02:45:18" itemprop="dateModified" datetime="2024-09-30T02:45:18+08:00">2024-09-30</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-folder"></i>
</span>
<span class="post-meta-item-text">分类于</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/HEXO/" itemprop="url" rel="index"><span itemprop="name">HEXO</span></a>
</span>
</span>
<span class="post-meta-break"></span>
<span class="post-meta-item" title="本文字数">
<span class="post-meta-item-icon">
<i class="far fa-file-word"></i>
</span>
<span class="post-meta-item-text">本文字数:</span>
<span>988</span>
</span>
<span class="post-meta-item" title="阅读时长">
<span class="post-meta-item-icon">
<i class="far fa-clock"></i>
</span>
<span class="post-meta-item-text">阅读时长 ≈</span>
<span>4 分钟</span>
</span>
</div>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<h2 id="前言"><a class="header-anchor" href="#前言">¶</a>前言</h2>
<p>对于习惯了使用WordPress等传统CMS程序的用户来说,使用纯静态的hexo更新网站或多或少还是有些不太适应。缺少了管理后台,无法直观的管理站点的日志和页面,只能通过一个个静态文件来更新。并且想要发布还需要去向github提交更改。</p>
<h2 id="介绍"><a class="header-anchor" href="#介绍">¶</a>介绍</h2>
<p><img src="https://img.ycyc.win/img/202409251349501.png" alt="qexo01.png"></p>
<p>Github上有个开源项目名为Qexo,这是一个为静态站点而生的项目,官方介绍为“Qexo 是一个快速、强大、美观的在线 静态博客编辑器。使用 GPL3.0 开源协议。支持包括且不限于在 Vercel 等平台部署, 为您的静态博客添加动态的元素”。程序方面目前支持Hexo、Hugo和Valaxy。如果你正在使用这些程序,可以尝试一下。这个项目支持在Vercel平台一键部署,免去了额外的花销。而且官方也有较为详细的配置文档,新手也很容易上手。<a target="_blank" rel="noopener" href="https://www.oplog.cn/qexo/start.html">Qexo 文档 (oplog.cn)</a><br>
部署前需要确认你的hexo已经通过github action设置了自动化部署,如何设置github action可以参阅我之前的文章<a href="https://ycyc.win/posts/42824">使用GitHub Action实现HEXO的自动编译和发布 | 渊澄|YCYC.WIN</a><br>
还需要注意的是如果你是在vercel部署的,需要在项目设置那里将node.js版本降级为18.x。这一点文档里面也着重强调了。</p>
<!--noindex-->
<div class="post-button">
<a class="btn" href="/posts/23533.html#more" rel="contents">
阅读全文 »
</a>
</div>
<!--/noindex-->
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
</div>
<div class="post-block">
<article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
<link itemprop="mainEntityOfPage" href="https://ycyc.win/posts/6420.html">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/logo_yc_07.png">
<meta itemprop="name" content="苗洋">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="渊澄|YCYC.WIN">
<meta itemprop="description" content="YCYC.WIN">
</span>
<span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="name" content="undefined | 渊澄|YCYC.WIN">
<meta itemprop="description" content="">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/posts/6420.html" class="post-title-link" itemprop="url">魔改版picgo体验-piclist</a>
</h2>
<div class="post-meta-container">
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2024-09-24 11:11:00" itemprop="dateCreated datePublished" datetime="2024-09-24T11:11:00+08:00">2024-09-24</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="修改时间:2024-09-25 11:12:00" itemprop="dateModified" datetime="2024-09-25T11:12:00+08:00">2024-09-25</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-folder"></i>
</span>
<span class="post-meta-item-text">分类于</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/%E5%BA%94%E7%94%A8/" itemprop="url" rel="index"><span itemprop="name">应用</span></a>
</span>
</span>
<span class="post-meta-break"></span>
<span class="post-meta-item" title="本文字数">
<span class="post-meta-item-icon">
<i class="far fa-file-word"></i>
</span>
<span class="post-meta-item-text">本文字数:</span>
<span>410</span>
</span>
<span class="post-meta-item" title="阅读时长">
<span class="post-meta-item-icon">
<i class="far fa-clock"></i>
</span>
<span class="post-meta-item-text">阅读时长 ≈</span>
<span>1 分钟</span>
</span>
</div>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<h2 id="引言"><a class="header-anchor" href="#引言">¶</a>引言</h2>
<p>今天想着在图片上加水印,然后去看了picgo的插件。找到两个水印插件,设置完成之后一上传图片picgo程序就会闪退,不知道是不是个例。看了下插件已经3年没更新了,可能和新版的picgo不太兼容。然后在picgo的github讨论区看到有人推荐piclist。<br>
piclist是在picgo的基础上进行二次开发的图片上传工具。完整保留了picgo的全部功能,而且增加了更多细致化的设置选项,并且原生支持文字或图片水印,无需安装三方插件。<br>
按下图所示,安装完piclist后设置页面会有一键从picgo迁移配置的选项,可以导入在picgo的基本上所有设置项目,无需重复进行配置。<br>
<img src="https://img.ycyc.win/img/202409241118118.png" alt="piclist1.png"></p>
<p>另外设置页面可供自定义的选项也比picgo要多,可以满足更多人的需求。在图片上传设置里面可以设置水印信息。如果要添加图片水印,路径要填入计算机本地的路径,填入互联网地址不生效。</p>
<!--noindex-->
<div class="post-button">
<a class="btn" href="/posts/6420.html#more" rel="contents">
阅读全文 »
</a>
</div>
<!--/noindex-->
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
</div>
<div class="post-block">
<article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
<link itemprop="mainEntityOfPage" href="https://ycyc.win/posts/18268.html">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/logo_yc_07.png">
<meta itemprop="name" content="苗洋">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="渊澄|YCYC.WIN">
<meta itemprop="description" content="YCYC.WIN">
</span>
<span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="name" content="undefined | 渊澄|YCYC.WIN">
<meta itemprop="description" content="">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/posts/18268.html" class="post-title-link" itemprop="url">利用cloudflare+outlook创建自定义域名邮箱收发邮件</a>
</h2>
<div class="post-meta-container">
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2024-09-23 16:15:00 / 修改时间:16:35:00" itemprop="dateCreated datePublished" datetime="2024-09-23T16:15:00+08:00">2024-09-23</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-folder"></i>
</span>
<span class="post-meta-item-text">分类于</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/%E5%BA%94%E7%94%A8/" itemprop="url" rel="index"><span itemprop="name">应用</span></a>
</span>
</span>
<span class="post-meta-break"></span>
<span class="post-meta-item" title="本文字数">
<span class="post-meta-item-icon">
<i class="far fa-file-word"></i>
</span>
<span class="post-meta-item-text">本文字数:</span>
<span>830</span>
</span>
<span class="post-meta-item" title="阅读时长">
<span class="post-meta-item-icon">
<i class="far fa-clock"></i>
</span>
<span class="post-meta-item-text">阅读时长 ≈</span>
<span>3 分钟</span>
</span>
</div>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<h2 id="前言"><a class="header-anchor" href="#前言">¶</a>前言</h2>
<p>前几天写了一篇介绍在iOS端收发企业邮箱的方法。<a href="https://ycyc.win/posts/37524">iOS端收发163域名邮箱邮件IMAP | 渊澄|YCYC.WIN</a>,当时使用的是网易的免费企业邮。因为我之前就有域名加到网易企业邮了,管理员账号是用的原来的域名设置的,所以我想要变更为新的域名账号。界面上找了一圈没找到修改入口,于是我就给客服发了一封站内信,咨询如何更换管理员账号。于是今天上午不出意料的接到了网易打来的推销电话,没有告我如何更换管理员账号,反而是推销了一番他们的收费企业邮箱。还有让人不可思议的是,当时我提交的站内信仅仅留了联系邮箱,并未留下我的联系电话。。。<br>
于是乎想起了之前在cloudflare看过一眼的电子邮件转发功能。这个功能是新建一个你的域名邮箱地址,然后可以将这个地址收到的邮件转发到你现有的其他邮箱里面去。</p>
<h2 id="操作"><a class="header-anchor" href="#操作">¶</a>操作</h2>
<p>进入cloudflare相应的域名主页,左侧导航找到电子邮件路由。<br>
<img src="https://img.ycyc.win//img/202409231624866.png" alt="image.png|300"><br>
设置方法很简单,根据界面提示操作就可以了。创建一个自定义地址,然后操作选择“转发电子邮件”,接着输入你现有的outlook电子邮箱地址。</p>
<!--noindex-->
<div class="post-button">
<a class="btn" href="/posts/18268.html#more" rel="contents">
阅读全文 »
</a>
</div>
<!--/noindex-->
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
</div>
<div class="post-block">
<article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
<link itemprop="mainEntityOfPage" href="https://ycyc.win/posts/58482.html">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/logo_yc_07.png">
<meta itemprop="name" content="苗洋">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="渊澄|YCYC.WIN">
<meta itemprop="description" content="YCYC.WIN">
</span>
<span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="name" content="undefined | 渊澄|YCYC.WIN">
<meta itemprop="description" content="">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/posts/58482.html" class="post-title-link" itemprop="url">mac os 配置图床上传工具picgo</a>
</h2>
<div class="post-meta-container">
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2024-09-22 11:11:00" itemprop="dateCreated datePublished" datetime="2024-09-22T11:11:00+08:00">2024-09-22</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-folder"></i>
</span>
<span class="post-meta-item-text">分类于</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/%E5%BA%94%E7%94%A8/" itemprop="url" rel="index"><span itemprop="name">应用</span></a>
</span>
</span>
<span class="post-meta-break"></span>
<span class="post-meta-item" title="本文字数">
<span class="post-meta-item-icon">
<i class="far fa-file-word"></i>
</span>
<span class="post-meta-item-text">本文字数:</span>
<span>220</span>
</span>
<span class="post-meta-item" title="阅读时长">
<span class="post-meta-item-icon">
<i class="far fa-clock"></i>
</span>
<span class="post-meta-item-text">阅读时长 ≈</span>
<span>1 分钟</span>
</span>
</div>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>如果电脑没有安装homebrew,需要先安装homebrew。</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">/bin/bash -c <span class="string">"<span class="subst">$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)</span>"</span></span><br></pre></td></tr></table></figure>
<p>之前我在安装git的时候已经安装过了所以这里跳过。执行下面命令安装picgo。</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">brew install picgo --cask</span><br></pre></td></tr></table></figure>
<p><img src="https://img.ycyc.win/img/202409221641180.png" alt="截屏2024-09-21 21.44.41.png|300"></p>
<p>安装完成之后在启动台就可以看到picgo的图标了,不出意外的话是无法直接打开的。这里我们需要设置一下mac的安全性策略,将允许从以下位置下载的app更改为“任何来源”。<br>
<img src="https://img.ycyc.win/img/20240922111802.png" alt="image.png|475"></p>
<!--noindex-->
<div class="post-button">
<a class="btn" href="/posts/58482.html#more" rel="contents">
阅读全文 »
</a>
</div>
<!--/noindex-->
</div>
<footer class="post-footer">
<div class="post-eof"></div>