HP Microserver Gen8 - Install ClearOS remotely

  • 31 October 2020
  • ADM

HP Microserver Gen8 - Install ClearOS on SSD Drive remotely. Step by step installation instructions.


Interfaces in Golang

  • 10 April 2020
  • ADM

Interfaces are collections of method signatures. A interface type can hold any value that implements those methods. The empty interface is an interface type that specifies zero methods. A type assertion provides access to an interface underlying concrete value. Two interfaces are equal if they have equal concrete values and identical dynamic types, or if both are nil.


Abstract keyword in Java

  • 10 March 2020
  • ADM

The abstract keyword is used in Java for abstraction. The abstraction is the process of selecting data and displaying only the relevant details to the object. If helps to reduce the programing complexity and the efort.


All keywords in Java

  • 09 March 2020
  • ADM

Keywords are special words in the programing language which have reserved use in the language. Keywords may not be used as identifiers in Java; for example you cannot declare a field whose name is a keyword.


How to trim whitespace from string in Golang

  • 25 September 2019
  • ADM

How to trim (remove) leading and trailing whitespace from string in Golang using the TrimSpace, Trim, TrimLeft, TrimRight methods from strings package.


How to get the dimensions of an image in Golang

  • 20 June 2019
  • ADM

Here are two simple methods to get the dimensions of an image in Golang: using image.DecodeConfig method if the image is not already loaded and image.Decode method is the image is loaded.