Aug 52018

ADM

How to remove a remote from git

  • August 5 2018
  • ADM

To remove a remote you can use the command git remote rm in the terminal, from the root folder of your repository.

Aug 32018

ADM

How to remane a remote from git

  • August 3 2018
  • ADM

To rename a remote you can use the command git remote rename in the terminal, from the root folder of your repository.

Aug 12018

ADM

How to add a remote to git

  • August 1 2018
  • ADM

To add a remote you can use the command git remote add in the terminal, from the root folder of your repository.

Jul 262018

ADM

Java Custom Annotations Example

  • July 26 2018
  • ADM

How to create Java Custom Annotation. A simple example of creating Annotations in Java and usage by calling the Reflection API.

Jun 202018

ADM

How to execute shell command from Java

  • June 20 2018
  • ADM

How to execute a shell command from Java using Runtime.getRuntime().exec() method.

Jun 22018

ADM

How to generate UUID / GUID in Java

  • June 2 2018
  • ADM

How to generate UUID / GUID in Java using java.util.UUID class, UUID.randomUUID() method.

Jun 12018

ADM

How to change the hostname in Ubuntu

  • June 1 2018
  • ADM

How to change hostname in Ubuntu. There are three options: temporary until the first restart and permanent by changing the hostname file or using command hostnamectl