Tentatio

struggle, spirituality, absurdity

Category: Amusing (page 2 of 3)

iCal and Google Calendar Zen

For OS X: This will allow you to add events by typing a few words and hitting enter. Then you get to watch as the new event(s) are magically synced to iCal.

What you need:

Install gcalcli using the instructions on the site – when you get it working, make sure you remember where you put the actual file “gcalcli.”

Now you need to get your google calendar and iCal synced up. Install Calaboration and run it after you have a good calendar set up. This will then configure iCal to work and sync with gCal. It should go fairly easily.

Here’s the juicy part. Google Calendar has a slick “quick add” feature that will parse through and interpret text that you enter. For example, if I type “meeting with boss on tues at 8am” it will set up an event called “meeting with boss” to occur at 8am the following Tues. In this case, it would be the 20th of January. You can also add things like “from 8am to 2pm,” and when you use the word “at,” it will even set up the location. Very cool stuff.

So we are going to create a very small Applescript to send such a bit of text to gcal with ease. Here’s the code:


on run

   repeat

      display dialog "Enter event information:" default answer ""

      set eventInfo to text returned of result

      do shell script "/usr/bin/gcalcli --user YOURUSERNAME --pw YOURPASSWORD quick \"" eventInfo & "\""

   end repeat

 

end run

You can test the script by hitting the “run” button and checking your google calendar.

The only important part here is that the stuff after “do shell script” has to be one line, though it is OK if it wraps. the /usr/bin part before “gcalcli” might change depending on where you installed it, and you will need to enter your username and password (no quotes). Fire up GCal when you test the script, and you should know if it is working. Then open iCal, and voila! It is stored locally too!

Once the script is working correctly, you can save it as an application in the “Save” dialog, and then launch it like any other application. I like to use spotlight to launch it, for quicker access.

If you have a bunch of events to add with chunks of the same text (like an event title that is the same but with changing dates), you should be able to just paste it into the script without a problem. Enjoy!

What a deal!….right?

I mean, I guess that’s almost a buck off……

Confessions of an Ex-Evangelical

I remember in high school youth group we had to respond to this particular situation: What two things would you take with you if you woke up with your room was on fire?

It was hilarious, in retrospect, because we all had to be very pious. This meant that our first item was our Bibles, followed by the one item that we really wanted to keep from getting torched. Give me a break. Our Bibles? Unless this is a 200 year old Bible that has been in a family for that long, I somehow doubt that any one of us would have cared at all about the ten-dollar Bible sitting under a pile of dirty laundry.

Of course, by answering such, we all appeared very well behaved and spiritual in front of everyone else. And we perpetuated the stigma that one can only be a part of the group if you were very pious, or at the very least, can fake it really well. We tended toward the latter.

It wasn’t until college that I heard the first accurate response to that question. My friend, Stephen, answered with, “My pants.” After all, we tend to sleep without pants, and if we have to watch the firemen try to save what’s left of our house or protect the houses around us, then it’s probably best to do so with our pants on.

Polarizing Lens Filters are Magic

I was traveling around Lake Tahoe and taking pictures, but I kept getting distracted and would occasionally forget to adjust my circular polarizer (lens filter). I’m glad I did, because it gave me a chance to see the difference between using it correctly and forgetting to rotate it. Check this out:

(Top – Without rotating) (Bottom – With Rotating)

I think the difference speaks for itself.

UFO Response What?

Older posts Newer posts

© 2019 Tentatio

Theme by Anders NorenUp ↑