Oct 22019

ADM

How to fix mspdb100.dll is missing from your computer

  • October 2 2019
  • ADM

How to fix The program can't start because mspdb100.dll is missing from your computer. Try reinstalling the program to fix this problem. by adding the VC 10.0 IDE on the Windows system environment variables or by running the vcvars32.bat for the current session.

Sep 272019

ADM

How to generate a random int in Golang

  • September 27 2019
  • ADM

In Golang there a are two libraries for generating random integers, one is a pseudo-random number generator (package math/rand) and the second one is cryptographically secure random number generator (package crypto/rand)

Sep 252019

ADM

How to trim whitespace from string in Golang

  • September 25 2019
  • ADM

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

Aug 242019

ADM

How to fix apt lock-frontend error in Ubuntu

  • August 24 2019
  • ADM

How to fix the E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) error.

Aug 142019

ADM

How to delete the Windows.old folder from Windows 10

  • August 14 2019
  • ADM

If you recently update your OS to Windows 10, you might notice that you are running out of space. If this is happening it might be because the old version of the Windows is not yet deleted from the disk, it is stored into "Windows.old" folder. And depending on the size of that version, it could be taking a lot of precious space.

Jun 202019

ADM

How to get the dimensions of an image in Golang

  • June 20 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.

Jun 182019

ADM

How to change DNS settings from command line

  • June 18 2019
  • ADM

The command line tool used to change the DNS settings is netsh which allows you to configure just about any aspect of your network connections in Windows. In order to use the tool the command line needs to be started as Administrator.