[20] Results

Golang : Roll the dice example

golang rolling-dice random-digit integer

Just a simple example on how to simulate dice rolling. Useful in situation where you need to use random single….... read more


Golang : Count number of digits from given integer value

golang count-digit integer signal

Just a simple program to count number of digits from a given integer value. Need this to calculate if an….... read more


Random number generation with crypto/rand in Go

random-number

Random number is useful in many applications. From salting password to enabling secure transactions. In this tutorial, we will learn how to generate random number….... read more


Generate Random number with math/rand in Go

random-number

Random number is useful in many application. One such example is salting password to make in more secure. In this tutorial, we will learn how….... read more


Java : Random alphabets, alpha-numeric or numbers only string generator

java random string alphanumeric

A simple Java function to generate random string based on given parameter - alpha, alphanum and numeric. Depending on the….... read more


Golang : Flip coin example

golang flip-coin random

This is a simple program to simulate flip coin that I use to train a small artificial intelligence program. Basically….... read more


Golang : Random Rune generator

golang random rune string

Just a quick tutorial on how to generate random runes and add on to previous tutorial on how….... read more


Golang : Display advertisement images or strings on random order

golang advertisement shuffle random

This is a Golang add on for my previous tutorial on how to display random advertisements with PHP….... read more


Advertisement