How to convert a float to string in Golang

  • 11 June 2020
  • ADM

How to convert a float to string in Golang using strconv.FormatFloat function.


How to deep clone an object in Java

  • 25 July 2017
  • ADM

How to deep clone an object in Java. The clone method from the parent object needs to clone each child object separately and added to the cloned parent object.


How to generate random numbers in a range using Java

  • 19 July 2017
  • ADM

How to generate random numbers in a range using Java. A simple method using SecureRandom, class.


How to display folder tree structure in command line

  • 05 July 2017
  • ADM

How to see folder tree structure in command line using tree command.


Thread Semaphore and Mutex in Java

  • 30 May 2017
  • ADM

Thread Semaphore and Mutex in Java. Semaphore restrict the access to a resource for limited numbers of threads while mutex restricts the access to a single thread.


Breathing Light LED on Raspberry Pi using Java

  • 20 February 2018
  • ADM

Breathing Light LED on Raspberry Pi using Java. The light intensity will start from zero and gradually will increase up to maximum and then will decrease back to zero.