Coder Social home page Coder Social logo

textime's Introduction

#Time is precious Don't waste it tracking itself.

textime.rb parses a simple text file of in and out timepoints into yet another plaintext report indicating how many hours you work each day, each week and how many you have left to go (useful for hourly workers on flexible schedules).

Each day gets a total time spent working in the rightmost column, and each week gets its own Total line.

##Make it your own Rename sample-config.rb to config.rb and add your own default timecard file so you don't have to type the path every run. daysInAWeek and hoursInAWeek are used to calculate the remaining time this week and how much time you need to log each day.

3day/30hour weeks are the default because that's what I'm working at the moment.

##Run it ./textime.rb [/path/to/timecard.txt]

Output is to stdout. Pipe away.

##Ciao It's a quick hack, but it works.

textime's People

Contributors

joechrysler avatar

Stargazers

 avatar

Watchers

 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.