mirror of
https://github.com/jaywcjlove/reference.git
synced 2025-06-22 23:11:29 +08:00
Compare commits
32 Commits
5f80edef4e
...
64fd9858d7
Author | SHA1 | Date | |
---|---|---|---|
64fd9858d7 | |||
579d1de673 | |||
daaa4c5f09 | |||
b414893b15 | |||
072ddcca73 | |||
5e773f0696 | |||
3bcb61d409 | |||
ad9aaf759e | |||
211809a177 | |||
e7b8958368 | |||
d7df8bc6fe | |||
ba05c9d952 | |||
d02dc80480 | |||
eb1157523d | |||
6c8217202a | |||
b3893d8478 | |||
006c4bf587 | |||
0c7e4081a5 | |||
cfac374221 | |||
579d25d3a1 | |||
2cbafe0ef5 | |||
a9e3fb135e | |||
44e775a1ee | |||
933b1957e4 | |||
20ecc2eef2 | |||
4750e61a30 | |||
91b022bf4d | |||
ad3c46c009 | |||
4917ecf3a7 | |||
cf997d6ac0 | |||
435cfdf739 | |||
4412bf6a01 |
@ -349,24 +349,24 @@ jobs:
|
||||
<a href="https://github.com/genius-kim" title="Kim同学"><img src="https://avatars.githubusercontent.com/u/119488561?v=4" width="42;" alt="Kim同学"/></a>
|
||||
<a href="https://github.com/qyl27" title="雨落"><img src="https://avatars.githubusercontent.com/u/53731501?v=4" width="42;" alt="雨落"/></a>
|
||||
<a href="https://github.com/MackDing" title="Blossom"><img src="https://avatars.githubusercontent.com/u/19878893?v=4" width="42;" alt="Blossom"/></a>
|
||||
<a href="https://github.com/LiuYuan-SHU" title="Yuan Liu"><img src="https://avatars.githubusercontent.com/u/96400967?v=4" width="42;" alt="Yuan Liu"/></a>
|
||||
<a href="https://github.com/Willxup" title="Willxup"><img src="https://avatars.githubusercontent.com/u/51990395?v=4" width="42;" alt="Willxup"/></a>
|
||||
<a href="https://github.com/xia0ne" title="YuRuiH"><img src="https://avatars.githubusercontent.com/u/32591223?v=4" width="42;" alt="YuRuiH"/></a>
|
||||
<a href="https://github.com/chaos-cn" title="chaos"><img src="https://avatars.githubusercontent.com/u/71205599?v=4" width="42;" alt="chaos"/></a>
|
||||
<a href="https://github.com/richuff" title="richuff"><img src="https://avatars.githubusercontent.com/u/162144087?v=4" width="42;" alt="richuff"/></a>
|
||||
<a href="https://github.com/1250422131" title="萌新杰少"><img src="https://avatars.githubusercontent.com/u/52126790?v=4" width="42;" alt="萌新杰少"/></a>
|
||||
<a href="https://github.com/wsypower" title="魏"><img src="https://avatars.githubusercontent.com/u/31298317?v=4" width="42;" alt="魏"/></a>
|
||||
<a href="https://github.com/itldg" title="老大哥"><img src="https://avatars.githubusercontent.com/u/13432299?v=4" width="42;" alt="老大哥"/></a>
|
||||
<a href="https://github.com/buyfakett" title="buyfakett"><img src="https://avatars.githubusercontent.com/u/46560426?v=4" width="42;" alt="buyfakett"/></a>
|
||||
<a href="https://github.com/catcto" title="小武Alan"><img src="https://avatars.githubusercontent.com/u/5467932?v=4" width="42;" alt="小武Alan"/></a>
|
||||
<a href="https://github.com/wangdaodao" title="王叨叨"><img src="https://avatars.githubusercontent.com/u/2317442?v=4" width="42;" alt="王叨叨"/></a>
|
||||
<a href="https://github.com/ryanhex53" title="ryanhex53"><img src="https://avatars.githubusercontent.com/u/360426?v=4" width="42;" alt="ryanhex53"/></a>
|
||||
<a href="https://github.com/partoneplay" title="佐博"><img src="https://avatars.githubusercontent.com/u/5189132?v=4" width="42;" alt="佐博"/></a>
|
||||
<a href="https://github.com/pangxiaoli" title="pangxiaoli"><img src="https://avatars.githubusercontent.com/u/54620953?v=4" width="42;" alt="pangxiaoli"/></a>
|
||||
<a href="https://github.com/mancuoj" title="mancuoj"><img src="https://avatars.githubusercontent.com/u/45707684?v=4" width="42;" alt="mancuoj"/></a>
|
||||
<a href="https://github.com/1834423612" title="kjch"><img src="https://avatars.githubusercontent.com/u/49981661?v=4" width="42;" alt="kjch"/></a>
|
||||
<a href="https://github.com/richuff" title="richuff"><img src="https://avatars.githubusercontent.com/u/162144087?v=4" width="42;" alt="richuff"/></a>
|
||||
<a href="https://github.com/chaos-cn" title="chaos"><img src="https://avatars.githubusercontent.com/u/71205599?v=4" width="42;" alt="chaos"/></a>
|
||||
<a href="https://github.com/xia0ne" title="YuRuiH"><img src="https://avatars.githubusercontent.com/u/32591223?v=4" width="42;" alt="YuRuiH"/></a>
|
||||
<a href="https://github.com/Willxup" title="Willxup"><img src="https://avatars.githubusercontent.com/u/51990395?v=4" width="42;" alt="Willxup"/></a>
|
||||
<a href="https://github.com/LiuYuan-SHU" title="Yuan Liu"><img src="https://avatars.githubusercontent.com/u/96400967?v=4" width="42;" alt="Yuan Liu"/></a>
|
||||
<a href="https://github.com/infanx" title="infanx"><img src="https://avatars.githubusercontent.com/u/65985757?v=4" width="42;" alt="infanx"/></a>
|
||||
<a href="https://github.com/webeautiful" title="Albert"><img src="https://avatars.githubusercontent.com/u/3364316?v=4" width="42;" alt="Albert"/></a>
|
||||
<a href="https://github.com/1834423612" title="kjch"><img src="https://avatars.githubusercontent.com/u/49981661?v=4" width="42;" alt="kjch"/></a>
|
||||
<a href="https://github.com/mancuoj" title="mancuoj"><img src="https://avatars.githubusercontent.com/u/45707684?v=4" width="42;" alt="mancuoj"/></a>
|
||||
<a href="https://github.com/pangxiaoli" title="pangxiaoli"><img src="https://avatars.githubusercontent.com/u/54620953?v=4" width="42;" alt="pangxiaoli"/></a>
|
||||
<a href="https://github.com/partoneplay" title="佐博"><img src="https://avatars.githubusercontent.com/u/5189132?v=4" width="42;" alt="佐博"/></a>
|
||||
<a href="https://github.com/ryanhex53" title="ryanhex53"><img src="https://avatars.githubusercontent.com/u/360426?v=4" width="42;" alt="ryanhex53"/></a>
|
||||
<a href="https://github.com/witt-bit" title="witt"><img src="https://avatars.githubusercontent.com/u/52407727?v=4" width="42;" alt="witt"/></a>
|
||||
<a href="https://github.com/catcto" title="小武Alan"><img src="https://avatars.githubusercontent.com/u/5467932?v=4" width="42;" alt="小武Alan"/></a>
|
||||
<a href="https://github.com/itldg" title="老大哥"><img src="https://avatars.githubusercontent.com/u/13432299?v=4" width="42;" alt="老大哥"/></a>
|
||||
<a href="https://github.com/wsypower" title="魏"><img src="https://avatars.githubusercontent.com/u/31298317?v=4" width="42;" alt="魏"/></a>
|
||||
<a href="https://github.com/buyfakett" title="buyfakett"><img src="https://avatars.githubusercontent.com/u/46560426?v=4" width="42;" alt="buyfakett"/></a>
|
||||
<a href="https://github.com/wangdaodao" title="王叨叨"><img src="https://avatars.githubusercontent.com/u/2317442?v=4" width="42;" alt="王叨叨"/></a>
|
||||
<a href="https://github.com/AmosHuKe" title="Amos"><img src="https://avatars.githubusercontent.com/u/32262985?v=4" width="42;" alt="Amos"/></a>
|
||||
<a href="https://github.com/qjksxy" title="Apin"><img src="https://avatars.githubusercontent.com/u/81305669?v=4" width="42;" alt="Apin"/></a>
|
||||
<a href="https://github.com/dadatom" title="Da Da"><img src="https://avatars.githubusercontent.com/u/33886943?v=4" width="42;" alt="Da Da"/></a>
|
||||
@ -374,14 +374,13 @@ jobs:
|
||||
<a href="https://github.com/jasnzhuang" title="Jason Zhuang"><img src="https://avatars.githubusercontent.com/u/16612921?v=4" width="42;" alt="Jason Zhuang"/></a>
|
||||
<a href="https://github.com/Jovins" title="Jovins"><img src="https://avatars.githubusercontent.com/u/17738992?v=4" width="42;" alt="Jovins"/></a>
|
||||
<a href="https://github.com/Kisa-Dong" title="Kisa-Dong"><img src="https://avatars.githubusercontent.com/u/84782008?v=4" width="42;" alt="Kisa-Dong"/></a>
|
||||
<a href="https://github.com/long-910" title="Small Long"><img src="https://avatars.githubusercontent.com/u/7323488?v=4" width="42;" alt="Small Long"/></a>
|
||||
<a href="https://github.com/SuperDiscovery" title="SuperDiscovery"><img src="https://avatars.githubusercontent.com/u/49646863?v=4" width="42;" alt="SuperDiscovery"/></a>
|
||||
<a href="https://github.com/XYZscratcher" title="XYZ"><img src="https://avatars.githubusercontent.com/u/108533817?v=4" width="42;" alt="XYZ"/></a>
|
||||
<a href="https://github.com/izven" title="Zhang"><img src="https://avatars.githubusercontent.com/u/2149051?v=4" width="42;" alt="Zhang"/></a>
|
||||
<a href="https://github.com/findnr" title="findnr"><img src="https://avatars.githubusercontent.com/u/3909023?v=4" width="42;" alt="findnr"/></a>
|
||||
<a href="https://github.com/greyhao" title="greyhao"><img src="https://avatars.githubusercontent.com/u/107107440?v=4" width="42;" alt="greyhao"/></a>
|
||||
<a href="https://github.com/gzttcydxx" title="gzttcydxx"><img src="https://avatars.githubusercontent.com/u/50025185?v=4" width="42;" alt="gzttcydxx"/></a>
|
||||
<a href="https://github.com/hua03" title="hua03"><img src="https://avatars.githubusercontent.com/u/19561959?v=4" width="42;" alt="hua03"/></a>
|
||||
<a href="https://github.com/findnr" title="findnr"><img src="https://avatars.githubusercontent.com/u/3909023?v=4" width="42;" alt="findnr"/></a>
|
||||
<a href="https://github.com/izven" title="Zhang"><img src="https://avatars.githubusercontent.com/u/2149051?v=4" width="42;" alt="Zhang"/></a>
|
||||
<a href="https://github.com/XYZscratcher" title="XYZ"><img src="https://avatars.githubusercontent.com/u/108533817?v=4" width="42;" alt="XYZ"/></a>
|
||||
<a href="https://github.com/ThanatosXingYu" title="Thanatos"><img src="https://avatars.githubusercontent.com/u/53430376?v=4" width="42;" alt="Thanatos"/></a>
|
||||
<a href="https://github.com/SuperDiscovery" title="SuperDiscovery"><img src="https://avatars.githubusercontent.com/u/49646863?v=4" width="42;" alt="SuperDiscovery"/></a>
|
||||
<a href="https://github.com/long-910" title="Small Long"><img src="https://avatars.githubusercontent.com/u/7323488?v=4" width="42;" alt="Small Long"/></a>
|
||||
<a href="https://github.com/yanxuplay" title="hupilan"><img src="https://avatars.githubusercontent.com/u/69749541?v=4" width="42;" alt="hupilan"/></a>
|
||||
<a href="https://github.com/hweining" title="hweining"><img src="https://avatars.githubusercontent.com/u/8973985?v=4" width="42;" alt="hweining"/></a>
|
||||
<a href="https://github.com/auroraslot" title="irony"><img src="https://avatars.githubusercontent.com/u/48817882?v=4" width="42;" alt="irony"/></a>
|
||||
@ -394,6 +393,10 @@ jobs:
|
||||
<a href="https://github.com/kubeme" title="kubernetes for me"><img src="https://avatars.githubusercontent.com/u/16346220?v=4" width="42;" alt="kubernetes for me"/></a>
|
||||
<a href="https://github.com/larry-xue" title="yujian(larry) xue"><img src="https://avatars.githubusercontent.com/u/48818060?v=4" width="42;" alt="yujian(larry) xue"/></a>
|
||||
<a href="https://github.com/leauny" title="leauny"><img src="https://avatars.githubusercontent.com/u/42369176?v=4" width="42;" alt="leauny"/></a>
|
||||
<a href="https://github.com/liliangrong777" title="liliangrong777"><img src="https://avatars.githubusercontent.com/u/58727146?v=4" width="42;" alt="liliangrong777"/></a>
|
||||
<a href="https://github.com/Zeng-qh" title="都一样"><img src="https://avatars.githubusercontent.com/u/40046415?v=4" width="42;" alt="都一样"/></a>
|
||||
<a href="https://github.com/hua03" title="hua03"><img src="https://avatars.githubusercontent.com/u/19561959?v=4" width="42;" alt="hua03"/></a>
|
||||
<a href="https://github.com/gzttcydxx" title="gzttcydxx"><img src="https://avatars.githubusercontent.com/u/50025185?v=4" width="42;" alt="gzttcydxx"/></a>
|
||||
<a href="https://github.com/sunny0826" title="Xudong Guo"><img src="https://avatars.githubusercontent.com/u/24563928?v=4" width="42;" alt="Xudong Guo"/></a>
|
||||
<a href="https://github.com/nodjoy" title="gowshwah"><img src="https://avatars.githubusercontent.com/u/145280043?v=4" width="42;" alt="gowshwah"/></a>
|
||||
<a href="https://github.com/godotc" title="godot42"><img src="https://avatars.githubusercontent.com/u/79260851?v=4" width="42;" alt="godot42"/></a>
|
||||
@ -401,19 +404,18 @@ jobs:
|
||||
<a href="https://github.com/fjqz177" title="fjqz177"><img src="https://avatars.githubusercontent.com/u/83070583?v=4" width="42;" alt="fjqz177"/></a>
|
||||
<a href="https://github.com/fakevn" title="fakevn"><img src="https://avatars.githubusercontent.com/u/11464386?v=4" width="42;" alt="fakevn"/></a>
|
||||
<a href="https://github.com/cool9203" title="cool9203"><img src="https://avatars.githubusercontent.com/u/29609607?v=4" width="42;" alt="cool9203"/></a>
|
||||
<a href="https://github.com/gaoxiaoduan" title="CoderDuan"><img src="https://avatars.githubusercontent.com/u/69953511?v=4" width="42;" alt="CoderDuan"/></a>
|
||||
<a href="https://github.com/gaoxiaoduan" title="Coder Duan"><img src="https://avatars.githubusercontent.com/u/69953511?v=4" width="42;" alt="Coder Duan"/></a>
|
||||
<a href="https://github.com/lijc210" title="cizai"><img src="https://avatars.githubusercontent.com/u/10651081?v=4" width="42;" alt="cizai"/></a>
|
||||
<a href="https://github.com/chyok" title="chyok"><img src="https://avatars.githubusercontent.com/u/32629225?v=4" width="42;" alt="chyok"/></a>
|
||||
<a href="https://github.com/zlfyuan" title="bgbgPang"><img src="https://avatars.githubusercontent.com/u/19658018?v=4" width="42;" alt="bgbgPang"/></a>
|
||||
<a href="https://github.com/Lmmmmmm-bb" title="_lmmmmmm"><img src="https://avatars.githubusercontent.com/u/54026110?v=4" width="42;" alt="_lmmmmmm"/></a>
|
||||
<a href="https://github.com/y52y" title="Zyj"><img src="https://avatars.githubusercontent.com/u/51304324?v=4" width="42;" alt="Zyj"/></a>
|
||||
<a href="https://github.com/Zeng-qh" title="都一样"><img src="https://avatars.githubusercontent.com/u/40046415?v=4" width="42;" alt="都一样"/></a>
|
||||
<a href="https://github.com/mariuszmichalowski" title="Mariusz Michalowski"><img src="https://avatars.githubusercontent.com/u/92091891?v=4" width="42;" alt="Mariusz Michalowski"/></a>
|
||||
<a href="https://github.com/binscor" title="Zheng Nai Bin"><img src="https://avatars.githubusercontent.com/u/37325821?v=4" width="42;" alt="Zheng Nai Bin"/></a>
|
||||
<a href="https://github.com/qwxingzhe" title="行者"><img src="https://avatars.githubusercontent.com/u/7071651?v=4" width="42;" alt="行者"/></a>
|
||||
<a href="https://github.com/lisheng741" title="芦荟柚子茶"><img src="https://avatars.githubusercontent.com/u/53617305?v=4" width="42;" alt="芦荟柚子茶"/></a>
|
||||
<a href="https://github.com/rainbowatcher" title="看彩虹的人"><img src="https://avatars.githubusercontent.com/u/42316353?v=4" width="42;" alt="看彩虹的人"/></a>
|
||||
<a href="https://github.com/HChenX" title="焕晨HChen"><img src="https://avatars.githubusercontent.com/u/123531821?v=4" width="42;" alt="焕晨HChen"/></a>
|
||||
<a href="https://github.com/LebranceBW" title="落叶乌龟"><img src="https://avatars.githubusercontent.com/u/19501514?v=4" width="42;" alt="落叶乌龟"/></a>
|
||||
<a href="https://github.com/LongYinStudio" title="敬培全"><img src="https://avatars.githubusercontent.com/u/42208852?v=4" width="42;" alt="敬培全"/></a>
|
||||
<a href="https://github.com/Fengjing95" title="小枫"><img src="https://avatars.githubusercontent.com/u/51731411?v=4" width="42;" alt="小枫"/></a>
|
||||
<a href="https://github.com/ZIDOUZI" title="子斗子"><img src="https://avatars.githubusercontent.com/u/53157536?v=4" width="42;" alt="子斗子"/></a>
|
||||
<a href="https://github.com/LuckyJie12" title="夜未央"><img src="https://avatars.githubusercontent.com/u/102901105?v=4" width="42;" alt="夜未央"/></a>
|
||||
@ -428,13 +430,13 @@ jobs:
|
||||
<a href="https://github.com/swift-fs" title="swift-fs"><img src="https://avatars.githubusercontent.com/u/77133741?v=4" width="42;" alt="swift-fs"/></a>
|
||||
<a href="https://github.com/suyangzuo" title="suyangzuo"><img src="https://avatars.githubusercontent.com/u/50766353?v=4" width="42;" alt="suyangzuo"/></a>
|
||||
<a href="https://github.com/Mowmowj" title="nexo"><img src="https://avatars.githubusercontent.com/u/24759562?v=4" width="42;" alt="nexo"/></a>
|
||||
<a href="https://github.com/ri-fumo" title="ri-fumo"><img src="https://avatars.githubusercontent.com/u/190000479?v=4" width="42;" alt="ri-fumo"/></a>
|
||||
<a href="https://github.com/phygerr" title="phygerr"><img src="https://avatars.githubusercontent.com/u/42068889?v=4" width="42;" alt="phygerr"/></a>
|
||||
<a href="https://github.com/openapphub" title="openapphub"><img src="https://avatars.githubusercontent.com/u/175949671?v=4" width="42;" alt="openapphub"/></a>
|
||||
<a href="https://github.com/onewesong" title="onewesong"><img src="https://avatars.githubusercontent.com/u/17920822?v=4" width="42;" alt="onewesong"/></a>
|
||||
<a href="https://github.com/miclon-dev" title="miclon-dev"><img src="https://avatars.githubusercontent.com/u/111753685?v=4" width="42;" alt="miclon-dev"/></a>
|
||||
<a href="https://github.com/lykjjj" title="lykjjj"><img src="https://avatars.githubusercontent.com/u/58510058?v=4" width="42;" alt="lykjjj"/></a>
|
||||
<a href="https://github.com/lozhu20" title="lozhu"><img src="https://avatars.githubusercontent.com/u/44923922?v=4" width="42;" alt="lozhu"/></a>
|
||||
<a href="https://github.com/liliangrong777" title="liliangrong777"><img src="https://avatars.githubusercontent.com/u/58727146?v=4" width="42;" alt="liliangrong777"/></a>
|
||||
<a href="https://github.com/isecret" title="Mao Wang"><img src="https://avatars.githubusercontent.com/u/15724152?v=4" width="42;" alt="Mao Wang"/></a>
|
||||
<a href="https://github.com/lvelvee" title="Lve Lvee"><img src="https://avatars.githubusercontent.com/u/25785753?v=4" width="42;" alt="Lve Lvee"/></a>
|
||||
<a href="https://github.com/likeadmin-likeshop" title="likeadmin通过管理后台-likeshop全开源商城"><img src="https://avatars.githubusercontent.com/u/77180968?v=4" width="42;" alt="likeadmin通过管理后台-likeshop全开源商城"/></a>
|
||||
@ -463,6 +465,8 @@ jobs:
|
||||
<a href="https://github.com/dousha0w0" title="dousha0w0"><img src="https://avatars.githubusercontent.com/u/52566311?v=4" width="42;" alt="dousha0w0"/></a>
|
||||
<a href="https://github.com/JinchuanL" title="ANDY"><img src="https://avatars.githubusercontent.com/u/68026794?v=4" width="42;" alt="ANDY"/></a>
|
||||
<a href="https://github.com/13812700839" title="花殇"><img src="https://avatars.githubusercontent.com/u/58072506?v=4" width="42;" alt="花殇"/></a>
|
||||
<a href="https://github.com/Lmmmmmm-bb" title="_lmmmmmm"><img src="https://avatars.githubusercontent.com/u/54026110?v=4" width="42;" alt="_lmmmmmm"/></a>
|
||||
<a href="https://github.com/y52y" title="Zyj"><img src="https://avatars.githubusercontent.com/u/51304324?v=4" width="42;" alt="Zyj"/></a>
|
||||
<a href="https://github.com/Leaderzhangyi" title="ZinkCas"><img src="https://avatars.githubusercontent.com/u/46915666?v=4" width="42;" alt="ZinkCas"/></a>
|
||||
<a href="https://github.com/zhu0629" title="zhucong"><img src="https://avatars.githubusercontent.com/u/13188450?v=4" width="42;" alt="zhucong"/></a>
|
||||
<a href="https://github.com/yikuaibro" title="yikuaibro"><img src="https://avatars.githubusercontent.com/u/44493045?v=4" width="42;" alt="yikuaibro"/></a>
|
||||
@ -489,8 +493,7 @@ jobs:
|
||||
<a href="https://github.com/mo3et" title="Monet Lee"><img src="https://avatars.githubusercontent.com/u/34803812?v=4" width="42;" alt="Monet Lee"/></a>
|
||||
<a href="https://github.com/Moeyuuko" title="Moeyuuko"><img src="https://avatars.githubusercontent.com/u/14266681?v=4" width="42;" alt="Moeyuuko"/></a>
|
||||
<a href="https://github.com/malcolmyu" title="Minghao Yu"><img src="https://avatars.githubusercontent.com/u/3203962?v=4" width="42;" alt="Minghao Yu"/></a>
|
||||
<a href="https://github.com/Mieriki" title="Mieriki"><img src="https://avatars.githubusercontent.com/u/142009318?v=4" width="42;" alt="Mieriki"/></a>
|
||||
<a href="https://github.com/mariuszmichalowski" title="Mariusz Michalowski"><img src="https://avatars.githubusercontent.com/u/92091891?v=4" width="42;" alt="Mariusz Michalowski"/></a><!--GAMFC-END-->
|
||||
<a href="https://github.com/Mieriki" title="Mieriki"><img src="https://avatars.githubusercontent.com/u/142009318?v=4" width="42;" alt="Mieriki"/></a><!--GAMFC-END-->
|
||||
|
||||
上图贡献者列表,由 [contributors](https://github.com/jaywcjlove/github-action-contributors) 自动生成贡献者图片。
|
||||
|
||||
|
98
README.md
98
README.md
@ -2,7 +2,7 @@ Quick Reference
|
||||
===
|
||||
|
||||
<!--rehype:ignore:start-->
|
||||
[](https://jaywcjlove.github.io/#/sponsor)
|
||||
[](https://jaywcjlove.github.io/#/sponsor)
|
||||
[](https://github.com/jaywcjlove/reference/actions/workflows/ci.yml)
|
||||
[](https://hub.docker.com/r/wcjiang/reference)
|
||||
[](https://hub.docker.com/r/wcjiang/reference)
|
||||
@ -273,6 +273,7 @@ Quick Reference
|
||||
[Emoji](./docs/emoji.md)<!--rehype:style=\-\-bg\-opacity: 0.75;background-image: linear-gradient(to left, rgba(74 222 128 / var(\-\-bg\-opacity)), rgba(59 130 246 / var(\-\-bg\-opacity)));-->
|
||||
[MIME types](./docs/mime.md)<!--rehype:style=background: rgb(16 185 129);-->
|
||||
[Resolutions](./docs/resolutions.md)<!--rehype:style=background: rgb(16 185 129);-->
|
||||
[常见端口对照](./docs/ports.md)<!--rehype:style=background: rgb(16 185 129);-->
|
||||
<!--rehype:class=home-card-->
|
||||
|
||||
## 看到缺少什么了吗?
|
||||
@ -311,24 +312,24 @@ Quick Reference
|
||||
<a href="https://github.com/genius-kim" title="Kim同学"><img src="https://avatars.githubusercontent.com/u/119488561?v=4" width="42;" alt="Kim同学"/></a>
|
||||
<a href="https://github.com/qyl27" title="雨落"><img src="https://avatars.githubusercontent.com/u/53731501?v=4" width="42;" alt="雨落"/></a>
|
||||
<a href="https://github.com/MackDing" title="Blossom"><img src="https://avatars.githubusercontent.com/u/19878893?v=4" width="42;" alt="Blossom"/></a>
|
||||
<a href="https://github.com/LiuYuan-SHU" title="Yuan Liu"><img src="https://avatars.githubusercontent.com/u/96400967?v=4" width="42;" alt="Yuan Liu"/></a>
|
||||
<a href="https://github.com/Willxup" title="Willxup"><img src="https://avatars.githubusercontent.com/u/51990395?v=4" width="42;" alt="Willxup"/></a>
|
||||
<a href="https://github.com/xia0ne" title="YuRuiH"><img src="https://avatars.githubusercontent.com/u/32591223?v=4" width="42;" alt="YuRuiH"/></a>
|
||||
<a href="https://github.com/chaos-cn" title="chaos"><img src="https://avatars.githubusercontent.com/u/71205599?v=4" width="42;" alt="chaos"/></a>
|
||||
<a href="https://github.com/richuff" title="richuff"><img src="https://avatars.githubusercontent.com/u/162144087?v=4" width="42;" alt="richuff"/></a>
|
||||
<a href="https://github.com/1250422131" title="萌新杰少"><img src="https://avatars.githubusercontent.com/u/52126790?v=4" width="42;" alt="萌新杰少"/></a>
|
||||
<a href="https://github.com/wsypower" title="魏"><img src="https://avatars.githubusercontent.com/u/31298317?v=4" width="42;" alt="魏"/></a>
|
||||
<a href="https://github.com/itldg" title="老大哥"><img src="https://avatars.githubusercontent.com/u/13432299?v=4" width="42;" alt="老大哥"/></a>
|
||||
<a href="https://github.com/buyfakett" title="buyfakett"><img src="https://avatars.githubusercontent.com/u/46560426?v=4" width="42;" alt="buyfakett"/></a>
|
||||
<a href="https://github.com/catcto" title="小武Alan"><img src="https://avatars.githubusercontent.com/u/5467932?v=4" width="42;" alt="小武Alan"/></a>
|
||||
<a href="https://github.com/wangdaodao" title="王叨叨"><img src="https://avatars.githubusercontent.com/u/2317442?v=4" width="42;" alt="王叨叨"/></a>
|
||||
<a href="https://github.com/ryanhex53" title="ryanhex53"><img src="https://avatars.githubusercontent.com/u/360426?v=4" width="42;" alt="ryanhex53"/></a>
|
||||
<a href="https://github.com/partoneplay" title="佐博"><img src="https://avatars.githubusercontent.com/u/5189132?v=4" width="42;" alt="佐博"/></a>
|
||||
<a href="https://github.com/pangxiaoli" title="pangxiaoli"><img src="https://avatars.githubusercontent.com/u/54620953?v=4" width="42;" alt="pangxiaoli"/></a>
|
||||
<a href="https://github.com/mancuoj" title="mancuoj"><img src="https://avatars.githubusercontent.com/u/45707684?v=4" width="42;" alt="mancuoj"/></a>
|
||||
<a href="https://github.com/1834423612" title="kjch"><img src="https://avatars.githubusercontent.com/u/49981661?v=4" width="42;" alt="kjch"/></a>
|
||||
<a href="https://github.com/richuff" title="richuff"><img src="https://avatars.githubusercontent.com/u/162144087?v=4" width="42;" alt="richuff"/></a>
|
||||
<a href="https://github.com/chaos-cn" title="chaos"><img src="https://avatars.githubusercontent.com/u/71205599?v=4" width="42;" alt="chaos"/></a>
|
||||
<a href="https://github.com/xia0ne" title="YuRuiH"><img src="https://avatars.githubusercontent.com/u/32591223?v=4" width="42;" alt="YuRuiH"/></a>
|
||||
<a href="https://github.com/Willxup" title="Willxup"><img src="https://avatars.githubusercontent.com/u/51990395?v=4" width="42;" alt="Willxup"/></a>
|
||||
<a href="https://github.com/LiuYuan-SHU" title="Yuan Liu"><img src="https://avatars.githubusercontent.com/u/96400967?v=4" width="42;" alt="Yuan Liu"/></a>
|
||||
<a href="https://github.com/infanx" title="infanx"><img src="https://avatars.githubusercontent.com/u/65985757?v=4" width="42;" alt="infanx"/></a>
|
||||
<a href="https://github.com/webeautiful" title="Albert"><img src="https://avatars.githubusercontent.com/u/3364316?v=4" width="42;" alt="Albert"/></a>
|
||||
<a href="https://github.com/1834423612" title="kjch"><img src="https://avatars.githubusercontent.com/u/49981661?v=4" width="42;" alt="kjch"/></a>
|
||||
<a href="https://github.com/mancuoj" title="mancuoj"><img src="https://avatars.githubusercontent.com/u/45707684?v=4" width="42;" alt="mancuoj"/></a>
|
||||
<a href="https://github.com/pangxiaoli" title="pangxiaoli"><img src="https://avatars.githubusercontent.com/u/54620953?v=4" width="42;" alt="pangxiaoli"/></a>
|
||||
<a href="https://github.com/partoneplay" title="佐博"><img src="https://avatars.githubusercontent.com/u/5189132?v=4" width="42;" alt="佐博"/></a>
|
||||
<a href="https://github.com/ryanhex53" title="ryanhex53"><img src="https://avatars.githubusercontent.com/u/360426?v=4" width="42;" alt="ryanhex53"/></a>
|
||||
<a href="https://github.com/witt-bit" title="witt"><img src="https://avatars.githubusercontent.com/u/52407727?v=4" width="42;" alt="witt"/></a>
|
||||
<a href="https://github.com/catcto" title="小武Alan"><img src="https://avatars.githubusercontent.com/u/5467932?v=4" width="42;" alt="小武Alan"/></a>
|
||||
<a href="https://github.com/itldg" title="老大哥"><img src="https://avatars.githubusercontent.com/u/13432299?v=4" width="42;" alt="老大哥"/></a>
|
||||
<a href="https://github.com/wsypower" title="魏"><img src="https://avatars.githubusercontent.com/u/31298317?v=4" width="42;" alt="魏"/></a>
|
||||
<a href="https://github.com/buyfakett" title="buyfakett"><img src="https://avatars.githubusercontent.com/u/46560426?v=4" width="42;" alt="buyfakett"/></a>
|
||||
<a href="https://github.com/wangdaodao" title="王叨叨"><img src="https://avatars.githubusercontent.com/u/2317442?v=4" width="42;" alt="王叨叨"/></a>
|
||||
<a href="https://github.com/AmosHuKe" title="Amos"><img src="https://avatars.githubusercontent.com/u/32262985?v=4" width="42;" alt="Amos"/></a>
|
||||
<a href="https://github.com/qjksxy" title="Apin"><img src="https://avatars.githubusercontent.com/u/81305669?v=4" width="42;" alt="Apin"/></a>
|
||||
<a href="https://github.com/dadatom" title="Da Da"><img src="https://avatars.githubusercontent.com/u/33886943?v=4" width="42;" alt="Da Da"/></a>
|
||||
@ -336,14 +337,13 @@ Quick Reference
|
||||
<a href="https://github.com/jasnzhuang" title="Jason Zhuang"><img src="https://avatars.githubusercontent.com/u/16612921?v=4" width="42;" alt="Jason Zhuang"/></a>
|
||||
<a href="https://github.com/Jovins" title="Jovins"><img src="https://avatars.githubusercontent.com/u/17738992?v=4" width="42;" alt="Jovins"/></a>
|
||||
<a href="https://github.com/Kisa-Dong" title="Kisa-Dong"><img src="https://avatars.githubusercontent.com/u/84782008?v=4" width="42;" alt="Kisa-Dong"/></a>
|
||||
<a href="https://github.com/long-910" title="Small Long"><img src="https://avatars.githubusercontent.com/u/7323488?v=4" width="42;" alt="Small Long"/></a>
|
||||
<a href="https://github.com/SuperDiscovery" title="SuperDiscovery"><img src="https://avatars.githubusercontent.com/u/49646863?v=4" width="42;" alt="SuperDiscovery"/></a>
|
||||
<a href="https://github.com/XYZscratcher" title="XYZ"><img src="https://avatars.githubusercontent.com/u/108533817?v=4" width="42;" alt="XYZ"/></a>
|
||||
<a href="https://github.com/izven" title="Zhang"><img src="https://avatars.githubusercontent.com/u/2149051?v=4" width="42;" alt="Zhang"/></a>
|
||||
<a href="https://github.com/findnr" title="findnr"><img src="https://avatars.githubusercontent.com/u/3909023?v=4" width="42;" alt="findnr"/></a>
|
||||
<a href="https://github.com/greyhao" title="greyhao"><img src="https://avatars.githubusercontent.com/u/107107440?v=4" width="42;" alt="greyhao"/></a>
|
||||
<a href="https://github.com/gzttcydxx" title="gzttcydxx"><img src="https://avatars.githubusercontent.com/u/50025185?v=4" width="42;" alt="gzttcydxx"/></a>
|
||||
<a href="https://github.com/hua03" title="hua03"><img src="https://avatars.githubusercontent.com/u/19561959?v=4" width="42;" alt="hua03"/></a>
|
||||
<a href="https://github.com/findnr" title="findnr"><img src="https://avatars.githubusercontent.com/u/3909023?v=4" width="42;" alt="findnr"/></a>
|
||||
<a href="https://github.com/izven" title="Zhang"><img src="https://avatars.githubusercontent.com/u/2149051?v=4" width="42;" alt="Zhang"/></a>
|
||||
<a href="https://github.com/XYZscratcher" title="XYZ"><img src="https://avatars.githubusercontent.com/u/108533817?v=4" width="42;" alt="XYZ"/></a>
|
||||
<a href="https://github.com/ThanatosXingYu" title="Thanatos"><img src="https://avatars.githubusercontent.com/u/53430376?v=4" width="42;" alt="Thanatos"/></a>
|
||||
<a href="https://github.com/SuperDiscovery" title="SuperDiscovery"><img src="https://avatars.githubusercontent.com/u/49646863?v=4" width="42;" alt="SuperDiscovery"/></a>
|
||||
<a href="https://github.com/long-910" title="Small Long"><img src="https://avatars.githubusercontent.com/u/7323488?v=4" width="42;" alt="Small Long"/></a>
|
||||
<a href="https://github.com/yanxuplay" title="hupilan"><img src="https://avatars.githubusercontent.com/u/69749541?v=4" width="42;" alt="hupilan"/></a>
|
||||
<a href="https://github.com/hweining" title="hweining"><img src="https://avatars.githubusercontent.com/u/8973985?v=4" width="42;" alt="hweining"/></a>
|
||||
<a href="https://github.com/auroraslot" title="irony"><img src="https://avatars.githubusercontent.com/u/48817882?v=4" width="42;" alt="irony"/></a>
|
||||
@ -356,6 +356,10 @@ Quick Reference
|
||||
<a href="https://github.com/kubeme" title="kubernetes for me"><img src="https://avatars.githubusercontent.com/u/16346220?v=4" width="42;" alt="kubernetes for me"/></a>
|
||||
<a href="https://github.com/larry-xue" title="yujian(larry) xue"><img src="https://avatars.githubusercontent.com/u/48818060?v=4" width="42;" alt="yujian(larry) xue"/></a>
|
||||
<a href="https://github.com/leauny" title="leauny"><img src="https://avatars.githubusercontent.com/u/42369176?v=4" width="42;" alt="leauny"/></a>
|
||||
<a href="https://github.com/liliangrong777" title="liliangrong777"><img src="https://avatars.githubusercontent.com/u/58727146?v=4" width="42;" alt="liliangrong777"/></a>
|
||||
<a href="https://github.com/Zeng-qh" title="都一样"><img src="https://avatars.githubusercontent.com/u/40046415?v=4" width="42;" alt="都一样"/></a>
|
||||
<a href="https://github.com/hua03" title="hua03"><img src="https://avatars.githubusercontent.com/u/19561959?v=4" width="42;" alt="hua03"/></a>
|
||||
<a href="https://github.com/gzttcydxx" title="gzttcydxx"><img src="https://avatars.githubusercontent.com/u/50025185?v=4" width="42;" alt="gzttcydxx"/></a>
|
||||
<a href="https://github.com/sunny0826" title="Xudong Guo"><img src="https://avatars.githubusercontent.com/u/24563928?v=4" width="42;" alt="Xudong Guo"/></a>
|
||||
<a href="https://github.com/nodjoy" title="gowshwah"><img src="https://avatars.githubusercontent.com/u/145280043?v=4" width="42;" alt="gowshwah"/></a>
|
||||
<a href="https://github.com/godotc" title="godot42"><img src="https://avatars.githubusercontent.com/u/79260851?v=4" width="42;" alt="godot42"/></a>
|
||||
@ -363,19 +367,18 @@ Quick Reference
|
||||
<a href="https://github.com/fjqz177" title="fjqz177"><img src="https://avatars.githubusercontent.com/u/83070583?v=4" width="42;" alt="fjqz177"/></a>
|
||||
<a href="https://github.com/fakevn" title="fakevn"><img src="https://avatars.githubusercontent.com/u/11464386?v=4" width="42;" alt="fakevn"/></a>
|
||||
<a href="https://github.com/cool9203" title="cool9203"><img src="https://avatars.githubusercontent.com/u/29609607?v=4" width="42;" alt="cool9203"/></a>
|
||||
<a href="https://github.com/gaoxiaoduan" title="CoderDuan"><img src="https://avatars.githubusercontent.com/u/69953511?v=4" width="42;" alt="CoderDuan"/></a>
|
||||
<a href="https://github.com/gaoxiaoduan" title="Coder Duan"><img src="https://avatars.githubusercontent.com/u/69953511?v=4" width="42;" alt="Coder Duan"/></a>
|
||||
<a href="https://github.com/lijc210" title="cizai"><img src="https://avatars.githubusercontent.com/u/10651081?v=4" width="42;" alt="cizai"/></a>
|
||||
<a href="https://github.com/chyok" title="chyok"><img src="https://avatars.githubusercontent.com/u/32629225?v=4" width="42;" alt="chyok"/></a>
|
||||
<a href="https://github.com/zlfyuan" title="bgbgPang"><img src="https://avatars.githubusercontent.com/u/19658018?v=4" width="42;" alt="bgbgPang"/></a>
|
||||
<a href="https://github.com/Lmmmmmm-bb" title="_lmmmmmm"><img src="https://avatars.githubusercontent.com/u/54026110?v=4" width="42;" alt="_lmmmmmm"/></a>
|
||||
<a href="https://github.com/y52y" title="Zyj"><img src="https://avatars.githubusercontent.com/u/51304324?v=4" width="42;" alt="Zyj"/></a>
|
||||
<a href="https://github.com/Zeng-qh" title="都一样"><img src="https://avatars.githubusercontent.com/u/40046415?v=4" width="42;" alt="都一样"/></a>
|
||||
<a href="https://github.com/mariuszmichalowski" title="Mariusz Michalowski"><img src="https://avatars.githubusercontent.com/u/92091891?v=4" width="42;" alt="Mariusz Michalowski"/></a>
|
||||
<a href="https://github.com/binscor" title="Zheng Nai Bin"><img src="https://avatars.githubusercontent.com/u/37325821?v=4" width="42;" alt="Zheng Nai Bin"/></a>
|
||||
<a href="https://github.com/qwxingzhe" title="行者"><img src="https://avatars.githubusercontent.com/u/7071651?v=4" width="42;" alt="行者"/></a>
|
||||
<a href="https://github.com/lisheng741" title="芦荟柚子茶"><img src="https://avatars.githubusercontent.com/u/53617305?v=4" width="42;" alt="芦荟柚子茶"/></a>
|
||||
<a href="https://github.com/rainbowatcher" title="看彩虹的人"><img src="https://avatars.githubusercontent.com/u/42316353?v=4" width="42;" alt="看彩虹的人"/></a>
|
||||
<a href="https://github.com/HChenX" title="焕晨HChen"><img src="https://avatars.githubusercontent.com/u/123531821?v=4" width="42;" alt="焕晨HChen"/></a>
|
||||
<a href="https://github.com/LebranceBW" title="落叶乌龟"><img src="https://avatars.githubusercontent.com/u/19501514?v=4" width="42;" alt="落叶乌龟"/></a>
|
||||
<a href="https://github.com/LongYinStudio" title="敬培全"><img src="https://avatars.githubusercontent.com/u/42208852?v=4" width="42;" alt="敬培全"/></a>
|
||||
<a href="https://github.com/Fengjing95" title="小枫"><img src="https://avatars.githubusercontent.com/u/51731411?v=4" width="42;" alt="小枫"/></a>
|
||||
<a href="https://github.com/ZIDOUZI" title="子斗子"><img src="https://avatars.githubusercontent.com/u/53157536?v=4" width="42;" alt="子斗子"/></a>
|
||||
<a href="https://github.com/LuckyJie12" title="夜未央"><img src="https://avatars.githubusercontent.com/u/102901105?v=4" width="42;" alt="夜未央"/></a>
|
||||
@ -390,13 +393,13 @@ Quick Reference
|
||||
<a href="https://github.com/swift-fs" title="swift-fs"><img src="https://avatars.githubusercontent.com/u/77133741?v=4" width="42;" alt="swift-fs"/></a>
|
||||
<a href="https://github.com/suyangzuo" title="suyangzuo"><img src="https://avatars.githubusercontent.com/u/50766353?v=4" width="42;" alt="suyangzuo"/></a>
|
||||
<a href="https://github.com/Mowmowj" title="nexo"><img src="https://avatars.githubusercontent.com/u/24759562?v=4" width="42;" alt="nexo"/></a>
|
||||
<a href="https://github.com/ri-fumo" title="ri-fumo"><img src="https://avatars.githubusercontent.com/u/190000479?v=4" width="42;" alt="ri-fumo"/></a>
|
||||
<a href="https://github.com/phygerr" title="phygerr"><img src="https://avatars.githubusercontent.com/u/42068889?v=4" width="42;" alt="phygerr"/></a>
|
||||
<a href="https://github.com/openapphub" title="openapphub"><img src="https://avatars.githubusercontent.com/u/175949671?v=4" width="42;" alt="openapphub"/></a>
|
||||
<a href="https://github.com/onewesong" title="onewesong"><img src="https://avatars.githubusercontent.com/u/17920822?v=4" width="42;" alt="onewesong"/></a>
|
||||
<a href="https://github.com/miclon-dev" title="miclon-dev"><img src="https://avatars.githubusercontent.com/u/111753685?v=4" width="42;" alt="miclon-dev"/></a>
|
||||
<a href="https://github.com/lykjjj" title="lykjjj"><img src="https://avatars.githubusercontent.com/u/58510058?v=4" width="42;" alt="lykjjj"/></a>
|
||||
<a href="https://github.com/lozhu20" title="lozhu"><img src="https://avatars.githubusercontent.com/u/44923922?v=4" width="42;" alt="lozhu"/></a>
|
||||
<a href="https://github.com/liliangrong777" title="liliangrong777"><img src="https://avatars.githubusercontent.com/u/58727146?v=4" width="42;" alt="liliangrong777"/></a>
|
||||
<a href="https://github.com/isecret" title="Mao Wang"><img src="https://avatars.githubusercontent.com/u/15724152?v=4" width="42;" alt="Mao Wang"/></a>
|
||||
<a href="https://github.com/lvelvee" title="Lve Lvee"><img src="https://avatars.githubusercontent.com/u/25785753?v=4" width="42;" alt="Lve Lvee"/></a>
|
||||
<a href="https://github.com/likeadmin-likeshop" title="likeadmin通过管理后台-likeshop全开源商城"><img src="https://avatars.githubusercontent.com/u/77180968?v=4" width="42;" alt="likeadmin通过管理后台-likeshop全开源商城"/></a>
|
||||
@ -425,6 +428,8 @@ Quick Reference
|
||||
<a href="https://github.com/dousha0w0" title="dousha0w0"><img src="https://avatars.githubusercontent.com/u/52566311?v=4" width="42;" alt="dousha0w0"/></a>
|
||||
<a href="https://github.com/JinchuanL" title="ANDY"><img src="https://avatars.githubusercontent.com/u/68026794?v=4" width="42;" alt="ANDY"/></a>
|
||||
<a href="https://github.com/13812700839" title="花殇"><img src="https://avatars.githubusercontent.com/u/58072506?v=4" width="42;" alt="花殇"/></a>
|
||||
<a href="https://github.com/Lmmmmmm-bb" title="_lmmmmmm"><img src="https://avatars.githubusercontent.com/u/54026110?v=4" width="42;" alt="_lmmmmmm"/></a>
|
||||
<a href="https://github.com/y52y" title="Zyj"><img src="https://avatars.githubusercontent.com/u/51304324?v=4" width="42;" alt="Zyj"/></a>
|
||||
<a href="https://github.com/Leaderzhangyi" title="ZinkCas"><img src="https://avatars.githubusercontent.com/u/46915666?v=4" width="42;" alt="ZinkCas"/></a>
|
||||
<a href="https://github.com/zhu0629" title="zhucong"><img src="https://avatars.githubusercontent.com/u/13188450?v=4" width="42;" alt="zhucong"/></a>
|
||||
<a href="https://github.com/yikuaibro" title="yikuaibro"><img src="https://avatars.githubusercontent.com/u/44493045?v=4" width="42;" alt="yikuaibro"/></a>
|
||||
@ -451,8 +456,7 @@ Quick Reference
|
||||
<a href="https://github.com/mo3et" title="Monet Lee"><img src="https://avatars.githubusercontent.com/u/34803812?v=4" width="42;" alt="Monet Lee"/></a>
|
||||
<a href="https://github.com/Moeyuuko" title="Moeyuuko"><img src="https://avatars.githubusercontent.com/u/14266681?v=4" width="42;" alt="Moeyuuko"/></a>
|
||||
<a href="https://github.com/malcolmyu" title="Minghao Yu"><img src="https://avatars.githubusercontent.com/u/3203962?v=4" width="42;" alt="Minghao Yu"/></a>
|
||||
<a href="https://github.com/Mieriki" title="Mieriki"><img src="https://avatars.githubusercontent.com/u/142009318?v=4" width="42;" alt="Mieriki"/></a>
|
||||
<a href="https://github.com/mariuszmichalowski" title="Mariusz Michalowski"><img src="https://avatars.githubusercontent.com/u/92091891?v=4" width="42;" alt="Mariusz Michalowski"/></a><!--GAMFC-END-->
|
||||
<a href="https://github.com/Mieriki" title="Mieriki"><img src="https://avatars.githubusercontent.com/u/142009318?v=4" width="42;" alt="Mieriki"/></a><!--GAMFC-END-->
|
||||
|
||||
[贡献者](https://github.com/jaywcjlove/reference/graphs/contributors)列表,由 [contributors](https://github.com/jaywcjlove/github-action-contributors) 根据提交次数的先后顺序自动生成
|
||||
<!--rehype:style=padding-top:1rem;-->
|
||||
@ -529,7 +533,7 @@ Quick Reference
|
||||
[alomerry.com](https://ref.alomerry.com)<!--rehype:target=_blank-->
|
||||
[osz.icu](https://ref.osz.icu/)<!--rehype:target=_blank-->
|
||||
[ylmty.cc](https://docs.ylmty.cc)<!--rehype:target=_blank-->
|
||||
[g31.top](https://ref.g31.top/)<!--rehype:target=_blank-->
|
||||
[kfele.asia](https://ref.kfele.asia/)<!--rehype:target=_blank-->
|
||||
[9up.dev](https://devref.9up.dev)<!--rehype:target=_blank-->
|
||||
[cizai.io](https://reference.cizai.io)<!--rehype:target=_blank&class=contributing&data-info=👆每天自动同步-->
|
||||
[docs.willxup.top](https://docs.willxup.top)<!--rehype:target=_blank-->
|
||||
@ -555,6 +559,10 @@ Quick Reference
|
||||
[vhcffh.com](https://docs.vhcffh.com)<!--rehype:target=_blank-->
|
||||
[magese.com](https://ref.magese.com)<!--rehype:target=_blank-->
|
||||
[childish.vip](https://reference.childish.vip)<!--rehype:target=_blank-->
|
||||
[hackshen.com](https://reference.hackshen.com)<!--rehype:target=_blank-->
|
||||
[afetera.top](https://note.afetera.top)<!--rehype:target=_blank-->
|
||||
[trtuaazz.com](https://reference.trtuaazz.com)<!--rehype:target=_blank-->
|
||||
[anhaoyang.com](http://dev-doc.anhaoyang.com/)<!--rehype:target=_blank-->
|
||||
<!--rehype:class=home-card home-links-->
|
||||
|
||||
如果你有资源,可以很方便[部署 web 版](https://github.com/jaywcjlove/reference/issues/102#issue-1451649637),这非常简单,只需要克隆 [gh-pages](https://github.com/jaywcjlove/reference/tree/gh-pages) 分支代码到你的静态服务就可以了,还可以使用 [docker](https://hub.docker.com/r/wcjiang/reference) 快捷部署 web 版。
|
||||
@ -565,6 +573,32 @@ Quick Reference
|
||||
|
||||
- [Quick Reference for VSCode](https://marketplace.visualstudio.com/items?itemName=jackiotyu.quick-reference) 由 [jackiotyu](https://github.com/jackiotyu/vscode-quick-reference) 提供
|
||||
|
||||
## 赞助支持
|
||||
<!--rehype:wrap-style=text-align: center;max-width: 650px;margin: 0 auto;&class=home-title-reset-->
|
||||
|
||||
非常感谢那些一直支持我开源工作的朋友们。如果您对我的工作感到满意,可以选择在[这里进行赞助](https://wangchujiang.com/#/sponsor)<!--rehype:target=_blank-->。如果目前经济上不宽裕,也可以通过下载并使用我开发的 [macOS 应用](https://wangchujiang.com/#/app)<!--rehype:target=_blank-->来支持我。以下是我个人开发的 macOS 应用:
|
||||
|
||||
<p style="display: inline-block">
|
||||
<a target="_blank" href="https://wangchujiang.com/daybar/" title="DayBar for macOS"><img align="center" alt="DayBar" height="50" width="50" src="https://github.com/user-attachments/assets/b67d4a2e-92e2-4d8c-8c6f-2a1eb3e2fa93"></a>
|
||||
<a target="_blank" href="https://wangchujiang.com/iconed/" title="Iconed for macOS"><img align="center" alt="Iconed" height="50" width="50" src="https://github.com/user-attachments/assets/8a35dc7b-4faf-4e2a-9311-f66d6844a896"></a>
|
||||
<a target="_blank" href="https://wangchujiang.com/rightmenu-master/" title="RightMenu Master for macOS"><img align="center" alt="RightMenu Master" height="50" width="50" src="https://github.com/user-attachments/assets/39a76541-71bf-4de7-a01c-c62f0557dff5"></a>
|
||||
<a target="_blank" href="https://wangchujiang.com/paste-quick/" title="Paste Quick for macOS"><img align="center" alt="Quick RSS" height="50" width="50" src="https://github.com/user-attachments/assets/bdaad5b7-9810-44ce-8f17-8410864465d2"></a>
|
||||
<a target="_blank" href="https://wangchujiang.com/quick-rss/" title="Quick RSS for macOS/iOS"><img align="center" alt="Quick RSS" height="50" width="50" src="https://github.com/user-attachments/assets/374106b5-a448-4d1d-9ccb-b04b6bc681ed"></a>
|
||||
<a target="_blank" href="https://wangchujiang.com/web-serve/" title="Web Serve for macOS"><img align="center" alt="Web Serve" height="50" width="50" src="https://github.com/user-attachments/assets/e1d9f76f-0f3d-4ba5-8a15-253ee173bb1c"></a>
|
||||
<a target="_blank" href="https://wangchujiang.com/copybook-generator/" title="Copybook Generator for macOS/iOS"><img align="center" alt="Copybook Generator" height="50" width="50" src="https://github.com/jaywcjlove/jaywcjlove/assets/1680273/b90e42ff-158b-4534-82ca-5898fd0e8d73"></a>
|
||||
<a target="_blank" href="https://wangchujiang.com/devtutor/" title="DevTutor for macOS/iOS"><img align="center" alt="DevTutor for SwiftUI" height="50" width="50" src="https://github.com/jaywcjlove/jaywcjlove/assets/1680273/f15c154d-0192-48eb-8e0e-9e245ffd974a"></a>
|
||||
<a target="_blank" href="https://wangchujiang.com/regex-mate/" title="RegexMate for macOS/iOS"><img align="center" alt="RegexMate" height="50" width="50" src="https://github.com/jaywcjlove/jaywcjlove/assets/1680273/aabe5aa9-9a96-4390-8bed-c3e4023d0dea"></a>
|
||||
<a target="_blank" href="https://wangchujiang.com/time-passage/" title="Time Passage for macOS/iOS"><img align="center" alt="Time Passage" height="50" width="50" src="https://github.com/jaywcjlove/time-passage/assets/1680273/6f30e429-e6f3-4dbe-9921-a5effe2a05e9"></a>
|
||||
<a target="_blank" href="https://wangchujiang.com/IconizeFolder/" title="IconizeFolder for macOS"><img align="center" alt="Iconize Folder" height="50" width="50" src="https://github.com/jaywcjlove/jaywcjlove/assets/1680273/fa9d8b9c-1e51-4ded-877c-fa5b21c47220"></a>
|
||||
<a target="_blank" href="https://wangchujiang.com/TextSoundSaver/" title="Textsound Saver for macOS/iOS"><img align="center" alt="Textsound Saver" height="50" width="50" src="https://github.com/jaywcjlove/jaywcjlove/assets/1680273/0595e842-980b-4574-8891-a8ba853a08be"></a>
|
||||
<a target="_blank" href="https://wangchujiang.com/create-custom-symbols/" title="Create Custom Symbols for macOS"><img align="center" alt="Create Custom Symbols" height="50" width="50" src="https://github.com/jaywcjlove/jaywcjlove/assets/1680273/8cd022ce-a3f1-4e89-b7c6-6fbd0d4db77c"></a>
|
||||
<a target="_blank" href="https://wangchujiang.com/DevHub/" title="DevHub for macOS"><img align="center" alt="DevHub" height="50" width="50" src="https://github.com/user-attachments/assets/4a44a4fd-67ce-430b-af0a-72f18feaa47d"></a>
|
||||
<a target="_blank" href="https://wangchujiang.com/ResumeRevise/" title="Resume Revise for macOS"><img align="center" alt="Resume Revise" height="50" width="50" src="https://github.com/jaywcjlove/jaywcjlove/assets/1680273/c9954a20-1905-48de-bdf8-d71837974aa2"></a>
|
||||
<a target="_blank" href="https://wangchujiang.com/palette-genius/" title="Palette Genius for macOS"><img align="center" alt="Palette Genius" height="50" width="50" src="https://github.com/jaywcjlove/jaywcjlove/assets/1680273/27340413-d355-45b2-8f6f-6ac37682d957"></a>
|
||||
<a target="_blank" href="https://wangchujiang.com/symbol-scribe/" title="Symbol Scribe for macOS"><img align="center" alt="Symbol Scribe" height="50" width="50" src="https://github.com/jaywcjlove/jaywcjlove/assets/1680273/c7249f05-fa70-4def-a1e9-571d5f171fc9"></a>
|
||||
</p>
|
||||
<!--rehype:style=padding-top:1rem;max-width: 520px;margin: 0 auto;-->
|
||||
|
||||
<!--rehype:ignore:start-->
|
||||
## 开发
|
||||
|
||||
|
592
docs/c.md
592
docs/c.md
@ -7,7 +7,6 @@ C 备忘清单
|
||||
----
|
||||
|
||||
### hello.c
|
||||
<!--rehype:wrap-class=row-span-2-->
|
||||
|
||||
```c
|
||||
#include <stdio.h>
|
||||
@ -35,30 +34,51 @@ $ ./hello
|
||||
<!--rehype:wrap-class=row-span-2-->
|
||||
|
||||
```c
|
||||
int myNum = 15;
|
||||
int myNum = 15; // 定义并初始化变量 myNum
|
||||
int myNum2; // 声明变量 myNum2
|
||||
myNum2 = 15; // 初始化变量 myNum2
|
||||
|
||||
int myNum2; // 声明变量 myNum2
|
||||
// 变量声明后第一次赋值我们称为初始化
|
||||
// 如果 初始化 和 赋值 在同一行
|
||||
// 那么我们可以直接称为 定义变量 myNum2
|
||||
myNum2 = 15;
|
||||
int myNum3 = 15; // 定义并初始化变量 myNum3
|
||||
myNum3 = 10; // 重新赋值 myNum3
|
||||
```
|
||||
|
||||
int myNum3 = 15; // myNum3 值为 15
|
||||
myNum3 = 10; // 现在 myNum3 值为 10
|
||||
定义不同类型的变量
|
||||
|
||||
float myFloatNum = 5.99; // 浮点数
|
||||
char myLetter = 'D'; // 字符
|
||||
```c
|
||||
// 定义并初始化浮点数变量
|
||||
float myFloatNum = 5.99;
|
||||
// 定义并初始化字符变量
|
||||
char myLetter = 'D';
|
||||
```
|
||||
|
||||
int x = 5;
|
||||
int y = 6;
|
||||
int sum = x + y; // 添加变量相加
|
||||
// 声明多个变量
|
||||
变量相加
|
||||
|
||||
```c
|
||||
int x = 5, y = 6;
|
||||
int sum = x + y; // 变量相加
|
||||
```
|
||||
|
||||
声明并初始化多个变量
|
||||
|
||||
```c
|
||||
int x = 5, y = 6, z = 50;
|
||||
int a, b, c = 10;
|
||||
```
|
||||
|
||||
仅声明变量不初始化
|
||||
|
||||
```c
|
||||
int result;
|
||||
// 未初始化的变量 result 会导致不可预测的结果
|
||||
|
||||
result = result + 10; // 错误:未初始化的变量
|
||||
// 部分编译器会警告未初始化的变量可能导致未定义行为
|
||||
```
|
||||
|
||||
### 常量 Constants
|
||||
<!--rehype:wrap-class=row-span-2-->
|
||||
|
||||
常量在 C 语言中我们一般理解为不能被改变的值,活用常量与符号常量
|
||||
常量是不能被改变的值,使用常量可以使代码更清晰和安全。
|
||||
|
||||
```c
|
||||
const int minutesPerHour = 60;
|
||||
@ -71,15 +91,54 @@ const float PI = 3.14;
|
||||
const int BIRTHYEAR = 1980;
|
||||
```
|
||||
|
||||
#### **命名规范**
|
||||
<!--rehype:style=text-align: left;-->
|
||||
|
||||
常量通常使用全大写字母,单词间用下划线分隔(如 BIRTHYEAR、MAX_LENGTH)。
|
||||
|
||||
#### **数组大小**
|
||||
<!--rehype:style=text-align: left;-->
|
||||
|
||||
使用 `const` 定义数组大小,编译器将其作为编译时常量处理。
|
||||
|
||||
#### **`#define` 与 `const`**
|
||||
<!--rehype:style=text-align: left;-->
|
||||
|
||||
- `#define`:宏常量在预处理阶段替换,不进行类型检查
|
||||
- `const`:类型安全的常量,编译器可检查类型,推荐使用
|
||||
|
||||
#### **注意事项**
|
||||
|
||||
- `const` 常量在定义时必须初始化,否则会导致编译错误。
|
||||
- `const` 常量的值不能被修改,任何尝试修改 `const` 常量的操作都会导致编译错误。
|
||||
- 使用 `const` 常量可以提高代码的可读性和可维护性,避免魔法数字的使用。
|
||||
|
||||
### 注释
|
||||
|
||||
```c
|
||||
// 这是一个注释
|
||||
printf("Hello World!"); // 这是一个注释
|
||||
/* 多行注释,上面的代码将打印出 Hello World!
|
||||
到屏幕上,真是太棒了 */
|
||||
// 这是一个单行注释
|
||||
printf("Hello World!"); // 行内注释
|
||||
|
||||
/*
|
||||
多行注释:
|
||||
用于注释跨多行的内容
|
||||
注意:多行注释不能嵌套,否则会导致编译错误
|
||||
*/
|
||||
```
|
||||
|
||||
**注意**:
|
||||
|
||||
- 单行注释 `//` 可以嵌套,如 `/////`。
|
||||
- 行内注释应避免过长,以免影响代码可读性。
|
||||
- 多行注释不能嵌套,否则会导致编译错误。
|
||||
|
||||
```c
|
||||
/* 这是一个多行注释的开始
|
||||
/* 嵌套的多行注释,C语言不支持 */
|
||||
*/
|
||||
```
|
||||
<!--rehype:style=background:#ff000030;-->
|
||||
|
||||
### 打印文本
|
||||
|
||||
```c
|
||||
@ -93,20 +152,34 @@ printf("Value = %f", f);
|
||||
short a = 0b1010110; // 2 进制数字
|
||||
int b = 02713; // 8 进制数字
|
||||
long c = 0X1DAB83; // 16 进制数字
|
||||
```
|
||||
|
||||
// 以 8 进制形似输出
|
||||
变量a和c分别为 `short` 和 `long` 型,所以输出必须加上对应的修饰符 `h` 和 `l`
|
||||
|
||||
#### 以 8 进制形式输出
|
||||
|
||||
```c
|
||||
printf("a=%ho, b=%o, c=%lo\n", a, b, c);
|
||||
// 输出 => a=126, b=2713, c=7325603
|
||||
```
|
||||
|
||||
// 以 10 进制形式输出
|
||||
#### 以 10 进制形式输出
|
||||
|
||||
```c
|
||||
printf("a=%hd, b=%d, c=%ld\n", a, b, c);
|
||||
// 输出 => a=86, b=1483, c=1944451
|
||||
```
|
||||
|
||||
// 以 16 进制形式输出(字母小写)
|
||||
#### 以 16 进制形式输出(字母小写)
|
||||
|
||||
```c
|
||||
printf("a=%hx, b=%x, c=%lx\n", a, b, c);
|
||||
// 输出 => a=56, b=5cb, c=1dab83
|
||||
```
|
||||
|
||||
// 以 16 进制形式输出(字母大写)
|
||||
#### 以 16 进制形式输出(字母大写)
|
||||
|
||||
```c
|
||||
printf("a=%hX, b=%X, c=%lX\n", a, b, c);
|
||||
// 输出 => a=56, b=5CB, c=1DAB83
|
||||
```
|
||||
@ -119,6 +192,7 @@ int b1=56720, b2=9999, b3=20098;
|
||||
int c1=233, c2=205, c3=1;
|
||||
int d1=34, d2=0, d3=23;
|
||||
|
||||
// %-9d: 十进制输出,最少宽度为9,左对齐
|
||||
printf("%-9d %-9d %-9d\n", a1, a2, a3);
|
||||
printf("%-9d %-9d %-9d\n", b1, b2, b3);
|
||||
printf("%-9d %-9d %-9d\n", c1, c2, c3);
|
||||
@ -134,45 +208,75 @@ printf("%-9d %-9d %-9d\n", d1, d2, d3);
|
||||
34 0 23
|
||||
```
|
||||
|
||||
`%-9d` 中,`d` 表示以 `10` 进制输出,`9` 表示最少占 `9` 个字符的宽度,宽度不足以空格补齐,`-` 表示左对齐
|
||||
解释:`%-9d`:`d` 表示十进制输出,`9` 表示最少占 9 个字符宽度,`-` 表示左对齐,不使用 `-` 则默认右对齐。
|
||||
|
||||
### 字符串 Strings
|
||||
对于整型数据:
|
||||
|
||||
```c
|
||||
int a = 12345;
|
||||
printf("%md", a);
|
||||
```
|
||||
|
||||
- 若 `m <=` 实际数据宽度,则按实际情况输出。
|
||||
- 若 `m >` 实际数据宽度,则在左边用空格补齐。
|
||||
- `printf("%0md", a);` 则在左边用 `0` 补齐。
|
||||
|
||||
对于浮点型数据:
|
||||
|
||||
```c
|
||||
float a = 1.2345;
|
||||
printf("%m.nf", a);
|
||||
// m -- 整个数据宽度,n -- 小数位数
|
||||
```
|
||||
|
||||
- 实际小数位数 `> n`,截去多余小数,注意四舍五入。
|
||||
- 实际小数位数 `< n`,在小数最后补 `0`。
|
||||
- 若 `m` 省略则写作 `%.n`,整数部分按实际输出,小数部分按以上规则。
|
||||
- 若 `m < n+1`,自动突破宽度限制,按实际数据输出。
|
||||
- 若 `m > n+1`,左边补空格。
|
||||
|
||||
### 字符串 (Strings)
|
||||
|
||||
在 C 语言中,字符串是以 `\0` 结尾的字符数组,而不是一种单独的数据类型。可以通过字符数组来表示字符串。
|
||||
|
||||
#### 定义并打印字符串
|
||||
|
||||
```c
|
||||
char greetings[] = "Hello World!";
|
||||
printf("%s", greetings);
|
||||
```
|
||||
|
||||
访问字符串
|
||||
#### 访问字符串中的字符
|
||||
|
||||
```c
|
||||
char greetings[] = "Hello World!";
|
||||
printf("%c", greetings[0]);
|
||||
```
|
||||
|
||||
修改字符串
|
||||
访问字符串 `greetings` 的第一个字符 `H`
|
||||
|
||||
#### 修改字符串中的字符
|
||||
|
||||
```c
|
||||
char greetings[] = "Hello World!";
|
||||
greetings[0] = 'J';
|
||||
greetings[0] = 'J'; // 修改第一个字符为 'J'
|
||||
|
||||
printf("%s", greetings);
|
||||
// 输出 "Jello World!"
|
||||
```
|
||||
|
||||
另一种创建字符串的方法
|
||||
#### 另一种创建字符串的方法
|
||||
|
||||
```c
|
||||
char greetings[] = {'H','e','l','l','\0'};
|
||||
|
||||
printf("%s", greetings);
|
||||
// 输出 "Hell!"
|
||||
// 输出 "Hell"
|
||||
```
|
||||
|
||||
`C` **没有** String 类型,使用 `char` 类型并创建一个字符 `array`
|
||||
**注意**:C 语言中没有 `String` 类型,字符串是由字符数组 `char[]` 表示的,且必须以 `\0` 结尾以标识字符串的结束。
|
||||
|
||||
### 条件判断
|
||||
<!--rehype:wrap-class=row-span-2-->
|
||||
|
||||
```c
|
||||
int time = 20;
|
||||
@ -182,6 +286,7 @@ if (time < 18) {
|
||||
printf("晚上好!");
|
||||
}
|
||||
// 输出 -> "晚上好!"
|
||||
|
||||
int time = 22;
|
||||
if (time < 10) {
|
||||
printf("早上好!");
|
||||
@ -191,14 +296,52 @@ if (time < 10) {
|
||||
printf("晚上好!");
|
||||
}
|
||||
// 输出 -> "晚上好!"
|
||||
|
||||
int time = 10;
|
||||
if (time > 8) {
|
||||
//再嵌套一个if
|
||||
if (time < 12) {
|
||||
printf("中午好!")
|
||||
}
|
||||
}
|
||||
// 输出 -> "中午好!"
|
||||
```
|
||||
|
||||
#### 说明
|
||||
|
||||
- `if` 语句用于根据条件执行代码块。
|
||||
- `else` 语句在 `if` 条件不满足时执行。
|
||||
- `else if` 语句用于检查多个条件。
|
||||
- 可以嵌套 `if` 语句以检查多个条件。
|
||||
|
||||
### 三元运算符
|
||||
<!--rehype:wrap-class=col-span-2-->
|
||||
|
||||
三元运算符(`? :`)是一种简洁的条件判断方式,用于根据条件选择表达式的值。由三个部分组成:
|
||||
|
||||
- 条件表达式
|
||||
- 条件为真时的结果
|
||||
- 条件为假时的结果
|
||||
|
||||
基本语法:`(条件) ? 表达式1 : 表达式2;`
|
||||
如果 `条件` 为真,则返回 `表达式1`,否则返回 `表达式2`。
|
||||
|
||||
#### 示例
|
||||
|
||||
```c
|
||||
int time = 20;
|
||||
(time < 18) ? printf("再会!") : printf("晚上好!");
|
||||
(time < 18) ? printf("再会!")
|
||||
: printf("晚上好!");
|
||||
// 输出 -> "晚上好!"
|
||||
```
|
||||
|
||||
嵌套使用示例(不建议过多嵌套):
|
||||
|
||||
```c
|
||||
int time = 22;
|
||||
printf((time < 10) ? "早上好!"
|
||||
: (time < 20) ? "再会!"
|
||||
: "晚上好!");
|
||||
// 输出 -> "晚上好!"
|
||||
```
|
||||
|
||||
### Switch
|
||||
@ -209,10 +352,36 @@ int day = 4;
|
||||
switch (day) {
|
||||
case 3: printf("周三"); break;
|
||||
case 4: printf("周四"); break;
|
||||
default:
|
||||
printf("期待周末");
|
||||
default: printf("期待周末");
|
||||
}
|
||||
// 输出 -> "周四" (day 4)
|
||||
// 输出 -> "周四"
|
||||
```
|
||||
|
||||
#### 说明
|
||||
|
||||
- `switch` 语句根据表达式的值跳转到匹配的 `case` 标签。
|
||||
- 匹配到 `case` 后执行相应代码,并通过 `break` 跳出 `switch`。
|
||||
- 如果没有匹配到任何 `case`,则执行 `default` 语句(如果存在)。
|
||||
|
||||
#### 注意事项
|
||||
|
||||
- `switch` 表达式可以是整型、字符型和枚举型。
|
||||
- `case` 后的常量表达式值不能相同。
|
||||
- `case` 后可以有多个语句,不需要 `{ }` 括起来。
|
||||
- `case` 和 `default` 语句的顺序不影响程序执行结果。
|
||||
- `break` 语句用于结束 `switch`,如果没有 `break`,程序会继续执行下一个 `case`。
|
||||
|
||||
#### 示例
|
||||
|
||||
```c
|
||||
int day = 3;
|
||||
|
||||
switch (day) {
|
||||
case 3: printf("周三");
|
||||
case 4: printf("周四"); break;
|
||||
default: printf("期待周末");
|
||||
}
|
||||
// 输出 -> "周三周四"
|
||||
```
|
||||
|
||||
### While 循环
|
||||
@ -224,9 +393,53 @@ while (i < 5) {
|
||||
printf("%d\n", i);
|
||||
i++;
|
||||
}
|
||||
// 输出 -> 0 1 2 3 4
|
||||
```
|
||||
|
||||
**注意**:不要忘记增加条件中使用的变量,否则循环永远不会结束,成为“死循环”!
|
||||
#### 解释
|
||||
|
||||
- `while` 循环首先检查条件 `i < 5` 是否为真。
|
||||
- 如果为真,程序进入循环体,执行打印操作并增加 `i` 的值。
|
||||
- 循环会继续进行,直到 `i` 达到 5,此时条件 `i < 5` 不再为真,循环结束。
|
||||
|
||||
#### 打印 1 到 10 的数字
|
||||
|
||||
```c
|
||||
int i = 1;
|
||||
|
||||
while (i <= 10) {
|
||||
printf("%d\n", i);
|
||||
i++;
|
||||
}
|
||||
// 输出 -> 1 2 3 4 5 6 7 8 9 10
|
||||
```
|
||||
|
||||
#### 打印偶数
|
||||
|
||||
```c
|
||||
int i = 0;
|
||||
|
||||
while (i <= 10) {
|
||||
if (i % 2 == 0) {
|
||||
printf("%d\n", i);
|
||||
}
|
||||
i++;
|
||||
}
|
||||
// 输出 -> 0 2 4 6 8 10
|
||||
```
|
||||
|
||||
#### 无限循环(需手动终止)
|
||||
|
||||
```c
|
||||
int i = 0;
|
||||
|
||||
while (1) {
|
||||
printf("无限循环\n");
|
||||
i++;
|
||||
if (i == 5) break; // 添加条件以退出循环
|
||||
}
|
||||
// 输出 -> 无限循环 (打印 5 次)
|
||||
```
|
||||
|
||||
### Do/While 循环
|
||||
|
||||
@ -237,20 +450,83 @@ do {
|
||||
printf("%d\n", i);
|
||||
i++;
|
||||
} while (i < 5);
|
||||
// 输出 -> 0 1 2 3 4
|
||||
```
|
||||
|
||||
#### 解释
|
||||
|
||||
- `do/while` 循环至少执行一次循环体,因为条件检查在循环体执行之后进行。
|
||||
- 首先执行 `do` 中的代码,然后检查条件 `i < 5` 是否为真。
|
||||
- 如果为真,继续执行循环;如果为假,则退出循环。
|
||||
|
||||
#### 打印从 5 开始的数字,直到条件不满足
|
||||
|
||||
```c
|
||||
int i = 5;
|
||||
|
||||
do {
|
||||
printf("%d\n", i); // 输出 5
|
||||
i++;
|
||||
} while (i < 5);
|
||||
// 输出 -> 5
|
||||
```
|
||||
|
||||
#### 计算 1 到 10 的和
|
||||
|
||||
```c
|
||||
int i = 1;
|
||||
int sum = 0;
|
||||
|
||||
do {
|
||||
sum += i;
|
||||
i++;
|
||||
} while (i <= 10);
|
||||
|
||||
printf("Sum: %d\n", sum);
|
||||
// 输出 -> Sum: 55
|
||||
```
|
||||
|
||||
### For 循环
|
||||
|
||||
```c
|
||||
for (表达式1; 表达式2; 表达式3) {
|
||||
循环体语句;
|
||||
}
|
||||
```
|
||||
|
||||
- 表达式1:设置初始条件,只执行一次。
|
||||
- 表达式2:循环条件表达式,每次循环前检查。
|
||||
- 表达式3:循环体执行后的调整操作。
|
||||
|
||||
示例:
|
||||
|
||||
```c
|
||||
int i;
|
||||
|
||||
for (i = 0; i < 5; i++) {
|
||||
printf("%d\n", i);
|
||||
}
|
||||
// 输出 -> 0 1 2 3 4
|
||||
```
|
||||
|
||||
### 跳出循环 Break/Continue
|
||||
<!--rehype:wrap-class=row-span-2-->
|
||||
#### 注意事项
|
||||
|
||||
- `for` 语句的三个表达式不是必须的。
|
||||
- 当条件表达式(表达式2)为假时,`for` 循环结束。
|
||||
- 可以在循环体内使用 `break`、`continue`、`goto` 语句。
|
||||
- 如果表达式2为空,则表示无限循环,如 `for(;;)` 相当于 `while(1)`。
|
||||
|
||||
#### 变体
|
||||
|
||||
- `for (i = m; i < n; i++)` 从 `i = m` 开始到 `i = n-1`,循环 `n - m` 次。
|
||||
- `for (i = m; i <= n; i++)` 从 `i = m` 到 `i = n`,循环 `n - m + 1` 次。
|
||||
|
||||
### 跳出循环 (Break/Continue/Goto)
|
||||
<!--rehype:wrap-class=row-span-3-->
|
||||
|
||||
#### `break` 语句
|
||||
|
||||
跳出当前循环或 `switch` 语句,执行后续代码。
|
||||
|
||||
```c
|
||||
int i;
|
||||
@ -261,9 +537,12 @@ for (i = 0; i < 10; i++) {
|
||||
}
|
||||
printf("%d\n", i);
|
||||
}
|
||||
// 输出 -> 0 1 2 3
|
||||
```
|
||||
|
||||
在 `i` 等于 `4` 时跳出循环
|
||||
#### `continue` 语句
|
||||
|
||||
跳过当前循环的剩余语句,直接进入下一次循环。
|
||||
|
||||
```c
|
||||
int i;
|
||||
@ -274,72 +553,40 @@ for (i = 0; i < 10; i++) {
|
||||
}
|
||||
printf("%d\n", i);
|
||||
}
|
||||
// 输出 -> 0 1 2 3 5 6 7 8 9
|
||||
```
|
||||
|
||||
示例跳过 `4` 的值
|
||||
#### `goto` 语句
|
||||
|
||||
### While Break 示例
|
||||
无条件跳转到指定标签位置。
|
||||
|
||||
```c
|
||||
int i = 0;
|
||||
|
||||
while (i < 10) {
|
||||
if (i == 4) {
|
||||
break;
|
||||
goto skip; // 跳转到 skip 标签
|
||||
}
|
||||
printf("%d\n", i);
|
||||
i++;
|
||||
}
|
||||
|
||||
skip:
|
||||
printf("Exited the loop at i = %d\n", i);
|
||||
// 输出 -> 0 1 2 3 Exited the loop at i = 4
|
||||
```
|
||||
|
||||
### While continue 示例
|
||||
#### 注意事项
|
||||
|
||||
- 标签必须在当前函数内定义,命名规则与变量相同。
|
||||
- `goto` 语句应慎用,避免代码逻辑混乱,通常使用循环或条件语句代替。
|
||||
|
||||
#### 设置数组大小
|
||||
|
||||
```c
|
||||
int i = 0;
|
||||
|
||||
while (i < 10) {
|
||||
i++;
|
||||
if (i == 4) {
|
||||
continue;
|
||||
}
|
||||
printf("%d\n", i);
|
||||
}
|
||||
```
|
||||
|
||||
### 数组 Arrays
|
||||
<!--rehype:wrap-class=row-span-2-->
|
||||
|
||||
```c
|
||||
int myNumbers[] = {25, 50, 75, 100};
|
||||
printf("%d", myNumbers[0]);
|
||||
// 输出 25
|
||||
```
|
||||
|
||||
更改数组元素
|
||||
|
||||
```c
|
||||
int myNumbers[] = {25, 50, 75, 100};
|
||||
myNumbers[0] = 33;
|
||||
|
||||
printf("%d", myNumbers[0]);
|
||||
```
|
||||
|
||||
循环遍历数组
|
||||
|
||||
```c
|
||||
int myNumbers[] = {25, 50, 75, 100};
|
||||
int i;
|
||||
|
||||
for (i = 0; i < 4; i++) {
|
||||
printf("%d\n", myNumbers[i]);
|
||||
}
|
||||
```
|
||||
|
||||
设置数组大小
|
||||
|
||||
```c
|
||||
// 声明一个由四个整数组成的数组:
|
||||
// 声明一个由四个整数组成的数组
|
||||
int myNumbers[4];
|
||||
|
||||
// 添加元素
|
||||
myNumbers[0] = 25;
|
||||
myNumbers[1] = 50;
|
||||
@ -387,6 +634,35 @@ switch(day){
|
||||
}
|
||||
```
|
||||
|
||||
### 数组 Arrays
|
||||
|
||||
#### 定义和访问数组元素
|
||||
|
||||
```c
|
||||
int myNumbers[] = {25, 50, 75, 100};
|
||||
printf("%d", myNumbers[0]); // 输出 25
|
||||
```
|
||||
|
||||
#### 更改数组元素
|
||||
|
||||
```c
|
||||
int myNumbers[] = {25, 50, 75, 100};
|
||||
myNumbers[0] = 33;
|
||||
printf("%d", myNumbers[0]); // 输出 33
|
||||
```
|
||||
|
||||
#### 循环遍历数组
|
||||
|
||||
```c
|
||||
int myNumbers[] = {25, 50, 75, 100};
|
||||
int i;
|
||||
|
||||
for (i = 0; i < 4; i++) {
|
||||
printf("%d\n", myNumbers[i]);
|
||||
}
|
||||
// 输出 -> 25 50 75 100
|
||||
```
|
||||
|
||||
### 用户输入
|
||||
|
||||
```c
|
||||
@ -418,39 +694,27 @@ printf("Hello %s.", firstName);
|
||||
|
||||
### 内存地址
|
||||
|
||||
创建变量时,会为该变量分配一个内存地址
|
||||
创建变量时,会为该变量分配一个内存地址。
|
||||
|
||||
```c
|
||||
int myAge = 43;
|
||||
|
||||
printf("%p", &myAge);
|
||||
// 输出:0x7ffe5367e044
|
||||
// 输出 myAge 的内存地址,例如:0x7ffe5367e044
|
||||
```
|
||||
|
||||
要访问它,请使用引用运算符 (`&`)
|
||||
要访问变量的内存地址,请使用引用运算符 (`&`)。
|
||||
|
||||
### 创建指针
|
||||
|
||||
```c
|
||||
int myAge = 43; // 一个 int 变量
|
||||
printf("%d", myAge); // 输出 myAge(43)的值
|
||||
|
||||
// 输出 myAge 的内存地址(0x7ffe5367e044)
|
||||
printf("%p", &myAge);
|
||||
```
|
||||
|
||||
### 指针变量
|
||||
<!--rehype:wrap-class=col-span-2-->
|
||||
|
||||
```c
|
||||
int myAge = 43; // 一个 int 变量
|
||||
int* ptr = &myAge; // 名为 ptr 的指针变量,用于存储 myAge 的地址
|
||||
int myAge = 43; // 一个 int 变量
|
||||
int *ptr = &myAge; // 创建指向 myAge 的指针
|
||||
|
||||
printf("%d\n", myAge); // 输出 myAge (43) 的值
|
||||
|
||||
printf("%p\n", &myAge); // 输出 myAge 的内存地址(0x7ffe5367e044)
|
||||
|
||||
printf("%p\n", ptr); // 用指针(0x7ffe5367e044)输出myAge的内存地址
|
||||
printf("%d\n", myAge); // 输出 myAge 的值 -> 43
|
||||
printf("%p\n", &myAge); // 输出 myAge 的内存地址,例如:0x7ffe5367e044
|
||||
printf("%p\n", ptr); // 输出指针 ptr 的值(即 myAge 的内存地址)
|
||||
printf("%d\n", *ptr); // 通过指针访问 myAge 的值 -> 43
|
||||
```
|
||||
|
||||
### 取消引用
|
||||
@ -466,6 +730,18 @@ printf("%p\n", ptr);
|
||||
printf("%d\n", *ptr);
|
||||
```
|
||||
|
||||
### 指针变量
|
||||
<!--rehype:wrap-class=col-span-2-->
|
||||
|
||||
```c
|
||||
int myAge = 43; // 一个 int 变量
|
||||
int* ptr = &myAge; // 名为 ptr 的指针变量,用于存储 myAge 的地址
|
||||
|
||||
printf("%d\n", myAge); // 输出 myAge (43) 的值
|
||||
printf("%p\n", &myAge); // 输出 myAge 的内存地址(0x7ffe5367e044)
|
||||
printf("%p\n", ptr); // 用指针(0x7ffe5367e044)输出myAge的内存地址
|
||||
```
|
||||
|
||||
运算符
|
||||
---
|
||||
|
||||
@ -805,6 +1081,100 @@ int main(void) {
|
||||
}
|
||||
```
|
||||
|
||||
### Warning 和 Error
|
||||
<!--rehype:wrap-class=row-span-2-->
|
||||
|
||||
在 C 语言中,警告(Warning)和错误(Error)是编译器用于标识代码潜在问题或阻止代码编译的机制。
|
||||
|
||||
#### 警告
|
||||
|
||||
警告提示代码中可能存在的问题,但不会阻止代码编译。处理警告可以提升代码质量和可移植性。
|
||||
|
||||
#### **常见警告示例**
|
||||
|
||||
未使用的变量
|
||||
|
||||
```c
|
||||
int x; printf("%d", x);
|
||||
```
|
||||
|
||||
类型隐式转换(可能导致数据丢失)
|
||||
|
||||
```c
|
||||
int x = 3.14; // 浮点数被隐式转换
|
||||
int a = 2147483647 + 1; // 可能溢出
|
||||
```
|
||||
|
||||
函数声明与定义不匹配
|
||||
|
||||
#### 错误
|
||||
|
||||
错误会阻止代码编译,必须修复才能继续编译。
|
||||
|
||||
**常见错误示例**:
|
||||
|
||||
语法错误(如缺少分号)
|
||||
|
||||
```c
|
||||
int x = 1
|
||||
```
|
||||
|
||||
函数定义冲突
|
||||
|
||||
```c
|
||||
void func(int);
|
||||
void func(double);
|
||||
```
|
||||
|
||||
函数或变量未定义
|
||||
|
||||
```c
|
||||
y = 10; printf("%d", y);
|
||||
```
|
||||
|
||||
头文件缺失或冲突
|
||||
|
||||
```c
|
||||
#include <unknown.h>
|
||||
```
|
||||
|
||||
### 使用编译器指令控制警告和错误
|
||||
<!--rehype:wrap-class=col-span-2-->
|
||||
|
||||
#### 抑制警告
|
||||
|
||||
可以使用编译器选项来关闭特定的警告,例如在 GCC 中:
|
||||
|
||||
```sh
|
||||
gcc -w file.c # 禁用所有警告
|
||||
gcc -Wall file.c # 启用所有常见警告
|
||||
gcc -Werror file.c # 将警告视为错误
|
||||
```
|
||||
|
||||
#### 使用 `#pragma` 控制警告
|
||||
|
||||
在某些编译器中,可以使用 `#pragma` 指令启用或禁用警告:
|
||||
|
||||
```c
|
||||
#include <stdio.h>
|
||||
#pragma warning(disable : 4996) // 禁用警告(适用于 MSVC 编译器)
|
||||
|
||||
int main() {
|
||||
printf("Hello, world!");
|
||||
return 0;
|
||||
}
|
||||
```
|
||||
|
||||
#### 总结
|
||||
|
||||
| 区别点 | Warning(警告) | Error(错误) |
|
||||
|------------------|----------------------------------------|----------------------------------------|
|
||||
| 严重程度 | 程序可继续编译,但可能存在隐患 | 编译无法完成,必须修复 |
|
||||
| 编译结果 | 生成可执行文件 | 无法生成可执行文件 |
|
||||
| 触发原因 | 潜在问题,例如隐式转换或未使用的变量 | 语法或语义错误,例如语法错误或未定义变量 |
|
||||
| 修复必要性 | 可选择修复,但建议修复以避免潜在问题 | 必须修复才能继续编译 |
|
||||
| 编译器选项调整 | 可以忽略或转换为错误(如 `-Werror`) | 无法调整,必须修复 |
|
||||
|
||||
函数
|
||||
----
|
||||
|
||||
|
134
docs/java.md
134
docs/java.md
@ -242,10 +242,12 @@ sb.append("!");
|
||||
### 比较
|
||||
|
||||
```java
|
||||
String s1 = new String("QuickRef");
|
||||
String s1 = "QuickRef";
|
||||
String s2 = new String("QuickRef");
|
||||
s1 == s2 // false
|
||||
s1.equals(s2) // true
|
||||
s1 == s2 // false
|
||||
s1.equals(s2) // true
|
||||
// intern 方法获得字符串常量池中的惟一引用
|
||||
s1 == s2.intern() // true
|
||||
"AB".equalsIgnoreCase("ab") // true
|
||||
```
|
||||
|
||||
@ -310,7 +312,7 @@ int[] a3 = new int[]{1, 2, 3};
|
||||
int[] a4 = new int[3];
|
||||
a4[0] = 1;
|
||||
a4[2] = 2;
|
||||
a4[3] = 3;
|
||||
a4[3] = 3; // 会出现索引越界异常
|
||||
```
|
||||
|
||||
### 修改 Modify
|
||||
@ -1344,7 +1346,7 @@ Consumer<String> test = System.out::println;
|
||||
```java
|
||||
Comparator<Integer> comparator = Math::max;
|
||||
|
||||
int result = comparator.compare(1, 2);
|
||||
int result = comparator.compare(1, 2);
|
||||
// 返回 2
|
||||
```
|
||||
|
||||
@ -1353,7 +1355,7 @@ int result = comparator.compare(1, 2);
|
||||
```java
|
||||
String str = "HELLO";
|
||||
|
||||
String lowerCase = str::toLowerCase;
|
||||
String lowerCase = str::toLowerCase;
|
||||
// 返回 "hello"
|
||||
```
|
||||
|
||||
@ -1362,7 +1364,7 @@ String lowerCase = str::toLowerCase;
|
||||
```java
|
||||
Supplier<String> supplier = String::new;
|
||||
|
||||
String str = supplier.get();
|
||||
String str = supplier.get();
|
||||
// 返回一个空字符串
|
||||
```
|
||||
|
||||
@ -1372,7 +1374,7 @@ String str = supplier.get();
|
||||
Function<Integer, String[]> function = String[]::new;
|
||||
|
||||
|
||||
String[] array = function.apply(5);
|
||||
String[] array = function.apply(5);
|
||||
// 返回 5 个空字符串的数组
|
||||
```
|
||||
<!--rehype:className=wrap-text-->
|
||||
@ -1382,7 +1384,7 @@ String[] array = function.apply(5);
|
||||
```java
|
||||
String someStr = "HELLO";
|
||||
|
||||
String lowerCase = someStr::toLowerCase;
|
||||
String lowerCase = someStr::toLowerCase;
|
||||
// 返回 "hello"
|
||||
```
|
||||
|
||||
@ -1391,7 +1393,7 @@ String lowerCase = someStr::toLowerCase;
|
||||
```java
|
||||
SomeClass someObject = new SomeClass();
|
||||
|
||||
int result = someObject::staticMethod;
|
||||
int result = someObject::staticMethod;
|
||||
// 调用静态方法
|
||||
```
|
||||
|
||||
@ -1558,6 +1560,118 @@ int frequency = Collections
|
||||
.frequency(list, 2); // frequency = 2
|
||||
```
|
||||
|
||||
操纵数据库
|
||||
----
|
||||
|
||||
### JDBC
|
||||
|
||||
```java
|
||||
String url = "jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=UTC";
|
||||
String user = "root";
|
||||
String password = "123456";
|
||||
String sql = "SELECT 1 as a, '2' as b";
|
||||
String preparedSql = "SELECT * FROM t_user WHERE id = ?";
|
||||
|
||||
Connection conn = null;
|
||||
Statement sm = null;
|
||||
ResultSet rs = null;
|
||||
try {
|
||||
// 1.注册驱动
|
||||
Class.forName("com.mysql.cj.jdbc.Driver");
|
||||
} catch (ClassNotFoundException e) {
|
||||
// 驱动找不到
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
||||
// 2.建立连接
|
||||
try (Connection connection = DriverManager.getConnection(url, user, password)) {
|
||||
|
||||
conn = connection;
|
||||
|
||||
// 3.创建Statement对象
|
||||
try (Statement statement = connection.createStatement()) {
|
||||
|
||||
sm = statement;
|
||||
|
||||
// 4.执行SQL语句
|
||||
try (ResultSet resultSet = statement.executeQuery(sql)) {
|
||||
|
||||
rs = resultSet;
|
||||
|
||||
// 5.处理结果集
|
||||
while (resultSet.next()) {
|
||||
// 按照列名取值
|
||||
System.out.println(resultSet.getLong("a"));
|
||||
// 按照索引取值
|
||||
System.out.println(resultSet.getString(2));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 3.创建PreparedStatement对象
|
||||
try (PreparedStatement preparedStatement = connection.prepareStatement(preparedSql)) {
|
||||
|
||||
sm = preparedStatement;
|
||||
|
||||
preparedStatement.setLong(1, 1_000L);
|
||||
// 4.执行SQL语句
|
||||
try (ResultSet resultSet = preparedStatement.executeQuery()) {
|
||||
|
||||
rs = resultSet;
|
||||
|
||||
// 5.处理结果集
|
||||
while (resultSet.next()) {
|
||||
System.out.println(resultSet.getLong("id"));
|
||||
System.out.println(resultSet.getString(2));
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (SQLException e) {
|
||||
// 数据库异常
|
||||
throw new RuntimeException(e);
|
||||
} finally {
|
||||
// 6.关闭资源
|
||||
// 上面的try块里已经自动关闭,否则(JDK 7以前)按照以下顺序关闭
|
||||
// 先打开的后关闭,后打开的先关闭
|
||||
if (null != rs) {
|
||||
try {
|
||||
rs.close();
|
||||
} catch (SQLException ignored) {
|
||||
}
|
||||
}
|
||||
|
||||
if (null != sm) {
|
||||
try {
|
||||
sm.close();
|
||||
} catch (SQLException ignored) {
|
||||
}
|
||||
}
|
||||
|
||||
if (null != conn) {
|
||||
try {
|
||||
conn.close();
|
||||
} catch (SQLException ignored) {
|
||||
}
|
||||
}
|
||||
|
||||
// 也可以直接工具类, 注意顺序
|
||||
IOUtils.close(rs);
|
||||
IOUtils.close(sm);
|
||||
IOUtils.close(conn);
|
||||
}
|
||||
```
|
||||
|
||||
### JDBC注册驱动
|
||||
|
||||
```java
|
||||
Class.forName("com.mysql.cj.jdbc.Driver");
|
||||
|
||||
DriverManager.registerDriver(new org.postgresql.Driver());
|
||||
|
||||
// 支持多个同时注册
|
||||
System.setProperty("jdbc.drivers", "com.mysql.cj.jdbc.Driver:org.postgresql.Driver");
|
||||
```
|
||||
|
||||
另见
|
||||
---
|
||||
|
||||
|
@ -348,6 +348,7 @@ Linux 命令速查表
|
||||
**`for file in $(ls); do sed -i 's/nmg/sz/g' "$file"; done`** | 当前目录修改字符串
|
||||
**`ssh -NfR remote_port:localhost:local_port user@remote_server`** | ssh代理
|
||||
**`find . -wholename "*.sh" -exec dos2unix {} \;`** | 修复脚本格式错误
|
||||
**`rsync -avz /source/ user@remote:/destination/`** | 同步文件和目录到远程服务器,支持压缩和增量传输
|
||||
<!--rehype:className=left-align shortcuts-->
|
||||
|
||||
另见
|
||||
|
316
docs/ports.md
Normal file
316
docs/ports.md
Normal file
@ -0,0 +1,316 @@
|
||||
常用端口 备忘清单
|
||||
===
|
||||
|
||||
这是一份常见端口的对照清单。
|
||||
|
||||
端口对照清单
|
||||
----
|
||||
|
||||
### 最常用端口
|
||||
<!--rehype:wrap-class=col-span-4-->
|
||||
|
||||
| 端口号 | 协议 | 使用程序 | 备注/用途 |
|
||||
| ------ | ---- | -------------- | ------------------------------------------------------------ |
|
||||
| `1` | TCP | tcpmux | TCP端口服务多路复用 |
|
||||
| `5` | TCP | rje | 远程作业入口 |
|
||||
| `7` | TCP | echo | Echo服务 |
|
||||
| `9` | TCP | discard | 用于连接测试的空服务 |
|
||||
| `11` | TCP | systat | 用于列举连接了的端口的系统状态 |
|
||||
| `13` | TCP | daytime | 给请求主机发送日期和时间 |
|
||||
| `17` | TCP | qotd | 给连接了的主机发送每日格言 |
|
||||
| `18` | TCP | msp | 消息发送协议 |
|
||||
| `19` | TCP | chargen | 字符生成服务;发送无止境的字符流 |
|
||||
| `20` | TCP | ftp-data | FTP数据端口 |
|
||||
| `21` | TCP | ftp | 文件传输协议(FTP)端口;有时被文件服务协议(FSP)使用 |
|
||||
| `22` | TCP | ssh | 安全Shell(SSH)服务 |
|
||||
| `23` | TCP | telnet | Telnet服务 |
|
||||
| `25` | TCP | smtp | 简单邮件传输协议(SMTP) |
|
||||
| `37` | TCP | time | 时间协议 |
|
||||
| `39` | TCP | rlp | 资源定位协议 |
|
||||
| `42` | TCP | nameserver | 互联网名称服务 |
|
||||
| `43` | TCP | nicname | WHOIS目录服务 |
|
||||
| `49` | TCP | tacacs | 用于基于TCP/IP验证和访问的终端访问控制器访问控制系统 |
|
||||
| `50` | TCP | re-mail-ck | 远程邮件检查协议 |
|
||||
| `53` | TCP | domain | 域名服务(如BIND) |
|
||||
| `63` | TCP | whois++ | WHOIS++,被扩展了的WHOIS服务 |
|
||||
| `67` | TCP | bootps | 引导协议(BOOTP)服务;还被动态主机配置协议(DHCP)服务使用 |
|
||||
| `68` | TCP | bootpc | Bootstrap(BOOTP)客户;还被动态主机配置协议(DHCP)客户使用 |
|
||||
| `69` | TCP | tftp | 小文件传输协议(TFTP) |
|
||||
| `70` | TCP | gopher | Gopher互联网文档搜寻和检索 |
|
||||
| `71` | TCP | netrjs-1 | 远程作业服务 |
|
||||
| `72` | TCP | netrjs-2 | 远程作业服务 |
|
||||
| `73` | TCP | netrjs-3 | 远程作业服务 |
|
||||
| `73` | TCP | netrjs-4 | 远程作业服务 |
|
||||
| `79` | TCP | finger | 用于用户联系信息的Finger服务 |
|
||||
| `80` | TCP | http | 用于万维网(WWW)服务的超文本传输协议(HTTP) |
|
||||
| `88` | TCP | kerberos | Kerberos网络验证系统 |
|
||||
| `95` | TCP | supdup | Telnet协议扩展 |
|
||||
| `101` | TCP | hostname | SRI-NIC机器上的主机名服务 |
|
||||
| `102` | TCP | iso-tsap | ISO开发环境(ISODE)网络应用 |
|
||||
| `105` | TCP | csnet-ns | 邮箱名称服务器;也被CSO名称服务器使用 |
|
||||
| `107` | TCP | rtelnet | 远程Telnet |
|
||||
| `109` | TCP | pop2 | 邮局协议版本2 |
|
||||
| `110` | TCP | pop3 | 邮局协议版本3 |
|
||||
| `111` | TCP | sunrpc | 用于远程命令执行的远程过程调用(RPC)协议,被网络文件系统(NFS)使用 |
|
||||
| `113` | TCP | auth | 验证和身份识别协议 |
|
||||
| `115` | TCP | sftp | 安全文件传输协议(SFTP)服务 |
|
||||
| `117` | TCP | uucp-path | Unix到Unix复制协议(UUCP)路径服务 |
|
||||
| `119` | TCP | nntp | 用于USENET讨论系统的网络新闻传输协议(NNTP) |
|
||||
| `123` | TCP | ntp | 网络时间协议(NTP) |
|
||||
| `137` | TCP | netbios-ns | 在红帽企业Linux中被Samba使用的NETBIOS名称服务 |
|
||||
| `138` | TCP | netbios-dgm | 在红帽企业Linux中被Samba使用的NETBIOS数据报服务 |
|
||||
| `139` | TCP | netbios-ssn | 在红帽企业Linux中被Samba使用的NET BIOS会话服务 |
|
||||
| `143` | TCP | imap | 互联网消息存取协议(IMAP) |
|
||||
| `161` | TCP | snmp | 简单网络管理协议(SNMP) |
|
||||
| `162` | TCP | snmptrap | SNMP的陷阱 |
|
||||
| `163` | TCP | cmip-man | 通用管理信息协议(CMIP) |
|
||||
| `164` | TCP | cmip-agent | 通用管理信息协议(CMIP) |
|
||||
| `174` | TCP | mailq | MAILQ |
|
||||
| `177` | TCP | xdmcp | X显示管理器控制协议 |
|
||||
| `178` | TCP | nextstep | NeXTStep窗口服务器 |
|
||||
| `179` | TCP | bgp | 边界网络协议 |
|
||||
| `191` | TCP | prospero | Cliffod Neuman的Prospero服务 |
|
||||
| `194` | TCP | irc | 互联网中继聊天(IRC) |
|
||||
| `199` | TCP | smux | SNMP UNIX多路复用 |
|
||||
| `201` | TCP | at-rtmp | AppleTalk选路 |
|
||||
| `202` | TCP | at-nbp | AppleTalk名称绑定 |
|
||||
| `204` | TCP | at-echo | AppleTalk echo服务 |
|
||||
| `206` | TCP | at-zis | AppleTalk区块信息 |
|
||||
| `209` | TCP | qmtp | 快速邮件传输协议(QMTP) |
|
||||
| `210` | TCP | z39.50 | NISO Z39.50数据库 |
|
||||
| `213` | TCP | ipx | 互联网络分组交换协议(IPX),被Novell Netware环境常用的数据报协议 |
|
||||
| `220` | TCP | imap3 | 互联网消息存取协议版本3 |
|
||||
| `245` | TCP | link | LINK |
|
||||
| `347` | TCP | fatserv | Fatmen服务器 |
|
||||
| `363` | TCP | rsvp_tunnel | RSVP隧道 |
|
||||
| `369` | TCP | rpc2portmap | Coda文件系统端口映射器 |
|
||||
| `370` | TCP | codaauth2 | Coda文件系统验证服务 |
|
||||
| `372` | TCP | ulistproc | UNIX Listserv |
|
||||
| `389` | TCP | ldap | 轻型目录存取协议(LDAP) |
|
||||
| `427` | TCP | svrloc | 服务位置协议(SLP) |
|
||||
| `434` | TCP | mobileip-agent | 可移互联网协议(IP)代理 |
|
||||
| `435` | TCP | mobilip-mn | 可移互联网协议(IP)管理器 |
|
||||
| `443` | TCP | https | 安全超文本传输协议(HTTP) |
|
||||
| `444` | TCP | snpp | 小型网络分页协议 |
|
||||
| `445` | TCP | microsoft-ds | 通过TCP/IP的服务器消息块(SMB) |
|
||||
| `464` | TCP | kpasswd | Kerberos口令和钥匙改换服务 |
|
||||
| `468` | TCP | photuris | Photuris会话钥匙管理协议 |
|
||||
| `487` | TCP | saft | 简单不对称文件传输(SAFT)协议 |
|
||||
| `488` | TCP | gss-http | 用于HTTP的通用安全服务(GSS) |
|
||||
| `496` | TCP | pim-rp-disc | 用于协议独立的多址传播(PIM)服务的会合点发现(RP-DISC) |
|
||||
| `500` | TCP | isakmp | 互联网安全关联和钥匙管理协议(ISAKMP) |
|
||||
| `535` | TCP | iiop | 互联网内部对象请求代理协议(IIOP) |
|
||||
| `538` | TCP | gdomap | GNUstep分布式对象映射器(GDOMAP) |
|
||||
| `546` | TCP | dhcpv6-client | 动态主机配置协议(DHCP)版本6客户 |
|
||||
| `547` | TCP | dhcpv6-server | 动态主机配置协议(DHCP)版本6服务 |
|
||||
| `554` | TCP | rtsp | 实时流播协议(RTSP) |
|
||||
| `563` | TCP | nntps | 通过安全套接字层的网络新闻传输协议(NNTPS) |
|
||||
| `565` | TCP | whoami | whoami |
|
||||
| `587` | TCP | submission | 邮件消息提交代理(MSA) |
|
||||
| `610` | TCP | npmp-local | 网络外设管理协议(NPMP)本地/分布式排队系统(DQS) |
|
||||
| `611` | TCP | npmp-gui | 网络外设管理协议(NPMP)GUI/分布式排队系统(DQS) |
|
||||
| `612` | TCP | hmmp-ind | HMMP指示/DQS |
|
||||
| `631` | TCP | ipp | 互联网打印协议(IPP) |
|
||||
| `636` | TCP | ldaps | 通过安全套接字层的轻型目录访问协议(LDAPS) |
|
||||
| `674` | TCP | acap | 应用程序配置存取协议(ACAP) |
|
||||
| `694` | TCP | ha-cluster | 用于带有高可用性的群集的心跳服务 |
|
||||
| `749` | TCP | kerberos-adm | Kerberos版本5(v5)的“kadmin”数据库管理 |
|
||||
| `750` | TCP | kerberos-iv | Kerberos版本4(v4)服务 |
|
||||
| `765` | TCP | webster | 网络词典 |
|
||||
| `767` | TCP | phonebook | 网络电话簿 |
|
||||
| `873` | TCP | rsync | rsync文件传输服务 |
|
||||
| `992` | TCP | telnets | 通过安全套接字层的Telnet(TelnetS) |
|
||||
| `993` | TCP | imaps | 通过安全套接字层的互联网消息存取协议(IMAPS) |
|
||||
| `994` | TCP | ircs | 通过安全套接字层的互联网中继聊天(IRCS) |
|
||||
| `995` | TCP | pop3s | 通过安全套接字层的邮局协议版本3(POPS3) |
|
||||
<!--rehype:className=show-header left-align-->
|
||||
|
||||
### UNIX特有的端口
|
||||
<!--rehype:wrap-class=col-span-4-->
|
||||
|
||||
| 端口号 | 协议 | 使用程序 | 备注/用途 |
|
||||
| ------ | ---- | ------------------------ | ----------------------------------------------------- |
|
||||
| `512` | TCP | exec | 用于对远程执行的进程进行验证 |
|
||||
| `512` | UDP | biff[comsat] | 异步邮件客户(biff)和服务(comsat) |
|
||||
| `513` | TCP | login | 远程登录(rlogin) |
|
||||
| `513` | UDP | who[whod] | 登录的用户列表 |
|
||||
| `514` | TCP | shell[cmd] | 不必登录的远程shell(rshell)和远程复制(rcp) |
|
||||
| `514` | UDP | syslog | UNIX系统日志服务 |
|
||||
| `515` | TCP | printer[spooler] | 打印机(lpr)假脱机 |
|
||||
| `517` | UDP | talk | 远程对话服务和客户 |
|
||||
| `518` | UDP | ntalk | 网络交谈(ntalk),远程对话服务和客户 |
|
||||
| `519` | TCP | utime[unixtime] | UNIX时间协议(utime) |
|
||||
| `520` | TCP | efs | 扩展文件名服务器(EFS) |
|
||||
| `520` | UDP | router[route,routed] | 选路信息协议(RIP) |
|
||||
| `521` | TCP | ripng | 用于互联网协议版本6(IPv6)的选路信息协议 |
|
||||
| `525` | TCP | timed[timeserver] | 时间守护进程(timed) |
|
||||
| `526` | TCP | tempo[newdate] | Tempo |
|
||||
| `530` | TCP | courier[rpc] | Courier远程过程调用(RPC)协议 |
|
||||
| `531` | TCP | conference[chat] | 互联网中继聊天 |
|
||||
| `532` | TCP | netnews | Netnews |
|
||||
| `533` | UDP | netwall | 用于紧急广播的Netwall |
|
||||
| `540` | TCP | uucp[uucpd] | Unix到Unix复制服务 |
|
||||
| `543` | TCP | klogin | Kerberos版本5(v5)远程登录 |
|
||||
| `544` | TCP | kshell | Kerberos版本5(v5)远程shell |
|
||||
| `548` | TCP | afpovertcp | 通过传输控制协议(TCP)的Appletalk文件编制协议(AFP) |
|
||||
| `556` | TCP | remotefs[rfs_server,rfs] | Brunhoff的远程文件系统(RFS) |
|
||||
<!--rehype:className=show-header left-align-->
|
||||
|
||||
### 注册的端口
|
||||
<!--rehype:wrap-class=col-span-4-->
|
||||
| 端口号 | 协议 | 使用程序 | 备注/用途 |
|
||||
| ------ | ------- | ----------------------- | ----------------------------------------------------- |
|
||||
| `1080` | TCP | socks | SOCKS网络应用程序代理服务 |
|
||||
| `1236` | TCP | bvcontrol[rmtcfg] | Garcilis Packeten远程配置服务器 |
|
||||
| `1300` | TCP | h323hostcallsc | H.323电话会议主机电话安全 |
|
||||
| `1433` | TCP | ms-sql-s | Microsoft SQL服务器 |
|
||||
| `1434` | TCP | ms-sql-m | Microsoft SQL监视器 |
|
||||
| `1494` | TCP | ica | Citrix ICA客户 |
|
||||
| `1512` | TCP | wins | Microsoft Windows互联网名称服务器 |
|
||||
| `1524` | TCP | ingreslock | Ingres数据库管理系统(DBMS)锁定服务 |
|
||||
| `1525` | TCP | prospero-np | 无特权的Prospero |
|
||||
| `1645` | TCP | datametrics[old-radius] | Datametrics/从前的radius项目 |
|
||||
| `1646` | TCP | sa-msg-port[oldradacct] | sa-msg-port/从前的radacct项目 |
|
||||
| `1649` | TCP | kermit | Kermit文件传输和管理服务 |
|
||||
| `1701` | TCP | l2tp[l2f] | 第2层隧道服务(LT2P)/第2层转发(L2F) |
|
||||
| `1718` | TCP | h323gatedisc | H.323电讯守门装置发现机制 |
|
||||
| `1719` | TCP | h323gatestat | H.323电讯守门装置状态 |
|
||||
| `1720` | TCP | h323hostcall | H.323电讯主持电话设置 |
|
||||
| `1758` | TCP | tftp-mcast | 小文件FTP组播 |
|
||||
| `1759` | TCP | mtftp | 组播小文件FTP(MTFTP) |
|
||||
| `1789` | TCP | hello | Hello路由器通信端口 |
|
||||
| `1812` | TCP | radius | Radius拨号验证和记帐服务 |
|
||||
| `1813` | TCP | radius-acct | Radius记帐 |
|
||||
| `1911` | TCP | mtp | Starlight网络多媒体传输协议(MTP) |
|
||||
| `1985` | TCP | hsrp | Cisco热备用路由器协议 |
|
||||
| `1986` | TCP | licensedaemon | Cisco许可管理守护进程 |
|
||||
| `1997` | TCP | gdp-port | Cisco网关发现协议(GDP) |
|
||||
| `2049` | TCP | nfs[nfsd] | 网络文件系统(NFS) |
|
||||
| `2102` | TCP | zephyr-srv | Zephyr通知传输和发送服务器 |
|
||||
| `2103` | TCP | zephyr-clt | Zephyr serv-hm连接 |
|
||||
| `2104` | TCP | zephyr-hm | Zephyr主机管理器 |
|
||||
| `2401` | TCP | cvspserver | 并行版本系统(CVS)客户/服务器操作 |
|
||||
| `2430` | TCP/UDP | venus | 用于Coda文件系统(codacon端口)的Venus缓存管理器 |
|
||||
| `2431` | TCP/UDP | venus-se | Venus传输控制协议(TCP)的副作用 |
|
||||
| `2432` | UDP | codasrv | Coda文件系统服务器端口 |
|
||||
| `2433` | TCP/UDP | codasrv-se | Coda文件系统TCP/UDP副作用 |
|
||||
| `2600` | TCP | hpstgmgr[zebrasrv] | HPSTGMGR;Zebra选路 |
|
||||
| `2601` | TCP | discp-client[zebra] | discp客户;Zebra集成的shell |
|
||||
| `2602` | TCP | discp-server[ripd] | discp服务器;选路信息协议守护进程(ripd) |
|
||||
| `2603` | TCP | servicemeter[ripngd] | 服务计量;用于IPv6的RIP守护进程 |
|
||||
| `2604` | TCP | nsc-ccs[ospfd] | NSC CCS;开放式短路径优先守护进程(ospfd) |
|
||||
| `2605` | TCP | nsc-posa | NSC POSA;边界网络协议守护进程(bgpd) |
|
||||
| `2606` | TCP | netmon[ospf6d] | Dell Netmon;用于IPv6的OSPF守护进程(ospf6d) |
|
||||
| `2809` | TCP | corbaloc | 公共对象请求代理体系(CORBA)命名服务定位器 |
|
||||
| `3130` | TCP | icpv2 | 互联网缓存协议版本2(v2);被Squid代理缓存服务器使用 |
|
||||
| `3306` | TCP | mysql | MySQL数据库服务 |
|
||||
| `3346` | TCP | trnsprntproxy | Trnsprnt代理 |
|
||||
| `4011` | TCP | pxe | 执行前环境(PXE)服务 |
|
||||
| `4321` | TCP | rwhois | 远程Whois(rwhois)服务 |
|
||||
| `4444` | TCP | krb524 | Kerberos版本5(v5)到版本4(v4)门票转换器 |
|
||||
| `5002` | TCP | rfe | 无射频以太网(RFE)音频广播系统 |
|
||||
| `5308` | TCP | cfengine | 配置引擎(Cfengine) |
|
||||
| `5999` | TCP | cvsup[CVSup] | CVSup文件传输和更新工具 |
|
||||
| `6000` | TCP | x11[X] | X窗口系统服务 |
|
||||
| `7000` | TCP | afs3-fileserver | Andrew文件系统(AFS)文件服务器 |
|
||||
| `7001` | TCP | afs3-callback | 用于给缓存管理器回电的AFS端口 |
|
||||
| `7002` | TCP | afs3-prserver | AFS用户和组群数据库 |
|
||||
| `7003` | TCP | afs3-vlserver | AFS文件卷位置数据库 |
|
||||
| `7004` | TCP | afs3-kaserver | AFS Kerberos验证服务 |
|
||||
| `7005` | TCP | afs3-volser | AFS文件卷管理服务器 |
|
||||
| `7006` | TCP | afs3-errors | AFS错误解释服务 |
|
||||
| `7007` | TCP | afs3-bos | AFS基本监查进程 |
|
||||
| `7008` | TCP | afs3-update | AFS服务器到服务器更新器 |
|
||||
| `7009` | TCP | afs3-rmtsys | AFS远程缓存管理器服务 |
|
||||
| `9876` | TCP | sd | 会话指引器 |
|
||||
| `10080` | TCP | amanda | 高级Maryland自动网络磁盘归档器(Amanda)备份服务 |
|
||||
| `11371` | TCP | pgpkeyserver | 良好隐私(PGP)/GNU隐私卫士(GPG)公钥服务器 |
|
||||
| `11720` | TCP | h323callsigalt | H.323调用信号交替 |
|
||||
| `13720` | TCP | bprd | Veritas NetBackup请求守护进程(bprd) |
|
||||
| `13721` | TCP | bpdbm | Veritas NetBackup数据库管理器(bpdbm) |
|
||||
| `13722` | TCP | bpjava-msvc | Veritas NetBackup Java/Microsoft Visual C++(MSVC)协议 |
|
||||
| `13724` | TCP | vnetd | Veritas网络工具 |
|
||||
| `13782` | TCP | bpcd | Vertias NetBackup |
|
||||
| `13783` | TCP | vopied | Veritas VOPIED协议 |
|
||||
| `22273` | TCP | wnn6[wnn4] | 假名/汉字转换系统 |
|
||||
| `26000` | TCP | quake | Quake(以及相关的)多人游戏服务器 |
|
||||
| `26208` | TCP | wnn6-ds | - |
|
||||
| `33434` | TCP | traceroute | Traceroute网络跟踪工具 |
|
||||
<!--rehype:className=show-header left-align-->
|
||||
|
||||
### 数据报传递协议端口
|
||||
<!--rehype:wrap-class=col-span-4-->
|
||||
| 端口号 | 协议 | 使用程序 | 备注/用途 |
|
||||
| ------ | ---- | -------- | ------------------ |
|
||||
| `1` | DDP | rtmp | 路由表管理协议 |
|
||||
| `2` | DDP | nbp | 名称绑定协议 |
|
||||
| `4` | DDP | echo | AppleTalk Echo协议 |
|
||||
| `6` | DDP | zip | 区块信息协议 |
|
||||
<!--rehype:className=show-header left-align-->
|
||||
|
||||
### Kerberos(工程Athena/MIT)端口
|
||||
<!--rehype:wrap-class=col-span-4-->
|
||||
|
||||
| 端口号 | 协议 | 使用程序 | 备注/用途 |
|
||||
| ------ | ---- | --------------- | ----------------------------------- |
|
||||
| `751` | TCP | kerberos_master | Kerberos验证 |
|
||||
| `752` | TCP | passwd_server | Kerberos口令(kpasswd)服务器 |
|
||||
| `754` | TCP | krb5_prop | Kerberos v5从属传播 |
|
||||
| `760` | TCP | krbupdate[kreg] | Kerberos注册 |
|
||||
| `1109` | TCP | kpop | Kerberos邮局协议(KPOP) |
|
||||
| `2053` | TCP | knetd | Kerberos多路分用器 |
|
||||
| `2105` | TCP | eklogin | Kerberos v5加密的远程登录(rlogin) |
|
||||
<!--rehype:className=show-header left-align-->
|
||||
|
||||
### 未注册的端口
|
||||
<!--rehype:wrap-class=col-span-4-->
|
||||
|
||||
| 端口号 | 协议 | 使用程序 | 备注/用途 |
|
||||
| ------ | ---- | ------------------------ | ----------------------------------------------------------- |
|
||||
| `15` | TCP | netstat | 网络状态(netstat) |
|
||||
| `98` | TCP | linuxconf | Linuxconf Linux管理工具 |
|
||||
| `106` | TCP | poppassd | 邮局协议口令改变守护进程(POPPASSD) |
|
||||
| `465` | TCP | smtps | 通过安全套接字层的简单邮件传输协议(SMTPS) |
|
||||
| `616` | TCP | gii | 使用网关的(选路守护进程)互动界面 |
|
||||
| `808` | TCP | omirr[omirrd] | 联机镜像(Omirr)文件镜像服务 |
|
||||
| `871` | TCP | supfileserv | 软件升级协议(SUP)服务器 |
|
||||
| `901` | TCP | swat | Samba万维网管理工具(SWAT) |
|
||||
| `953` | TCP | rndc | Berkeley互联网名称域版本9(BIND 9)远程名称守护进程配置工具 |
|
||||
| `1127` | TCP | sufiledbg | 软件升级协议(SUP)调试 |
|
||||
| `1178` | TCP | skkserv | 简单假名到汉字(SKK)日文输入服务器 |
|
||||
| `1313` | TCP | xtel | 法国Minitel文本信息系统 |
|
||||
| `1529` | TCP | support[prmsd,gnatsd] | GNATS错误跟踪系统 |
|
||||
| `2003` | TCP | cfinger | GNU Finger服务 |
|
||||
| `2150` | TCP | ninstall | 网络安装服务 |
|
||||
| `2988` | TCP | afbackup | afbackup客户-服务器备份系统 |
|
||||
| `3128` | TCP | squid | Squid万维网代理缓存 |
|
||||
| `3455` | TCP | prsvp | RSVP端口 |
|
||||
| `5432` | TCP | postgres | PostgreSQL数据库 |
|
||||
| `4557` | TCP | fax | FAX传输服务(旧服务) |
|
||||
| `4559` | TCP | hylafax | HylaFAX客户-服务器协议(新服务) |
|
||||
| `5232` | TCP | sgi-dgl | SGI分布式图形库 |
|
||||
| `5354` | TCP | noclog | NOCOL网络操作中心记录守护进程(noclogd) |
|
||||
| `5355` | TCP | hostmon | NOCOL网络操作中心主机监视 |
|
||||
| `5680` | TCP | canna | Canna日文字符输入界面 |
|
||||
| `6010` | TCP | x11-ssh-offset | 安全Shell(SSH)X11转发偏移 |
|
||||
| `6667` | TCP | ircd | 互联网中继聊天守护进程(ircd) |
|
||||
| `7100` | TCP | xfs | X字体服务器(XFS) |
|
||||
| `7666` | TCP | tircproxy | Tircproxy IRC代理服务 |
|
||||
| `8008` | TCP | http-alt | 超文本传输协议(HTTP)的另一选择 |
|
||||
| `8080` | TCP | webcache | 万维网(WWW)缓存服务 |
|
||||
| `8081` | TCP | tproxy | 透明代理 |
|
||||
| `9100` | TCP | jetdirect[laserjet,hplj] | Hewlett-Packard(HP)JetDirect网络打印服务 |
|
||||
| `9359` | TCP | mandelspawn[mandelbrot] | 用于X窗口系统的并行Mandelbrot生成程序 |
|
||||
| `10081` | TCP | kamanda | 使用Kerberos的Amanda备份服务 |
|
||||
| `10082` | TCP | amandaidx | Amanda备份服务 |
|
||||
| `10083` | TCP | amidxtape | Amanda备份服务 |
|
||||
| `20011` | TCP | isdnlog | 综合业务数字网(ISDN)登录系统 |
|
||||
| `20012` | TCP | vboxd | ISDN音箱守护进程(vboxd) |
|
||||
| `22305` | TCP | wnn4_Kr | kWnn韩文输入系统 |
|
||||
| `22289` | TCP | wnn4_Cn | cWnn中文输入系统 |
|
||||
| `22321` | TCP | wnn4_Tw | tWnn中文输入系统(台湾) |
|
||||
| `24554` | TCP | binkp | Binkley TCP/IP Fidonet邮寄程序守护进程 |
|
||||
| `27374` | TCP | asp | 地址搜索协议 |
|
||||
| `60177` | TCP | tfido | Ifmail FidoNet兼容邮寄服务 |
|
||||
| `60179` | TCP | fido | FidoNet电子邮件和新闻网络 |
|
||||
<!--rehype:className=show-header left-align-->
|
Reference in New Issue
Block a user