From 76492aaa9eff2478b3d81b0a0da54480ec4aa541 Mon Sep 17 00:00:00 2001 From: Dima Gerasimov Date: Thu, 19 Dec 2019 19:54:07 +0000 Subject: [PATCH] update readme --- README.org | 19 ++++++++----------- TODO.org | 3 +++ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.org b/README.org index b7bc796..52d8aa2 100644 --- a/README.org +++ b/README.org @@ -20,9 +20,9 @@ Short example to give you an idea: "which subreddits I find most interesting?" #+end_src #+RESULTS: -| orgmode | 42 | -| AskReddit | 29 | -| QuantifiedSelf | 28 | +| orgmode | 46 | +| AskReddit | 31 | +| QuantifiedSelf | 30 | * Setting up ** =mycfg= package for private paths/repositories (optional) @@ -35,7 +35,7 @@ You can see example in ~mycfg_template~. You can copy it somewhere else and modi Some explanations: #+begin_src bash :exports results :results output - for x in $(find mycfg_template/ | grep -v -E 'mypy_cache|.git|__pycache__'); do + for x in $(find mycfg_template/ | grep -v -E 'mypy_cache|.git|__pycache__|scignore'); do if [[ -L "$x" ]]; then echo "l $x -> $(readlink $x)" elif [[ -d "$x" ]]; then @@ -55,10 +55,10 @@ f mycfg_template/mycfg/__init__.py --- class paths: """ - Feel free to remore hypexport if you don't need it/add your own custom settings and use them + Feel free to remove this if you don't need it/add your own custom settings and use them """ - class hypexport: - export_dir = '/tmp/my_demo/backups/hypothesis' + class hypothesis: + export_path = '/tmp/my_demo/backups/hypothesis' --- d mycfg_template/mycfg/repos l mycfg_template/mycfg/repos/hypexport -> /tmp/my_demo/hypothesis_repo @@ -94,7 +94,7 @@ If you run your script with ~with_my~ wrapper, you'd have ~my~ in ~PYTHONPATH~ w with_my python3 -c 'import my.books.kobo as kobo; print(kobo.get_todos())' #+end_src -- if you have [[https://github.com/karlicoss/orger][orger]] installed, you can use its Polar module to render all highlights as org-mode file as easy as: +- if you have [[https://github.com/karlicoss/orger][orger]] installed, you can use its modules to get Org-mode representations of your data. For instance, rendering [[https://github.com/burtonator/polar-bookshelf][Polar]] highlights as org-mode file as easy as: #+begin_src bash with_my orger/modules/polar.py --to polar.org #+end_src @@ -115,6 +115,3 @@ or, set up as ~mypy.ini~ file: [mypy] mypy_path=/path/to/mycfg_dir #+end_src - - -# TODO hmm, if package isn't using mycfg then we don't really need it? diff --git a/TODO.org b/TODO.org index ccea496..67b2f95 100644 --- a/TODO.org +++ b/TODO.org @@ -12,3 +12,6 @@ https://github.com/GlenCrawford/ruby_jawbone * TODO figure out timezones * TODO post on reddit? release and ask people to run against their data? + + +* TODO [2019-12-19 Thu 19:53] hmm, if package isn't using mycfg then we don't really need it?