Skip to content

Instantly share code, notes, and snippets.

View sdolenc's full-sized avatar

Stephen Dolenc sdolenc

View GitHub Profile
@sdolenc
sdolenc / 0.md
Last active June 23, 2023 14:25
Import Recurring Events to Google Calendar

One method of quickly creating a lot of events in google calendar is to import a CSV file. However, there is no support for directly adding "recurring" events (birthdays, anniversaries, etc). Here's the workarond.

Summarized steps

  1. create csv file with events (no recurring)
  2. import csv into a new, temporary google calendar
  3. export temporary google calendar to an ics file
  4. edit ics file to change events into recurring
  5. import ics file into a new, permanent google calendar.
  6. delete temporary google calendar
@sdolenc
sdolenc / getAppSettingsFromKeyVault.ps1
Created May 31, 2019 15:46
Generate local appsettings.json nest structure from keyvault
# input
# a--b--c--d, val
# a--b--c--e, val2
# f, val3
# output
# { a: { b: { c: { d: val; e: val2 } } }, f: val3 }
# this will ask for your azure credentials
Connect-AzureRmAccount