How to remove a remote from git

  • 14 April 2020
  • ADM

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


How to remane a remote from git

  • 10 August 2018
  • ADM

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


How to add a remote to git

  • 23 March 2020
  • ADM

To add a new remote you need to use the git remote add command on the terminal in the root folder of your repository.


How to change the hostname in Ubuntu

  • 11 June 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


How to check if file exists in Golang

  • 29 March 2018
  • ADM

How to check if a file exists in Golang using os.Stat method. A FileInfo describing the named file or an error is returned.


HTTP URLConnection with proxy in Java

  • 08 February 2018
  • ADM

How to create an HTTP URLConnection with proxy in Java. Simple example including proxy authentication.