Skip to content

Instantly share code, notes, and snippets.

View yucer's full-sized avatar

Yurdik Cervantes yucer

View GitHub Profile
@yucer
yucer / docker-compose-pgadmin.yml
Created September 6, 2023 09:47 — forked from SergioDiniz/docker-compose-pgadmin.yml
Docker Compose config to postgres and dpage/pgadmin4
version: '3.5'
services:
postgres:
container_name: postgres_container
image: postgres
environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
POSTGRES_DB: ${POSTGRES_DB:-app_db}
@yucer
yucer / gmail_delete.py
Last active March 25, 2024 22:27
Python script to Bulk delete google emails with gmail API
#!/usr/bin/env python3
import argparse
import datetime as dt
import os.path
from google.auth.transport.requests import Request
from google.oauth2.credentials import Credentials
from google_auth_oauthlib.flow import InstalledAppFlow