Giter VIP home page Giter VIP logo

rubberduck's Introduction

rubberduck

Ad-hoc journaling at the command line.

Install

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

Usage

rubberduck

Open today's entry:

rubberduck

config

Set a few preferences, including your editor and whether or not to include a few lines of terminal history in your entries:

rubberduck config

reminisce

Review old entries: (default opens entries from each year ago, and six months ago):

rubberduck reminisce

search

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

goodnight

Talk through the day's ups and downs, and plan for tomorrow.

rubberduck goodnight

retro

Reflect on the challenges and achievements of the past week.

rubberduck retro

Testing

go test
go test -bench .
go test -cover
go test -coverprofile c.out
go tool -cover -html=c.out

License

MIT

rubberduck's People

Contributors

phrazzld avatar

Stargazers

Roman avatar Sherman Chen avatar  avatar

Watchers

 avatar James Cloos avatar Nathan Chester Watkins avatar

rubberduck's Issues

Write `retro`

rubberduck retro or rubberduck retrospective pull the last 7 days of notes (sequentially) and then today's, with some variation of the following prompts:

  • What did you accomplish this week?
  • What mistakes did you make?
  • What could you have done better?
  • What went well?
  • What did not go well?
  • What did you learn?
  • What still puzzles me?

Add more complex editor config

Support pre-file arg and post-file arg.

Example:
nvim <file> +Goyo to use the Goyo plugin for Vim. Unclear what other post-file args people would want to use, but makes sense not to hardcode it to this specific plugin.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.