-
Continue reading →: Moving apps to other drive in windows 11
Generally we install all the apps to the default OS drive i.e. C drive on windows. But, there comes a point that C drive gets full but you need the software also. We have already data stored linked to data you can not let go of. In this scenario we…
-
Continue reading →: Adding Function to Powershell Profile
Here is how you can add customized function to powershell profile: Now edit profile using below command Now add function to the editor, save and close the editor. Close and open the window again, you can access the function as a command from each powershell session here on. A sample…
-
Continue reading →: Adding SSH Public Key in Windows for WSL
To add an SSH public key to Windows for WSL (Windows Subsystem for Linux) on the same machine, you’ll typically follow these steps: Generate SSH Key Pair: If you haven’t already, you’ll need to generate an SSH key pair (public and private keys). You can do this using the ssh-keygen…
-
Continue reading →: Dockerizing spring boot gradle app
Make sure your gradle project has gradle.properties file like in working directory : systemProp.https.proxyHost=proxy.company.netsystemProp.https.proxyPort=8080systemProp.https.proxyPassword=systemProp.http.proxyHost=proxy.company.netsystemProp.http.proxyPort=8080systemProp.http.proxyPassword=systemProp.https.nonProxyHosts=*.company.com|localhostorg.gradle.java.home=C\:\Program Files\Java\jdk-17.0.1 Open command prompt and move to project working directory Run command: .\gradlew build then .\gradlew bootRun This insure is project can be built and run using gradle. Now create dockerfile like below: FROM eclipse-temurin:17-jdk-jammy ENV…
-
Continue reading →: Importing gradle project in eclipse IDE
For creating and importing java gradle project in eclipse, go to your workspace folder from command line and enter below command: mkdir proj_name After that go to that folder using below command cd proj_name Now type below command. gradle init –type java-application This generates gradle project in java application format.…