Thursday, April 13, 2006

PageFlakes integration


PageFlakes is one of those up and coming "Ajax Start Pages" that are starting to become popular. Anyway, Christoph Janz informed me that they've created a YubNub component. Love the command history!

Sunday, April 09, 2006

param rocks

Just wanted to mention that Allen Ormond's "param" command is great. It lets you take an existing multiple parameter command like strReplace:

strReplace -find a -replace o -string banana

and create an easier version of it (strRep in this case):

strRep a; o; banana

Basically it lets you separate parameters with semicolons instead of keywords.

Sunday, April 02, 2006

Allen Ormond's eop command

Allen just created a fantastic command called eop that makes it easy to create those commands that go to different URLs depending on whether or not a parameter is given (example). The beauty part is that he fashioned it entirely out of existing YubNub commands. It is truly a work of art (and as with many commands, I haven't yet fully grokked how it works). Check it out:

ifthen -value1 {strfind -find ${token=@}${token=@} -string %s} -value2 0 -test equal -then {strreplace -find ${token=@} -replace -string %s} -else ${else}

It's as elegant (and impenetrable :-) as a terse regular expression.