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.
In: Uncategorized · Tagged with: Facebook, facebook connect, facebook feed dialog, facebook profile feed, Rails
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 […]
In: Uncategorized · Tagged with: actionscript, Flash, qbasic
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 […]
In: Iphone · Tagged with: iPhone, Objective Resource
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 […]
In: Iphone · Tagged with: iPhone
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.
In: Web Development · Tagged with: Mac OSX
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 […]
In: Web Development · Tagged with: Mac OSX
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 […]
In: Iphone · Tagged with: iPhone
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 […]
In: Iphone · Tagged with: iPhone, UIActionSheet, UIActivityIndicatorView