How to split a string and loop it's values in Microsoft SQL Server. Simple solution used to insert data into tables.


Split URL into components (protocol, domain, port and uri) using regex in Java. Simple and tested example.


How to format XMLGregorianCalendar object output using SimpleDateFormat class in Java. Simple tested example.


How to get current date and time in a specific format using Date, Calendar and SimpleDateFormat class.


How to read and write JSON with json-simple library. Full example how to create an object, write it to a file, read it and use it.


Luhn algorithm implementation in Java with example for both calculate the check digit and validate the number.