Posts by Year

2024

Writing to an SD card with the ESP32

1 minute read

At a glance I bought an SD card reader module to use in another project, to track GPS data, but before adding it into that project, I wanted something simp...

Getting started with a TFT display on an ESP32

1 minute read

At a glance I bought a small TFT display from Temu to be used in a project, but I wanted to test it out first. The display is a 1.8” TFT with a resolution ...

Back to Top ↑

2023

Its so easy to setup a raspberry pi now

less than 1 minute read

I may be late to the party, but I’ve just dusted off my ancient Pi 3 and Zero W, having not touched them for years, and have been pleasantly surprised at how...

How I passed 3 Azure certifications in a week

4 minute read

During the depths of winter this year, I decided to set myself a challenge, my performance review was coming up in 1 month, could I achieve 3 Azure fundament...

Back to Top ↑

2021

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 ...

Back to Top ↑

2020

Back to Top ↑

2019

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 ↑

2018

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...

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 ...

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...

Back to Top ↑

2015

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 ...

Pig Latin parsing CSV files with quoted commas

less than 1 minute read

In the not too distant past, I was working on a BigData engagement using Apache Pig. I took CSV parsing for granted and expected it to just work, however if ...

Back to Top ↑

2014

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 ...

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...

Back to Top ↑

2013

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.

Project Euler, problem 2, fibonacci sequence

1 minute read

Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3, 5...

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...

An intro to Node.js, building a URL shortener

6 minute read

Node has been on my todo list of things to investigate for a little while now, whilst I don’t have much background in javascript, after constantly hearing ab...

Robots! Part 2, the android client

2 minute read

Continuing on from my previous post, I’ve created an android client that I can use to send commands to my python server.

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 ...

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 ↑

2012

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...

Change the display name of your iOS apps

less than 1 minute read

Decided on a long name for your application when you created it, but are now fed up of seeing it display like this on the home screen?

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 ....

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...

How to install any application on the emulator

1 minute read

I’ve been developing an app recently that relies on being able to navigate and browse for images on the phone, which is all well and good when testing on a d...

Asserting for a Toast message using Robolectric

1 minute read

I’ve recently put together a few proof of concept applications, and since they’re “rough and ready” applications, a lot of the functionality is actually mock...

A second app to launch; Agile Planning Poker

2 minute read

After launching my first application onto the market back in March 2011, and amassing somewhere in the region of 15,000 downloads since it’s launch, I was ea...

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...

Back to Top ↑

2011

Top 10 Techie things I want to achieve in 2012

6 minute read

I’m not the type of person that gets bored easily, I’ve always got many things to keep me amused, mostly side projects at home. I’m a firm believer, that if ...

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...

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...

Overriding and Overloading, a n00bs explanation

1 minute read

This is easily one of the most confusing concepts to a newbie, but to be honest its relatively simple. The most confusing part is that both start with the le...

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...

Back to Top ↑

2010

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...

Some thoughts and opinions on ITIL v3 Foundation

less than 1 minute read

After recently sitting a course and exam for ITIL v3 Foundation, I thought it would be a good idea to reflect on some of the topics covered while they are fr...

Android; Using intents to refresh tab content

2 minute read

As part of my MeCercana application, I needed to refresh data in some form. My application has 3 tabs, one of the tabs displays contacts from the contacts bo...

Incrementing and Decrementing, the operators

1 minute read

The operators for incrementing and decrementing in Java has been irritating me for some time now, just when I think I understand whats going on, I try a mock...

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 ↑

2009

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. ...

Slackware 13.0 Installation : Part 1, pre-install

less than 1 minute read

Slackware, which I like to refer to as “proper linux”, theres no messing around with fancy wizards, this is hardcore linux; and a good cure for insomnia (sec...

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 ↑