sudo apt install python3-pip
sudo apt-get install build-essential python-dev
sudo apt-get install python-setuptools
| #!/usr/bin/bash | |
| #################################################### | |
| # Golang autosetup script | |
| # | |
| # usage: | |
| # v=GOLANG_VERSION curl -s THIS_RAW_GIST | bash | |
| # | |
| # copy & paste: | |
| # v=1.16.4 curl -s https://gist.githubusercontent.com/v3rlly/502debce2eef17c9570553046aa316db/raw/go_autosetup.sh | bash | |
| #################################################### |
| package util | |
| import ( | |
| "net/http" | |
| "strings" | |
| "time" | |
| "github.com/aws/aws-sdk-go/aws/credentials" | |
| v4 "github.com/aws/aws-sdk-go/aws/signer/v4" | |
| ) |
| #!/bin/bash | |
| # | |
| # Install BurpSuite and Mitmproxy certificates on android emulator | |
| # ref: | |
| # - https://docs.mitmproxy.org/stable/howto-install-system-trusted-ca-android/ | |
| # - https://secabit.medium.com/how-to-configure-burp-proxy-with-an-android-emulator-31b483237053 | |
| # | |
| # report errors | |
| set -au; |
| #!/bin/bash | |
| # | |
| # Install required packages for Blockscout | |
| # | |
| # Tested on: Debian 11 Bullseye | |
| # | |
| set -eu; |
| #!/bin/bash | |
| # | |
| # Install docker on Debian 11 Bullseye with one line | |
| # | |
| set -u; | |
| # Check if user is root. | |
| [[ ! $(id -u) -eq 0 ]] && echo "Run as root." && exit 1; |