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)): |
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
# src - https://t.me/terraform_ru/52974 | |
echo 'yamldecode(file("filename.yaml"))' | terraform console |
# https://askubuntu.com/a/607915 | |
sudo apt-get install xdotool | |
xdotool key Caps_Lock |