News for hackers. Stuff that matters.
Re:Git-cal - GitHub Activity Calendar for your Terminal by binarymax on Monday September 23, 2013 @12:41PM (#6432149)
Awesome! Running $tput colors will tell you if you have 256 or not (mine shows 8). I am on ubuntu and found a tutorial to upgrade - will give it a try just so I can run this.

Slightly off-topic, I had some fun with tput about a month ago here: http://max.io/bash.html ...but it only supports 8 colors. Maybe I can upgrade with this new knowledge. Thank you!

Re:Git-cal - GitHub Activity Calendar for your Terminal by LeonidasXIV on Monday September 23, 2013 @07:37PM (#6434877)
I just did "export TERM=xterm-256color" in my gnome-terminal 3.8.4 which made "tput colors" return 256 and the script worked.
Re:Git-cal - GitHub Activity Calendar for your Terminal by cocoflunchy on Monday September 23, 2013 @04:00PM (#6433750)
Awesome! Thanks for sharing, I'm going to have fun pimping my scripts now.
Re:Git-cal - GitHub Activity Calendar for your Terminal by sharyanto on Wednesday September 25, 2013 @02:11AM (#6442928)
tput doesn't seem to recognize Konsole's 24bit color support though.