Categories
Cloud & Web Development

Convert JSON to YAML in one command

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 at were based in JSON. Fortunately there’s a quick way to convert a JSON file to it’s YAML equivalent. ruby -ryaml -rjson -e ‘puts YAML.dump(JSON.load(ARGF))’ < linux-bastion.template […]

Categories
Cloud & Web Development

Exporting data from Enphase APIs

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 systems power generation and even household usage. My aim is to get this data out of the Enphase APIs then try to make sense of […]

Categories
Wordpress

Backing up wordpress automatically

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 the server will terminate it, causing a failed job. The 2 errors I was seeing are WARNING: Job restart due to inactivity for more than 5 […]

Categories
Cloud & Web Development Grails

Deploying a grails application to Cloudbees

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 IDEA documentation (the screenshots don’t seem to match my installation of IDEA, even though its the same version number). There is a much easier way, providing […]

Categories
Android Cloud & Web Development Maven

Deploying the android libraries into your maven repository

Maven is a fantastic build tool, and a great addition to anyone developing on the android platform, however one of the first hurdles that people often stumble upon, is when their project involves one of the SDK libraries, such as Google Maps. You’ll most likely see something like this when you attempt to first compile […]

Categories
Cloud & Web Development Continuous Integration Maven

Deploying artefacts into your CloudBees maven repositories.

If you’re like me, and have a fair few hobby projects on the go at any one time, you’re may want to take advantage of some of the free cloud services that are available out there. I’m particulary fond of the Maven repositories that CloudBees offer, as it gives you a safe and easy way […]

Categories
iOS Objective-C Twitter

Sending Tweets from your iOS5 app, easy!

Sending a tweet from your iOS application could not be any easier, Apple and Twitter really were looking out for their developers. With iOS 5, the twitter account is authenticated under the settings menu of the device, which means that any application can request this account to use for tweet, and that is all you […]

Categories
Android Certification Google App Engine Java Linux

Top 10 Techie things I want to achieve in 2012

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 you don’t set yourself goals in the first place, then you won’t have anything to fail to achieve, so I’ve set myself a list of […]

Categories
Android Google APIs Java

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

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 problems but it seems many people have trouble using the maps in their application, so I’ll provide a clear and easy set of instructions on how to do this. Common issues […]

Categories
Wordpress

Integrating your wordpress into twitter and facebook, the easy way

I’ve been searching for a viable and easy solution for integrating my wordpress posts into facebook and twitter for some time now, and have finally found an easy solution, it takes about all of 10 minutes to setup. Twitter is essentially the “integration hub” in this process What I’m trying to achieve : When I […]