Utility to update pinned gists with any irrelevant data.
- Download or clone this repository in a directory of your choice.
- Inside the project folder, create a
config.json
file with the following contents:
{
"user": "<your-github-user>",
"hash": "<gist-hash>",
"token": "<access-token>"
}
- Create a new personal access token with the
gist
scope. Copy the generated token and paste it in the token key in theconfig.json
. - Create a new gist (the filename doesn’t matter).
- Copy the hash from the newly created gist’s URL: (gist.github.com/<user>/ <hash>) and paste it in the hash key in the
config.json
. - Run
sh run.sh
and check if the gist was updated. - Pin the gist on your profile!