Matt Reid | Senior Software Developer

Matthew Reid is a software developer and web developer, specialising in Java, Node and Scala as well as HTML JavaScript and CSS.

I was recently running a webapp on tomcat that needed to run on port 80 for the links to work. This isn’t easy in osx as port 80 is already being used by other things.

Communication with an XML-RPC server via Java is extremely easy with the apache XML-RPC library using the following snippet:

I recently found the following post on stackoverflow here, simply add the following code (sorry, no xml version)

I recently needed to work out the intersection of 2 text files and the lines that didn’t match in 2 documents, after some googling I found the following 2 lines of script that take 2 files and pipe the output to a new file