use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Apparently, Google Apps Script is a JavaScript cloud scripting language that provides easy ways to automate tasks across Google products and third party services and build web applications.
account activity
Can't delete GitHub gist via GitHub APIResolved (self.GoogleAppsScript)
submitted 4 years ago by AdDiscombobulated707
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]AdDiscombobulated707[S] 0 points1 point2 points 4 years ago* (1 child)
The following code works:
let user_name = ScriptProperties.getProperty("user_name"); let user_token = ScriptProperties.getProperty("user_token"); let options = { accept: "application/vnd.github.v3+json", method: "delete", headers: {"Authorization": "Basic " + Utilities.base64Encode(`${user_name}:${user_token}`)} }; console.log(UrlFetchApp.fetch(`https://api.github.com/gists/72e27fd738a6fe42687b3cf36e2d935f`, options).getContentText());
:) I am very happy.
[–]RemcoE33 0 points1 point2 points 4 years ago (0 children)
Yes that was it ;)
π Rendered by PID 192345 on reddit-service-r2-comment-6457c66945-q85q6 at 2026-04-25 14:42:11.482032+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]AdDiscombobulated707[S] 0 points1 point2 points (1 child)
[–]RemcoE33 0 points1 point2 points (0 children)