Skip to content

Instantly share code, notes, and snippets.

View inge4pres's full-sized avatar
Together we serve the users.

Francesco Gualazzi inge4pres

Together we serve the users.
View GitHub Profile
@inge4pres
inge4pres / README.md
Created November 12, 2025 14:57
Google Calendar Batch delete events

Google Calendar Cleaner

A Go tool to delete spurious entries in Google Calendar created by mistake when importing iCalendar files.

Prerequisites

  • Go 1.25.0 or later
  • Google Calendar API OAuth2 credentials

Setup

Keybase proof

I hereby claim:

  • I am inge4pres on github.
  • I am inge4pres (https://keybase.io/inge4pres) on keybase.
  • I have a public key whose fingerprint is CB16 1A1C 99A0 5AC8 3D2D 8D6A 9455 C974 6D6A 0E21

To claim this, I am signing this object:

#!/bin/bash
# lego-aws-certificate-automation
# param: CREATE | UPDATE
# CREATE
mkdir -p $HOME/lego
lego --email="[email protected]" --domains="4pr.es inge.4pr.es" --dns="route53" --path $HOME/lego run
aws iam upload-server-certificate --server-certificate-name cf-inge4pres \
--certificate-body file://$HOME/lego/certificates/4pr.es.crt \
--private-key file://$HOME/lego/certificates/4pr.es.key \