This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Show GTM Server-Side Query Params in Table | |
// @namespace https://gist.github.com/cappypopp/ | |
// @version 2.0.5 | |
// @description Cracks HTTP Request URLs Into Query Param Table | |
// @author Cappy Popp | |
// @homepage https://gist.github.com/cappypopp/ | |
// @match https://CHANGEME.com | |
// @grant none | |
// @license MIT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Move events with a given title from your primary calendar to another calendar. | |
* You must enable the Calendar Advanced Service: | |
* https://developers.google.com/apps-script/guides/services/advanced#enabling_advanced_services | |
*/ | |
function moveEvents(eventTitle, fromCalendarName, toCalendarName) { | |
var fromCalendarId = CalendarApp.getCalendarsByName(fromCalendarName)[0].getId(); | |
var toCalendarId = CalendarApp.getCalendarsByName(toCalendarName)[0].getId(); | |
var now = new Date(); |