Skip to content

{ Author Archives }

Fixing Mojibake / borked Unicode text

Here’s a problem I’ve recently hit at work. I hit the google geocode API with a couple of thousand addresses and stored the JSON results. Using the WebClient DownloadString method I didn’t think to set anything for the encoding. Browsing through the output files I see “Dorfstraße” where I’m expecting to see “Dorfstraße”. Urgh, mojibake! […]

Amazon Web Services Presentation

Well it’s been a while since I’ve updated the blog. I have been doing plenty of tinkering just need to write up a ‘catch up’ post in the next few days. In the meantime here’s a presentation I gave on Amazon Web Services for Sydney’s ALT.NET group. 0:00 Intro 0:43 Quick summary of the services […]

Google Authenticator One-time Password Algorithm in Javascript

I’ve recently setup 2-factor authentication on my Google account.  The new 2nd factor or “thing you have” is a smartphone application which generates 6 digit one-time passwords. I was a bit surprised when I stumbled on this article Two Factor SSH with Google Authenticator. Turns out the algorithm used to generate the OTPs is an […]

A Quick Intro to Facebook’s Auth + Graph API

Update 2011-02-19: Facebook appear to have changed their documentation a bit; I’ve just gone through the article to keep everything in line with the Facebook documentation. The old authorization URLs still work, just hoping to save any confusion. Another quick blog article just to settle/document some concepts in my own head, and hopefully provide a […]