This playbook automates local installation of a Wikka wiki webserver:
ansible-playbook -v -i .dev/deploy/dev .dev/deploy/dev_install.yml --connection=local
| # | |
| # Natural Language Date Parsing | |
| # http://stackoverflow.com/q/25089784/1093087 | |
| # | |
| import parsedatetime as pdt | |
| from datetime import datetime, date, timedelta | |
| from time import mktime | |
| import pdb |
| """ | |
| Search Stack Overflow by tags for questions still worth answering | |
| References: | |
| search API: http://api.stackexchange.com/docs/advanced-search | |
| """ | |
| import stackexchange | |
| import pdb | |
| from datetime import datetime, timedelta | |
| import time |
This playbook automates local installation of a Wikka wiki webserver:
ansible-playbook -v -i .dev/deploy/dev .dev/deploy/dev_install.yml --connection=local
| # -*- coding: utf-8 -*- | |
| """ | |
| DictObject | |
| Converts dict to object | |
| """ | |
| from collections import defaultdict | |
| class DictObject(defaultdict): | |
| def __getattr__(self, key): | |
| return self[key] |
| <?php | |
| /** | |
| * Wikka Action Class | |
| * | |
| * An abstract class that can be extended for wikka action classes. | |
| * | |
| * | |
| * @package Action | |
| * @author Tom Atwell <[email protected]> | |
| * @copyright Copyright 2010, Tom Atwell <[email protected]> |
| # -*- coding: utf-8 -*- | |
| """ | |
| Google App Engine Stateful Model | |
| Subclass App Engine db.Model class so that it may function as a flexible | |
| state machine. | |
| REFERENCES | |
| http://blog.notdot.net/2010/04/Pre--and-post--put-hooks-for-Datastore-models | |
| """ |