Commit Graph

26 Commits

Author SHA1 Message Date
Brian S. Stephan f2fb0a26a4 remove unnecessary unicode_literal future imports, we py3 now 2019-06-21 15:23:33 -05:00
Brian S. Stephan c04445dfff code quality changes to the remaining scripts
bss/dr.botzo#17
2017-02-11 17:09:24 -06:00
Brian S. Stephan 23007ec8f9 give procmail-to-dispatch.py its own directory 2017-02-11 16:53:46 -06:00
Brian S. Stephan 6855fc561a remove ancient porting scripts
no one will ever need these, no need to have clutter
2017-02-11 16:52:24 -06:00
Brian S. Stephan 06aa567421 give mpd-notifications.py its own directory
updates the requirements files, too
2017-02-11 16:50:29 -06:00
Brian S. Stephan 12a031aed6 mpd-not: tweak to the output format 2017-02-04 22:00:42 -06:00
Brian S. Stephan f539df064c mpd-not: enable https cert checking 2017-02-04 12:41:43 -06:00
Brian S. Stephan 07eb3aabe8 mpd-not: support mpd passwords 2017-02-04 12:41:29 -06:00
Brian S. Stephan c8bedebe97 add mpd-notifications script
illustrative purposes, mostly
2015-07-11 08:17:19 -05:00
Brian S. Stephan 0c7b880517 port_karma_to_django: properly import nickmask 2015-06-20 16:39:51 -05:00
Brian S. Stephan 877e18c890 port_facts_to_django: properly import nickmask 2015-06-20 16:24:24 -05:00
Brian S. Stephan fd7feeccdc procmail-to-dispatch: get rid of key stuff
key is now part of the URL, and the dispatcher action will choose
whether or not to include it, so we don't need key at all anymore
2015-06-20 11:31:04 -05:00
Brian S. Stephan 59d14bf856 get nickmask when porting facts to django 2015-06-20 10:26:10 -05:00
Brian S. Stephan f2d72e322d update procmail script to use REST dispatch 2015-06-20 01:50:28 -05:00
Brian S. Stephan e1a8a94eba script to port old mysql pi logs to django models 2015-06-19 23:40:42 -05:00
Brian S. Stephan 4d374b6c45 script to port old mysql karma to django models 2015-06-19 23:37:19 -05:00
Brian S. Stephan bc2301ce0d script to port old mysql facts to django models 2015-06-19 23:30:10 -05:00
Brian S. Stephan 2dc2b6a8a2 remove old IRC bot entirely
the porting is complete, everything i care about has been moved to the
django-based codebase, and this old junk can finally go

IT IS A NEW ERA, one of maintainability and flexible changes. after
years of procrastinating, i have finally done this. the future is now
2015-06-19 21:50:35 -05:00
Brian S. Stephan 1484aded84 reorganizing project directories, part 2 2015-05-08 20:44:24 -05:00
Brian S. Stephan 2ffdf26ec2 reorganizing project directories, part 1 2015-05-08 20:37:22 -05:00
Brian S. Stephan cd2c44ab20 script to port old seen data to django models 2014-03-16 12:21:38 -05:00
Brian S. Stephan 9ea3e9d688 procmail-to-dispatch.py: send email notifications
this is a python3 example of how one might use Dispatch to send
notifications on events. it's nothing robust but it gets the job done,
generally
2013-01-04 13:13:38 -06:00
Brian S. Stephan 26bc8bec34 Markov: rebuild the tables, use the context stuff in a better fashion this time
the module will drop your old tables if you have them, so if there's data there,
be sure to back them up and figure out some migration strategy (probably annoying
and probably having to script it).

the big change is that each line is associated to a context now, and channels
are also associated to contexts. this should allow for a better partitioning
of multiple brains, and changing which channels point to which brain.

also caught in the wake is some additional logging verbosity, and a change to
no longer lower() everything learned.

the script to dump a file into the database has also been updated with the above
changes
2012-02-28 23:23:14 -06:00
Brian S. Stephan 74c03cff88 update markov chain import script for always using a context, specified on command line
also read stdin rather than a file for lines
2011-06-15 20:40:24 -05:00
Brian S. Stephan 3d6ede5155 script to take a file of lines and create sqlite markov chains 2011-02-24 21:04:28 -06:00
Brian S. Stephan 6ebca3ff59 simple utility script to take a newline-separated list of facts and insert to database
for Facts.py, supporting the format (if you want to call it that)
supported by FactFile.py
2010-11-01 22:17:10 -05:00