Skip to content

Instantly share code, notes, and snippets.

Avatar

David J Patrick linuxcaffe

View GitHub Profile
View .vimrc
" Unite taskwarrior options
command! Tw :Unite taskwarrior
let g:unite_taskwarrior_filter = ['status.not:deleted', 'status.not:completed']
let g:unite_taskwarrior_note_directory = '~/.task/notes'
let g:unite_taskwarrior_note_suffix = 'tasknote.wiki'
let g:unite_taskwarrior_define_mappings = 1
let g:unite_taskwarrior_projects_abbr = ''
let g:unite_taskwarrior_tags = '+'
command! -nargs=* -range=0 Tw
\ call s:call_taskwarrior(<q-args>)
View tw-diag-test.data
task 2.4.5
Platform: Linux
Compiler
Version: 4.7.2
Caps: +stdc +stdc_hosted +c8 +i32 +l32 +vp32 +time_t32
Compliance: C++11
Build Features
View tw-export-test.data
{"id":190,"description":"( ) test with context","entry":"20150827T211438Z","modified":"20150827T211438Z","project":"tw","status":"pending","tags":["test"],"uuid":"e22176ab-c8f7-4fd7-a99a-964627460b32","urgency":-5.2},
{"id":191,"description":"( ) test2 with context","entry":"20150827T211545Z","modified":"20150827T211545Z","project":"tw","status":"pending","tags":["test"],"uuid":"b9c31262-c8c0-421c-bf1e-0fd1dd5600e1","urgency":-5.2},
{"id":192,"description":"test3 with context","entry":"20150827T211611Z","modified":"20150827T211611Z","project":"tw","status":"pending","tags":["test"],"uuid":"28855295-544b-4356-99a7-291a4619f3d4","urgency":-5.2},
{"id":193,"description":"( ) test4 with context","entry":"20150827T212110Z","modified":"20150827T212110Z","project":"tw","status":"pending","tags":["test"],"uuid":"62548caf-a877-405c-9d8a-8edcb83a6e40","urgency":-5.2},
@linuxcaffe
linuxcaffe / gist:1e512651f84bc894e027
Created Aug 28, 2015
hledger; stack install errors
View gist:1e512651f84bc894e027
following instructions on hledger.org/download/#I want to build the latest master branch
starting with:
djp@transit:~/tmp/hledger$ stack install
...
...
mtl-2.2.1: install │········
Progress: 34/182 │········
-- While building package haskell-lexer-1.0 using: │········
/home/djp/.stack/programs/i386-linux/ghc-7.10.2/bin/runhaskell -package=Cabal-1.22.4.0 -clear-package-db -global-package-db -package-db=/home/djp/.stack│········
View aeson-0.8.0.2.log
Configuring aeson-0.8.0.2...
Building aeson-0.8.0.2...
Preprocessing library aeson-0.8.0.2...
Data/Aeson/TH.hs:2:24: Warning:
-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS
Data/Aeson/Types/Generic.hs:2:45: Warning:
-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS
View .gitignore
*.swp
attachments/*
# either /wiki/attachments/* or blog/attachments/*
boards/*
# neither blog/boards/* nor wiki/boards/* nor blog/projects/taskwarrior/boards/*
projects/1
projects/Taskwarrior
projects/taskwarrior/wiki
projects/taskwarrior/files*
taskwarrior/news*
View gist:9835564
djp@tigger:~$ task $(task rc.report.next.columns=id rc.report.verbose=nothing next) info
Configuration override rc.report.next.columns:id
Configuration override rc.report.verbose:nothing
There are different numbers of columns and labels for report 'next'.
^[[A^[[A^C
djp@tigger:~$ task $(task rc.report.next.columns=id rc.report.next.labels=ID rc.report.verbose=nothing next) info
Configuration override rc.report.next.columns:id
Configuration override rc.report.next.labels:ID
Configuration override rc.report.verbose:nothing
[task list ID -- 60 59 61 63 64 71 72 95 tasks, 7 shown info]
View gist:11024727
Using the default comand:
djp@tigger:~$ tw
# ! found_command
# ! found_sequence
# defaultCommand
# capture_first (list)
[task list]
ID Age D P Project Tags R Due Description
@linuxcaffe
linuxcaffe / gist:11337331
Created Apr 27, 2014
recurring task mod, recurring dialog?
View gist:11337331
djp@tigger:~$ tw Bruno mod +acct
+task Bruno mod +acct
- Tags will be changed from 'bank,chq' to 'bank,chq,acct'.
Modify task 8 'pay Bruno Tessone $90.00'? (yes/no/all/quit) akk
- Tags will be changed from 'bank,chq' to 'bank,chq,acct'.
Modify task 8 'pay Bruno Tessone $90.00'? (yes/no/all/quit) all
Modifying task 8 'pay Bruno Tessone $90.00'.
This is a recurring task. Do you want to modify all pending recurrences of this same task? (yes/no) yes
Modifying recurring task 56 'pay Bruno Tessone $90.00'.
Modifying recurring task 60 'pay Bruno Tessone $90.00'.
@linuxcaffe
linuxcaffe / gist:11337411
Created Apr 27, 2014
recurring task mod loop
View gist:11337411
djp@tigger:~$ tw Bruno mod +acct
+task Bruno mod +acct
- Tags will be changed from 'bank,chq' to 'bank,chq,acct'.
Modify task 8 'pay Bruno Tessone $90.00'? (yes/no/all/quit) all
Modifying task 8 'pay Bruno Tessone $90.00'.
This is a recurring task. Do you want to modify all pending recurrences of this same task? (yes/no) yes
Modifying recurring task 55 'pay Bruno Tessone $90.00'.
Modifying recurring task 59 'pay Bruno Tessone $90.00'.
Modifying recurring task 66 'pay Bruno Tessone $90.00'.
Modifying recurring task 67 'pay Bruno Tessone $90.00'.
You can’t perform that action at this time.