GithubHelp home page GithubHelp logo

revolverhuset / mokkameister Goto Github PK

View Code? Open in Web Editor NEW
2.0 8.0 0.0 526 KB

:coffee: Mokkameister 9000

License: Eclipse Public License 1.0

Clojure 75.37% HTML 7.30% CSS 3.43% JavaScript 13.65% Procfile 0.25%
coffee-machine coffee-lovers coffee-bot coffee-scores coffee slack

mokkameister's People

Contributors

deestan avatar johshoff avatar jonpacker avatar maghoff avatar stianeikeland avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mokkameister's Issues

Graf og standardavik mm for månedlig kaffiforbruk

mokkameister::DATABASE=> select count(*), DATE_TRUNC('month', created) as monthyear from brewings where "coffee-type" = 'regular' and DATE_TRUNC('month', created) != DATE_TRUNC('month', CURRENT_DATE) group by monthyear;
 count |      monthyear
-------+---------------------
    35 | 2016-08-01 00:00:00
    43 | 2015-11-01 00:00:00
    51 | 2016-05-01 00:00:00
    81 | 2015-07-01 00:00:00
    63 | 2016-11-01 00:00:00
    63 | 2016-09-01 00:00:00
    51 | 2016-06-01 00:00:00
    64 | 2016-04-01 00:00:00
    40 | 2015-10-01 00:00:00
    53 | 2015-08-01 00:00:00
    50 | 2016-02-01 00:00:00
    44 | 2015-06-01 00:00:00
    37 | 2015-12-01 00:00:00
    47 | 2016-07-01 00:00:00
    44 | 2016-12-01 00:00:00
    48 | 2016-03-01 00:00:00
    39 | 2016-10-01 00:00:00
    44 | 2017-01-01 00:00:00
    42 | 2016-01-01 00:00:00
    36 | 2015-09-01 00:00:00
(20 rows)
mokkameister::DATABASE=> select avg(permonth.count), stddev(permonth.count) from (select count(*), DATE_TRUNC('month', created) as monthyear from brewings where "coffee-type" = 'regular' and DATE_TRUNC('month', created) != DATE_TRUNC('month', CURRENT_DATE) group by monthyear) as permonth;
         avg         |       stddev
---------------------+---------------------
 48.7500000000000000 | 11.5160071662287350
(1 row)```

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.