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
#! /bin/bash | |
FILEID=$1 | |
FILENAME=$2 | |
wget --no-verbose --show-progress --progress=bar:force --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=$FILEID' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=$FILEID" -O $FILENAME && rm -rf /tmp/cookies.txt |
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
#! /bin/bash | |
stty -F /dev/ttyUSB0 9600 | |
while [[ $# -gt 0 ]]; do | |
case $1 in | |
--on) | |
echo "set on" | |
echo -e "\xA0\x01\x01\xA2" > /dev/ttyUSB0 | |
shift | |
;; |
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
new Runners: | |
- install qemu | |
sudo apt-get install qemu binfmt-support qemu-user-static | |
- install last version of git: (checkout action works better) | |
sudo add-apt-repository -y ppa:git-core/ppa | |
sudo apt update | |
sudo apt install git | |
git --version |
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
#include "Timer.h" | |
Timer t; | |
const int RED_R = 5; | |
const int YELLOW_R = 6; | |
const int GREEN_R = 7; | |
const int BEEP_R =8; | |
const int OUTIN_B = 14; |