Skip to content

sesom42/cigarette-stop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

shows you the number of days since you stopped smoking, how many cigarettes you didn't smoked and how much money you saved

Requirements

  • cli.php just need php
  • nosmoking just needs bash and bc

Usage

php cli.php [date-stopped (Y-m-D)] [cigarettes per day] [price / cigarette]

or

nosmoking [date-stopped (Y-m-D)] [cigarettes per day] [price / cigarette]

Example

php cli.php 2016-09-19 30 0.285714286

2016-09-19 is the day you stopped 30 cigarettes per Day 0.285714286 price for one cigarette

About

a little motivation script for quitting smoking

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 70.0%
  • Shell 30.0%