技术
Arthas Memo
dashboard thread -b # check dead lock thread thread 123 jad TestClass redefine /root/TestClass.class jmap -histo 1234 | head -20 |
refer to:
https://visualvm.github.io/index.html
IDEA Maven Speedup
ideaIU-2023.2.1.win\plugins\maven\lib\maven3\conf\settings.xml
<mirrors> ... <mirror> <id>aliyunmaven</id> <mirrorOf>*</mirrorOf> <name>阿里云公共仓库</name> <url>https://maven.aliyun.com/repository/public</url> </mirror> ... </mirrors> ... <profiles> ... <profile> <id>jdk-1.8</id> <activation> <activeByDefault>true</activeByDefault> <jdk>1.8</jdk> </activation> <properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion> </properties> </profile> </profiles> |
refer to:
https://blog.csdn.net/baikunlong/article/details/113762152
https://www.bilibili.com/video/BV1kg4y1x7o6?p=49
https://mvnrepository.com
JDB Memo
src/META-INF/MANIFEST.MF
Manifest-Version: 1.0
Main-Class: com.example.TestApp1
Class-Path: lib/lib1.jar lib/lib2.jar |
java -agentlib:jdwp=transport=dt_shmem,address=jdbconn,server=y,suspend=y -jar TestApp1.jar jdb -attach jdbconn sourcepath src/TestApp1/src;src/common/src stop in com.example.startSocket(java.lang.String, int) run list resume |
refer to:
https://blog.csdn.net/dongfang1924/article/details/101613188
RocketMQ Memo
No topic route info in name server for the topic: TBW102
mqbroker.cmd -n localhost:9876 |
refer to:
https://blog.csdn.net/so_geili/article/details/90142461
PyTorch GPU Edition
CUDA has an extension for Visual Studio, so firstly, install VS IDE,
then,
https://developer.nvidia.com/cuda-11-8-0-download-archive
https://developer.nvidia.com/rdp/cudnn-download
https://download.pytorch.org/whl/cu118/torch-2.0.1%2Bcu118-cp311-cp311-win_amd64.whl
https://download.pytorch.org/whl/cu118/torchvision-0.15.2%2Bcu118-cp311-cp311-win_amd64.whl
refer to:
https://zhuanlan.zhihu.com/p/305854081
Win10 Server Memo
Install Windows Store,
https://github.com/kkkgo/LTSC-Add-MicrosoftStore
en_windows_server_2019_updated_june_2020_x64_dvd_7757177c.iso
refer to:
https://zhuanlan.zhihu.com/p/437785720
A service installation section in this INF is invalid
Add-WindowsFeature -Name Wireless-Networking |
Game Emulators in Linux
RetroArch
fceux
refer to:
https://linuxtoy.org/archives/game_emulator_for_linux.html
Make Recycler Available to Ntfs in Ubuntu
/etc/fstab
/dev/sda1 /media/Application ntfs defaults,utf8,uid=1000,gid=1000,big_writes 0 0 |
refer to:
https://blog.csdn.net/HYC679/article/details/81065260
https://blog.csdn.net/weixin_54705575/article/details/114151574