Coding

Getting started with Nordic nRF51822 Development on Mac OS X

The [nRF51822] (https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low -energy/nRF51822) by Nordic Semiconductor us a multiprotocol SoC with a 2.4Ghz transceiver that is ideal for any Bluetooth Low Energy (Bluetooth Smart) application. The toolchain and documentation provided by Nordic is very much Windows centered.

Swift Journey Log

Using Preprocessor Macros: func println(object: Any) { #if DEBUG Swift.println(object) #endif } And just set “DEBUG” as a custom flag for the Swift compiler (Build Settings –> Swift Compiler –> Custom Flags)

Useful Git Commands

Just documenting some useful git commands that I use occasionally. This list is hopefully being extended over time :-) Basic commands List all branches: git branch -a Get remote url: