Monthly Archives: February 2010

Rant of the month

So I’m sitting in front of the tv the other day having a relaxing night when a commercial comes on and shows a guy ordering a Grilled Cheese off the kids menu at a restaurant.  First off let me say that the commercial was trying to portray the guy as being embarrassed for ordering off the kids menu in order to get a grilled cheese when he clearly wasn’t.  Being a man who has ordered Grilled Cheese off of the kids menu, I can attest that I’m not embarrassed either, just stoked to get a good grilled cheese.  Anyhoo back to the commercial, so it is a Carl’s JR and they are like: “Do you like Grilled Cheeses but are afraid to order off the kids Menu?”.  Here is where they were getting me excited because I was like, “Oh man, if they have an awesome large grilled cheese sandwich at Carl’s Jr, then I’ll definitely go there”.  NO…they don’t have a Grilled Cheese but instead suggest that if you are embarrassed ordering off the kids meal to go to Carl’s Jr. and get a cheeseburger.  Uhh….Hello!!!  A Cheeseburger is not a Grilled Cheese.  While both of them have cheese and bread they are not the same.  It is like saying, you like beef stew?  Then you’d love the new tacos we have.  Both have beef…so they are the same, right?

Damn you Carl’s Jr.  Next time talk to people who actually order Grilled Cheese off the kids menu before you blatantly slap them in the face.

And that is my Rant of the month.

How to backup your Google Calendar routinely

About a year ago something happened on Google’s end that caused one of my calendar’s information to be lost.  Fortunately I had a backup that had a majority of the information in it, but it got me thinking about backing up my Calendar to ensure that if, worst case scenario, I lost a calendar I wouldn’t be SOL.  Here is how I routinely backup my google calendar thanks to an easy to use bash script.  Note these instructions assume you are running from linux.

  1. First thing to do is to get the Private iCal link for your Google calendar.  I specify private as in most cases the Google Calendar is a private calendar
  2. Once you have that then you can add it to the bashscript below, replacing the bolded calendar url with the private iCal url that you have
!/bin/bash
wget http://www.google.com/calendar/ical/[email protected]/private-4bfd506b6d$
mv basic.ics calendar/personal.ics
!/bin/bash
wget http://www.google.com/calendar/sample_ical/calendar

Copy the above script and save it in a file called googlecal.sh.  Next configure a cron job to run the script routinely.  Here is my sample cron command:

# m h  dom mon dow   command
30 9 * * * sh /root/googlecal.sh
This runs the above bash script at 9:30 am GMT everyday.  I take it to the next level and rsync the file to my backup server, but if you run this on any server then you will have a backup stored that isn’t on Google’s Servers.
If you have any questions about this please feel free to leave a comment.  Hope this helps.