List of helpful shortcuts for faster coding
If you have any other helpful shortcuts, feel free to add in the comments of this gist :)
readarray -td ";" lq <<< $(curl "https://www.umweltbundesamt.de/api/air_data/v2/airquality/csv?date_from=$(date +%F)&time_from=$(($(date +%H)-1))&date_to=$(date +%F)&time_to=$(date +%H)&station=1460&lang=de"| grep -m1 DERP023) ; echo ${lq[5]} |
#!/bin/bash | |
set -e; set -o pipefail | |
# Thanks to https://stackoverflow.com/a/246128 | |
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]:-$0}"; )" &> /dev/null && pwd 2> /dev/null; )" | |
cd ${SCRIPT_DIR} | |
[[ -z $1 ]] || ${SCRIPT_DIR}/build.sh $1 | |
# Now watch for file changes. |
/* | |
/$$$$$$ /$$$$$$$$ /$$ /$$ | |
/$$__ $$|__ $$__/| $$$ /$$$ | |
| $$ \ $$ | $$ | $$$$ /$$$$ | |
| $$$$$$$$ | $$ | $$ $$/$$ $$ | |
| $$__ $$ | $$ | $$ $$$| $$ | |
| $$ | $$ | $$ | $$\ $ | $$ | |
| $$ | $$ | $$ | $$ \/ | $$ | |
|__/ |__/ |__/ |__/ |__/ |
/* | |
/$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$ | |
/$$__ $$ /$$__ $$|_ $$_/ /$$__ $$ | |
| $$ \ $$| $$ \__/ | $$ | $$ \__/ | |
| $$$$$$$$| $$$$$$ | $$ | $$ | |
| $$__ $$ \____ $$ | $$ | $$ | |
| $$ | $$ /$$ \ $$ | $$ | $$ $$ | |
| $$ | $$| $$$$$$/ /$$$$$$| $$$$$$/ | |
|__/ |__/ \______/ |______/ \______/ |
/* | |
/$$$$$$$ /$$ /$$$$$$$ /$$ /$$ /$$ | |
| $$__ $$ | $$ | $$__ $$|__/ | $$ |__/ | |
| $$ \ $$ /$$ /$$| $$ /$$$$$$$ /$$$$$$ | $$ \ $$ /$$ /$$$$$$ /$$$$$$$ /$$$$$$ /$$ /$$$$$$$ | |
| $$$$$$$/| $$ | $$| $$ /$$_____/ /$$__ $$| $$$$$$$ | $$|_ $$_/ /$$_____/ /$$__ $$| $$| $$__ $$ | |
| $$____/ | $$ | $$| $$| $$$$$$ | $$$$$$$$| $$__ $$| $$ | $$ | $$ | $$ \ $$| $$| $$ \ $$ | |
| $$ | $$ | $$| $$ \____ $$| $$_____/| $$ \ $$| $$ | $$ /$$| $$ | $$ | $$| $$| $$ | $$ | |
| $$ | $$$$$$/| $$ /$$$$$$$/| $$$$$$$| $$$$$$$/| $$ | $$$$/| $$$$$$$| $$$$$$/| $$| $$ | $$ | |
|__/ \______/ |__/|_______/ \_______/|_______/ |__/ \___/ \_______/ \______/ |__/|__/ |__/ |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> | |
</head> | |
<body style="margin:0px;padding:0px;overflow:hidden"> | |
<!-- <iframe src="__URL_HERE__" frameborder="0" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;height:100%;width:100%;position:absolute;top:0px;left:0px;right:0px;bottom:0px" height="100%" width="100%"></iframe> --> | |
<iframe class="gas-cards-iframe" src="https://www.blocknative.com/gas-iframe" style="width:100%;height:500px;display:block"></iframe> | |
</body> | |
</html> |
Go to onedrive folder in your pc and create a folder for git repository. | |
Usually onedrive resides in `C:\Users\%username%\OneDrive` | |
Open GitBash | |
cd ~/OneDrive | |
mkdir git | |
cd git | |
mkdir myproject | |
cd myproject |
Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.
And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.
If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.