Skip to content

Instantly share code, notes, and snippets.

View abhyudayasrinet's full-sized avatar

Abhyudaya Srinet abhyudayasrinet

  • New Delhi, India
View GitHub Profile
@abhyudayasrinet
abhyudayasrinet / gmail.py
Last active August 16, 2020 07:16
Send emails using gmail app passwords and python smtp library
import os
import smtplib
import logging
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
class GmailAPI():
'''
Send email using email, app key from environment variables
@abhyudayasrinet
abhyudayasrinet / balloontip.py
Created December 7, 2016 07:13 — forked from wontoncc/balloontip.py
Balloon tip module, Python, using win32gui.
# -- coding: utf-8 --
from win32api import *
from win32gui import *
import win32con
import sys, os
import struct
import time
class WindowsBalloonTip:
@abhyudayasrinet
abhyudayasrinet / API.md
Created August 12, 2020 21:44 — forked from iros/API.md
Documenting your REST API

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method: