From 7cf717f3e548bd62886d17375937a4693af2e703 Mon Sep 17 00:00:00 2001 From: bajins Date: Fri, 30 Aug 2024 16:44:25 +0800 Subject: [PATCH] add --- ...04\345\273\272\347\256\241\347\220\206.md" | 62 +++++++++++++++++-- ...15\345\222\214\345\215\232\345\256\242.md" | 2 + ...72\345\267\245\346\231\272\350\203\275.md" | 3 + ...17\345\222\214\347\274\226\347\240\201.md" | 1 + "Shell/PowerShell\345\221\275\344\273\244.md" | 5 +- Shell/README.md | 1 + ...05\347\275\221\347\251\277\351\200\217.md" | 1 + Web/CSS.md | 2 + 8 files changed, 72 insertions(+), 5 deletions(-) diff --git "a/Java/Java\346\236\204\345\273\272\347\256\241\347\220\206.md" "b/Java/Java\346\236\204\345\273\272\347\256\241\347\220\206.md" index f829cddb4..f38706edf 100644 --- "a/Java/Java\346\236\204\345\273\272\347\256\241\347\220\206.md" +++ "b/Java/Java\346\236\204\345\273\272\347\256\241\347\220\206.md" @@ -353,7 +353,7 @@ * 运行检查: `mvn verify` * 清理maven项目: `mvn clean` * 生成eclipse项目: `mvn eclipse:eclipse` -* 清理eclipse配置: `mvn eclipse:clean` +* 清理eclipse配置: `mvn eclipse:clean` 删除`.settings`、`.project`、`.classpath`、`.factorypath` * 生成idea项目: `mvn idea:idea` * 安装项目到本地仓库: `mvn install` * 发布项目到远程仓库: `mvn:deploy` @@ -361,7 +361,6 @@ * 显示maven依赖树: `mvn dependency:tree` * 显示maven依赖列表: `mvn dependency:list` * 下载依赖包的源码: `mvn dependency:sources` -* 安装本地jar到本地仓库: `mvn install:install-file -DgroupId=packageName -DartifactId=projectName -Dversion=version -Dpackaging=jar -Dfile=path` **web项目相关命令** @@ -376,6 +375,63 @@ - 部署展开的war文件: `mvn war:exploded tomcat:exploded` +#### 使用本地jar包 + +**将jar包安装到本地Maven仓库中** + +`mvn install:install-file -Dfile=C:\Users\xx\Desktop\test-1.0-SNAPSHOT.jar -DgroupId=com.bajins -DartifactId=test -Dversion=1.0 -Dpackaging=jar` + +- `-Dfile`:指定要安装的文件的路径。 +- `-DgroupId`:指定项目的groupId。 +- `-DartifactId`:指定项目的artifactId。 +- `-Dversion`:指定项目的版本号。 +- `-Dpackaging`:指定项目的打包类型。 + + ++ Eclipse -> `File` -> `Import` -> `Maven` -> `Install or deply an artifact to a Maven reposeitory` -> `Next` -> `Install artifact` ++ Eclipse -> 项目右键 -> `Maven` -> `Update Project` + + + +**引用本地jar包,非引用本地Maven仓库** + +```xml + + com.xxx + xxx-sdk + ${xxxSDK.version} + system + ${project.basedir}/lib/xxxSDK.jar + + + + org.springframework.boot + spring-boot-maven-plugin + + + true + + + + org.apache.maven.plugins + maven-war-plugin + + + + + ${project.basedir}/lib + WEB-INF/lib + false + + **/*.jar + + + + + 2.1.1 + +``` + ### Maven私服搭建 @@ -399,5 +455,3 @@ * jitpack [https://jitpack.io](https://jitpack.io) * jcenter [http://jcenter.bintray.com](http://jcenter.bintray.com) - - diff --git "a/Other/\344\271\246\347\261\215\345\222\214\345\215\232\345\256\242.md" "b/Other/\344\271\246\347\261\215\345\222\214\345\215\232\345\256\242.md" index 2636a979a..4a4431704 100644 --- "a/Other/\344\271\246\347\261\215\345\222\214\345\215\232\345\256\242.md" +++ "b/Other/\344\271\246\347\261\215\345\222\214\345\215\232\345\256\242.md" @@ -458,6 +458,8 @@ * [https://github.com/xiaoguyu](https://github.com/xiaoguyu) * [https://www.letianbiji.com](https://www.letianbiji.com) * [https://blog.xygalaxy.com](https://blog.xygalaxy.com) +* [https://github.com/mzlogin](https://github.com/mzlogin) + * [归档 — 码志](https://mazhuang.org/archives) diff --git "a/PL/\344\272\272\345\267\245\346\231\272\350\203\275.md" "b/PL/\344\272\272\345\267\245\346\231\272\350\203\275.md" index 6387471dc..5d6cf336f 100644 --- "a/PL/\344\272\272\345\267\245\346\231\272\350\203\275.md" +++ "b/PL/\344\272\272\345\267\245\346\231\272\350\203\275.md" @@ -71,6 +71,8 @@ * [https://maeiee-garden.vercel.app](https://maeiee-garden.vercel.app) * 微调 [https://github.com/InternLM/xtuner](https://github.com/InternLM/xtuner) +* 会议记录 [https://github.com/latentdream/watson.ai](https://github.com/latentdream/watson.ai) +* 爬虫 [https://github.com/mendableai/firecrawl](https://github.com/mendableai/firecrawl) @@ -437,6 +439,7 @@ * [https://github.com/facebookresearch/nougat](https://github.com/facebookresearch/nougat) * [https://github.com/Greedysky/TTKOCR](https://github.com/Greedysky/TTKOCR) * [https://github.com/tesseract-ocr/tesseract](https://github.com/tesseract-ocr/tesseract) +* [https://github.com/xushengfeng/eSearch](https://github.com/xushengfeng/eSearch) * 百度飞桨 [https://github.com/PaddlePaddle/PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR) * [https://github.com/hiroi-sora/Umi-OCR](https://github.com/hiroi-sora/Umi-OCR) * [https://github.com/miaomiaosoft/PandaOCR](https://github.com/miaomiaosoft/PandaOCR) diff --git "a/PL/\350\241\250\350\276\276\345\274\217\345\222\214\347\274\226\347\240\201.md" "b/PL/\350\241\250\350\276\276\345\274\217\345\222\214\347\274\226\347\240\201.md" index 5e6f71d7f..d60ebaed5 100644 --- "a/PL/\350\241\250\350\276\276\345\274\217\345\222\214\347\274\226\347\240\201.md" +++ "b/PL/\350\241\250\350\276\276\345\274\217\345\222\214\347\274\226\347\240\201.md" @@ -52,6 +52,7 @@ + [https://github.com/topics/emoji](https://github.com/topics/emoji) + [https://github.com/rotick/searchemoji](https://github.com/rotick/searchemoji) + [https://github.com/hfg-gmuend/openmoji](https://github.com/hfg-gmuend/openmoji) ++ [https://emojispark.com](https://emojispark.com) * Unicode最基本的知识 [https://tonsky.me/blog/unicode](https://tonsky.me/blog/unicode) diff --git "a/Shell/PowerShell\345\221\275\344\273\244.md" "b/Shell/PowerShell\345\221\275\344\273\244.md" index a180969c1..8fff49934 100644 --- "a/Shell/PowerShell\345\221\275\344\273\244.md" +++ "b/Shell/PowerShell\345\221\275\344\273\244.md" @@ -19,15 +19,18 @@ ```powershell # 列出所有的环境变量 Get-ChildItem env: -gci env: +gci env: | Format-Table -Property Name, Value dir env: ls env: # 获取环境变量的值 +gi env:path +$environment["Path"] $env:变量名 # 删除环境变量 del env:变量名 # 更新环境变量 $env:变量名="变量值" +gci env: | Where-Object {$_.Name -like "USER*"} # .NET方法操作可以全局生效 # 修改当前用户的环境变量(永久),只对新进程有效 [environment]::SetEnvironmentvariable("变量名", "值", [EnvironmentVariableTarget]::User) diff --git a/Shell/README.md b/Shell/README.md index d4f740cb0..cf10ac630 100644 --- a/Shell/README.md +++ b/Shell/README.md @@ -88,6 +88,7 @@ + [https://github.com/ynqa/jnv](https://github.com/ynqa/jnv) + HTML [https://github.com/ericchiang/pup](https://github.com/ericchiang/pup) + Find [https://github.com/sharkdp/fd](https://github.com/sharkdp/fd) ++ 便捷运行 [https://github.com/casey/just](https://github.com/casey/just) **`terminal`、`shell`、`tty`、`console` 之间的区别** diff --git "a/System/\345\206\205\347\275\221\347\251\277\351\200\217.md" "b/System/\345\206\205\347\275\221\347\251\277\351\200\217.md" index a008ca1c8..9153a8129 100644 --- "a/System/\345\206\205\347\275\221\347\251\277\351\200\217.md" +++ "b/System/\345\206\205\347\275\221\347\251\277\351\200\217.md" @@ -407,6 +407,7 @@ log_level = info * [https://github.com/jedisct1/vtun](https://github.com/jedisct1/vtun) * [https://github.com/mullvad](https://github.com/mullvad) * [https://github.com/ProtonVPN](https://github.com/ProtonVPN) +* [https://github.com/amnezia-vpn/amnezia-client](https://github.com/amnezia-vpn/amnezia-client) * Tinc VPN [https://github.com/gsliepen/tinc](https://github.com/gsliepen/tinc) * [https://gitlab.com/gsliepen/tinc](https://gitlab.com/gsliepen/tinc) * [使用 Tinc VPN 实现远程办公](https://21ki.github.io/post/tinc-vpn-build) diff --git a/Web/CSS.md b/Web/CSS.md index d216e7f4c..06aadb458 100644 --- a/Web/CSS.md +++ b/Web/CSS.md @@ -117,6 +117,8 @@ * [https://www.purecss.cn](https://www.purecss.cn) * [https://github.com/wintermute-cell/magick.css](https://github.com/wintermute-cell/magick.css) * [https://github.com/louismerlin/concrete.css](https://github.com/louismerlin/concrete.css) +* [https://github.com/milligram/milligram](https://github.com/milligram/milligram) +* [https://github.com/dhg/Skeleton](https://github.com/dhg/Skeleton) * [https://github.com/necolas/normalize.css](https://github.com/necolas/normalize.css) * [https://github.com/picturepan2/spectre](https://github.com/picturepan2/spectre) * [https://github.com/semantic-org/semantic-ui](https://github.com/semantic-org/semantic-ui)