Skip to content

Instantly share code, notes, and snippets.

View jmcmurry's full-sized avatar
🛎️

Julie McMurry jmcmurry

🛎️
View GitHub Profile
@jmcmurry
jmcmurry / SOP-tenant-domain-transfer.md
Last active July 21, 2026 07:43
Generic SOP + Apps Script toolkits for moving a custom domain between Google Workspace tenants

SOP: Moving a Custom Domain Between Google Workspace Tenants

For small-scale migrations (a handful of shared drives and groups) where standing up Google Takeout / the Data Migration Service isn't worth the overhead. Does not cover individual users' data; see Scope below.

Generic, replicable procedure for pulling a custom domain out of one Google Workspace (or Cloud Identity) tenant and re-registering it in another, when you are superadmin of both. Written from a real migration; examples use placeholder domains so it can be followed for any pair of tenants.

@jmcmurry
jmcmurry / gist:4194663d36caa1e76539896adb74f7b1
Created June 25, 2026 15:48
Format every table in the active Google Doc
/**
* Format every table in the active Google Doc.
*
* - Body text: Arial 8
* - Header row: #0b5394 fill, white bold Arial 8
* - Cell padding: 0 on all sides
* - Text edges: 0.02" inset on left & right via paragraph indents
* (the blue ruler controls), not via cell padding.
*
* Run formatAllTables(). First run will prompt for authorization.
@jmcmurry
jmcmurry / gGroupMembersToGSheet.gs
Last active June 12, 2020 18:13
From a list of google groups (the group addresses), fetch corresponding member emails for each and write them to a gSheet, each group occupies a separate column
// Note: API must be enabled before use.
// the person running the script needs to authorize the script AND from an email address that is listed as an administrator or owner on the group.
function main(){
// Destination sheet of members
var ss = SpreadsheetApp.openByUrl('SOMEURL');
//array of emails; here I fetch them from the a named range in the above spreadsheet, but they could be hardcoded as an array
var groupEmails = ss.getRangeByName("listOfGroups").getValues();
@jmcmurry
jmcmurry / .block
Created February 20, 2018 19:29
Sankey from CSV
license: gpl-3.0
@jmcmurry
jmcmurry / .block
Last active February 20, 2018 22:07
Sankey from CSV
license: gpl-3.0
@jmcmurry
jmcmurry / .block
Created February 20, 2018 18:56
Sankey Plot of Grant Funding
license: mit
@jmcmurry
jmcmurry / License.txt
Last active January 18, 2018 21:35 — forked from mattbrehmer/License.txt
Box Plot w/ Brushing
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
@jmcmurry
jmcmurry / .block
Last active December 6, 2017 21:50
Force-Directed Graph with Scaled Nodes
license: gpl-3.0
height: 600
@jmcmurry
jmcmurry / .block
Last active September 14, 2017 08:39
Force-Directed Graph with Scaled Nodes
license: gpl-3.0
height: 600