Giter VIP home page Giter VIP logo

pom's Introduction

pom

A minimalistic time-tracker with logging and a pleasant-sounding chime.

Usage

pom

An initial task can be optionally provided at the command line, in which case the user will not be prompted until subsequent intervals.

Synopsis

The pom utility prompts for a task, then counts down for a predefined length of time while you work. When each period ends, pom plays a chime and adds a datestamped entry to ~/pom.log before counting down for a five-minute break period and chiming again. Every four breaks, a twenty-minute break is triggered, after which the utility exits.

Configuration

The variables pom_time and pom_logfile can be set in ~/.pom.rc or at the top of the script itself. By default, time_in_minutes=25 and logfile=$HOME/.pom.log.

A simple alternative configuration file, ~/.pom.rc, might look like this:

pom_time=10
pom_logfile="/dev/null"

Extras

  1. Use #hashtags in your messages so you can easily grep for them later.

  2. Use awk/grep to add up time spent on projects, or for specific days.

     awk '/#hacks/ { total += $1 } END { print total / 60 " hours" }' pom.log
    

Notes

A PowerShell version is available at the repository from which this was derived, here.

pom's People

Contributors

kgaughan avatar luv2code avatar shushcat avatar tobym avatar twe4ked avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.