How to execute shell command from Java
How to execute a shell command from Java using Runtime.getRuntime().exec()
method.
How to change the hostname in Ubuntu
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
Tomcat default administrator password
How to activate the default tomcat manager application administrator password. This setting is for Tomcat 7 and newer.
How to check if file exists in Golang
How to check if a file exists in Golang using os.Stat method. A FileInfo describing the named file or an error is returned.
How to setup a proxy with authentication for HTTP client in Golang
How to setup a proxy with authentication for HTTP client in Golang example using http.Transport and http.Client. Simple example calling httpbin.org test server.
How to setup a proxy for HTTP client in Golang
How to setup a proxy for HTTP client in Golang example using http.Transport and http.Client. Simple example calling httpbin.org test server.