This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Sends non-duplicate emails with data from the current spreadsheet. | |
*/ | |
// This constant is written in last column(10th in our case) for rows for which an email | |
// has been sent successfully. | |
var EMAIL_SENT = 'EMAIL_SENT'; | |
function sendEmails() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from telethon import TelegramClient, sync | |
# Use your own values here | |
api_id = '123456' | |
api_hash = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx' | |
channel = 'channel_name' | |
client = TelegramClient('Session_details', api_id, api_hash) | |
phone_number='9199999999' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from collections import deque | |
import numpy as np | |
import argparse | |
import imutils | |
import cv2 | |
# construct the argument parse and parse the arguments | |
ap = argparse.ArgumentParser() | |
ap.add_argument("-v", "--video", | |
help="path to the (optional) video file") |