How to split a string in Java

  • 05 March 2018
  • ADM

How to split a string in Java using both variants of the split() method: split(String regex) and split(String regex, int limit).


How to get local computer name and IP in Java

  • 05 March 2018
  • ADM

How to get local computer name and IP in Java. Simple snippet using InetAddress.getLocalHost() method.


HTTP URLConnection with proxy in Java

  • 08 February 2018
  • ADM

How to create an HTTP URLConnection with proxy in Java. Simple example including proxy authentication.


How to Check Alexa Rank in Java

  • 16 November 2017
  • ADM

How to Check Alexa Rank in Java using the undocumented API: http://data.alexa.com/data?cli=10&url=domainName. The code contains also the possibility of adding proxy settings


How to convert a string to an unsigned int in Golang

  • 26 June 2020
  • ADM

How to convert a string to an unsigned int in Golang using strconv.ParseUint method.


How to convert a string to int in Golang

  • 14 August 2020
  • ADM

How to convert a string to int in Golang using strconv.Atoi and strconv.ParseInt methods.