Posted in C# | Posted on 06-01-2012
Just had a programmers moment of joy, I figured out to hook up an MVC3 view to a REST web service using RESTSharp to render an HTML table
Having RESTSharp make the request, de-serialize the XML response to my model and strongly type that to the view… beautiful compared to how these things used to be done….
I’m pleased with myself, proper Friday feeling now :)
Posted in Recommendations | Posted on 29-12-2011
I fancy moving from windows 2003 to windows 2008 for my private VPS… trouble is I couldn’t remember the name of the host as I never have to contact them.. sites area always up!
After minutes of wrecking my brain… it’s EUKHost… give them a try then you will have nothing to worry about either
Posted in Recommendations | Posted on 16-12-2011
I found a new artist I really like the sound of and already had a few of his tracks in my favourites so didn’t really want to go hunting around for them again to download them. A quick search for a no-nonsense conversion site brought up http://www.youtube-mp3.org/ no ad rubbish or infected downloads and super quick – it certainly does the trick.
Posted in Ramblings | Posted on 05-12-2011
I’m constantly seeing references to PowerShell in Visual Studio 2010 related tutorials, today I came across this thing… PowerShell and HTML5, and would love to get your feedback on a proof-of-concept.
This prototype uses the System.Net.WebClient class to “bootstrap” itself, and from there, awesomenes ensues.
From a PowerShell prompt, run the following command:
iex (New-Object Net.WebClient).DownloadString(“http://bit.ly/e0Mw9w”)
Currently I use Console2 for my command prompt… might just have to change that now :)
Posted in Ramblings | Posted on 30-11-2011
FWIW: Just got this email from Barclays Cycle Hire Head of Operations….
During the recent Meet the Managers online consultation, it became clear many customers were not aware they can get an extra 15 minutes of usage if a docking station is full when you come to return your cycle. So I am sending this mail to ensure everyone knows how to take advantage of this.
To do this, touch the ’No docking point free’ icon on the terminal screen and you will automatically be granted the extra time. The status of empty docking points at the nearest six terminals is always available on the terminal screen and maps are displayed showing their locations.
Please note that if you hired more than one cycle this request needs to be made for each cycle on hire.
So if you can actually get a bike when you need one, and find you can’t get rid of it at your destination, doing the above will give you 15 mins extra to race around looking for somewhere slightly further… and further and further to re-dock it…
I tried the hire bikes, found it to be a massive let-down. The gear ratio is too low so you have no hope in hell of going fast on one, waterloo is out of them in the morning, if you get a key for yourself and your wife on the same account, then everytime you borrow a bike yourself you get charged for two bikes (utterly retarded logic).
If you are a tourist and want a way to get around London, they are probably great, for commuting purposes.. no chance.