I hereby claim:
- I am kokkiemouse on github.
- I am kokkiemouse (https://keybase.io/kokkiemouse) on keybase.
- I have a public key whose fingerprint is C39D C5C9 8D3F 4982 39D3 30F4 B153 A776 44DD A1BE
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
FILE_ID=1mIxeAPOPUBESAe3csvRUKsbDU_iwVsnl | |
FILE_NAME=NEUTRINO.zip | |
curl -sc ./cookie "https://drive.google.com/uc?export=download&id=${FILE_ID}" > /dev/null | |
#CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)" | |
#curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=${FILE_ID}" -o ${FILE_NAME}a | |
curl -Lb ./cookie "https://drive.google.com/uc?export=download&confirm=`awk '/download/ {print $NF}' ./cookie`&id=${FILE_ID}" -o ${FILE_NAME} | |
unzip NEUTRINO.zip | |
cd NEUTRINO | |
perl -0777 -pe 's/libnetcdf.so.15/libnetcdf.so.18/g' bin/NEUTRINO > bin/NEUTRINO.old |
input.onButtonPressed(Button.A, function () { | |
radio.sendValue("template", input.temperature()) | |
radio.sendValue("lightly",input.lightLevel()) | |
}) | |
radio.onReceivedValue(function (name: string, value: number) { | |
if(name == "template") { | |
basic.showNumber(value) | |
basic.showString("C") | |
} | |
if(name == "lightly"){ |