All keywords in Java

  • 09 March 2020
  • ADM

Keywords are special words in the programing language which have reserved use in the language. Keywords may not be used as identifiers in Java; for example you cannot declare a field whose name is a keyword.


XML and HTML sitemap file in SEO

  • 16 February 2020
  • George

The sitemap's a file place on your website that will enable Google and other search engines to crawl better and understand the structure of the site. Sitemaps also tell search engines which pages on your site are most important. It's a binder of your website's content.


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.


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.


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)


How to convert hex to string in Golang

  • 12 April 2019
  • ADM

How to convert hex to string in Golang using the DecodeString method from encoding/hex package.