Skip to content

Instantly share code, notes, and snippets.

View mipt_lists.py
from selenium import webdriver
from selenium.webdriver.support.select import Select
import xlsxwriter
import time
import pandas as pd
import re
date = time.strftime("%d%m_%H%M", time.localtime())
writer = pd.ExcelWriter('43_'+date+'.xlsx', engine='xlsxwriter')
print('Текущее время',date)
list_okso_new=['01.03.02_0','01.03.02_1','03.03.01_0','03.03.01_1','03.03.01_2','03.03.01_3','03.03.01_4','03.03.01_5',
View barash.py
##
number = '79001231231'
password = 'qwerty'
##
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.action_chains import ActionChains
@artemonsh
artemonsh / main.py
Created May 18, 2023 17:32
FastAPI добавление замков на эндпоинты
View main.py
from fastapi import Depends, FastAPI
from fastapi.security import OAuth2PasswordBearer
app = FastAPI()
oauth2_scheme = OAuth2PasswordBearer(
tokenUrl="api/v1/auth/login",
)
View cheat_sheet_and_spongebob_meme.py
## YOUTUBE VIDEO PART I: https://youtu.be/iZzx1keKztY
##
import pyautogui
from time import sleep
##
# пауза и досрочное прекращение
pyautogui.PAUSE = 1.5
pyautogui.FAILSAFE = True
##
@artemonsh
artemonsh / tokens.md
Created April 6, 2023 18:10 — forked from zmts/tokens.md
Про токены, JSON Web Tokens (JWT), аутентификацию и авторизацию. Token-Based Authentication
View tokens.md