Jan 062020

ADM

How to disable submit button with jQuery

  • 06 January 2020
  • ADM

For a long submit operation or to avoid users clicking twice a submit button, a common solution is to disable the submit button after user clicked on it.

To disable a button using jQuery you need to add the disabled attribute to the button as true.

Dec 232019

ADM

How to read CSV file in Golang

  • 23 December 2019
  • ADM

How to read CSV file in Golang using reader from encoding/csv package. For this example we took an simple example of a CSV file containing three columns name, address and phone.

Dec 212019

ADM

How to write CSV file in Golang

  • 21 December 2019
  • ADM

How to write CSV file in Golang using writer from encoding/csv package. For this example we took an simple example of a CSV file containing three columns name, address and phone.

Dec 192019

ADM

How to measure execution time in Golang

  • 19 December 2019
  • ADM

To mesure the time used by an application in Golang or of a code section the functions time.Now() and time.Since() can be used.

Oct 022019

ADM

How to fix mspdb100.dll is missing from your computer

  • 02 October 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

  • 27 September 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)