Posts by Category

Java

Service first using JAX-WS

3 minute read

There are two ways for developing services using JAX-WS, service first, and contract first. Service first means you would typically write the implementation ...

Grails based survey system, the android app

6 minute read

Some time back I wrote an article describing the roosearch system I developed using grails. This is the second part, the android client, please checkout the ...

How I passed the SCJP / OCPJP

3 minute read

After procrastinating for many years (4 to be precise), I finally sat and passed the SCJP exam. The exam itself wasn’t particularly difficult, but theres a l...

Inheritance, some examples for SCJP study

2 minute read

Inheritance is a practice of one thing extending another. So you can more specific subclasses of a class. Inheritance is available in most programming langua...

Basics of the switch statement in Java

3 minute read

If statements are great, but sometimes they are just not very practical when you have to test for more than a handful of conditions, have a look at this very...

String concatenation operator

1 minute read

The string concatenation operator is a bit like a hedgehog, it looks cute and sweet, but try to grab hold of it quickly and you’ll soon know about it…

The instanceof Operator

2 minute read

The instanceof operator is a great way for checking if a reference variable is of a given type, in other words, does it pass the IS-A inheritance test. Ask y...

Compound Assignment Operators

less than 1 minute read

There are various compound assignment operators, however it is only necessary to know the 4 basic compound assignment operators for the exam, being as follow...

Static members

1 minute read

Statics are a rather strange beast, they belong to no instance of a class, they have no fixed abode, other than their class..

Other modifiers, for members

2 minute read

We’ve already touched upon various modifiers, for classes (both access and non-access), but there are also some more modifiers for members, as detailed here.

Class Modifiers (non-access)

1 minute read

In addition to class access modifiers, classes can also be marked with non-access modifiers. These modifiers imply rules on a class, but are not necessarily ...

Class Access Modifiers

2 minute read

Class access modifiers define who can see the class, you use it on a daily basis, have a look at the following :

Android; how to display a map the easy way..

4 minute read

I’m seeing countless questions, literally on a daily basis on StackOverflow regarding using maps on Android. To be honest I’ve never come across these proble...

Playing with the For loop in Java

5 minute read

The for loop is an extremely flexible and powerful way of iterating over a code block for a set number of times. Generally speaking, this type of loop is gre...

Declaration Rules in Java

2 minute read

Another one of my short and sweet posts in my SCJP study guide section. This one is quite straightforward, so we’ll keep it quick, since I know you’d much ra...

Identifiers and JavaBeans

4 minute read

Identifiers are what we use to identify parts of our code, whether this is a class, method or a variable. There are some ground rules on the names we can giv...

Setting up a basic Stripes framework

4 minute read

After being introduced to Struts1, Struts2 and SpringMVC at a very early stage in my development career, I was very happy to work on a project with Stripes. ...

Back to Top ↑

Android

Grails based survey system, the android app

6 minute read

Some time back I wrote an article describing the roosearch system I developed using grails. This is the second part, the android client, please checkout the ...

Converting dp to pixels in android

less than 1 minute read

Sometimes in android you have to deal with pixels, which can often be awkward, such as view.setPadding(int, int, int, int). Obviously this is not ideal as pi...

SMS text messaging simulation on android

1 minute read

As part of an application I’m currently developing, I need to be able to interogate incoming SMS messages. Since I’ll be developing against the emulator init...

Android; how to display a map the easy way..

4 minute read

I’m seeing countless questions, literally on a daily basis on StackOverflow regarding using maps on Android. To be honest I’ve never come across these proble...

Back to Top ↑

Blog

Migrating from Wordpress to Github pages

less than 1 minute read

I’ve had this website going since being a university student in the mid 2000s, it started off as a static html web page that I maintained myself (hey, I was ...

Backing up wordpress automatically

less than 1 minute read

I’ve had some difficulties getting the BackWPup plugin to work, it seems that you can’t backup everything in one job as the script takes too long to run and ...

Post: Link Permalink

less than 1 minute read

This theme supports link posts, made famous by John Gruber. To use, just add link: http://url-you-want-linked to the post’s YAML front matter and you’re done.

Post: Quote

less than 1 minute read

Only one thing is impossible for God: To find any sense in any copyright law on the planet. Mark Twain

Post: Notice

1 minute read

A notice displays information that explains nearby content. Often used to call attention to a particular detail.

Post: Chat

2 minute read

Abbott: Strange as it may seem, they give ball players nowadays very peculiar names.

Post: Standard

4 minute read

All children, except one, grow up. They soon know that they will grow up, and the way Wendy knew was this. One day when she was two years old she was playing...

Post: Modified Date

less than 1 minute read

This post has been updated and should show a modified date if used in a layout.

Back to Top ↑

Linux

Recursively deleting .svn directories

less than 1 minute read

Messing around with your subversion directories and fed up of the .svn hidden folders laying around? If you try and checkin some directories that contain a ....

Linux from Scratch, an Intro

less than 1 minute read

So, I’ve decided to have a go at linux from scratch, which should satisfy a good headache for the next year or so, possibly longer.

Back to Top ↑

Cloud

Convert JSON to YAML in one command

less than 1 minute read

I’ve been playing around with AWS CloudFormation recently, which supports both JSON and YAML. I prefer to use YAML, but a lot of the examples I was looking a...

Exporting data from Enphase APIs

1 minute read

I bought an Enphase solar powered system in early 2017, one of the major appeals of the Enphase brand was that is has developer APIs, so I could track my sys...

Deploying a grails application to Cloudbees

less than 1 minute read

I spent much of last weekend experimenting with the grails framework, so I wanted to deploy what I had in the cloud. Theres a big tutorial on the IntelliJ ID...

Back to Top ↑

Grails

Grails based survey system, the android app

6 minute read

Some time back I wrote an article describing the roosearch system I developed using grails. This is the second part, the android client, please checkout the ...

Deploying a grails application to Cloudbees

less than 1 minute read

I spent much of last weekend experimenting with the grails framework, so I wanted to deploy what I had in the cloud. Theres a big tutorial on the IntelliJ ID...

Back to Top ↑

Mathematics

Project Euler, problem 1, multiple factors

less than 1 minute read

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all t...

Back to Top ↑

iOS

Back to Top ↑

Mac OS X

Installing a new Java JDK on a Mac

less than 1 minute read

Updating Java on a Mac is easy, it’s just a case of installing a new JDK and recreating the symbolic link that is used to point to the current JDK.

How to show hidden files in the Mac OS Finder

less than 1 minute read

Frustrated, that I recently couldn’t find my maven settings.xml file because the Mac OS X Finder doesn’t show hidden files by default, I found that the follo...

Back to Top ↑

Groovy

Back to Top ↑

IoT

Back to Top ↑

Conferences and Meetups

Back to Top ↑

Robotics

BrickPi Lego robot takes its first steps!

4 minute read

A little while back I wrote a post about creating a python script to control a brickpi robot, now that I actually have the brickpi components, motors and cab...

Robots! (part 1)

2 minute read

Inspired by the android controlled lego robots I saw at DroidCon UK this year, and with difficulty finding a use for my raspberry pi, I’ve decided to have a ...

Back to Top ↑

Big Data

Back to Top ↑

Raspberry Pi

Listing devices on your local network

less than 1 minute read

Plugged my ancient Raspberry Pi in to my router (yeah the original, that doesn’t have on board wifi) and wanted to SSH into it, found this command to easily ...

Back to Top ↑

Certification

Back to Top ↑

Wordpress

Back to Top ↑

XML

Back to Top ↑

Python

Back to Top ↑

Git

Back to Top ↑

Continuous Integration

Back to Top ↑

Maven

Back to Top ↑

Astronomy

Back to Top ↑

Mongo DB

Back to Top ↑

Javascript

Back to Top ↑

Node.js

Back to Top ↑

Couchbase

Back to Top ↑

Databases

Back to Top ↑

DevOps

Back to Top ↑

blog

Welcome to Jekyll!

less than 1 minute read

You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different wa...

Back to Top ↑