Australian postcode to state conversion
Recently I was working on a project, when I had super boring address form. I figure out that we need to help poor users fill boring forms, so made a little code snippet / function which gets postcode and returns state. Postcode ranges were taken from wikipedia, so blame them if something isn’t working as expected.