Skip to content

Instantly share code, notes, and snippets.

@thlorenz
Last active May 2, 2020 17:46
Show Gist options
  • Save thlorenz/223d2bf2c281a64bc60af9ea770e13c6 to your computer and use it in GitHub Desktop.
Save thlorenz/223d2bf2c281a64bc60af9ea770e13c6 to your computer and use it in GitHub Desktop.
batufo: ngrok url updater
http://05738ef0.ngrok.io
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
NGROK_URL=$1
echo $NGROK_URL > $DIR/ngrok.txt
git add $DIR/ngrok.txt
git commit -m "url: $NGROK_URL ngrok.txt"
git push origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment