Skip to content

Instantly share code, notes, and snippets.

View sterbon's full-sized avatar
:electron:
Focusing

Utsav Talwar sterbon

:electron:
Focusing
  • MongoDB
  • New Delhi
View GitHub Profile
@sterbon
sterbon / ipu_res.py
Last active November 22, 2020 17:38
from bs4 import BeautifulSoup
import urllib.request
import smtplib
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from re import search
def send_email(mail_content, receiver_address):
sender_address = 'sender@gmail.com'
sender_pass = 'senderpass'
@sterbon
sterbon / ContentShare.sol
Created July 30, 2019 07:21
Smart-contract for auth.or
pragma solidity ^0.5.0;
pragma experimental ABIEncoderV2;
contract ContentShare {
struct FileMap {
uint timestamp;
address owner;
string contentName;
string ownerName;