Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

cog (4665)

Journal of cog (4665)

Monday November 15, 2004
07:00 AM

Automatic Config

[ #21858 ]

It's quite easy, actually...

1) Check if it's Saturday or Sunday

2) Check if it's a Holiday

3) Check in my "days off" file to see if there's an entry for this day

4) Check what time it is

Et voilá! I can see automatically discover whether I'm working or not and have a different configuration deppending on that! :-D

Now... you wouldn't happen to know how to run a command in a specific workspace, would you? (running Gnome, here)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.