This file contains hidden or 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
#! /bin/bash -x | |
# | |
# Defaults | |
# | |
defPSK="AQ==" | |
shortPSK="<YOUR 8bit Key>" | |
longPSK="<Your 256bit Key>" | |
mynetwork="mynet" | |
# |
This file contains hidden or 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
#! /bin/bash -x | |
# | |
# Defaults | |
# | |
role="CLIENT" | |
#role="CLIENT_MUTE" | |
timezone="CET-1CEST,M3.5.0,M10.5.0/3" | |
region="EU_868" # "EU_433" / "EU_868" / <YOUR REGION> | |
gpsmode="disabled" | |
#gpsmode="enabled" |
This file contains hidden or 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
#! /bin/bash | |
# To run this you will need to do first: | |
# 1) Get the data | |
# git clone https://github.com/CSSEGISandData/COVID-19; cd COVID-19 | |
# 2) Run this script | |
# 3) Optionally plot them ... example for gnuplot at the end | |
# | |
# countriesPop="Switzerland:8570 Italy:60480 Spain:46660 Germany:82790 France:66990" | |
# Does not for all countries, for example France has "states" | |
# |
This file contains hidden or 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
#! /bin/sh | |
# | |
QQ="QUESTIONS.md" | |
#QQ="bin/makeJSONfromQ.QUESTIONS.test.md" | |
cat ${QQ} | tail +4 | sed 's/"/``/g' | \ | |
awk 'BEGIN { Ccount=0; Qcount=0; QCcount=0; Ncount=0; firtsC=0; firstQ=0 } \ | |
/^\*\*/ {Ccount++; QCcount=0; gsub(/^\*\*/,"",$0);gsub(/\*\*$/,"",$0);\ | |
if (Ccount >1) \ | |
{print "\t\t\t}\n\t\t]\n\t\t},"} | |
else {print "{ \"TechQuestions\" :\n\t{ \"category\" :\n\t["}; \ |
This file contains hidden or 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
#! /bin/sh | |
# | |
# F.Mariotti: taritdate.sh | |
# | |
# Simple help text | |
if [ -z $1 ]; then | |
echo "please give a dir name." | |
exit 1; | |
fi; | |
# |
This file contains hidden or 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
#! /bin/tcsh | |
# | |
if ("a$1" == "a") then | |
echo "give a file name..." | |
exit | |
endif | |
if ("a$1" == "ahelp") then | |
echo "Usage: $0 <datafilename> [numcols]" | |
echo "" | |
exit |