Skip to content

Instantly share code, notes, and snippets.

View aviaryan's full-sized avatar

Avi Aryan aviaryan

View GitHub Profile
code:="Code to post goes here" ;Change this to create the new text for the Gist
access_token:="" ;Your Github access token goes here if you want to publish it to your Gist list
filename:="mygit.txt" ;change this to whatever you want your file name to be
description:="my description" ;This is where you would have a description for your Gist
PostAsGist(code, filename, description)
return
PostAsGist(code, filename, description, access_token="")
{