Skip to content

Instantly share code, notes, and snippets.

djp@tigger:~/tmp/ghc/.fr-YUPove/ghc-7.8.4$ cabal install pretty-show
Resolving dependencies...
Configuring pretty-show-1.6.8...
Building pretty-show-1.6.8...
Preprocessing library pretty-show-1.6.8...
[1 of 6] Compiling Paths_pretty_show ( dist/build/autogen/Paths_pretty_show.hs, dist/build/Paths_pretty_show.o )
[2 of 6] Compiling Text.Show.Value ( Text/Show/Value.hs, dist/build/Text/Show/Value.o )
[3 of 6] Compiling Text.Show.PrettyVal ( Text/Show/PrettyVal.hs, dist/build/Text/Show/PrettyVal.o )
[4 of 6] Compiling Text.Show.Html ( Text/Show/Html.hs, dist/build/Text/Show/Html.o )
djp@tigger:~/tmp/hledger$ ghc-pkg check
Warning: haddock-interfaces: /home/djp/.cabal/share/doc/pretty-show-1.6.8/html/pretty-show.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/djp/.cabal/share/doc/pretty-show-1.6.8/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/djp/.cabal/share/doc/i386-linux-ghc-7.8.4/shakespeare-text-1.1.0/html/shakespeare-text.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/djp/.cabal/share/doc/i386-linux-ghc-7.8.4/shakespeare-text-1.1.0/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/djp/.cabal/share/doc/i386-linux-ghc-7.8.4/shakespeare-2.0.3/html/shakespeare.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/djp/.cabal/share/doc/i386-linux-ghc-7.8.4/shakespeare-2.0.3/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/djp/.cabal/share/doc/i386-linux-ghc-7.8.4/aeson-0.8.0.2/html/aeson.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/djp/.
djp@tigger:~/tmp/hledger$ cabal install pretty-show ./hledger-lib
Resolving dependencies...
Configuring hledger-lib-0.24.98...
Building hledger-lib-0.24.98...
Preprocessing library hledger-lib-0.24.98...
/usr/bin/ld: cannot find -lHSpretty-show-1.6.8-ghc7.8.4
collect2: error: ld returned 1 exit status
Failed to install hledger-lib-0.24.98
cabal: Error: some packages failed to install:
hledger-lib-0.24.98 failed during the building phase. The exception was:
Searching for ghc in path.
Found ghc at /usr/local/bin/ghc
("/usr/local/bin/ghc",["--numeric-version"])
/usr/local/bin/ghc is version 7.8.4
looking for tool ghc-pkg near compiler in /usr/local/bin
found ghc-pkg in /usr/local/bin/ghc-pkg
("/usr/local/bin/ghc-pkg",["--version"])
/usr/local/bin/ghc-pkg is version 7.8.4
("/usr/local/bin/ghc",["--supported-languages"])
("/usr/local/bin/ghc",["--info"])
Urgency 2.4
project 1 * 1 = 1
priority 0.3 * 6 = 1.8
annotations 0.8 * 1 = 0.8
tags 0.8 * 1 = 0.8
age 1 * 2 = 2
UDA duration 1 * 1 = 1
Area idea
Dur 2w
@linuxcaffe
linuxcaffe / gist:1ca9ee033073d544c477
Created February 17, 2015 04:35
batch mod loop lock lunacy
djp@tigger:~$ tw proj:tw mod area:it
+task proj:tw mod area:it
- Area will be set to 'it'.
Modify task 61 'make selection bar color inverse, not white om blue'? (yes/no/all/quit) all
Modifying task 61 'make selection bar color inverse, not white om blue'.
Modifying task 64 'look for tag or projects which have same word but case-variations'.
Modifying task 65 'look for out of range past and future dates'.
Modifying task 66 'look UUID dupes'.
Modifying task 71 'update reports oldest and newest'.
Modifying task 99 'stop screwing around with taskwarrior!'.
@linuxcaffe
linuxcaffe / gist:80613069177faad3779c
Created February 18, 2015 18:08
git remote show origin
djp@tigger:~/tmp/task_tools$ git remote show origin
Enter passphrase for key '/home/djp/.ssh/id_rsa':
* remote origin
Fetch URL: git@github.com:nasoym/task_tools.git
Push URL: git@github.com:nasoym/task_tools.git
HEAD branch: master
Remote branch:
master tracked
Local branch configured for 'git pull':
master merges with remote master
with this timelog file;
i 2015/02/23 15:34:21 co munity:subproj call Keren Hollis about a thing
o 2015/02/23 15:35:46 ; :tag1:tag2:tag3 uuid: 874865465765764576547655
i 2015/02/23 16:55:29 no project email NB
o 2015/02/23 16:56:27 ; uuid: 8763876837638763
i 2015/02/24 12:01:01 community call Keren Hollis
12x73
|a add new task |D delete |:report <filter> |:N move to N |
|d mark as done |N prev match |<CR> task info |@ change context |
|e edit task |P priority |= task info |:h [pat|cat] help |
|f filter |Q exit |/ search fwd |h quick ref |
|m modify |:q exit |? search back | (this file) |
|n next match |ZZ exit |:![rw] execute |^l refresh |
|p project |gg first line |:%s/OLD/NEW/ | |
|q exit y/n? |0 first line |:s/OLD/NEW/ | |
|s sync |G last line |<PgDn> page down | vit |
======== vit help ======== see also: 'man vit' and 'man vitrc'
cmd a STRING add a new task
cmd d mark the current task done (status:completed)
cmd e edit the current task details in vim
cmd f FILTER filter the current report with FILTER
cmd m STRING modify the current task (see: 'man task')
cmd n move to the next match when searching
cmd p <tab> set the current task's project using tab completion
cmd p STRING set the current task's project to STRING
cmd p STRING<tab> set the current project to STRING using tab completion