generate api token for github gists (i did not write this)