Bash or PS Command Usage
View Directory Structureβ
tree /f
View Port Usageβ
netstat -ano | findstr :8080
Kill Process Occupying Portβ
taskkill /PID 1234 /F
Temporarily Set Java Home to Another Pathβ
$env:JAVA_HOME="D:\software\Java\jdk-17.0.7"
$env:PATH="$env:JAVA_HOME\bin;$env:PATH"
./gradlew test --daemon
export JAVA_HOME="/d/software/Java/jdk-17.0.7"
export PATH="$JAVA_HOME/bin:$PATH"
Start docusaurus bat scriptβ
start-docusaurus.ps1 in project
@echo off
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "D:\summary\start-docusaurus.ps1"
Agreement
The code part of this work is licensed under Apache License 2.0 . You may freely modify and redistribute the code, and use it for commercial purposes, provided that you comply with the license. However, you are required to:
- Attribution: Retain the original author's signature and code source information in the original and derivative code.
- Preserve License: Retain the Apache 2.0 license file in the original and derivative code.
- Attribution: Give appropriate credit, provide a link to the license, and indicate if changes were made.
- NonCommercial: You may not use the material for commercial purposes. For commercial use, please contact the author.
- ShareAlike: If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.