Skip to content

Instantly share code, notes, and snippets.

@tommyvdv
Created October 14, 2015 06:31
Show Gist options
  • Save tommyvdv/d978d8a4f0fafd302e41 to your computer and use it in GitHub Desktop.
Save tommyvdv/d978d8a4f0fafd302e41 to your computer and use it in GitHub Desktop.
Calendar incrementing badge
$HOME/Library/Calendars/Calendar\ Cache is a sqlite3 embedded database.
1) Close your Apple iCal.
2) Open your Terminal or any shell application
3) Go to the above directory "$HOME/Library/Calendars"
4) Open the db using "sqlite3 Calendar\ Cache"
5) ".tables" will show you all the tables in this database
6) "select * from ZMESSAGE" will show you all the pending notifications
7) To remove all the pending notifications, use "delete from ZMESSAGE;"
8) to quit, type ".quit"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment