How to run HyperV Ubuntu VM in full screen

  • 24 November 2020
  • ADM

When I installed Ubuntu Desktop in HyperV, the VM was running with a 1152x864 screen resolution and I could not get the machine to run full screen. The max resolution that hyperv_fb is supporting is 1920x1080.


How to install Nginx on Ubuntu

  • 28 April 2020
  • ADM

Nginx is one of the most popular web servers in the world. It is also known to be more resource-friendly than Apache in most cases and can be used as a web server or as a reverse proxy.


Switch case statements in Golang

  • 20 April 2020
  • ADM

The switch statement is an easier way to have a sequence of if-else statements. In Golang you don't need to have break at the end of each case, it breaks implicitly. Also the golang switch statement work on values of any type.


Maps in Golang

  • 14 April 2020
  • ADM

Golang maps implements a hash table. Hash tables are one of the most used data structure. A hash table is an unordered collection of key-value pairs, where each key is unique.


Arrays in Golang

  • 12 April 2020
  • ADM

An array is a data structure with a fixed size containing elements (items) of the same type. Iterate over an array using for loop or for range loop.


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.