73

Dateline Style Calendar

Posted in System by rjorgenson 628 days ago

My attempt to emulate a Dateline style calendar output in shell using my crappy ruby skills =] The script is in the geeklet but it is also at http://gist.github.com/410932 if you want to see it first/change stuff/whatever. This was mainly a proof of concept script that I could produce something mildly visually attractive and I will now be rolling this into my geeklets script with some customization options hopefully =]

The script requires no options but does color the current day's separator green(see screenshot). You can change that in the script or remove it all together if you wish. You can also change the separator characters.

geeklet screenshot

Geeklet files to download

Comments

User Avatar
rjorgenson 624 days ago
Why do people keep down voting this? Does it not work for you? If it's broken let me know ... I'll fix it.
User Avatar
rjorgenson 621 days ago
I fixed a bug that caused the days displayed to be off by one. The gist has been updated as well as a new .glet file uploaded with the correct script.
User Avatar
jschwal19 621 days ago
Looks really nice, but the separator is off. Does it maybe require a certain font? Thanks though, great geeklet!

PS: I don't know why people are thumbing this down, I thumbed up!
User Avatar
KeithofNazareth 615 days ago
This is awesome, thank you.

Jschwal19, just use a fixed width font and it will display properly.
User Avatar
rjorgenson 605 days ago
Yes, sorry I forgot to mention it looks best with a fixed width font. I am using Anonymous Pro in the screenshot and use it for pretty much all my fixed width font needs.
User Avatar
Incognito 350 days ago
~ great work! one of the best i've seen.
User Avatar
daviddelmonte 317 days ago
+1 - it's great. Thanks for writing/posting it.. I voted..
User Avatar
kevintosh 307 days ago
Hey! I made some MINOR modifications to it but I didn't think in uploading a geeklet or something, since it's YOUR original code and script ;)

I forked your code on github, so I leave the link here ( the code can be copied to a geeklet's source or whatever ;) )

Hope all like it! :)

Greetings!
User Avatar
Cutless009 295 days ago
Would it be possible to get this script, sans the separator, with the current day colored red?  I figured out enough to get the separator off, but I tried like 15 different ways to color the day, and none of them worked.  Just not familiar enough with ruby to get it done.  Any chance you could do this?
User Avatar
ifuxusux 277 days ago
Wonderful geeklet, but is there a way to make the date and day colored instead of the separator?
User Avatar
GBStudios 133 days ago
Why don't you look at your emails? I mean, 188? Seriously, one of those is probably important!

Oh, by the way, great Geeklet

Log in to comment or register here.