Skip to main content

Posts

Showing posts from November, 2023

Gradle vs Maven

Gradle and Maven are both popular build automation tools used for Java projects. They both provide a way to manage dependencies, compile code, and run tests. However, they have different approaches and strengths that make them suitable for different use cases. Gradle Gradle is a general-purpose build automation tool that uses a Groovy-based domain-specific language (DSL) to define build scripts. This DSL is more powerful and flexible than Maven's XML-based configuration, making Gradle a good choice for complex projects with a lot of custom build logic. Gradle is also known for its performance, as it uses a directed acyclic graph (DAG) to represent the project's dependencies. This DAG allows Gradle to avoid unnecessary work, which can make builds significantly faster, especially for large projects. Maven Maven is a more opinionated build automation tool that uses a pre-defined set of phases and goals to manage the build process. This makes Maven a good choice for simple projects...

How edit host file in windows 10 and windows 11

  Editing the hosts file in Windows 10 and Windows 11 can be done using a text editor like Notepad. However, since the hosts file is a system file, you will need to run Notepad as an administrator to make changes. Here are the steps on how to do it: Windows 10: Open Notepad. Right-click on the Notepad icon in the taskbar and select "Run as administrator. " In the Notepad window, click on the "File" menu and select "Open. " Navigate to the following location: C: \Windows\System32\drivers\etc Select the "hosts" file and click on the "Open" button. Make the desired changes to the hosts file. Click on the "File" menu and select "Save. " Windows 11: Open Notepad. Click on the file menu and select "Open with". Select "Notepad (Administrator)" from the list of apps. In the Notepad window, click on the "File" menu and select "Open. " Navigate to the following lo...