From 84423e63959e31a8eb55efbf7194798bee3811dd Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 5 Apr 2024 18:51:41 +0200 Subject: Dumped recent refueling history into a repository Yes, currently it only dumps into the standard output. There's too little data especially on LPG to make any good estimates at this point. Later on, this format will allow the data to be dumped anywhere for any kind of analysis or calculations to be done within this codebase. Or something like that. --- dump.lua | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 dump.lua (limited to 'dump.lua') diff --git a/dump.lua b/dump.lua new file mode 100755 index 0000000..4fb3d77 --- /dev/null +++ b/dump.lua @@ -0,0 +1,7 @@ +#!/usr/bin/env -S lua -l fuel +local f = fuel.fill +local r = fuel.relative +f("O", "2023-12-28", "17:55", 202230.0, "95", 100.21, 15.37) +f("O", "2024-02-23", "12:05", r(119.2), "lpg", 74.14, 23.61) +f("O", "2024-02-23", "12:18", 202350.9, "95", 100.02, 14.95) +f("O", "2024-04-05", "12:27", r(279.2), "95", 100.16, 14.86) -- cgit v1.1