Archive for March, 2009

Facebook Connect – send feed dialog to profile

A quick Facebook Connect tutorial showing how to add user login and sending a feed dialog to the FB profile.

Posted on March 16, 2009 at 11:05 am by Jordan Carter · Permalink · Leave a comment
In: Uncategorized · Tagged with: , , , ,

Actionscript Glory, and other ramblings

I taught myself how to use Flash 5 and Actionscript 1 back in 2000.  I slowly followed it as it grew into a full featured programming language.  As I went along I also learnt some of the key aspects of coding.  For loops, while loops, dot notation, Objects, functions, types. Previous toActionscript I had taught […]

Posted on March 15, 2009 at 9:08 pm by Jordan Carter · Permalink · Leave a comment
In: Uncategorized · Tagged with: , ,

Objective Resource, Vodafone 3G, HTTP Basic Auth problems

I haven’t posted in a few days, as I haven’t made any progress in the last few days (and haven’t learnt anything!). I got my app working perfect (unbeknown to me only on a wireless connection, iPhone App people, iPHONE!.. keep up.) So it worked perfectly, I installed it on a colleague’s iPhone, then my […]

Posted on March 10, 2009 at 4:40 pm by Jordan Carter · Permalink · One Comment
In: Iphone · Tagged with: ,

iPhone Default.png loading image doesn’t display

I had a problem where the Default.png image wouldn’t load on startup of an iPhone app. I Googled as per normal operation and found someone suggest you do a build -> clean. Worked! So if you have trouble getting your Default.png splash image to load on startup, make sure it is named “Default.png” and not […]

Posted on March 5, 2009 at 11:12 am by Jordan Carter · Permalink · 7 Comments
In: Iphone · Tagged with: 

Make your terminal prompt look pretty, or recover it if its blank..

PS1=”\[\$(date +%H:%M) \033[1;30m\][\[\033[1;34m\]\u\[\033[1;30m\]@\[\033[0;35m\]\h\[\033[1;30m\]] \[\033[0;37m\]\W \[\033[0m\] “ Put that into your terminal and smoke it. I have modified it from here.

Posted on March 3, 2009 at 12:59 pm by Jordan Carter · Permalink · One Comment
In: Web Development · Tagged with: 

Alias commands in Mac OSX Terminal

To add an alias (shortcut) to a command in Terminal do the following alias myServer=’echo ssh myServer.wetware.co.nz;ssh myServer.wetware.co.nz’ Notice that I echo the command before executing it, this is to reduce confusion when you call an alias which does something you forgot it did.. [Update] Well that worked, but not for long.  If you exit […]

Posted on March 3, 2009 at 12:51 pm by Jordan Carter · Permalink · One Comment
In: Web Development · Tagged with: 

Upload a photo from iphone with 64 encoding multi part form data

So, this wasn’t easy. I Googled and Googled and got nowhere.  Hopefully because of this post you didn’t look as hard. Eventually I found this a post on the OLBTwitpicEngine source code.  GREAT! I thought, until it didn’t work. I had tried doing this on my own accord with a rails app; upload an iPhone […]

Posted on March 3, 2009 at 9:23 am by Jordan Carter · Permalink · 6 Comments
In: Iphone · Tagged with: 

UIActivityIndicatorView UIActionSheet modal loading screen

How do I show a loading screen?  A modal loading indicator. So you need to do a web request and wait for a response, you don’t want the user to interfere while this is happening?  Welcome UIActionSheet and UIActivityIndicatorView. So I send a multi-form http post request, and need to wait for a response. Just […]

Posted on March 3, 2009 at 9:04 am by Jordan Carter · Permalink · One Comment
In: Iphone · Tagged with: , ,