GithubHelp home page GithubHelp logo

kitemmuort-counter's Introduction

Build Status

What's a "kitemmuort"?

Italians may just skip to the next section; everybody else, I'll give you an explanation. Kitemmuort is a curse, in neapolitan (a southern Italy dialect) that is very offensive towards religion and one's relatives (dead ones). It's an exclamation for moments when things don't go the way you want them to go or when you want to truly offend somebody. It has a version in every italian dialect (perhaps the most famous being "mortacci" in Rome's parlance) and I bet there's something similar in your language too. If there isn't (really?), consider kitemmuort to be like "fuck" or any other exclamation you give out of frustration or rage.

What does this do?

Have you ever wondered how many times you swear out of frustration or any other motivation? No? Well, I have. That's why I wrote this.

Kitemmuort-counter allows you to keep track of how many kitemmuort you exclaim throughout your days. Just set the number each day and it will save it in a SQLite database along with the current date. You can also set/change the count for past (or future!) dates. It's really possible to exploit the counter in many ways but hey, it's just for fun, do you really want to use it in production? :)

Anyway, usage is:

kitemmuort-count (-c|-s) [-d <date>]

Arguments:
	-count|-c
		Show the kitemmuort count for a date (default is today)
	-set|-s
		Set the amount of kitemmuort for a date (default is today)
	-date|-d
		Operate (count/set) on a specific date instead than today
		Use YYYY-MM-DD (example: 2012-10-01)

Basically, use -count to see how many kitemmuorts you have exclaimed on a given date (or today if you haven't specified any). Use -set to set the count (who would have thought, eh?). Not specifying anything shows the count for today.

That's it. Keep It Simple Stupid. If you want to contribuite/play with this, do send a pull request. Even just adding another item in the TODO list below. Or fork.

Installation & Requirements

Install the sqlite3 driver:

go get github.com/mattn/go-sqlite3

and you'll be all set. Of course you also need Go itself. Then go build or go run the program, as you prefer

TODO

  • Generate a graphic from the data?
  • Add a GUI?
  • Make it more user-friendly for Windows. Does anybody care about it?

LICENSE

MIT

See LICENSE

kitemmuort-counter's People

Contributors

donearm avatar

Stargazers

 avatar  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.