This is what we did to setup a dashboard at Recras.
We'll assume that Raspbian Buster (with desktop) is installed on the Raspberry Pi.
This is what we did to setup a dashboard at Recras.
We'll assume that Raspbian Buster (with desktop) is installed on the Raspberry Pi.
I hereby claim:
To claim this, I am signing this object:
<?php | |
if($argc < 2){ | |
echo "Usage: " . $argv[0] . " FILE [NUMDAYS]\n"; | |
return(1); | |
} | |
// Default to add 1 day | |
$daysToAdd = ($argc == 3) ? intval($argv[2]) : 1; | |
$text = file_get_contents($argv[1]); |