Skip to content

Instantly share code, notes, and snippets.

View dev-techmoe's full-sized avatar
💔
I'm busy earning money...

techmoe dev-techmoe

💔
I'm busy earning money...
View GitHub Profile
@dev-techmoe
dev-techmoe / keybase.md
Created September 13, 2023 15:08
keybase.md

Keybase proof

I hereby claim:

  • I am dev-techmoe on github.
  • I am techmoe (https://keybase.io/techmoe) on keybase.
  • I have a public key whose fingerprint is C69A A785 C09F EB47 C524 8500 BC77 4744 8E77 9D83

To claim this, I am signing this object:

@dev-techmoe
dev-techmoe / controller-advice-handles-404.md
Last active April 27, 2023 02:18
[2023] How to use @ControllerAdvice to handles 404 errors correctly in a Spring Boot project

How to use @ControllerAdvice to handles 404 errors correctly in a Spring Boot project

Since many online tutorials are misleading, I want to share how I solved this problem.

The version of my spring boot used: 2.7.11

Steps

  1. set this below to your application.yml
@dev-techmoe
dev-techmoe / README.md
Last active September 11, 2021 09:14
Install oh my zsh via Gitee mirror / 通过Gitee镜像来安装 oh my zsh
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\文件哈希校验]
"SubCommands"="MACTripleDES;MD5;RIPEMD160;SHA1;SHA256;SHA384;SHA512"
"MUIVerb"="Get Hash"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MACTripleDES]