Sending emails with Golang

  • 20 June 2020
  • ADM

To send an email directly from Golang you can use the package smtp which implements the Simple Mail Transfer Protocol (SMTP) as defined in RFC 5321. You also need a mail server, for this tutorial will use the Gmail mail server.


How to setup a proxy with authentication for HTTP client in Golang

  • 22 March 2020
  • ADM

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

  • 05 March 2018
  • ADM

How to setup a proxy for HTTP client in Golang example using http.Transport and http.Client. Simple example calling httpbin.org test server.


How to generate JAXB classes with xjc

  • 05 March 2018
  • ADM

How to generate JAXB classes with xjc. Command line: xjc -d src -p com.admfactory.client schema.xsd


How to kill a process from the command line in Window

  • 05 March 2018
  • ADM

How to kill a process from the command line in Window using tasklist and taskkill command.


How to fix briefly unavailable for scheduled maintenance in Wordpress

  • 06 October 2017
  • ADM

How to fix briefly unavailable for scheduled maintenance in Wordpress: by removing the .maintenance file from the installation root folder.