Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
bajins committed Jul 6, 2023
1 parent 17d3022 commit c331cbf
Show file tree
Hide file tree
Showing 17 changed files with 68 additions and 15 deletions.
Binary file added .vuepress/public/images/UUID解构.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions DBS/关系型数据库.md
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,8 @@ from
-- 计算时间差,实际时间不到1小时时,DATEDIFF会返回1,而DATE_PART返回0
SELECT DATE_PART('day', '2011-12-30 08:55'::timestamp - '2011-12-30 09:05'::timestamp) * 24 +
DATE_PART('hour', '2011-12-30 08:55'::timestamp - '2011-12-30 09:05'::timestamp);
-- 计算月份差
SELECT 12*EXTRACT(YEAR from age('2023-06-01','2022-01-01'))+EXTRACT(MONTH from age('2023-06-01','2022-01-01'));
-- 提取days时结果是准确的;但提取hours的时候,出现的小时数没有考虑日期,最大23
SELECT EXTRACT(DAYS FROM NOW() - '2020-01-31 10:00:00'::timestamp);
```
Expand Down
4 changes: 4 additions & 0 deletions IDE/Eclipse.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
## Flag

+ [https://github.com/eclipse/eclipse](https://github.com/eclipse/eclipse)
+ [https://github.com/eclipse-platform](https://github.com/eclipse-platform)
+ [https://github.com/eclipse-jdt](https://github.com/eclipse-jdt)
+ [https://github.com/eclipse-cdt](https://github.com/eclipse-cdt)
+ [https://github.com/eclipse-pde](https://github.com/eclipse-pde)
+ [https://projects.eclipse.org](https://projects.eclipse.org)
+ [https://www.eclipse.org/ide](https://www.eclipse.org/ide)
+ [https://www.eclipse.org/downloads/packages](https://www.eclipse.org/downloads/packages)
+ 设置 [https://github.com/vorburger/opendaylight-eclipse-setup](https://github.com/vorburger/opendaylight-eclipse-setup)
Expand Down
1 change: 1 addition & 0 deletions IDE/VisualStudioCode.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@
## VSCode插件

+ [https://github.com/eclipse/openvsx](https://github.com/eclipse/openvsx)
+ [https://github.com/EclipseFdn/open-vsx.org](https://github.com/EclipseFdn/open-vsx.org)


* [https://github.com/redhat-developer](https://github.com/redhat-developer)
Expand Down
14 changes: 11 additions & 3 deletions Java/JDK工具.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
- [https://github.com/topics/agent](https://github.com/topics/agent)


* [JVM问题笔记](https://blog.csdn.net/jwentao01/article/details/114947477)




**其他命令**

- [抛开IDE,了解一下javac如何编译](https://imshuai.com/using-javac)
Expand Down Expand Up @@ -270,6 +275,10 @@ java -Djavax.net.debug=all -Xdebug -Xnoagent -Djava.compiler=NONE \
| jmc.exe | Java任务控制工具(Java Mission Control),主要用于HotSpot JVM的生产时间监测、分析、诊断。从OracleJDK9开始,不再包含。 |


* [Java线上CPU内存冲高问题排查步骤](https://blog.csdn.net/wx17343624830/article/details/129635988)
* [java进程CPU占用高如何排查-案例二](https://blog.csdn.net/jwentao01/article/details/123982129)



#### VisualVM

Expand Down Expand Up @@ -475,6 +484,8 @@ jps [ -help ]


```bash
# https://www.jianshu.com/p/d5ed70f875d9
# https://www.cnblogs.com/qmfsun/p/5601734.html
# 每2秒输出一次内存情况,连续输出100次
jstat -gcutil <pid> 2000 100
jstat -gcutil $(pgrep java) 2000 100
Expand Down Expand Up @@ -656,6 +667,3 @@ jcmd <pid> GC.heap_dump /home/heap.hprof






2 changes: 2 additions & 0 deletions Java/ORM.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@
* [https://github.com/baomidou/mybatis-plus](https://github.com/baomidou/mybatis-plus)
* [https://github.com/davidfantasy/mybatis-plus-generator-ui](https://github.com/davidfantasy/mybatis-plus-generator-ui)
* [https://github.com/baomidou/awesome-mybatis-plus](https://github.com/baomidou/awesome-mybatis-plus)
* [https://github.com/mybatis-mapper](https://github.com/mybatis-mapper)
* [https://github.com/abel533/Mapper](https://github.com/abel533/Mapper)


- [https://github.com/alexdyysp/MybatisHandBook](https://github.com/alexdyysp/MybatisHandBook)
Expand Down
1 change: 1 addition & 0 deletions Java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@

+ [https://github.com/Wizzercn/MqttWk](https://github.com/Wizzercn/MqttWk)
+ 程序员考公务员 [https://github.com/coder2gwy/coder2gwy](https://github.com/coder2gwy/coder2gwy)
+ [https://github.com/The-Run-Philosophy-Organization/run](https://github.com/The-Run-Philosophy-Organization/run)



Expand Down
12 changes: 12 additions & 0 deletions Java/Tomcat.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,18 @@ vi webapps/host-manager/META-INF/context.xml
* [tomcat启动时卡在100%(preparing launch delegate...)](https://bbs.csdn.net/topics/392322747)


### 请考虑增加缓存的最大空间

* [https://tomcat.apache.org/tomcat-9.0-doc/config/resources.html#Attributes](https://tomcat.apache.org/tomcat-9.0-doc/config/resources.html#Attributes)

- 编辑`tomcat\conf\context.xml``webapp\META-INF\context.xml`文件

```xml
<!-- cachingAllowed是否缓存静态资源 -->
<Resources cachingAllowed="true" cacheMaxSize="102400" cacheObjectMaxSize="1024"/>
```



## CentOS安装Tomcat

Expand Down
12 changes: 1 addition & 11 deletions Other/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,7 @@

## Flag

+ [https://github.com/No-Github/Digital-Privacy](https://github.com/No-Github/Digital-Privacy)
+ [如何选择开源许可证?](http://www.ruanyifeng.com/blog/2011/05/how_to_choose_free_software_licenses.html)
+ [如何选择开源许可证?](https://blog.csdn.net/wadefelix/article/details/6384317)
+ License [https://github.com/fossas](https://github.com/fossas)
+ [https://app.fossa.com](https://app.fossa.com)
+ [https://fossa.com/learn/developers-guide-open-source-software-licenses](https://fossa.com/learn/developers-guide-open-source-software-licenses)
+ [https://opensource.org/licenses](https://opensource.org/licenses)
+ 开源指南 [https://github.com/github/opensource.guide](https://github.com/github/opensource.guide)
+ [https://creativecommons.org](https://creativecommons.org)


* [https://github.com/No-Github/Digital-Privacy](https://github.com/No-Github/Digital-Privacy)
* IP库 [https://db-ip.com](https://db-ip.com)
* 谷歌全球IP地址库 [https://github.com/justjavac/Google-IPs](https://github.com/justjavac/Google-IPs)
* 教育目的网络钓鱼工具 [https://github.com/htr-tech/zphisher](https://github.com/htr-tech/zphisher)
Expand Down
1 change: 1 addition & 0 deletions Other/免费服务.md
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@
* [https://github.com/gitpod-io/gitpod](https://github.com/gitpod-io/gitpod)
* `https://gitpod.io/#https://github.com/账户名/仓库名`
* [![](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#github.com/bajins/notes-vuepress)
* [https://github.com/loft-sh/devpod](https://github.com/loft-sh/devpod)
* [https://github.com/features/codespaces](https://github.com/features/codespaces)
* [https://github.com/ekzhang/rustpad](https://github.com/ekzhang/rustpad)
* coding [https://github.com/Coding/WebIDE](https://github.com/Coding/WebIDE)
Expand Down
3 changes: 2 additions & 1 deletion PL/C.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@
* [https://github.com/ImpulseAdventure/GUIslice-Builder](https://github.com/ImpulseAdventure/GUIslice-Builder)
* [https://github.com/ImpulseAdventure/GUIslice](https://github.com/ImpulseAdventure/GUIslice)
* [https://github.com/DaveGamble/cJSON](https://github.com/DaveGamble/cJSON)
* 压缩 [https://github.com/madler/zlib](https://github.com/madler/zlib)
* 压缩 [https://github.com/libarchive](https://github.com/libarchive)
* [https://github.com/madler/zlib](https://github.com/madler/zlib)
* [https://github.com/gdraheim/zziplib](https://github.com/gdraheim/zziplib)
* [https://github.com/lemire/simdcomp](https://github.com/lemire/simdcomp)
* [http://gailly.net](http://gailly.net)
Expand Down
2 changes: 2 additions & 0 deletions PL/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
* [https://github.com/Buernia/Zhudou-Sans](https://github.com/Buernia/Zhudou-Sans)
* [https://github.com/cmiscm/leonsans](https://github.com/cmiscm/leonsans)
* [https://github.com/intel/intel-one-mono](https://github.com/intel/intel-one-mono)
* [https://www.alibabafonts.com](https://www.alibabafonts.com)
* 高辨识度字体 [https://brailleinstitute.org/freefont](https://brailleinstitute.org/freefont)
* 字体编辑器 [https://github.com/fontforge/fontforge](https://github.com/fontforge/fontforge)
* 软件开发套件管理器 [https://github.com/sdkman](https://github.com/sdkman)
Expand Down Expand Up @@ -308,6 +309,7 @@
+ [https://github.com/kettle11/tangle](https://github.com/kettle11/tangle)
+ [https://github.com/wasmerio](https://github.com/wasmerio)
+ [https://github.com/fermyon/spin](https://github.com/fermyon/spin)
+ [https://github.com/finos/perspective](https://github.com/finos/perspective)


- Mozilla:可以用 Rust + WebAssembly 作为 JavaScript 替代
Expand Down
2 changes: 2 additions & 0 deletions PL/硬件交互.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* [https://github.com/vernemq/vernemq](https://github.com/vernemq/vernemq)
* [https://github.com/emqx/emqtt](https://github.com/emqx/emqtt)
* [https://github.com/jiejieTop/mqttclient](https://github.com/jiejieTop/mqttclient)
* LwM2M [https://github.com/eclipse-leshan/leshan](https://github.com/eclipse-leshan/leshan)
* [https://github.com/OpenMobileAlliance](https://github.com/OpenMobileAlliance)
* [https://github.com/sipeed](https://github.com/sipeed)
* [https://github.com/RT-Thread-packages/freemodbus](https://github.com/RT-Thread-packages/freemodbus)
* [https://github.com/debevv/nanoMODBUS](https://github.com/debevv/nanoMODBUS)
Expand Down
22 changes: 22 additions & 0 deletions PL/编程规范.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@
+ [https://github.com/topics/styleguide](https://github.com/topics/styleguide)
+ 十二要素 [https://github.com/heroku/12factor](https://github.com/heroku/12factor)
+ 敏捷宣言 [https://agilemanifesto.org](https://agilemanifesto.org)
+ 贡献者契约 [https://github.com/EthicalSource](https://github.com/EthicalSource)
+ [https://www.contributor-covenant.org](https://www.contributor-covenant.org)
+ License [https://github.com/fossas](https://github.com/fossas)
+ [https://app.fossa.com](https://app.fossa.com)
+ [https://fossa.com/learn/developers-guide-open-source-software-licenses](https://fossa.com/learn/developers-guide-open-source-software-licenses)
+ [如何选择开源许可证?](http://www.ruanyifeng.com/blog/2011/05/how_to_choose_free_software_licenses.html)
+ [如何选择开源许可证?](https://blog.csdn.net/wadefelix/article/details/6384317)
+ [https://opensource.org/licenses](https://opensource.org/licenses)
+ 开源指南 [https://github.com/github/opensource.guide](https://github.com/github/opensource.guide)
+ [https://creativecommons.org](https://creativecommons.org)


- [程序员工作中常见的英语词汇](https://github.com/Wei-Xia/most-frequent-technology-english-words)
Expand All @@ -21,6 +31,18 @@
* [软件测试之代码审查和代码走查](https://blog.csdn.net/weixin_31484477/article/details/81074198)
* 安全评估 [https://github.com/chaitin/xray](https://github.com/chaitin/xray)
* [https://github.com/whwlsfb/BurpCrypto](https://github.com/whwlsfb/BurpCrypto)
* UUID [https://datatracker.ietf.org/doc/html/draft-peabody-dispatch-new-uuid-format](https://datatracker.ietf.org/doc/html/draft-peabody-dispatch-new-uuid-format)
* [https://github.com/ulid](https://github.com/ulid)
* [https://github.com/sony/sonyflake](https://github.com/sony/sonyflake)
* [https://github.com/segmentio/ksuid](https://github.com/segmentio/ksuid)
* [https://github.com/rs/xid](https://github.com/rs/xid)
* [https://github.com/paralleldrive/cuid2](https://github.com/paralleldrive/cuid2)
* [https://github.com/paralleldrive/cuid](https://github.com/paralleldrive/cuid)
* [https://github.com/ai/nanoid](https://github.com/ai/nanoid)
* [https://github.com/boundary/flake](https://github.com/boundary/flake)
* [https://github.com/richardtallent/RT.Comb](https://github.com/richardtallent/RT.Comb)
* [https://github.com/ppearcy/elasticflake](https://github.com/ppearcy/elasticflake)
* [https://github.com/T-PWK/flake-idgen](https://github.com/T-PWK/flake-idgen)


- [https://github.com/topics/developer-tools](https://github.com/topics/developer-tools)
Expand Down
2 changes: 2 additions & 0 deletions Python/人工智能.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
- [https://github.com/ymcui/Chinese-LLaMA-Alpaca](https://github.com/ymcui/Chinese-LLaMA-Alpaca)
- [https://github.com/stochasticai/xturing](https://github.com/stochasticai/xturing)
- [https://github.com/rustformers/llama-rs](https://github.com/rustformers/llama-rs)
- [https://github.com/li-plus/chatglm.cpp](https://github.com/li-plus/chatglm.cpp)
- [https://github.com/OptimalScale/LMFlow](https://github.com/OptimalScale/LMFlow)
- 模型调用 [https://github.com/hwchase17/langchain](https://github.com/hwchase17/langchain)
- 金融 [https://github.com/AI4Finance-Foundation/FinGPT](https://github.com/AI4Finance-Foundation/FinGPT)
Expand Down Expand Up @@ -235,6 +236,7 @@
* [https://github.com/babysor/MockingBird](https://github.com/babysor/MockingBird)
* [https://github.com/cnlinxi/book-text-to-speech](https://github.com/cnlinxi/book-text-to-speech)
* [https://github.com/haoheliu/AudioLDM](https://github.com/haoheliu/AudioLDM)
* 变声 [https://github.com/w-okada/voice-changer](https://github.com/w-okada/voice-changer)
* 捕获键盘声音 [https://github.com/ggerganov/kbd-audio](https://github.com/ggerganov/kbd-audio)
* 文本复述 [https://github.com/tongchangD/text_data_enhancement_with_LaserTagger](https://github.com/tongchangD/text_data_enhancement_with_LaserTagger)
* [https://github.com/innnky/so-vits-svc](https://github.com/innnky/so-vits-svc)
Expand Down
1 change: 1 addition & 0 deletions System/Windows软件.md
Original file line number Diff line number Diff line change
Expand Up @@ -1004,6 +1004,7 @@ THUV2-32HH7-6NMHN-PTX7Y-QQCTH(该序列号来自昔阳县政府)
* [https://github.com/Atmosphere-NX/Atmosphere](https://github.com/Atmosphere-NX/Atmosphere)
* [https://github.com/switchbrew](https://github.com/switchbrew)
* [https://github.com/skyline-emu/skyline](https://github.com/skyline-emu/skyline)
* [https://github.com/StrongPC123/Far-Cry-1-Source-Full](https://github.com/StrongPC123/Far-Cry-1-Source-Full)


+ [http://www.downloadsoftware.ir](http://www.downloadsoftware.ir)
Expand Down
2 changes: 2 additions & 0 deletions Web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

## Flag

+ [https://www.iso.org](https://www.iso.org)
+ [https://www.itu.int](https://www.itu.int)
+ RFC [https://www.rfc-editor.org](https://www.rfc-editor.org)
+ IETF [https://tools.ietf.org](https://tools.ietf.org)
+ IRTF [https://irtf.org](https://irtf.org)
Expand Down

0 comments on commit c331cbf

Please sign in to comment.