[Remind-Fans] Canadian holidays
Neil Watson
rf at watson-wilson.ca
Wed Aug 17 14:47:23 EDT 2005
Interesting. Thanks. Some of your functions don't work for me. Did I
miss something?
rem:
/home/username/docs/remind/holidays(7): Undefined variable: May
/home/username/docs/remind/holidays(12): Expecting binary operator
/home/username/docs/remind/holidays(13): Undefined variable: Oct
/home/username/docs/remind/holidays(15): Expecting binary operator
Reminders for Wednesday, 17th August, 2005 (today):
MGS Upgrade HP4250 firmware
~/.reminder
# set some global variables
# shade current day
# RGB where 255 is white
REM [trigger(realtoday())] SPECIAL SHADE 75 179 61 %
# Handy constants/function for specifing week of month...
SET Week_1 1
SET Week_2 8
SET Week_3 15
SET Week_4 22
FSET _last(mo) "1 " + MON((mo%12)+1)+" --7"
FSET _seclast(mo) "1 " + MON((mo%12)+1)+" --14"
FSET _back(days) TRIGGER(TODAY()-days)
FSET _trig() TRIGGER(TRIGDATE())
# includes for various calendars:
include /home/username/docs/remind/holidays
include /home/username/docs/remind/anniversaries
include /home/username/docs/remind/personal
include /home/username/docs/remind/professional
include /home/username/docs/remind/astronomical
/home/username/docs/remind/holidays
OMIT 1 Jan MSG %"New Year's%" Day
REM 2 Feb MSG %"Ground Hog Day%"
REM 14 Feb +14 MSG %"Valentine's%" Day
REM 17 Mar MSG %"St. Patrick's%" Day
REM Sun 1 Apr ++2 MSG Daylight Savings Time - %"DST starts%" %b
REM 1 Apr MSG %"April Fool's%" Day
REM Mon [_seclast(May)] SCANFROM [_back(7)] SATISFY 1 OMIT [_trig()] MSG %"Victoria Day%"
REM Sun May [Week_2] MSG %"Mother's Day%"
REM Sun Jun [Week_3] MSG %"Father's Day%"
REM 1 Jul MSG Canada day
REM 1 Aug MSG %"Simcoe Day%"
REM Mon Sep [Week_1] SCANFROM [_back(7)] SATISFY 1 OMIT [_trig()] MSG %"Labor Day%"
REM Sun [_last(Oct)] MSG Daylight Savings Time - %"DST over%"
REM 31 Oct MSG %"Halloween%"
REM Mon Oct [Week_2] SCANFROM [_back(7)] SATISFY 1 OMIT [_trig()] MSG %"Thanksgiving%" Day
REM 11 Nov MSG %"Rememberance Day%"
OMIT 24 Dec MSG %"Christmas Eve%"
OMIT 25 Dec MSG %"Christmas%" Day
OMIT 26 Dec MSG %"Boxing Day%"
--
Neil Watson | Gentoo Linux
Network Administrator | Uptime 11 days
http://watson-wilson.ca | 2.6.11.4 AMD Athlon(tm) MP 2000+ x 2
More information about the Remind-fans
mailing list