Skip to content

Instantly share code, notes, and snippets.

@alangpierce
Created May 12, 2014 18:37
Show Gist options
  • Save alangpierce/8e01f71b664761cec0a3 to your computer and use it in GitHub Desktop.
Save alangpierce/8e01f71b664761cec0a3 to your computer and use it in GitHub Desktop.
BigQuery token refresh scripts for KA dev environment
#!/bin/sh
while [ 1 ]
do
./refresh_bigquery_token.sh
sleep 10
done
#!/bin/sh
source ~/.virtualenv/bigquery_env/bin/activate
bq ls
cp .bigquery.v2.token ~/khan/webapp/bigquery_token
echo 'Done!'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment