Skip to content

Commit 8348adb

Browse files
author
bajins
committed
docs: 更新多个文档并添加新内容
- 在 DBS 目录中添加了 PostgreSQL 相关的迁移和分片扩展工具 - 在 IDE 目录中添加了多个开发工具和资源链接 - 在 Java 目录中更新了 JDK 相关的链接,并添加了新的开发工具 - 在 PL 目录中添加了多个编程语言相关的资源和工具 - 在 Shell 和 System 目录中添加了 Linux 系统管理相关的内容
1 parent 633e2a2 commit 8348adb

18 files changed

+94
-20
lines changed

DBS/关系型数据库.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,9 @@ SELECT NEXT VALUE FOR seq_num AS num FROM DUAL WHERE NEXT VALUE FOR seq_num <= 3
599599
* [https://github.com/achristmascarl/rainfrog](https://github.com/achristmascarl/rainfrog)
600600
* 连接池工具 [https://github.com/pgbouncer/pgbouncer](https://github.com/pgbouncer/pgbouncer)
601601
* 扩展Rust开发框架 [https://github.com/tcdi/pgx](https://github.com/tcdi/pgx)
602+
* 迁移 [https://github.com/sbdchd/squawk](https://github.com/sbdchd/squawk)
603+
* 分片水平扩展 [https://github.com/pg-sharding/spqr](https://github.com/pg-sharding/spqr)
604+
* 解析器 [https://github.com/pganalyze/libpg_query](https://github.com/pganalyze/libpg_query)
602605

603606

604607
- 文本搜索和分析 [https://github.com/zombodb/zombodb](https://github.com/zombodb/zombodb)

IDE/Eclipse.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
+ [https://github.com/eclipse-cbi](https://github.com/eclipse-cbi)
2121
+ [https://github.com/eclipse-simrel](https://github.com/eclipse-simrel)
2222
+ [https://www.eclipse.org/ide](https://www.eclipse.org/ide)
23+
+ [https://eclipseide.org](https://eclipseide.org)
2324
+ [https://www.eclipse.org/downloads/packages](https://www.eclipse.org/downloads/packages)
25+
+ 可视化 [https://www.jgrasp.org](https://www.jgrasp.org)
2426
+ 设置 [https://github.com/vorburger/opendaylight-eclipse-setup](https://github.com/vorburger/opendaylight-eclipse-setup)
2527
+ Spring Tools[https://github.com/spring-projects/sts4](https://github.com/spring-projects/sts4)
2628
+ [https://spring.io/tools](https://spring.io/tools)

IDE/Git服务.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
* [https://www.gitkraken.com](https://www.gitkraken.com)
4040
* [https://launchpad.net](https://launchpad.net)
4141
* [https://kolaente.dev](https://kolaente.dev)
42+
* [https://git.resf.org](https://git.resf.org)
4243
* 软件相似度比较 [https://copycat.gitee.com](https://copycat.gitee.com)
4344

4445

IDE/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@
114114
- [https://github.com/nutlope/llamacoder](https://github.com/nutlope/llamacoder)
115115
- [https://github.com/clinebot/cline](https://github.com/clinebot/cline)
116116
- [https://github.com/we0-dev/we0](https://github.com/we0-dev/we0)
117+
- [https://www.augmentcode.com](https://www.augmentcode.com)
117118
- 代码搜索 [https://github.com/sourcebot-dev/sourcebot](https://github.com/sourcebot-dev/sourcebot)
118119
- Git提交助手 [https://github.com/Undertone0809/gcop](https://github.com/Undertone0809/gcop)
119120
- 突出显示重要代码 [https://github.com/novoselrok/glance](https://github.com/novoselrok/glance)
@@ -593,6 +594,7 @@
593594
- [https://github.com/eclipse/lsp4e](https://github.com/eclipse/lsp4e)
594595
- [https://github.com/ycm-core/ycmd](https://github.com/ycm-core/ycmd)
595596
- [https://github.com/Genuitec](https://github.com/Genuitec)
597+
- PostgreSQL [https://github.com/supabase-community/postgres-language-server](https://github.com/supabase-community/postgres-language-server)
596598

597599

598600

Java/JDK安装配置.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
* [http://hg.openjdk.java.net](http://hg.openjdk.java.net)
4040
* ~~[https://github.com/ojdkbuild/ojdkbuild](https://github.com/ojdkbuild/ojdkbuild)~~
4141
* [https://github.com/oracle-actions/setup-java](https://github.com/oracle-actions/setup-java)
42-
* [https://dev.java](https://dev.java)
4342
* ~~[https://github.com/AdoptOpenJDK](https://github.com/AdoptOpenJDK)~~
4443
* ~~[https://adoptopenjdk.net](https://adoptopenjdk.net)~~
4544
* [https://github.com/Adopt-a-JSR](https://github.com/Adopt-a-JSR)

Java/JDK工具.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ java -Djavax.net.debug=all -Xdebug -Xnoagent -Djava.compiler=NONE \
143143
* [https://github.com/uber/NullAway](https://github.com/uber/NullAway)
144144
* [https://github.com/openrewrite](https://github.com/openrewrite)
145145
* [https://github.com/codefuse-ai/CodeFuse-Query](https://github.com/codefuse-ai/CodeFuse-Query)
146+
* 重构 [https://github.com/refactorfirst/RefactorFirst](https://github.com/refactorfirst/RefactorFirst)
146147

147148

148149

Java/Java第三方库.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@
201201
+ 线程间消息传递 [https://github.com/lmax-exchange/disruptor](https://github.com/lmax-exchange/disruptor)
202202
+ [https://github.com/alibaba/transmittable-thread-local](https://github.com/alibaba/transmittable-thread-local)
203203
+ [https://github.com/real-logic/agrona](https://github.com/real-logic/agrona)
204+
+ 通道(Channels) [https://github.com/softwaremill/jox](https://github.com/softwaremill/jox)
204205
+ 地理哈希 [https://github.com/kungfoo/geohash-java](https://github.com/kungfoo/geohash-java)
205206
+ 编码检测 [https://sourceforge.net/projects/jchardet](https://sourceforge.net/projects/jchardet)
206207
+ [https://github.com/albfernandez/juniversalchardet](https://github.com/albfernandez/juniversalchardet)
@@ -438,7 +439,7 @@
438439
- [Spring Beanutils](https://github.com/spring-projects/spring-framework/blob/master/spring-beans/src/main/java/org/springframework/beans/BeanUtils.java)
439440
- [https://github.com/mapstruct](https://github.com/mapstruct)
440441
- Apache BeanUtils [https://github.com/apache/commons-beanutils](https://github.com/apache/commons-beanutils)
441-
- [https://github.com/orika-mapper/orika](https://github.com/orika-mapper/orika)
442+
- 深拷贝 [https://github.com/orika-mapper/orika](https://github.com/orika-mapper/orika)
442443
- [https://github.com/DozerMapper/dozer](https://github.com/DozerMapper/dozer)
443444
- [https://github.com/lets-mica/mica](https://github.com/lets-mica/mica)
444445
- [https://github.com/yangtu222/BeanUtils](https://github.com/yangtu222/BeanUtils)
@@ -521,6 +522,7 @@
521522
* [https://github.com/spring-projects/spring-restdocs](https://github.com/spring-projects/spring-restdocs)
522523
* [https://github.com/ScaCap/spring-auto-restdocs](https://github.com/ScaCap/spring-auto-restdocs)
523524
* [https://github.com/YeDaxia/JApiDocs](https://github.com/YeDaxia/JApiDocs)
525+
* [https://github.com/talsma-ict/umldoclet](https://github.com/talsma-ict/umldoclet)
524526
* 资源读取 [https://github.com/hosuaby/inject-resources](https://github.com/hosuaby/inject-resources)
525527

526528

Java/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55

66
## Flag
77

8+
> Java 是一种简洁、面向对象、分布式、解释型、健壮、安全、架构中立、可移植、高性能、多线程的动态编程语言。
9+
> 阅读比编写更重要;简单性很重要;Java 应该是一种在任何地方都有相同含义的语言。
10+
11+
812
+ [https://github.com/topics/java](https://github.com/topics/java)
913
+ [https://github.com/jcp-org](https://github.com/jcp-org)
1014
+ [https://docs.oracle.com](https://docs.oracle.com)
@@ -14,6 +18,8 @@
1418
+ [https://docs.oracle.com/javase/8/docs](https://docs.oracle.com/javase/8/docs)
1519
+ [https://docs.oracle.com/javase/7/docs](https://docs.oracle.com/javase/7/docs)
1620
+ [JavaBeans 规范](https://www.oracle.com/cn/java/technologies/javase/javabeans-spec.html)
21+
+ [https://dev.java](https://dev.java)
22+
+ [https://learn.java](https://learn.java)
1723
+ [https://github.com/eclipse-ee4j](https://github.com/eclipse-ee4j)
1824
+ [https://projects.eclipse.org/list-of-projects](https://projects.eclipse.org/list-of-projects)
1925
+ [https://github.com/eclipse-ditto](https://github.com/eclipse-ditto)

PL/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
- [https://github.com/shengxinjing/programmer-job-blacklist](https://github.com/shengxinjing/programmer-job-blacklist)
3030
- [https://indiehackertools.net](https://indiehackertools.net)
3131
- [https://github.com/lukasz-madon/awesome-remote-job](https://github.com/lukasz-madon/awesome-remote-job)
32+
- [AppStore 首页推荐后,依然月入不足 3000,独立开发两年血泪复盘](https://www.v2ex.com/t/1121385)
3233
- 推广渠道 [https://github.com/naxiaoduo/1000UserGuide](https://github.com/naxiaoduo/1000UserGuide)
3334
- [Sam Altman的创业手册](https://jxp73q7qjsg.feishu.cn/docx/WCNZdKDa4o2eUrxK5ElcfBXEnah)
3435
- 硬地骇客 [https://github.com/hardhackerlabs/book](https://github.com/hardhackerlabs/book)

PL/人工智能.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,16 @@
449449
* [https://github.com/PearOCR](https://github.com/PearOCR)
450450
* [https://pearocr.com](https://pearocr.com)
451451
* [https://github.com/alisen39/TrWebOCR](https://github.com/alisen39/TrWebOCR)
452-
* `pip3 install libtorch numpy opencv-python Pillow tornado`
452+
```bash
453+
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
454+
bash Miniconda3-latest-Linux-x86_64.sh
455+
eval "$(/root/miniconda3/bin/conda shell.bash hook)"
456+
conda init
457+
conda create -n ocr python=3.7 -y
458+
conda activate ocr
459+
conda install --yes --file requirements.txt
460+
conda deactivate # 退出当前环境
461+
```
453462
* [https://github.com/plantree/ocr-pwa](https://github.com/plantree/ocr-pwa)
454463
* [https://github.com/ianzhao05/textshot](https://github.com/ianzhao05/textshot)
455464
* [https://github.com/ouyanghuiyu/chineseocr_lite](https://github.com/ouyanghuiyu/chineseocr_lite)

PL/加密认证.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
* [https://github.com/fusionauth](https://github.com/fusionauth)
4848
* [https://github.com/unkeyed/unkey](https://github.com/unkeyed/unkey)
4949
* [https://github.com/goauthentik/authentik](https://github.com/goauthentik/authentik)
50+
* [https://github.com/zitadel/zitadel](https://github.com/zitadel/zitadel)
5051

5152

5253
- [Web开发几种常用的认证机制](https://www.cnblogs.com/li1992/articles/9802716.html)

PL/编程规范.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@
9292

9393
> naming conventions 约定大于配置
9494
95+
> 可读性:程序是供人类阅读和理解的,计算机的执行只是附带的事情。
96+
97+
98+
99+
+ [https://github.com/topics/coding-style](https://github.com/topics/coding-style)
95100
+ [https://github.com/topics/clean-code](https://github.com/topics/clean-code)
96101
+ [https://github.com/topics/styleguide](https://github.com/topics/styleguide)
97102
+ [https://github.com/topics/style-guide](https://github.com/topics/style-guide)

Shell/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@
101101
- 查询nginx日志 [https://github.com/facundoolano/ngtop](https://github.com/facundoolano/ngtop)
102102
- 连接数据库 [https://github.com/PeepDB-dev/peepdb](https://github.com/PeepDB-dev/peepdb)
103103
- 持续假输出 [https://github.com/giacomo-b/rust-stakeholder](https://github.com/giacomo-b/rust-stakeholder)
104+
- 页面缓存 [https://github.com/tobert/pcstat](https://github.com/tobert/pcstat)
105+
- [https://github.com/silenceshell/hcache](https://github.com/silenceshell/hcache)
104106

105107

106108
**`terminal``shell``tty``console` 之间的区别**

System/CentOS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@
66

77
## Flag
88

9+
10+
* UEFI加载 [https://github.com/rhboot](https://github.com/rhboot)
911
* RHEL衍生版本升级 [https://github.com/oamg/leapp](https://github.com/oamg/leapp)
1012
* [https://almalinux.org/elevate](https://almalinux.org/elevate)
1113
* [https://docs.rockylinux.org/zh/guides/migrate2rocky](https://docs.rockylinux.org/zh/guides/migrate2rocky)
14+
* [https://github.com/rocky-linux/rocky-tools](https://github.com/rocky-linux/rocky-tools)
1215
* [https://github.com/upgrades-migrations/redhat-upgrade-tool](https://github.com/upgrades-migrations/redhat-upgrade-tool)
1316
* [Upgrading CentOS 7 to Stream 9](https://blog.motofans.club/post/upgrade-centos-7-to-centos-stream-9.html)
1417
* [如何使用 Leapp 为 RHEL PAYG 虚拟机执行升级](https://learn.microsoft.com/zh-cn/troubleshoot/azure/virtual-machines/linux/leapp-upgrade-process-rhel-7-and-8)

System/Linux.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,35 @@
4646

4747

4848

49+
**Ubuntu/Debian 系统升级**
50+
51+
* [如何升级您的 Ubuntu 版本](https://documentation.ubuntu.com/server/how-to/software/upgrade-your-release/index.html)
52+
* [https://ubuntu.com/about/release-cycle](https://ubuntu.com/about/release-cycle)
53+
* [https://www.debian.org/releases](https://www.debian.org/releases)
54+
* [https://github.com/bkw777/mainline](https://github.com/bkw777/mainline)
55+
* [https://github.com/berglh/ubuntu-sb-kernel-signing](https://github.com/berglh/ubuntu-sb-kernel-signing)
56+
57+
```batch
58+
# 刷新可用软件包及其版本的列表,处理依赖冲突并升级软件包(包括内核)升级到最新版本
59+
sudo apt update && sudo apt dist-upgrade -y
60+
# Ubuntu升级系统
61+
sudo do-release-upgrade
62+
# 自动删除未使用的内核,包括过时的内核
63+
sudo apt autoremove -y
64+
# 查看当前内核版本
65+
dpkg --list | grep linux-image
66+
# 安装最新内核
67+
sudo apt install linux-image-$(uname -r)
68+
# 重新加载内核配置
69+
sudo update-grub
70+
# 卸载 GNOME 桌面环境
71+
sudo apt purge gnome gnome-shell -y
72+
sudo apt autoremove --purge -y
73+
sudo apt clean
74+
```
75+
76+
77+
4978

5079
## 包管理
5180

System/Linux网络防火墙.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ firewall-cmd --query-panic
236236
- [https://dns.fish](https://dns.fish)
237237
- [https://ipquery.io](https://ipquery.io)
238238
- [https://ip.aolifu.org](https://ip.aolifu.org)
239+
- [https://ip.im](https://ip.im)
240+
- [https://w.is](https://w.is)
239241
- 可用性检查 [https://github.com/funilrys/PyFunceble](https://github.com/funilrys/PyFunceble)
240242
- [https://github.com/hatoo/oha](https://github.com/hatoo/oha)
241243

System/Linux配置.md

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ sed -n -e 's/PRETTY_NAME=//gp' /etc/os-release
205205
cat /proc/version
206206
echo '=========================================================='
207207
# 查询目前所有文件系统的可用空间及使用情形
208-
df -h
208+
df -Th
209209
echo '=========================================================='
210210
# 查询内存使用情况
211211
free -h
@@ -349,6 +349,9 @@ sudo service ssh --full-restart
349349
## 挂载存储卷
350350

351351

352+
* [玩转Linux之硬盘分区格式化挂载与合并](https://github.com/chenjian158978/chenjian.github.io/blob/master/_posts/2017-05-10-Play%20Disk%20On%20Linux.md)
353+
354+
352355
### 基本概念
353356

354357

@@ -379,7 +382,7 @@ pvscan #在系统的所有磁盘中搜索已存在的物理卷
379382
pvdisplay 物理卷全路径名称 #用于显示指定物理卷的属性。
380383
pvdata 物理卷全路径名称 #用于显示物理卷的卷组描述区域信息,用于调试目的。
381384
pvchange Cx|--allocation {y|n} 物理卷全路径名 #用于改变物理卷的分配许可设置物理卷的创建与删除命令
382-
pvcreate 设备全路径名 #用于在磁盘或磁盘分区上创建物理卷初始化信息,以便对该物理卷进行逻辑卷管理。
385+
pvcreate 设备全路径名 -ff #用于在磁盘或磁盘分区上创建物理卷初始化信息,以便对该物理卷进行逻辑卷管理。
383386
pvmove 源物理卷全路径我[目的物理卷全路径名] #用于把某物理卷中的数据转移到同卷组中其他的特刊卷中。
384387
```
385388

@@ -409,6 +412,8 @@ vgreduce 卷组名 物理卷全路径名[物理卷全路径名]
409412

410413
### 卷组合并与拆分
411414

415+
* [linux磁盘挂载,硬盘空间合并](https://juejin.cn/post/7343156956666445859)
416+
412417
```bash
413418
vgsplit 现有卷组 新卷组 物理卷全路径名[物理卷全路径名]
414419
```
@@ -457,7 +462,7 @@ lvmsar 日志文件全路径名 #从lvmsadc命令生成的日志文件中读取
457462

458463

459464

460-
### 挂载方案一
465+
### 挂载
461466

462467
> 直接挂载。但是是用逻辑卷的名称挂载。硬盘上的数据还在。
463468
@@ -482,20 +487,15 @@ lvremove 分区位置(/dev/disk_lvm/name)
482487
fdisk -l
483488
# 查看逻辑卷的具体信息
484489
lvdisplay
485-
# 挂载
486-
mount /dev/VolGroup/lv_home /store
487-
```
488-
489-
490-
### 挂载方案二
491-
492-
> 格式化再挂载。硬盘上的数据清除了。
493-
494-
```bash
495490
# 直接格式化分区
496-
mkfs -t ext4 -c /dev/sda3
491+
mkfs -t ext4 -c /dev/sdb1
497492
# 挂载硬盘
498-
mount /dev/sda3 /store
493+
mount /dev/sdb1 /mnt
494+
# 开机自动挂载,不备份且启动时检查顺序(根分区通常为0 1)
495+
echo "/dev/sdb1 /mnt ext4 defaults 0 2" >> /etc/fstab
496+
echo '/dev/sdb1 /mnt ext4 defaults 0 2' | sudo tee -a /etc/fstab
497+
# 检查fstab语法
498+
sudo findmnt --verify
499499
```
500500

501501

@@ -504,11 +504,13 @@ mount /dev/sda3 /store
504504

505505
```bash
506506
# 查看磁盘挂载信息
507-
df -h
507+
df -Th
508508
# 列出系统上所有的磁盘
509-
lsblk
509+
lsblk -f
510+
lsblk -lp | grep -v "ro,rm" | grep part | awk '{print $1}'
510511
# 列出设备的uuid
511512
blkid
513+
sudo blkid -s UUID -s TYPE -o value /dev/sdb1
512514
# 查询文件系统状态
513515
dumpe2fs
514516
# 扩容

System/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
## 开源操作系统
5656
5757
* [https://github.com/topics/operating-system](https://github.com/topics/operating-system)
58+
* 系统映像构建 [https://github.com/OSInside/kiwi](https://github.com/OSInside/kiwi)
5859
* [https://www.yoctoproject.org](https://www.yoctoproject.org)
5960
* [Linux发行版本排行](https://distrowatch.com/dwres.php?resource=popularity)
6061
* [Linux主流发行版本](https://distrowatch.com/dwres.php?resource=major)
@@ -64,6 +65,7 @@
6465
- [https://github.com/Rust-for-Linux](https://github.com/Rust-for-Linux)
6566
- [https://github.com/linux-rdma/rdma-core](https://github.com/linux-rdma/rdma-core)
6667
- [https://github.com/rocky-linux](https://github.com/rocky-linux)
68+
- [https://git.resf.org/sig_cloud/wiki](https://git.resf.org/sig_cloud/wiki)
6769
- [CentOS“退役”后选择哪个Linux发行版?](https://zhuanlan.zhihu.com/p/733965744)
6870
- [https://github.com/AlmaLinux](https://github.com/AlmaLinux)
6971
- [https://github.com/microsoft/CBL-Mariner](https://github.com/microsoft/CBL-Mariner)
@@ -299,6 +301,7 @@
299301
300302
* [https://github.com/drwetter/testssl.sh](https://github.com/drwetter/testssl.sh)
301303
* [https://github.com/zerossl](https://github.com/zerossl)
304+
* [https://github.com/zeoseven/certple](https://github.com/zeoseven/certple)
302305
* [https://letsencrypt.org](https://letsencrypt.org)
303306
* [https://github.com/zenhack/simp_le](https://github.com/zenhack/simp_le)
304307
* [https://github.com/acmesh-official](https://github.com/acmesh-official)
@@ -617,6 +620,7 @@
617620
* 短链接 [https://github.com/dubinc/dub](https://github.com/dubinc/dub)
618621
* 项目落地页 [https://github.com/weijunext/landing-page-boilerplate](https://github.com/weijunext/landing-page-boilerplate)
619622
* [https://github.com/huglemon/inwind-landing-page](https://github.com/huglemon/inwind-landing-page)
623+
* [https://github.com/onwidget/astrowind](https://github.com/onwidget/astrowind)
620624
* 表单生成 [https://github.com/heyform/heyform](https://github.com/heyform/heyform)
621625
* 网页元素拖拽 [https://github.com/atlassian/pragmatic-drag-and-drop](https://github.com/atlassian/pragmatic-drag-and-drop)
622626
* 调色板 [https://github.com/NeverCease/uchu](https://github.com/NeverCease/uchu)

0 commit comments

Comments
 (0)