Guideline To set the scroll direction of your mouse, do the following steps: Step 1: Open Windows PowerShell in Administrator Mode. You can do this by going to Start Menu, type PowerShell, and cl...
How to set scroll direction of your mouse (reverse mouse wheel scroll)
Handling multiple Github accounts on MacOS
Guideline 1. Creating the SSH keys. For each SSH key pairs: Go ~/.ssh Run: ssh-keygen -t rsa -b 4096 -C "[email protected]" 2. Register your keys to the respective GitHub accounts. Follow...
Change the default Java (JDK) version on macOS
First run /usr/libexec/java_home -V to check available Java Virtual Machine: Matching Java Virtual Machines (2): 20.0.1 (arm64) "Eclipse Adoptium" - "OpenJDK 20.0.1" /Library/Java/JavaVirtualMachi...
What's the difference between implementation, api and compile in Gradle?
Gradle What’s the difference between implementation, api and compile (compileOnly, runtimeOnly, testImplementation, testCompileOnly, testRuntimeOnly) in Gradle? Name Role ...
Create a multi-project with Gradle/Maven
Gradle (Groovy) . ├── app │ ... │ └── build.gradle └── settings.gradle rootProject.name = 'basic-multiproject' include 'app' plugins { id 'application' } application { mainClass ...
How to write a New Post in the Chirpy template
This tutorial will guide you how to write a post in the Chirpy template, and it’s worth reading even if you’ve used Jekyll before, as many features require specific variables to be set. Naming and...
Some helpful websites for Java Developer
Whichjdk Introduce JDK, OpenJDK and some openjdk distributions. And some recommendations for using the right distributions
AWS CLI for EC2
Examples Example 1: List All instances from Default Region aws ec2 describe-instances Example 2: List All instances with query With all informations aws ec2 describe-instances \ --region ...
Deploy a Docker container with SSH access
Prepare Dockerfile, image, container and IP address Dockerfile FROM ubuntu:22.10 RUN apt update && apt install -y openssh-server nano RUN mkdir /var/run/sshd # Aa@123456 is root pa...
NodeJS memory usage check
NodeJS Checking memory usage const makeReadable = (value: number): string => `${Math.round((value / 1024 / 1024) * 100) / 100} MB`; export const memoryUsage = (): string => { const use...