Skip to content

Instantly share code, notes, and snippets.

View nate-double-u's full-sized avatar

Nate W nate-double-u

View GitHub Profile
@nate-double-u
nate-double-u / mark_as_done.py
Last active March 13, 2025 23:34 — forked from keif/mark_as_done.py
This script fetches all GitHub notifications, checks if their associated issues or pull requests are closed/merged, and marks them as done by deleting them via the GitHub API.
import requests
import os
from concurrent.futures import ThreadPoolExecutor, as_completed
# Get GitHub token from environment variable
GITHUB_TOKEN = os.environ.get('GITHUB_TOKEN')
if not GITHUB_TOKEN:
raise ValueError("Missing GITHUB_TOKEN environment variable")
# GitHub API Base URL
@nate-double-u
nate-double-u / gmail-github-filters.md
Created December 9, 2022 18:13 — forked from ldez/gmail-github-filters.md
Gmail and GitHub - Filters

Gmail and GitHub

How to filter emails from GitHub in Gmail and flag them with labels.

The labels in this document are just examples.

Pull Request

Filter Label