Skip to content

Instantly share code, notes, and snippets.

View ekofi's full-sized avatar
🏠
Working from home

Ekofi Research ekofi

🏠
Working from home
View GitHub Profile
@ekofi
ekofi / sendEmails.py
Created December 10, 2024 21:29
First one is sendEmails, second one is unsubscribeFromEmails.
# sendEmails. I used Gumroad Export CSV and got all emails.
import boto3
import csv
import io
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
def lambda_handler(event, context):
# Initialize AWS clients
s3 = boto3.client('s3', region_name='eu-central-1')
lemmy_1 | thread 'main' panicked at 'Error connecting to postgres://<user>:<pwd>@<host>:5432/postgres', src/main.rs:42:25
lemmy_1 | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1 | Panic in Arbiter thread.
lemmy_lemmy_1 exited with code 101
pictrs_1 | Error: Error in DB, IO error: Permission denied (os error 13)
pictrs_1 |
pictrs_1 | Caused by:
pictrs_1 | IO error: Permission denied (os error 13)
lemmy_pictrs_1 exited with code 1