Skip to content

Instantly share code, notes, and snippets.

linuxcaffe /
Created Jun 1, 2019 — forked from wbsch/
Taskwarrior hook that stops all active tasks when "task FILTER start" is run. PoC for
#!/usr/bin/env bash
# Stops all previously active tasks on "task FILTER start"
# Only pending tasks are checked/stopped. If you really want to stop
# started tasks that are completed/deleted, remove the status:pending
# filter. Note that this will decrease performance, and should not
# be necessary.
for i in "$@"; do
#!/usr/bin/env python3
# Save as in hooks directory, then:
# $ chmod +x ~/.task/hooks/
# Anything after "annotate:" in a new task's description is added as an
# annotation:
# $ task add this is the description annotate:this is an annotation
import json
View tasklib version for taskwiki
djp@ace:~/.vim/bundle/vim-devicons$ pip show tasklib
Name: tasklib
Version: 1.1.0
Summary: Python Task Warrior library
Author: Rob Golding
License: BSD
Location: /home/djp/.local/lib/python3.5/site-packages
Requires: six, pytz, tzlocal
View PCF_17-02-02.csv.norules
; PCF csv rules file
; Date, Transaction Details, Funds Out, Funds In
; 01/04/2016,POS MERCHANDISE FOODLAND #6737,11.97,
; 01/11/2016,POS MERCHANDISE FOODLAND #6737,42.01,
; 01/11/2016, ABM DEPOSIT,,141.98
skip 1
date-format %m/%d/%Y

taskwiki -- projects -- areas

Index Name :: Description :: top taskwiki index page Created :: Aug31, 2015 Manager :: djp Files :: ~/.task/wiki/

Taskwiki Index


View gist:a9d4ed773bbc59e5a935628e2d5ee626
djp@ace ~ $ actor-daemon
Traceback (most recent call last):
File "/usr/local/bin/actor-daemon", line 3, in <module>
from actor.core.actord import main
File "/usr/local/lib/python2.7/dist-packages/actor/core/", line 8, in <module>
from main import Actor, ActorDBusProxy
File "/usr/local/lib/python2.7/dist-packages/actor/core/", line 15, in <module>
from activities import Activity, Flow
File "/usr/local/lib/python2.7/dist-packages/actor/core/", line 7, in <module>
from plugins import Plugin, PluginMount, ContextProxyMixin, PersistentStateMixin
linuxcaffe /
Created Nov 24, 2016 — forked from wbsch/
Proof of concept for a Taskwarrior on-exit hook that manages a git repository in ~/.task
#!/usr/bin/env python
# PoC: Manage a git repository in ~/.task that gets updated on changes.
# Only and are included by default.
# You can use "git add" to add whatever files you want to track in your
# task folder.
# Inspired by
# Works with any Taskwarrior version that supports hooks.
View diag_Hooks-improvement.txt
:Author: djp
:Date: 2016-01-03 22:27
This is a text mockup of a proposed refinement of the task diag / Hooks section.
The current display bugs be because;
a) "Scripts" is redundant
View long_show.txt
djp@transit:~/dotfiles$ tw rc: show report.long
Using alternate .taskrc file
Config Variable Value
report.long.columns id,,entry,modified.age,depends,priority,project,tags,recur,wait.remaining,scheduled,due,until,description
report.long.description All details of tasks
report.long.filter status:pending
report.long.labels ID,A,Created,Mod,Deps,P,Project,Tags,Recur,Wait,Sched,Due,Until,Description
report.long.sort modified-
View long_error_debug.txt
djp@transit:~/dotfiles$ tw rc: rc.debug=on long
Timer Config::load () 0.001010 sec
No context.
Found hook script /home/djp/.task/hooks/on-add-pirate
Found hook script /home/djp/.task/hooks/
Found hook script /home/djp/.task/hooks/
Found hook script /home/djp/.task/hooks/on-modify-pirate
Found hook script /home/djp/.task/hooks/
Found hook script /home/djp/.task/hooks/
Parse Tree (before command-specifіc processing)