How to split a string in Java
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
How to get local computer name and IP in Java. Simple snippet using InetAddress.getLocalHost() method.
HTTP URLConnection with proxy in Java
How to create an HTTP URLConnection with proxy in Java. Simple example including proxy authentication.
How to Check Alexa Rank in Java
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
How to convert a string to an unsigned int in Golang using strconv.ParseUint method.
How to convert a string to int in Golang
How to convert a string to int in Golang using strconv.Atoi and strconv.ParseInt methods.
Search
Other Posts
Follow Us On