Example code related to my NSScotland iBeacon talk