Blinking LED on Raspberry Pi using Python

  • 21 March 2017
  • ADM

How to make a LED blinking on Raspberry Pi using Python. Simple Python code sample.


Log4j 1.2.x basic example

  • 10 February 2017
  • ADM

This tutorial presents log4j 1.2.x basic examples. How to log a message and an exception.


log4j.properties basic examples

  • 09 February 2017
  • ADM

log4j.properties basic examples. Output to the console and to the file.


How to sort objects with Comparable and Comparator in Java

  • 04 February 2017
  • ADM

How to sort objects with Comparable and Comparator in Java. Primitive array and list sorting. Java Object sorting with Comparable and Comparator.


GET/POST request with Apache HttpClient

  • 27 January 2017
  • ADM

GET/POST request tutorial using Apache HttpClient. The tutorial is using httpbin.org test server.


How to compress files in ZIP format using Java

  • 24 January 2017
  • ADM

How to compress files in ZIP format using Java. The example takes a folder or file and adds all the files and sub-folders.