This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"ID":"4f8ec0a8-9c59-4d80-bcf5-a3f5ebb9cfa9", | |
"Country":"Sri Lanka", | |
"CountryCode":"LK", | |
"Province":"", | |
"City":"", | |
"CityCode":"", | |
"Lat":"7.87", | |
"Lon":"80.77", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var API_URL = 'https://api.covid19api.com/live/country/Sri-lanka'; | |
var SHEET_NAME = 'DataSheet'; | |
var HEADER_RANGE = "A1:F1"; | |
var HEADERS = ["ID", "Confirmed", "Deaths", "Recovered", "Active", "Date"] | |
var DATA_START_COL_ID = 1; | |
var FILEDATA_RANGE = "A2:A"; | |
/** | |
* This is a helper function to filter out empty values in an array. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "----------------------------------------------------------------------------------" | |
echo "| Generating private keys and certs for CarParkServer and CarParkClient |" | |
echo "----------------------------------------------------------------------------------" | |
# Check the availability of openssl. | |
readonly KEYTOOL=$(which keytool) | |
if [[ ! ${KEYTOOL} ]] | |
then | |
echo "keytool is not installed. Exiting !" | |
exit 1 |