Skip to content

Instantly share code, notes, and snippets.

View Shaam-K's full-sized avatar

Arsh Shaam-K

  • Chennai TN
  • 00:33 (UTC -12:00)
View GitHub Profile
@Shaam-K
Shaam-K / sendEmails.py
Created March 19, 2024 13:49
Sending emails with attachments from csv file in python
import smtplib
import ssl
from email.message import EmailMessage
from email.mime.base import MIMEBase
from email import encoders
import csv
from PIL import Image
from PIL import ImageDraw
from PIL import ImageFont
from io import BytesIO
@Shaam-K
Shaam-K / generator.py
Created September 12, 2023 16:57
certificate name filler generator
# Importing the PIL library
from PIL import Image
from PIL import ImageDraw
from PIL import ImageFont
import csv
csv_file_path = 'names.csv'
with open(csv_file_path, 'r') as file:
@Shaam-K
Shaam-K / plugins.vim
Created October 23, 2022 07:35
My nvim pluggins (More to be done)
" auto-install vim-plug
if empty(glob('~/.config/nvim/autoload/plug.vim'))
silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
"autocmd VimEnter * PlugInstall
"autocmd VimEnter * PlugInstall | source $MYVIMRC
endif
call plug#begin('~/.config/nvim/autoload/plugged')