You are currently browsing the archives for the Scripting category.

Posted on April 21, 2009 at 14:29:54 UTC (1240324194)

PHP Code snippet to generate a text plist file

For those who wish have a PHP based backend for an iPhone app, I’ve created a simple PHP function (pastebin.com) which serializes a PHP array (of strings) into a PLIST file. This can then be read by NSArray’s initWithContentsofFile (although you may wish to process it asynchronously rather than synchronously) and manipulated by an iPhone [...]

Posted on January 6, 2009 at 22:32:31 UTC (1231281151)

2008 IT Skills review / 2009 new challenges!

In 2008, it was one really interesting year for my IT wise. Skills gained during the course of 2008: JRuby (Java and Ruby Bridge) PHP CLI Scripting Some python scripting iPhone Development – The beginning Selenium Remote Control A hell of a lot! Which leaves 2009 to think up some new challenges: So far possible [...]

Posted on October 23, 2008 at 01:28:34 UTC (1224725314)

Enabling Automated SSH Signon

Being the really busy person that I am and with a little simple bash script + an already generated ssh public key. I’ve created a simple shell script to tell the remote server to remember your login.   This will obviously only work if PASSWORD and KEY authentication are both enabled. The advantages of KEY [...]

Posted on September 19, 2008 at 02:30:19 UTC (1221791419)

For those who use HP Quality Center

I’ve written a little workflow customization script which allows you to record logins (and possibly any actions) – so you can do up usage reports, etc on current usage. Just ignore the variable names. as I really hate Microsoft.XMLHttp as it caches requests (so if someone logs in and logs out faster than the cacheing, [...]

Posted on September 8, 2008 at 08:03:51 UTC (1220861031)

Simple bash script to display the uTag link

Well uTag seems like an interesting way of providing a tiny URL (and showing ads), and the API seems easy enough.   Well, I’ve created a SIMPLE (Yes it’s very simple, but hey it works!) bash script which takes the URL as a parameter and requests uTag to provide a link with ads (linking it [...]

Posted on May 31, 2008 at 22:34:00 UTC (1212273240)

Test Automation on an iPhone

Selenium is something which I’m going to keep an eye on over the next few months. They are claiming to have support for the iPhone soon. Yes – Automated Testing on the iPhone! Will there be any vendors offering this? Who knows, will depend on what is in store at WWDC ’08 which is just [...]

About

Journal of an apple enthusiast (converted from PC in 2006 and have not looked back!), Twitter junkie and IT professional.


Currently twittering...

Seems theres a midnight launch for the iPhone4 happening.. Oh well Ill get one tommorrow :)