Split URL into components using regex
Split URL into components (protocol, domain, port and uri) using regex in Java. Simple and tested example.
How to format XMLGregorianCalendar
How to format XMLGregorianCalendar object output using SimpleDateFormat class in Java. Simple tested example.
How to get date and time in Java
How to get current date and time in a specific format using Date, Calendar and SimpleDateFormat class.
How to install Apache Ant on Mac OS X
How to install Apache Ant on Mac OS X in 4 easy steps:download, extract, move to destination folder and edit the environment variables.
How to parse Google Search result in Java
How to parse Google Search result in Java using URLConnection and a regular expression to parse the response. Can be used to check the Google SERP position.
How to include library into Maven local repository
How to include library into maven local repository using mvn install command. Useful for libraries that are not available in public repositories.