Github access denied or SSH key already taken on windows (Putty+VS git extension)
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
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
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
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
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
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)
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)
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
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 -->