Skip to content

Instantly share code, notes, and snippets.

@0-sv
Created October 6, 2025 12:40
Show Gist options
  • Save 0-sv/9bcf98c13a30c2297d33dc2d6d6c0394 to your computer and use it in GitHub Desktop.
Save 0-sv/9bcf98c13a30c2297d33dc2d6d6c0394 to your computer and use it in GitHub Desktop.

Revisions

  1. 0-sv renamed this gist Oct 6, 2025. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. 0-sv created this gist Oct 6, 2025.
    6 changes: 6 additions & 0 deletions read-all-notifications.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    echo 'edit last_read_at to current date pls!'
    curl -X PUT \
    -H "Accept: application/vnd.github.v3+json" \
    -H "Authorization: token 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" \
    https://api.github.com/notifications \
    -d '{"last_read_at":"2025-10-06T00:00:00Z"}'