Saturday, June 08, 2013

Google calendar from the desktop, and posting through vim

Posting trough vim

Here I am, writing a blog post in vim. If this actually gets posted, I'll be pretty impressed, as this makes posting to the google blogs extremely simple to implelement via a server. The api program itself is just a python program, so porting the functionality over to haskell shouldn't be hard at all. I might even make it and put it on hackage. It'd be neat to have a package there!

Anyway, I hope this test works, as it'll make code examples way simpler.

Google calendar on the desktop

I recently made some commits so that it can display arbitrary colors in conky, and used it to create a neat display of my google calendar on the desktop, and you can see a picture of it included in the pull.

My .gcalclirc is as follows:

#Tomorrow-Night Palette

#Viljum auka vidd ef a ad vera a isl

I have that last part if I should want to have the dates and day names in Icelandic, but as neither are capitalized (correct in the middle of a sentence, but not standalone), and the english version suits me fine, I don't think I'll bother fixing it.

[Edit: Rewrote this post in markdown, and used pandoc to translate it into html, as per the comment below. N.B. you need my fork of gcalcli for this to work, as the --conky_color options were added by me.]


  1. Very nice. Never bothered to look for a solution like that when I had my blogger blog. I imagine you can write your posts in a markup like Markdown, let Pandoc process it and post the resulting html too. :)

  2. Casino Games - DRMCD – Casino Games for Real Money 평택 출장안마 Welcome Bonus. Casino Games – Play 김해 출장샵 Casino 광주광역 출장안마 Games Online, Slots, 전주 출장샵 Bingo and much 영주 출장마사지 more! · Slots Casino Games.