Skip to content

Commit ac2c2eb

Browse files
author
bajins
committed
add
1 parent bcd6189 commit ac2c2eb

28 files changed

+245
-118
lines changed

Go/Go笔记.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,13 +230,13 @@ func StringBuilder(p []string) string {
230230
> 如果在`panic`函数之前存在`defer`函数,则执行`defer`函数,这里的`defer`有点类似`try…catch…finally`中的`finally`
231231
>> 如果`defer`函数内不包含`recover`会直到`goroutine`整个退出,并报告错误
232232
>>
233-
>> 相反则会捕获这个`panic`类似于`try…catch…finally`中的`catch`
233+
>> 相反则会捕获这个`panic`类似于其他语言中`try…catch…finally``try`角色
234234
235235

236236
**defer**
237237

238-
> 可以将一个方法延迟到包裹该方法的方法返回时执行,`defer`语句可以充当其他语言中`try…catch…finally`的角色
239-
> 也可以用来处理关闭文件句柄等收尾操作
238+
> 可以将一个方法延迟到包裹该方法的方法返回时执行,`defer`类似于其他语言中`try…catch…finally``finally`角色
239+
> 它常用于释放资源(如文件句柄、锁等)或确保某些清理逻辑一定会被执行
240240
241241
1. 包裹`defer`的函数返回时
242242
2. 包裹`defer`的函数执行到末尾时
@@ -253,6 +253,7 @@ func StringBuilder(p []string) string {
253253
1. 用来控制一个`goroutine``panicking`行为,捕获`panic`,从而影响应用的行为
254254

255255
> `defer`函数中,通过`recever`来终止一个`goroutine``panicking`过程,从而恢复正常代码的执行,可以获取通过`panic`传递的`error`
256+
> `defer`类似于其他语言中`try…catch…finally``catch`角色
256257
257258

258259

Go/Go编译打包.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
- `CGO_ENABLED` CGO开关
102102
- `-o` 参数为指定输出程序文件名
103103
- `go clean -cache` 编译完成清理缓存
104+
- `go env -w GOFLAGS=-buildvcs=false` 不将版本控制信息(如提交哈希、提交时间)嵌入到二进制文件中
104105

105106

106107
**`-ldflags`选项**

IDE/Chromium.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,17 @@ chrome://flags/#enable-parallel-downloading
238238
* [https://github.com/browserless](https://github.com/browserless)
239239

240240

241+
242+
- 绕过五秒盾 [https://github.com/FlareSolverr/FlareSolverr](https://github.com/FlareSolverr/FlareSolverr)
243+
- [https://github.com/VeNoMouS/cloudscraper](https://github.com/VeNoMouS/cloudscraper)
244+
- [https://github.com/RomainMichau/cloudscraper_go](https://github.com/RomainMichau/cloudscraper_go)
245+
- [https://github.com/ultrafunkamsterdam/undetected-chromedriver](https://github.com/ultrafunkamsterdam/undetected-chromedriver)
246+
- [https://github.com/ultrafunkamsterdam/nodriver](https://github.com/ultrafunkamsterdam/nodriver)
247+
- [https://github.com/g1879/DrissionPage](https://github.com/g1879/DrissionPage)
248+
- [https://github.com/Davincible/chromedp-undetected](https://github.com/Davincible/chromedp-undetected)
249+
250+
251+
241252
**反爬虫**
242253

243254
* [https://github.com/intoli/intoli-article-materials](https://github.com/intoli/intoli-article-materials)

IDE/Git使用.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
* [https://github.com/ewanmellor/git-diff-image](https://github.com/ewanmellor/git-diff-image)
8080
* 根据日志生成Changelog [https://github.com/orhun/git-cliff](https://github.com/orhun/git-cliff)
8181
* [https://github.com/conventional-changelog](https://github.com/conventional-changelog)
82+
* 提交统计 [https://github.com/sinclairtarget/git-who](https://github.com/sinclairtarget/git-who)
8283

8384

8485
- [git-pull.bat](/files/git-pull.bat)

IDE/Git服务.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ volumes:
231231
- [https://github.com/maxiaof/github-hosts](https://github.com/maxiaof/github-hosts)
232232
- [https://github.com/Potterli20/hosts](https://github.com/Potterli20/hosts)
233233
- [https://codechina.csdn.net/mirrors](https://codechina.csdn.net/mirrors)
234+
- [https://fcp7.com/github-mirror-daily-updates.html](https://fcp7.com/github-mirror-daily-updates.html)
234235

235236

236237
**Raw 文件加速**

IDE/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@
146146
147147

148148
+ [CI services](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/ci-configuration.md)
149+
+ [https://github.com/milanm/DevOps-Roadmap](https://github.com/milanm/DevOps-Roadmap)
149150
+ [https://github.com/opencpu](https://github.com/opencpu)
150151
+ [https://github.com/circleci](https://github.com/circleci)
151152
+ [https://github.com/codeship](https://github.com/codeship)

Java/Java构建管理.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
- [https://www.atlassian.com/zh/software/bamboo](https://www.atlassian.com/zh/software/bamboo)
9595
- [https://github.com/technomancy/leiningen](https://github.com/technomancy/leiningen)
9696
- [https://github.com/ansible/ansible](https://github.com/ansible/ansible)
97+
- [https://github.com/ansible-community](https://github.com/ansible-community)
9798
- 自动化部署 [https://github.com/dreamans/syncd](https://github.com/dreamans/syncd)
9899
- [https://github.com/jitpack/jitpack.io](https://github.com/jitpack/jitpack.io)
99100
- [https://github.com/jreleaser](https://github.com/jreleaser)

Java/Java笔记.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@
9999
- Multiline String 多行字符串
100100
- Template String 模板字符串
101101
- Text Blocks 文本块
102+
- Raw String Literals 原始字符串字面量
102103

103104
> Java 13 Text Blocks 第一次预览版,Java 14 Text Blocks 第二次预览版,Java 15 Text Blocks 正式版
104105

Java/Java第三方库.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@
159159
+ [https://github.com/RichardWarburton/lambda-behave](https://github.com/RichardWarburton/lambda-behave)
160160
+ [https://github.com/jasongoodwin/better-java-monads](https://github.com/jasongoodwin/better-java-monads)
161161
+ [https://github.com/functionaljava/functionaljava](https://github.com/functionaljava/functionaljava)
162-
+ 规则引擎 [https://github.com/j-easy](https://github.com/j-easy)
163-
+ [Java规则引擎 Easy Rules](https://www.cnblogs.com/cjsblog/archive/2020/06/11/13088017.html)
164162
+ 并发数据结构 [https://github.com/JCTools/JCTools](https://github.com/JCTools/JCTools)
165163
+ [https://github.com/real-logic](https://github.com/real-logic)
166164
+ [https://github.com/carrotsearch/hppc](https://github.com/carrotsearch/hppc)
@@ -170,9 +168,14 @@
170168
+ [https://github.com/togglz/togglz](https://github.com/togglz/togglz)
171169
+ 集合增强 [https://github.com/vigna/fastutil](https://github.com/vigna/fastutil)
172170
+ [https://github.com/lemire/javaewah](https://github.com/lemire/javaewah)
173-
+ 规则引擎 [https://github.com/j-easy/easy-rules](https://github.com/j-easy/easy-rules)
171+
+ 规则引擎 [https://github.com/j-easy](https://github.com/j-easy)
172+
+ [Java规则引擎 Easy Rules](https://www.cnblogs.com/cjsblog/archive/2020/06/11/13088017.html)
173+
+ [https://github.com/openl-tablets/openl-tablets](https://github.com/openl-tablets/openl-tablets)
174174
+ [https://github.com/killme2008/aviatorscript](https://github.com/killme2008/aviatorscript)
175175
+ [Aviator—Java表达式求值引擎的使用](https://blog.csdn.net/starcrm/article/details/108558135)
176+
+ [https://github.com/apache/incubator-kie-optaplanner](https://github.com/apache/incubator-kie-optaplanner)
177+
+ [OptaPlanner - 入门介绍](https://zhuanlan.zhihu.com/p/84149346)
178+
+ [【OptaPlanner教程1】OptaPlanner介绍](https://zhuanlan.zhihu.com/p/671696505)
176179
+ [https://github.com/kiegroup/drools](https://github.com/kiegroup/drools)
177180
+ [https://github.com/mvel/mvel](https://github.com/mvel/mvel)
178181
+ [https://github.com/alibaba/QLExpress](https://github.com/alibaba/QLExpress)
@@ -624,6 +627,7 @@
624627
+ [https://github.com/ailohq/osworkflow](https://github.com/ailohq/osworkflow)
625628
+ [https://gitee.com/opencc/JFlow](https://gitee.com/opencc/JFlow)
626629
+ [https://gitlab.com/erasmusmc-public-health/parallelstateless4j](https://gitlab.com/erasmusmc-public-health/parallelstateless4j)
630+
+ [https://github.com/copper-engine/copper-engine](https://github.com/copper-engine/copper-engine)
627631
+ 云原生框架 [https://github.com/quarkusio/quarkus](https://github.com/quarkusio/quarkus)
628632
+ [https://github.com/quarkiverse](https://github.com/quarkiverse)
629633
+ [https://github.com/piranhacloud](https://github.com/piranhacloud)

Java/Spring.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ try {
406406
+ [https://github.com/zlt2000/microservices-platform](https://github.com/zlt2000/microservices-platform)
407407
+ [https://github.com/chillzhuang/blade-tool](https://github.com/chillzhuang/blade-tool)
408408
+ [https://gitee.com/smallc](https://gitee.com/smallc)
409+
+ [https://github.com/littlehorse-enterprises/littlehorse](https://github.com/littlehorse-enterprises/littlehorse)
409410

410411

411412
> 微服务就是单个应用程序拆分成许多个小型服务的一种开发方法
@@ -463,6 +464,7 @@ try {
463464
+ [https://github.com/siaorg/sia-gateway](https://github.com/siaorg/sia-gateway)
464465
+ [https://github.com/mitre/HTTP-Proxy-Servlet](https://github.com/mitre/HTTP-Proxy-Servlet)
465466
+ [https://github.com/mkopylec/charon-spring-boot-starter](https://github.com/mkopylec/charon-spring-boot-starter)
467+
+ [https://github.com/stargate/stargate](https://github.com/stargate/stargate)
466468
+ 日志收集 [https://github.com/apache/flume](https://github.com/apache/flume)
467469
+ [https://flume.liyifeng.org](https://flume.liyifeng.org)
468470
+ [https://github.com/fayechenlong/plumelog](https://github.com/fayechenlong/plumelog)

0 commit comments

Comments
 (0)