Github access denied or SSH key already taken on windows (Putty+VS git extension)

2011-08-14 13:17:23 +0100

This is just a quick post to point to the solution. I had to do some C# work a week or so ago and then push everything to github. I already had an SSH key on my account but since that was generated under Ubuntu...A new one was needed for Windows.<!-- more -->

Quick tips for squeezing performance out of Google's Javascript charts with live (continuous) data/streams

2011-08-07 11:18:42 +0100

I, until a few days ago always used JQuery for literally everything that needed Javascript. I've recently needed to use Google charts to show a live graphical representation of data. It needed to be a widget that didn't rely on any framework so I had to brush up on my Javascript and forget all the easy stuff JQuery usually gives me! The chart would be updated EVERY SECOND, yeah pretty often! In every second there could be any amount of new points to be plotted. In addition, I'm only interested in points that have occurred within a fixed time period, the results of all this will be an "animated" graph that shifts left when data is updated.<!-- more -->

Setting up a multi-node Cassandra cluster on a single Windows machine

2011-07-09 01:01:53 +0100

In Windows explorer, go to "C:\Windows\System32\drivers\etc" Copy the file called "hosts" to your desktop ( or any editable location) Open the hosts file from the desktop and add the following to the end of the file:

Getting started with PHPUnit unit testing

2011-07-04 06:00:50 +0100

The follow up to my previous post. The below is the php unit test class for the string class example I wrote.

Creating a String class to represent and manipulate strings in PHP

2011-07-03 08:11:26 +0100

In getting started with PHPUnit, I didn't have any code I felt like writing unit tests for. Mainly because I wanted to start with something very simple. I started writing some code, one thing lead to another and I ended with a simple class to represent a string. It only has a few methods but it was more than enough to provide me with quite a few test cases. The unit test for the class in another post I'm going to do soon. (PHP Unit tests for string class is here)

Installing Xampp and adding/updating PHPUnit and PHPDocumenter and configuring Netbeans 7 to use them on Windows

2011-07-02 10:33:51 +0100

That title is quite a mouthful isn't it? I usually do development on Ubuntu and only ever develop Windows specific programs on Windows using .NET but I've found the need to setup an environment to do some PHP/MySQL dev on windows (7). I'm running Windows 7 but the steps should work fine for XP and Vista too.

Upgrading Eclipse on Ubuntu (from 3.5 to 3.7 indigo - works for other versions too)

2011-06-30 01:54:42 +0100

After upgrading my Ubuntu version to 11.04 I installed eclipse using the software centre. It turns out that only v3.5 of Eclipse is available (as the latest) from the software Centre.  I wanted to update to 3.7 but I wanted to keep all the links set up by the software centre e.g On the new Ubuntu "Start Page" or the new toolbar, in addition I want to be able to use the software centre to uninstall eclipse if the need arises.<!-- more -->

Ubuntu 11.04 black screen fix (after install or upgrade)

2011-06-22 21:54:35 +0100

I have been stumped for the last two days with my Ubuntu install. I naively upgraded to 11.04 without checking the Ubuntu release notes... Turns out their is a known bug affecting Ubuntu ARM installs.

CQL : Creating a column family

2011-06-18 17:28:24 +0100

Following on from my last post about how to create a keyspace with CQL,  in this tutorial/post I'll create a Coloumn family. Unless this has changed recently CQL does not support creating supoer column families. As far as I know there are no plans to do so either...<!-- more -->

CQL : Creating a simple keyspace

2011-06-14 00:59:35 +0100

I promised a few tutorials covering CQL examples so I'm going to kick off a series to demonstrate all/most of the features of Cassandra's new query language, CQL.