Dashboarding

Right, it’s been a while… how does this work again? Right. Anyway.

I’ve been following Mark Bernstein’s posts on building a dashboard in Tinderbox and enjoying them… and puzzling out how to implement them, in a lot of cases.

One thing I wanted to do, once I figured out how the example he gave in the post above worked, was not have to type in all the random words I wanted as notes in a note in my Tinderbox file.

So what I did was use Tinderbox’s ability to run command line to grab a random word out of the built-in system dictionary. I couldn’t quite get the perl one-liner working inline, so what I did was I created a file called randomWord and put the following in it:

#!/bin/sh

word=`perl -e 'open IN, "</usr/share/dict/words";rand($.) < 1 && ($n=$_) while <IN>;print $n'`

echo $word
I made it executable and dumped it in /usr/bin.
Then, in my Word of the Day note in Tinderbox, I added the following in the Rule section of the note (modified slightly from Mark’s example – visible when you right-click on a note and choose to the Rename menu item):
if($Date!="today") {
 $Text=runCommand("randomWord", "");date="today";}
And I was done. A daily word of the day from the built-in dictionary… now to just find the time to write in that Tinderbox file everyday…

254 thoughts on “Dashboarding”

  1. CVS Pharmacy
    It is not necessary that a Canadian drug store online follows Cvs Pharmacy all the quality criteria established by the Canadian regulatory authorities. Of the numerous online drug stores CVS Pharmacy operational in the nation, only a few are authentic and also have the necessary licenses. As mentioned prior to the license for marketing medications is provided by the provincial authorities. So the first thing one should do is to check whether the drug store is signed up and has the needed licenses. If indeed, the certificate and enrollment number ought to be plainly presented on the Canadian pharmacy online site.

  2. It is perfect time to make some plans for the future and it’s time to be
    happy. I have read this post and if I could I desire to suggest you some
    interesting things or tips. Maybe you can write next articles referring to this article.
    I want to read more things about it!

  3. buy cheap cialis 20mg cialis ahumada cialisbuys.com/buy-cheap-cialis-20mg.html
    cialis free trial http://cialisbuys.com/buy-cheap-cialis-20mg.html
    buy brand cialis online no prescription http://cialisbuys.com/buy-cheap-cialis-20mg.html
    buy online prescription vaniqa cialis softcan i order cialis soft onlinebest soft cialiscocaine with cialiswhy is cialis better than viagrafemale use of cialisbuy cialis online from canadaforum cialis 2 5 mgcialis europeviagra levitra cialis offerscialis en benavidescialis zcialis costbuy cialis soft online without a prescriptionbuy cialis online nowwhy didnt cialis work

Leave a Reply

Your email address will not be published. Required fields are marked *