DEV:


   

Food Listing


< STUB+ >

Run this if you're in the shop.

Revisions:
    ~2017xxxx matic
    2020331 touch !

Ties to 🔗food, 🔗lim0, etc.


(old script)

"""
#
# Outputs shopping list
# based on http://pad.totalism.org/p/food items
# that have 'X ' at the beginning of the line
#
new-bits() {
    wget -qO- 'http://pad.totalism.org/p/food/export/txt' | grep '^X ' | grep -oP '(?<=X    [*] ).*'
    wget -qO- 'http://pad.totalism.org/p/food/export/txt' | grep -Po '^X.*[0-9.]+(?=€)' | grep -Po '[0-9.]+$' | awk '{s+=$1} END {print "Approx cost: "s"€"}'
}
"""




TODO !!!

dev:
    * take html export, pick by bolds, not "X"
    * output as html - run script inside a php
    * include on #dashboard !
    * [...]

tactics:
    * write roles protocols for "inspection" (>chef, >sous-chef), etc
    * [...]








Edit Site

Edit CSS