Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/perl
#
# Updates UID's listed in an .ics file
#
# Written to address the problem of importing calendar entries from an .ics
# into a Google Calendar, deleting them all, then finding that Google Calendar
# will not allow reimporting entries that it's already seen.
#
# This program updates the .ics in place, so make a backup copy first.
#!/bin/sh -e
case "$1" in
start)
#VBoxHeadless -s $2 -v off &
VBoxManage startvm --type headless $2
;;
stop)
VBoxManage controlvm $2 poweroff
;;

Keybase proof

I hereby claim:

  • I am dap on github.
  • I am dap (https://keybase.io/dap) on keybase.
  • I have a public key whose fingerprint is 5304 CF26 E373 AEEF 6855 07AA 5F3E B709 00D4 11A4

To claim this, I am signing this object: