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 | |
# A bash script for installing Python 3.x.x on your Raspberry Pi. | |
# (c) 2023 Dennis Lee | |
# | |
# Open your terminal and type the following command: | |
# wget https://gist.githubusercontent.com/dennislwy/a91e83826d6d9c111c995765f3a6779c/raw/install_raspberry_python3.sh -O install_raspberry_python3.sh && chmod +x install_raspberry_python3.sh && ./install_raspberry_python3.sh | |
#set -e # Exit immediately if a command exits with a non-zero status. |
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 | |
# A bash script for installing Python 3.x.x on your Raspberry Pi (modified from @realSnosh). | |
# (c) 2023 Dennis Lee | |
# | |
# Open your terminal and type the following command: | |
# wget https://gist.github.com/dennislwy/318ac12b0b9fa0f4aa03e784f34f86c7/raw/raspberry_install_python3.sh && chmod +x raspberry_install_python3.sh && ./raspberry_install_python3.sh | |
PYTHON_VERSION=3.10 | |
PYTHON_BUILD=11 |
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
# AES helper class for pycrypto | |
# Copyright (c) Dennis Lee | |
# Date 22 Mar 2017 | |
# Description: | |
# Python helper class to perform AES encryption, decryption with CBC Mode & PKCS7 Padding | |
# References: | |
# https://www.dlitz.net/software/pycrypto/api/2.6/ | |
# http://japrogbits.blogspot.my/2011/02/using-encrypted-data-between-python-and.html |
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
# RSA helper class for pycrypto | |
# Copyright (c) Dennis Lee | |
# Date 21 Mar 2017 | |
# Description: | |
# Python helper class to perform RSA encryption, decryption, | |
# signing, verifying signatures & keys generation | |
# Dependencies Packages: | |
# pycrypto |