A minimal table to compare the Espressif's MCU families.
ESP8266 | ESP32 | ESP32-S2 | ESP32-S3 | ESP32-C3 | ESP32-C6 | |
---|---|---|---|---|---|---|
Announcement Date | 2014, August | 2016, September | 2019, September | 2020, December |
# https://askubuntu.com/a/607915 | |
sudo apt-get install xdotool | |
xdotool key Caps_Lock |
# src - https://t.me/terraform_ru/52974 | |
echo 'yamldecode(file("filename.yaml"))' | terraform console |
src - pyenv/pyenv#1946 (comment)
pyenv install 3.7:latest
ln -rs ~/.pyenv/versions/3.7.12 ~/.pyenv/versions/3.7
pyenv local 3.7
python --version
--> Python 3.7.12
from functools import wraps | |
import errno | |
import os | |
import signal | |
class TimeoutError(Exception): | |
pass | |
def timeout(seconds=30, error_message=os.strerror(errno.ETIMEDOUT)): |
# based on https://stackoverflow.com/q/5120038/4249707 | |
# local source | |
SRC=../<repo>/.git | |
COMMIT=<hash> | |
git --git-dir=${SRC} format-patch -k -1 --stdout ${COMMIT} | git am -3 -k | |
# remote source | |
[email protected]:<user>/<repo>.git | |
NAME=commit-source |
I hereby claim:
To claim this, I am signing this object:
Just create a new InterceptHandler and add it to your app. Different settings should be configured in your config file, so that it is easy to change settings.
Logging is then as easy as:
from loguru import logger
logger.info("I am logging from loguru!")
#!/bin/bash | |
#This script will compile and install a static ffmpeg build with support for nvenc un ubuntu. | |
#See the prefix path and compile options if edits are needed to suit your needs. | |
#install required things from apt | |
installLibs(){ | |
echo "Installing prerequisites" | |
sudo apt-get update | |
sudo apt-get -y --force-yes install autoconf automake build-essential libass-dev libfreetype6-dev libgpac-dev \ |