All keywords in Java
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.
How to generate a random int in Golang
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 split a string into slice in Golang
How to split a string into slice using Golang. For a simple split by a singular character you can use Split()
method from strings
package. For more complex rules the regexp.Split()
method can be used.
JAXB Hello World Marshalling / Unmarshalling Example
JAXB Hello World Marshalling/Unmarshalling example: Object to XML and XML to Object.
Blinking LED on Raspberry Pi using C
How to make a LED blinking on Raspberry Pi using C. Simple C code sample using WiringPi library.
Java 8 forEach examples
Java 8 forEach examples. Map and list loop using lambda, method reference, stream and filter.