/cli-tools

Various python and bash CLI tools

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

CLI-tools

  • heroku_clone/clone.py - a walkthrough to flexibly forking/cloning heroku apps, just run python clone.py
    • a local $HEROKU_CLONE_SACRED env variable might contain something like this: (AWS)|(_KEY)|(_SECRET)|(NODE_ENV) to limit which env variables are changeable on a clone
  • ./startup.py - a python script which will use the following env variables: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, VPN_EC2_ID, VPN_CONFIG_PATH to start an EC2 instance and update local configs .envrc, config.ovpn with the new public IP
  • ./ip-tables.sh - a simple shell script to set iptables to forward VPN traffic on a port of your choice
  • ./update.sh - a shell script to change the remote IP in an OpenVPN config, requires a relevant VPN_CONFIG_PATH env variable