Bengal Cats

Finally managed to find some time to play around with my camera when visiting our friends at the weekend. Managed to get some pretty decent snaps of their awesome bengal cats. This rather dapper dudette below is Kiri

Bengal Cats

30-Jun-2011 at 4:15pm

Movie Lookup Sneak Preview

Following on from my previous post about a Movie Catalogue and APIs, I've finally got round to coding the movie lookup / auto-complete tool that will be used to easily add movies into my database.

Movie Lookup Sneak Preview

It uses the built-in autocomplete method in jQuery UI, and queries my PHP script which grabs the search results from the Rotten Tomatoes API, strips out all the unnecessary data, and outputs the JSON.

Speed is a bit of an issue, and I would have it query the API directly instead of having to use a Intermediary script, but the API requires a key that's unique to me and needs to remain hidden, so sadly there's no room for improvement there.

07-Jun-2011 at 4:45pm

Movie Catalogue and APIs

I've always wanted somewhere I can catalog all my DVDs and Blu Rays. Somewhere I can instantly see what I've got, view movie details, rate them, and easily add new movies.

Extracting data from IMDB would be perfect but sadly, the IMDB API is out of reach for me with the annual membership cost in the low tens of thousands of dollars. However, lately I've discovered and been playing around with a mixture of the unofficial IMDB API, Rotten Tomatoes API and TMBd API, all of which are very simple, have high usage allowances, and are completely free.

Rotten Tomatoes is by far looking the most stable, informative, and simple with movie look-ups as easy as this:{API_KEY}&q=I+Saw+The+Devil&page_limit=1

At the moment, I'm still in the 'playing around' stage, which will be quickly followed by the 'do I actually have enough free time to build it' stage. Maybe in the near future you may see some Dribbble shots of what I'm working on.

If you want to read up more on any of the API's mentioned, follow the links below:

10-May-2011 at 6:02pm

Marwell Zoo

Yesterday, we took a rather short drive up to Marwell Zoo. I hadn't been since I was a little lad, and was nice to see how much had changed or stayed the same. Got some pretty decent pictures, but that's not surprising when you have some awesome subjects to photograph.

Here is my favourite from the day - It shows one of the snow leopards stretching after just waking from a little nap.

Snow Leopard

28-Apr-2011 at 4:52pm

Password Generator Bookmarklet

I created this little bookmarklet a few days ago to instantly create a random 10 character password. It's pretty handy as I'm always needing to create a new secure password.

If you need it more secure, you can edit the character list in the str variable, and edit the length of the password via the for loop. In this version, I've stripped out characters that look alike as it's annoying when can't tell exactly what the character is.

javascript: (function () {
    var tmp = '';
    var str = '23456789abcdefghjkmnopqrstuvwxyzABCDEFGHJKMNPQRSTUVWXYZ';
    var len = str.length;
    for (var i = 0; i < 10; i++) {
        tmp += str[Math.floor(Math.random() * len)];
    prompt('Your randomly generated password is:', tmp);

To use it, simply drag the link below onto your browser toolbar, and then click it when you want to create a random password.

Generate Password