How to change the hostname in Ubuntu

  • 11 June 2018
  • ADM

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


Git ignore file mode chmod changes

  • 22 March 2020
  • ADM

How to make Git to ignore file modified by chmod changes. Using core.fileMode git config.


How to fix Cannot change version of project facet Dynamic Web Module to 3.1 Error in Eclipse

  • 13 February 2017
  • ADM

How to fix Cannot change version of project facet Dynamic Web Module to 3.1 Error in Eclipse. 5 simple steps.


Raspberry Pi 3 first remote startup

  • 30 November 2016
  • ADM

How to connect remotely to Raspberry Pi 3 using ssh from Linux or MacOS or Putty from Windows.


How to convert object to / from JSON using Jackson

  • 17 July 2017
  • ADM

How to convert Java object to / from JSON string using Jackson library. Simple example including embedded object.


How to get CPU cores in Java

  • 16 September 2020
  • ADM

A system may contain multiple physical CPUs (central processing unit), and can contain one or more cores (processors). Also, each core can have multiple threads, usually 2. (Hyper-threading Technology from Intel CPUs).