Ad-hoc journaling at the command line.
Set up your Go environment. Make sure you have the following lines in your .profile:
export GOPATH=`go env GOPATH`
export PATH="$PATH:$GOPATH/bin"
Then run:
go get github.com/phrazzld/rubberduck
Open today's entry:
rubberduck
Set a few preferences, including your editor and whether or not to include a few lines of terminal history in your entries:
rubberduck config
Review old entries: (default opens entries from each year ago, and six months ago):
rubberduck reminisce
Search your old entries for lines containing a term, phrase, or pattern:
rubberduck search "<pattern>"
Note: search
ignores case, searches for whole words, and returns the lines immediately trailing and following the line with the matched pattern. It is equivalent to running:
egrep "<pattern>" -R -w $ENTRIES_PATH --ignore-case -C 1
Talk through the day's ups and downs, and plan for tomorrow.
rubberduck goodnight
Reflect on the challenges and achievements of the past week.
rubberduck retro
go test
go test -bench .
go test -cover
go test -coverprofile c.out
go tool -cover -html=c.out