Get Notified When A Job You Run In A Terminal Is Done, Using NotifyOSD

Dustin Kirkland, Core Developer of the Ubuntu Server posted something very interesting on his blog: an alias you can add to your .bashrc file to get notified when a job you run in a terminal is done. A simple solution for something I've been looking for in a long time.
Getting notified when the job you're running in the terminal is done can be very useful since when you compile something or run some other time consuming task, you usually don't care what's going on inside the terminal  until whatever you were running is done, right? So you switch to some other window(s) meaning you have to constantly keep checking the terminal window to see when it's done. And that's not exactly productive. Further more, you may occasionally forget you were running something in the terminal.