Paul Osborne - Java/PHP Developer

Custom Java Application for the Betfair Exchange Completed

QuickFire: Custom Betting Software the Betfair Exchange

QuickFire: Custom Betting Software for the Betfair Exchange

QuickFire is a custom Java application developed to operate with the Betfair Exchange. Our client required a simple application to select markets and simplify/speed-up the trading process during in-play horse races for both the main and Australian exchanges.

The application was built using Java 1.6 and our own Core Betfair API, a custom, robust platform we have developed to ease and enhance development of Betfair applications.

Although the application is built entirely in Java, making it capable of running on any operating system, it was also delivered with a custom installer for Windows for ease of use.

More details: Custom Betfair Development.

BTFTA.org: PHP Customisation / Development

British Thought Field Therapy AssociationMorley Computing have just completed a customisation of the BizDirectory PHP application on behalf of the British Thought Field Therapy Association (BTFTA).

The existing PHP application provided the essential functionality but it was also necessary to modify the PHP interface with PayPal for paid advertising.

How to do a recursive chmod all PHP files in a site or folder

If you want to do a recursive chmod on a set of files below a given directory or folder using the bash shell you can do the following:

find . -type f -name ‘*.php’ -exec chmod 644 {} \;

This command can be easily adapted to work for other file types or modes. The ‘.’ following ‘find’ specifies the root directory for the operation.

How to chmod all folder/directories below the current directory…

find . -type d -exec chmod 755 {} \;

Alternatively, chmod on all directories below a given directory (./somedir)

find ./somedir -type d -exec chmod 755 {} \;

Getting the local host name using Java

A quick example of how to get the name of the localhost using the Java InetAddress class.


 String hostname = null;
 try {
     InetAddress localhost = Address.getLocalHost();
     if (localhost != null) {
          hostname = localhost.getHostName();
     }
 } catch (UnknownHostException e) {
      e.printStackTrace();
 }
 System.out.println("Hostname is " + (hostname != null ? hostname : "Unknown") );

Configuring a Local CVSNT Repository and Eclipse

Configuring the Eclipse IDE to use a local CVS (CVSNT) repository on windows isn’t an entirely obvious procedure since CVS and Eclipse are geared to working on Linux/Unix. It is actually quite simple to do but if you miss a couple of points you could spend hours fiddling with it without any luck.

The following article by Seth Thompson walks you through the process:

Seth Thompson’s CVSNT + Eclipse = Pain FAQ

Launch: ‘Discover Grassington’ Java Mobile Phone Application


Poster for Java Mobile Application (J2ME)

Poster for Java Mobile Application (J2ME)


The ‘Discover Grassington’ Java (J2ME) mobile phone application developed by Morley Computing on behalf of AudioTrails.co.uk for The Yorkshire Dales National Park Authority has now been launched . See the attached poster for details. Visitors to Grassington in the Yorkshire Dales can now discover the town via the latest mobile technology. Mobile phone users can download a free guide from the National Park Centre by using the bluetooth feature on their mobile – no phone reception required. The application is a custom-built Java application built using the J2ME Polish Framework for MIDP compatible mobile phones. Visit the websites: Moors for the Future Parnership Audio Trails