Sleep Diary - a handy program which helps you track your sleep patterns, along with drink, medication habits, and also feelings and circumstances of that given day.
Be the first to post a text review of sleep-diary. Rate and review a project by clicking thumbs up or thumbs down in the right column.
Tidyup
Still the main version is at steve-parker.org, but it has become more generic than just sleep (though that is still its central goal), so it has been renamed diary, and is available at <a href="http://steve-parker.org/code/c/sleep/">http://steve-parker.org/code/c/sleep/</a>.
Various changes. See src/ChangeLog in the tar.gz file for details. Various new switches, giving customisations of the output. Script added (in ChangeLog) to show (a) y2k compliance, (b) creating different views of the data in one command.
Version 0.6 : 21/9/2001 Fixed total_sleep being zero for a day in which sleep is not started. Played with gif/bg.gif, but browsers aren't reliable (Esp. Netscrape) Added an optional word/s to diary.dat's first line: "Fri 21 Sep 3 holiday" will show the <tr> with a yellow bgcolor (changes slightly for weekend) and added this to the key. A .conf file would be better, which could be used to create the key file and to add extra features. For now, get_bgcolour() must be edited for new features in this line (off sick, work from home, onsite, etc, are suggestions?) Version 0.7: 28/9/2001 Added command-line switches: cdsl s = short output, for which: c = no comments l = max. length of comments (to abridge them if necessary). d = add details (drink, work, etc) Note that the -l option can cause problems with embedded HTML, such as: '<a href="http://steve-</td></tr><tr><td>' is a problem for most browsers. Also changed ./sleep to a shell script, which calls both "code/sleep" and "code/sleep -s" to create them both. Maybe it'd be worth adding a "work" switch, so I can give work a similar view of my sleep pattern, without details, and without links to the real diary, or any hints, (eg the basic URL) as to where the real one is (or even that a real one exists). Added an extra CL switch : -w = show work (even in short-output mode)
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?
Thanks for your review!
Get credit for your review by logging in via OpenID. Click your account provider: