it's my blog

by simon baird

Monday, July 20, 2009

Hello world in TiddlyWiki 2.5 and jQuery

Not sure if there is or will be a jQuery-ish createTiddlyButton. But in any case here is a super basic example to get you started with jQuery and TiddlyWiki...

http://jquery-hello.tiddlyspot.com/#JQueryHelloPlugin

(Presuming you know a little bit of pre-jQuery TiddlyWiki here, for example I haven't even put in all the macro handler params).

See it in action...

/***
<<jQueryHello>>
***/
//{{{
(function($){

$.extend(config.macros,{
jQueryHello: {
handler: function(place) {
createTiddlyButton(place, "click me", "click me", function() {
$(place).parent("div.tiddler").hide("slow").show("slow"); // woah
$(place).append("We're not in kansas any more, Toto.<br>");
});
}
}
});

})(jQuery);
//}}}

Tuesday, July 14, 2009

The world flag is quite beige

robertpykeSomeone should look at overlaying, with some kind of transparency, every countries flag, to see what the "international" flag is.

trevorandersenIcon_lock@robertpyke It'd probably just be a grey rectangle...

robertpyke@trevorandersen Possibly even beige.. how very neutral ;)

trevorandersenIcon_lock@robertpyke Almost what you're looking for: http://bit.ly/gl4m4

robertpyke@trevorandersen: Nice, thanks for that.

DanielBaird@robertpyke RT: "Someone should look at overlaying, with … transparency, every countries flag, to see what the "international" flag is."

I was intrigued and wondered how quickly I could do this. About twenty minutes for a very rough version. Here it is:
http://simonbaird.com/worldflag/

Here is some ruby:
http://simonbaird.com/worldflag/go.rb.txt

After a little more googling I found this:

http://www.flagpictures.org/countries.htm

but I think I am going to leave it now for more productive uses of my time. Anyone want to take over please be my guest.


Update:
I just realised it should be a jquery script that adds images one at a time and adjusts the opacity with each image addition. There's some chance I will actually make this because I would like to see it...

Wednesday, July 01, 2009

Once...

I found a tiny bug in the eZComponents Workflow module:
http://lists.ez.no/pipermail/components/2008-September/003894.html

Monday, June 29, 2009

Scott C on MJ


http://scott-c.blogspot.com/2009/06/goodbye-michael-jackson.html

Wednesday, June 24, 2009

Poor New Kids on the Block

Apparently they had to cancel their reunion tour of Australia due to poor ticket sales, citing the GFC as the main reason people weren't buying tickets. Perhaps they could open for Pink who sold out 58 shows on her Australian tour. 58!!! Australia loves Pink.

Saturday, June 20, 2009

vintage skateboards


do i LOOK comfy?


ufo


heart iphone


mug stacking theory


monkey makes deposit?

lick. thirsty.


electro is the new rock


sleek aluminium unibody


shall i go around the boom gate?


Friday, June 19, 2009

what kind of dimwit drives around a boom gate?!

http://www.news.com.au/couriermail/story/0,23739,25652753-3102,00.html

what were they thinking? i imagine this..

"hmm.. train coming.. boom gate down.. oh, it looks like i could fit the car right around that.. in a bit of hurry so.. yeah.. look at that.. no problem.. so glad we didn't have to wa.. BANG.

unfortunately for the gene pool they survived

set list according to the courier mail

http://www.news.com.au/couriermail/story/0,23739,25652763-5012980,00.html

SET LIST

Old Friends/Bookends

Hazy Shade Of Winter

I Am A Rock

America

Kathy's Song

Hey Schoolgirl

Bebop-alula

Scarborough Fair

Homeward Bound

Mrs Robinson

Slip Slidin' Away

Bright Eyes

Heart of New York

Perfect

Now I Lay me Down

For Emily, Whenever I may find her

Me and Julio Down by the Schoolyard

The Boy in the Bubble

Diamonds on the Soles of her Shoes

Only Living Boy in New York

My Little Town

Bridge Over Troubled Water

Encore:

Cecilia

The Boxer

Sounds of Silence

The Leaves That Are Green

Feelin' Groovy




Thursday night, replace Me and Julio with Graceland.

Simon & Garfunkel set list, Brisbane, 17/18 June, 2009