News for hackers. Stuff that matters.
Re:Get your Google calendar into tmux by anc84 on Tuesday June 30, 2015 @04:44AM (#9803798)
FYI: Your blog only shows a spinner unless the user allows Javascript for no reason at all.
Re:Get your Google calendar into tmux by hauck-d on Tuesday June 30, 2015 @04:49AM (#9803809)
Hey, thanks, Yesterday I changed the theme, which does this... thanks for the hint! ;)
Re:Get your Google calendar into tmux by blfr on Tuesday June 30, 2015 @04:55AM (#9803830)
You also don't advertise your RSS feed[1] in the headers (or otherwise).

[1] https://blog.hauck.io/feed/

Re:Get your Google calendar into tmux by hauck-d on Tuesday June 30, 2015 @05:26AM (#9803924)
Ok, I switched back to the non premium version, I got RSS-Feed back again and no weird scrolling stuff :)

Thanks for the hint!

Re:Get your Google calendar into tmux by anc84 on Tuesday June 30, 2015 @05:20AM (#9803903)
Thanks back! :)
Re:Get your Google calendar into tmux by desbo on Tuesday June 30, 2015 @05:09AM (#9803872)
Sorry to pile in, but the scrolling is really terrible as well.
Re:Get your Google calendar into tmux by kawsper on Tuesday June 30, 2015 @05:11AM (#9803875)
People should really stop playing around with scroll, and scroll-acceleration, it is really a terrible experience.
Re:Get your Google calendar into tmux by hauck-d on Tuesday June 30, 2015 @05:24AM (#9803919)
Ok, sorry for this, like I said, I changed the theme, some configuration is lost.

Now I switched back, hope everything is well now ;)

Re:Get your Google calendar into tmux by andmarios on Tuesday June 30, 2015 @05:41AM (#9803980)
As a sidenote, gcalcli is the best way to manage your google calendar. I always found creating calendar entries through apps or web such a nuisance that I just didn't bother.
Re:Get your Google calendar into tmux by hauck-d on Tuesday June 30, 2015 @06:11AM (#9804081)
Same to me but with owncloud or davical. But now I needed to use gcal for work. Graphical nonsensestuff ...
Re:Get your Google calendar into tmux by Ianvdl on Tuesday June 30, 2015 @05:34AM (#9803958)
This is really useful. I've always wondered (but never bothered to search) if there was a cli interface for Google calendar. Integrating it into tmux is a nice bonus.

I really should setup my gmail account in mutt, it could save me a lot of alt-tabbing time.

Re:Get your Google calendar into tmux by hobarrera on Tuesday June 30, 2015 @01:28PM (#9806944)
Also on topic: khal is a pretty good cli calendar app:

   https://github.com/geier/khal/
It's designed to work with CalDAV, though IIRC, google is moving away from standard protocols and onto their own, regrettably.
Re:Get your Google calendar into tmux by niix on Tuesday June 30, 2015 @12:29PM (#9806438)
Unfortunately, I couldn't get this to work. Here is the traceback: http://hastebin.com/yibusifogi.vhdl

Also, nice function name `BowChickaWowWow` :)

Re:Get your Google calendar into tmux by otaasni on Tuesday June 30, 2015 @03:24PM (#9807810)
Looks like you may need to upgrade six (dependency of the Google API library). `pip install six --upgrade` may do the trick
Re:Get your Google calendar into tmux by tshadwell on Tuesday June 30, 2015 @12:55PM (#9806666)
Your bash looks like something that can be fixed by a well-placed sed one-liner :)
Re:Get your Google calendar into tmux by hauck-d on Tuesday June 30, 2015 @02:13PM (#9807304)
Yes, I know, I will give it a try, and update my post ;) Thanks!
Re:Get your Google calendar into tmux by jandudulski on Tuesday June 30, 2015 @06:20AM (#9804115)
Oh my god, this is awesome! I guess it would became my fav command line tool.
Re:Get your Google calendar into tmux by ChuckMcM on Tuesday June 30, 2015 @11:38AM (#9806051)
Now to hook it up to twilio and get my sms notifications back.
Re:Get your Google calendar into tmux by MrGando on Tuesday June 30, 2015 @11:22AM (#9805905)
You mention:

> Be sure to replace GOOGLE_USERNAME with your accountname(everything in front of @gmail.com).

Where are you replacing GOOGLE_USERNAME?

Re:Get your Google calendar into tmux by MrGando on Tuesday June 30, 2015 @11:26AM (#9805948)
Figured it out

set -g status-right '📅 #(gcalcli --nostarted --calendar "GOOGLE_USERNAME" agenda --nocolor | cut -d " " -f 4- | head -2 | tail -1 | sed "s/^ *//g" | sed "s/ / /g" | cut -c1-19)'

Re:Get your Google calendar into tmux by stickperson on Tuesday June 30, 2015 @03:12PM (#9807722)
Getting a "daily limit exceeded" error from the Google API client.
Re:Get your Google calendar into tmux by otaasni on Tuesday June 30, 2015 @03:21PM (#9807795)
Hi, we are working on getting that lifted (I'm one of the maintainers.) Right now you're best bet is to sign up for your own API key/secret and supply those via either a config file or command line arguments:

  --client_id API client_id
  --client_secret API client_secret
See https://github.com/insanum/gcalcli/issues/65#issuecomment-13... for details on how to get those.
Re:Get your Google calendar into tmux by stickperson on Tuesday June 30, 2015 @03:45PM (#9807951)
Hey, thanks for the info. I've tried that, but now I get a "Error: redirect_uri_mismatch" error.

edit: I got it working. When creating a new client id, you need to choose "Installed application" as the application type.

Re:Get your Google calendar into tmux by faarzein on Tuesday June 30, 2015 @01:05PM (#9806775)
hmmm interesting