Eric at Lucii.org on 8 Aug 2011 10:51:54 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Walt's presentation on taskwarrior - revised holidays


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ha.

ha

ahah... :-(

DOH.  I goofed in 2013 - easter is the 31st of March... and not the 31st of
April (difficult... no, impossible.)

Revise your copy if you tried to use the holiday schedule provided:

FROM:
  holiday.easter2013.date=20130431
TO:
  holiday.easter2013.date=20130331

Eric

On 08/05/2011 11:04 AM, Eric at Lucii.org wrote:
> Walt's presentation about taskwarrior on Wednesday intrigued me so I'm starting
> to use it.  First, it really does work very very well with dropbox.
> Second: I like the shell and calendar commands.
> 
> I edited the .taskrc file to use the light-256 theme... better for my tired eyes
> than the default.  The task files are actually in /usr/share/doc/task - not
> /usr/local/share/doc/task
> 
> Rather than use the default holidays file (which is limited to 2011) I copied it
> to my .task directory, edited it, and then include it from there.  My version is
> below and includes 2012 and 2013.  If you don't specify the year in the name the
> last years dates override all the earlier years dates.  Oh, and I added Easter
> and Halloween.  Not sure about Patriot's day but I included it since it was in
> the 2011 file.
> 
> I am thinking of writing an email processing utility that will receive emails to
> a special email address and/or with a special passphrase and a task command in
> the body.  For example:
>   abracadabra task add project:plug due:tomorrow volunteer to speak at plug
> 
> It could work in reverse by receiving a command and replying with an email.
> "task list" comes to mind.  I could even automatically email that list to myself
> every day.  Might actually replace RTM (Remember The Milk).
> 
> That would greatly ease the integration with my smart phone.  I'll post the
> progress I make with this to the PLUG list if anyone is interested.
> 
> Geez, I guess I should get back to /real/ work rather than tweaking taskwarrior :-)
> 
> Eric
> 
> holidays through 2013 (skipping header):
> 
> calendar.holidays=sparse
> 
> # 2011
> holiday.newyearsday2011.name=New Year's Day
> holiday.newyearsday2011.date=20110101
> holiday.martinlutherkingday2011.name=Birthday of Martin Luther King, Jr.
> holiday.martinlutherkingday2011.date=20110117
> holiday.presidentsday2011.name=Washington's Birthday
> holiday.presidentsday2011.date=20110221
> holiday.patriotsday2011.name=Patriots' Day
> holiday.patriotsday2011.date=20110419
> holiday.memorialday2011.name=Memorial Day
> holiday.memorialday2011.date=20110530
> holiday.independenceday2011.name=Independence Day
> holiday.independenceday2011.date=20110704
> holiday.laborday2011.name=Labor Day
> holiday.laborday2011.date=20110905
> holiday.columbusday2011.name=Columbus Day
> holiday.columbusday2011.date=20111010
> holiday.halloween2011.name=Halloween
> holiday.halloween2011.date=20111031
> holiday.veteransdays2011.name=Veterans Day
> holiday.veteransdays2011.date=20111111
> holiday.thanksgiving2011.name=Thanksgiving Day
> holiday.thanksgiving2011.date=20111124
> holiday.christmasday2011.name=Christmas Day
> holiday.christmasday2011.date=20111225
> holiday.newyearseve2011.name=New Year's Eve
> holiday.newyearseve2011.date=20111231
> 
> # 2012
> holiday.newyearsday2012.name=New Year's Day
> holiday.newyearsday2012.date=20120101
> holiday.martinlutherkingday2012.name=Birthday of Martin Luther King, Jr.
> holiday.martinlutherkingday2012.date=20120117
> holiday.presidentsday2012.name=Washington's Birthday
> holiday.presidentsday2012.date=20120221
> holiday.patriotsday2012.name=Patriots' Day
> holiday.patriotsday2012.date=20120416
> holiday.easter2012.name=Easter
> holiday.easter2012.date=20120408
> holiday.memorialday2012.name=Memorial Day
> holiday.memorialday2012.date=20120528
> holiday.independenceday2012.name=Independence Day
> holiday.independenceday2012.date=20120704
> holiday.laborday2012.name=Labor Day
> holiday.laborday2012.date=20120903
> holiday.columbusday2012.name=Columbus Day
> holiday.columbusday2012.date=20121008
> holiday.halloween2012.name=Halloween
> holiday.halloween2012.date=20121031
> holiday.veteransdays2012.name=Veterans Day
> holiday.veteransdays2012.date=20121112
> holiday.thanksgiving2012.name=Thanksgiving Day
> holiday.thanksgiving2012.date=20121122
> holiday.christmasday2012.name=Christmas Day
> holiday.christmasday2012.date=20121225
> holiday.newyearseve2012.name=New Year's Eve
> holiday.newyearseve2012.date=20121231
> 
> # 2013
> holiday.newyearsday2013.name=New Year's Day
> holiday.newyearsday2013.date=20130101
> holiday.martinlutherkingday2013.name=Birthday of Martin Luther King, Jr.
> holiday.martinlutherkingday2013.date=20130121
> holiday.presidentsday2013.name=Washington's Birthday
> holiday.presidentsday2013.date=20130218
> holiday.easter2013.name=Easter
> holiday.easter2013.date=20130431
> holiday.patriotsday2013.name=Patriots' Day
> holiday.patriotsday2013.date=20130415
> holiday.memorialday2013.name=Memorial Day
> holiday.memorialday2013.date=20130527
> holiday.independenceday2013.name=Independence Day
> holiday.independenceday2013.date=20130704
> holiday.laborday2013.name=Labor Day
> holiday.laborday2013.date=20130902
> holiday.columbusday2013.name=Columbus Day
> holiday.columbusday2013.date=20131014
> holiday.halloween2013.name=Halloween
> holiday.halloween2013.date=20131031
> holiday.veteransdays2013.name=Veterans Day
> holiday.veteransdays2013.date=20131111
> holiday.thanksgiving2013.name=Thanksgiving Day
> holiday.thanksgiving2013.date=20131128
> holiday.christmasday2013.name=Christmas Day
> holiday.christmasday2013.date=20131225
> holiday.newyearseve2013.name=New Year's Eve
> holiday.newyearseve2013.date=20131231
> 
> 
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug

- -- 
#  Eric Lucas
#
#                "Oh, I have slipped the surly bond of earth
#                 And danced the skies on laughter-silvered wings...
#                                        -- John Gillespie Magee Jr
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5AIisACgkQ2sGpvXQrZ/5zvACeNgWKRJpT79jiLLvBZu6uBO9I
4m8AoLLTDgQhaE2msDmeMTnZaExttu3g
=BMc1
-----END PGP SIGNATURE-----
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug