Skip to content

Instantly share code, notes, and snippets.

@acurtis517
acurtis517 / README.MD
Created October 13, 2025 14:40 — forked from njoerd114/README.MD
Sankey Diagram with Google Spreadsheets

Sankey Diagrams within Google Spreadsheets

This Gist is there to help you creating a Sankey Diagram from your Google Spreadsheets.

Installation

  • Open a spreadsheet
  • Click "Tools" -> "Scripts"
@acurtis517
acurtis517 / google-sheets-multi-select-dropdown.js
Created October 9, 2025 20:33 — forked from rs77/google-sheets-multi-select-dropdown.js
Google App Script to enable users on a Google Sheet to select multiple options on a dropdown menu. Demonstration and more information here: https://scripteverything.com/google-sheets-drop-down-list-multiple-select/
/**
* @param {SheetsOnEdit} e - edit event object
*/
function onEdit(e) {
/**
* @typedef {Object} MultiDropDown
* @property {String} namedRange
* @property {Number} handlingDuplicates
* @property {String} separator
* @property {Boolean} sortResult
@acurtis517
acurtis517 / gen.sh
Created September 19, 2025 13:28 — forked from rmorey/gen.sh
List of Uniform Type Identifiers
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump | grep uti: | cut -c 29- | sort | uniq > utis.txt
@acurtis517
acurtis517 / iOS Shortcuts Catalog.md
Created September 11, 2025 02:17 — forked from brucebentley/iOS Shortcuts Catalog.md
This is a public resource designed to help people get started with Siri Shortcuts & the Shortcuts app. It’s made up of the Shortcuts Library, a collection of over 125+ shortcuts grouped into folders, and the Action Directory, a documentation of 125+ of the actions in the Shortcuts app used to build shortcuts.

Bruce's iOS Shortcut Catalog

Hello and welcome to my Shortcuts Catalog!

This is a public resource designed to help people get started with Siri Shortcuts and the Shortcuts app.

It’s made up of the Shortcuts Library, a collection of over 125+ shortcuts grouped into folders, and the Action Directory, a documentation of 125+ of the actions in the Shortcuts app used to build shortcuts.

Enjoy!

@acurtis517
acurtis517 / submit.md
Created September 7, 2025 00:03 — forked from tanaikech/submit.md
Uploading File to Google Drive from External HTML without Authorization

Uploading File to Google Drive from External HTML without Authorization

This is a sample script for uploading a file to Google Drive from the external HTML without the authorization. In this case, the client side can be used at the outside of Google. And as the server side, the Web Apps created by Google Apps Script is used.

Usage

Please do the following flow.

1. Create new project of Google Apps Script.

@acurtis517
acurtis517 / rss.js
Created September 5, 2025 19:19 — forked from Normal-Tangerine8609/rss.js
Simple Scriptable RSS Feed Parser (XML)
function parseXML(string) {
/*
* Part 1
*
* Parse the xml into a DOM-like json
*
* Input: <tag attribute="value">text node<inline>text node</inline>text node</tag>
*
* Output:
* {
@acurtis517
acurtis517 / submit.md
Created September 5, 2025 14:39 — forked from tanaikech/submit.md
Notifying New Release of Google APIs and Google Apps Script with Email using Google Apps Script

Notifying New Release of Google APIs and Google Apps Script with Email using Google Apps Script

This is a sample script for notifying the new release of Google APIs and Google Apps Script with an email using Google Apps Script.

Recently, I published a sample script of "Retrieving Release Notes of Google Apps Script and Google APIs from RSS using Google Apps Script". After this was published, I got an email that it wants to automatically notice the new release of Google APIs and Google Apps Script with an email. From this, I prepared a sample script as follows.

Sample script

Please set your email address to email in main. When you use this script, please manually run main function. By this, at 1st run, the new release in one month is checked as a test. And, the current date is stored in the PropertiesService. When you want to automatically obtain the notific

@acurtis517
acurtis517 / GoogleAppsScript2GitHub.gs
Created September 5, 2025 05:20 — forked from mhawksey/GoogleAppsScript2GitHub.gs
Example script that demonstrates how you can commit files to Github using Google Apps Script. If copying into a script project remembers to add a oAuth2 library https://github.com/googlesamples/apps-script-oauth2. More info in this post https://mashe.hawksey.info/?p=17293
/*
To use you need to create an application on Github at https://github.com/settings/developers
The callback in this needs to be set to https://script.google.com/macros/d/{SCRIPT ID}/usercallback
Where {SCRIPT ID} is the ID of the script that is using this library. You can find your script's ID in the Apps Script code editor by clicking on the menu item "File > Project properties".
In this example code I've stored the apllicaitons clientId and clientSecret in the Script Properties:
- git_clientId
- git_clientSecret
@acurtis517
acurtis517 / gist:b51e00bfc94fa733bd0fafab70b1f336
Created August 29, 2025 18:30 — forked from hayatbiralem/gist:eb25df49899cd1f97616ce72253724e0
Parse published (public) Google Spreadsheet HTML data into Javascript array
// Thanks to this gist: [Sample HTML/JS to parse a Google Spreadsheet](https://gist.github.com/terrywbrady/a03b25fe42959b304b1e)
var htmlEndPoint = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vREXBtuL2uKofq9ufXsIlytbONUR0-q_tf1Ucm14JpeE5KAdry97CCwvivf3e5NkCAnZ1Xg4qYa0RCo/pubhtml';
(function($){
var parseHtmlTableToJson = function($table){
var data = [];
var $headers = $("tr:first-child td", $table);
var headers = [];
@acurtis517
acurtis517 / code.js
Created August 10, 2025 00:02 — forked from supermamon/code.js
Example Google Apps Script WebApp to read/append to a Spreadsheet
/*
How to setup
============
1. Go to https://script.google.com and login
2. Click New Project
3. Give the project a name be clicking on "Untitled Project" and giving a new name
4. Copy this whole code and overwrite everything on Code.gs file. Click on the Save icon to save.
5. Go to Google drive and open the worksheet that you want to manipulate
6. Take a look at the url. It should be in this format -- https://docs.google.com/spreadsheets/d/spreadheet-id-as-some-long-seemingly-random-characters/edit#gid=478439860