Oct 6 2012

Getting ANT to work with YUI compressor on OS X

Hi!

A while ago, a colleague introduced me to YUI Compressor. I was really amazed. I knew there were such kind of tools/applications out there, but never really bothered to find our which ones and how they work. So, I though, being a Mac user, that this should work on my mac as well… well… yes and no. Its not so easy getting it up and running, and I want to be able to run an ANT target in my PHP project to get this working.

So, I had some digging around to do, and ended up with my own little guide on how to get it working.


Sep 22 2012

Installning PHP5, Apache2 and MySQL 5 on OSX using MacPorts

Hi!

I know, its the longest title of a post.. ever. But… This is something I deal with everytime I reinstall one of my macs, and for the sake of saving some time I thought of writing it down here.

I expect you have OS X 10.8 installed (or higher), but this should also work with OS X 10.7.

MacPorts

Installing…

Before you can use MacPorts you need to install XCode and “Command Line Tools”. You can do this by opening XCode, opening the Xcode menu and choosing “Preferences…” (pic 1). In the new window that opens, choose “Downloads” (pic 2) and select “install” next to “Command Line Tools”.


Jun 21 2012

Using PHP to check and read a remote GIT file

Hi!

I have been strugeling a bit with this issue during my build of a CI-system. I would like the user to select a git repostirory and branch and let the user install it, however, some settings might need to be set and wanted to read the ANT files “build.properties” and “replace.properties” and show them in the client.

While reading the files, I didn’t want to checkout full projects to do so… so I had do digg around a bit. In the end my colleuge found this page:

http://stackoverflow.com/questions/4135049/how-do-i-check-if-a-file-exists-in-a-remote/4138345#4138345


Nov 18 2011

Getting the area code from a Swedish phone number using PHP

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 ;)


Jul 14 2011

Where I am . at — New website launched

On tuesday this week I released a new website, the website is called “Where I am . At”: http://whereiam.at.

The purpose of this website is to find your location quickly and easily. This can be very usefull when developing iOS applications using your current location.

Take a look at, http://whereiam.at and let me know what you think of it!