Want a pizza, and do not want to fire up that pesky GUI?  We have the solution for you: Pizza Party - Command Line Pizza ordering program

Currently, only from Dominos, so if you do not have one near you who accepts on-line orders (*sigh*, mine does not), then you are out of luck.

So you need a calendar?

| August 5th, 2008

So, one of the things we have been using computers for is to keep track of our lives.  And this means a scheduling or calendaring tool.  Some tools out there do this fine, and some do it very well.

I have to keep track of a lot of appointments. From conference calls for work, to each member of the family’s schedules, to random, but highly important reminders.  Most calendaring programs out there will let you set up a reoccurring event by day of the month, or the date.  But, what if you need to do something two days before the end of the month, every month?  Or, you need to do something every full moon, but not on the blue moon?  Or, you have a standing meeting with your boss every other Monday morning, execpt when Monday is a holiday, then the meeting shifts to Tuesday?  Oh, and you want something that you can run over an ssh session, while on your smart phone, or you friend’s smart phone?

The answer is simple: remind.  remind can do this, and more.  Need to set something up by the Hebrew Calendar?  Check.  Want your calendar to run a shell command for you on a holiday, specific day of the month, or phase of the moon? Check.

Most modern Linux distrobutions include remind nowdays, as it is so darn usefull.  In addition, it runs just fine under Solaris, and the BSDs, including MacOS X.  If fact, over at 43Folders, they have a whole section their wiki for remind.  The wiki has many tips and tricks on how to use remind to its fullest.

In my next post, I will share some tips on how I get remind to remind me of events.

Command-Line blog posts

| May 8th, 2008

So, it only seems fitting that I should talk about a command-line interface to posting on this blog. No, I do not mean using links or the like, but a way to post from the command line.

So, this post is being typed up in vim on my Fedora 8 laptop. I will use this great little tool I found called wppost to post. wwpost is part of the perl module WordPress::Post.

A brief summary of its commands are bellow:

       -c category, can be a list separated by commas, no spaces
       -t title
       -i description, main body of post, if it has a slash, it is interpreted as a file to slurp
          like a text or html file
       -D iso formatted date for post, can be left out
       -T if there are image attachments, place them as thumbnails only, with link, not just resized

Some usage examples taken from the man page:

    Most basic of usage, (provided you have a ~/.wppost file)

       wppost -t 'hi everyone' -i 'i just wanted to say hello'

    If you want to specify two different categories:

       wppost -t 'Another Apple' -i 'Apples are really great. I do love them so.' -c food,rant -D 20071231

    If the body of the post is in a file

       wppost -t 'title here' -i ./content.txt 

    If the content of the post is in a file and you want to use the file
    name as the title

       wppost -i ./Title_Here.txt

    If you want to have file attachments:

       wppost -t 'recent photos' -i 'these are recent pictures i took' ./*jpg

Pretty cool, huh? :)

Peace out!