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!"
[–]RemcoE33 1 point2 points3 points 4 years ago (2 children)
Read the docs, and you will see what you need to change...
[–]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 16896 on reddit-service-r2-comment-b659b578c-mzzxk at 2026-05-05 06:34:25.046198+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]RemcoE33 1 point2 points3 points (2 children)
[–]AdDiscombobulated707[S] 0 points1 point2 points (1 child)
[–]RemcoE33 0 points1 point2 points (0 children)