Nov 18 2011

Getting the area code from a Swedish phone number using PHP

flattr this!

Hi!

Currently I am working on a little project where I need to fetch the area code form a phone number for Sweden. This, however, is not one of my strongest sides… I really hate Regex.
Since this is an iOS project, I would like some objective-C code… so I jumped over to one of the greatest sites I know and made a post: http://stackoverflow.com/questions/8188964/getting-an-areacode-from-the-phone-number

I got a great answer, which I approved, and made a test script in PHP. This is me sharing this test script. If you can use it, have fun with it but, Do not forget to Like the post and Flattr it ;)


Mar 9 2011

iTunes Store RSS App Fetcher

flattr this!

I think thats the longest title I could think off… or is it? Anyways… with regards to the questions and/or complaints I have gotten about my (somewhat “crappy”) itunes parser which I wrote in the past, I decided to quickly put together a new parser, just for fetching specific app data.

So, what did I do? Well, it basicly parses the data from the “Apple – iTunes – RSS Generator” and shows it for you in your browser. This could be usefull for those of you that want to implement real-time iTunes appstore data into your website.


Sep 3 2010

Bypassing Open Firmware and Getting admin access on MacBook with LDAP

flattr this!

Hi,

Yeah, the longest title ever!
So, this was my challenge today… I needed to get admin access on a mates MacBook Pro. The MBP he has, he got from his work where they use LDAP, their IT department is not stupid and as all large companies usually do they lock the computer so much down you can barely read emails.
So, the quest for today was to flush the computer and re-install the OS… OR to gain admin access to the computer so one could be able to install and do everything anyways.


Aug 18 2010

Easy to use logging for PHP

flattr this!

Hi,

I wrote this logging class for PHP which I thought of sharing. I have taken it directly from my project, so its not adapted for overall usage.

The class:


Aug 14 2009

Developing with iPhone 3.0.x: Simple UITableView

flattr this!

FinderScreenSnapz004Hi,

This post is about how to develop a simple table view in XCode and Interface builder (IB) using UITableView for iPhone OS 3.0 or iPhone 3.0.1.

I guess there are a lot of guide out there that explain how to work with UITableViews, but I’ll give it a try to show you guys how to make a simple one.