Home    About    Archives    Contact   


My name is Saima and I live in London, England. Welcome to my blog where I have been writing since November 2000. Please make yourself at home.

rss feed
Twittertwitter.com/saima
flickr.com/photos/saima
musiclast.fm/user/saimasays
musicdelicious.com/saimasays



April 13th, 2007
Stress Head


If you’ve had a day like mine you’ll appreciate this one-minute massage technique. Or you can just have a jolly good laugh at the comments.


Posted at 10:55 pm | Leave a comment | Category: General


April 9th, 2007
More Banksy



07042007377



07042007376


Posted at 2:07 pm | Leave a comment | Category: General


April 3rd, 2007
Twitter badge


As you can see from the right hand side, I now have a “Currently” section. This is basically a badge from Twitter that automatically updates when I do. If you’ve tried doing the same and haven’t had any success using the code from the Twitter website, you’re not alone. The Javascript code on the website uses .relative_created_at; instead of .created_at; like it should. Without fixing it, the date comes out as “undefined”.
Even after amending that however, the date is in a less than desirable format. I used Jon Aquino’s script and amended it to suit my needs. If you mess around with it you can do all sorts of things like link to individual statuses. All I wanted was to get rid of the list elements and just show one update at a time. You’re free to nick my amended code if you like. Remember to change the user_timeline (in bold) to your own.
<script type=”text/javascript”>
var elapsedTime = function(createdAt) {
var ageInSeconds = (new Date().getTime() – new Date(createdAt).getTime()) / 1000;
var s = function(n) { return n == 1 ? ” : ‘s’ };
if (ageInSeconds < 0) { return 'just now'; } if (ageInSeconds < 60) { var n = ageInSeconds; return n + ' second' + s(n) + ' ago'; } if (ageInSeconds < 60 * 60) { var n = Math.floor(ageInSeconds/60); return n + ' minute' + s(n) + ' ago'; } if (ageInSeconds < 60 * 60 * 24) { var n = Math.floor(ageInSeconds/60/60); return n + ' hour' + s(n) + ' ago'; } if (ageInSeconds < 60 * 60 * 24 * 7) { var n = Math.floor(ageInSeconds/60/60/24); return n + ' day' + s(n) + ' ago'; } if (ageInSeconds < 60 * 60 * 24 * 31) { var n = Math.floor(ageInSeconds/60/60/24/7); return n + ' week' + s(n) + ' ago'; } if (ageInSeconds < 60 * 60 * 24 * 365) { var n = Math.floor(ageInSeconds/60/60/24/31); return n + ' month' + s(n) + ' ago'; } var n = Math.floor(ageInSeconds/60/60/24/365); return n + ' year' + s(n) + ' ago'; } // Make date parseable in IE [Jon Aquino 2007-03-29] function fixDate(d) { var a = d.split(' '); var year = a.pop(); return a.slice(0, 3).concat([year]).concat(a.slice(3)).join(' '); } function twitterCallback(obj) { var html = ''; for (var i = 0; i < 1; i++) { html += '' + obj[i].text + ' (updated ' + elapsedTime(fixDate(obj[i].created_at)) + ')'; window.aaa = obj[i].created_at; } document.getElementById('twitter_list').innerHTML = html; } </script>
<span id=”twitter_list”></span>
<script type=”text/javascript” src=”http://www.twitter.com/t/status/user_timeline/2976491?callback=twitterCallback&count=1″></script>


Posted at 5:40 pm | 6 comments | Category: General


March 30th, 2007
“Simba, I am your father!”


I think I’m becoming addicted to twitter, even though I’ve only been on it for about an hour.
My favourite user is Darth Vader. Good to see that running the Empire doesn’t stop him from staying in touch. What’s your excuse?


Posted at 4:25 pm | 2 comments | Category: General


March 23rd, 2007
Old Skool


Old Skool


Posted at 11:31 pm | Leave a comment | Category: General


February 21st, 2007
It’s not a lie, if you believe it


Even the George Costanza Wikipedia entry is hilarious.


Posted at 6:38 pm | 8 comments | Category: General


February 15th, 2007
Will Cook for Food: Biryani



Posted at 11:19 pm | 5 comments | Category: General


February 9th, 2007
Claude Returns!


And this time he’s evil. It’s amazing what six years can do to a snowman.

Claude Returns

More photos and some video footage on my Vox blog.


Posted at 1:37 pm | Leave a comment | Category: General


February 4th, 2007
Are you ticklish?


I was recently introduced to Demetri Martin (not in person, that would be unlikely) and he’s very amusing. Now his stand-up is umm..upstanding(!) but I’m also quite fond of his animated shorts (not those kind of shorts, that would be unlikely).


Posted at 9:21 pm | 3 comments | Category: General


February 3rd, 2007
Will Cook For Food


So I thought I’d start an online cookbook rather than a traditional “remember it or write it down on scraps of paper” type thing.
My first attempt: Okra Curry or Bindi/Pindia

DSCF3314



Posted at 4:55 pm | 1 comment | Category: General





© 2000 - 2010 saima says. powered by WordPress.