Skip to content

Instantly share code, notes, and snippets.

View qwell's full-sized avatar

Jason Parker qwell

View GitHub Profile
@qwell
qwell / start.sh
Created October 26, 2023 10:17
parsedmarc-dockerized - start.sh
docker compose up --no-start
if [ ! -f data/conf/parsedmarc/patched_gmail ]; then
mkdir -p patched/
if docker cp parsedmarc-dockerized-parsedmarc-1:/opt/pypy/lib/pypy3.10/site-packages/parsedmarc/ patched/; then
cp gmail_api.diff patched/parsedmarc/
pushd patched/parsedmarc > /dev/null
patch -p0 < gmail_api.diff
@qwell
qwell / gmail_api.diff
Created October 26, 2023 09:26
parsedmarc-dockerized - gmail_api.diff
--- cli.py 2023-10-26 05:18:00.720172400 -0400
+++ cli.py 2023-05-30 21:53:38.526227000 -0400
@@ -336,6 +333,7 @@
gmail_api_include_spam_trash=False,
gmail_api_scopes=[],
gmail_api_oauth2_port=8080,
+ gmail_api_bind_addr='localhost',
log_file=args.log_file,
n_procs=1,
chunk_size=1,

Keybase proof

I hereby claim:

  • I am qwell on github.
  • I am northantara (https://keybase.io/northantara) on keybase.
  • I have a public key ASDkqb7JDc2yS6Dg2rMcSclTCG-OVpmBtfJq_gcQJ9dBigo

To claim this, I am signing this object: