- ✅ Эксперт — Использую регулярно, знаю внутренности, решаю сложные задачи.
- ⚙️ Уверенный — Автоматизирую, оптимизирую, могу объяснить и обучить.
- 📦 Базовый — Пользовался в проектах, но не углублялся.
- 🌐 Изучаю — Пробовал, интересуюсь, в процессе освоения.
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
# ~/.conkyrc | |
# Включаем создание отдельного окна для Conky | |
own_window yes | |
# Указываем, что окно будет обычным (с рамкой и кнопками) | |
own_window_type normal | |
# Отключаем прозрачность окна | |
own_window_transparent no |
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 selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC | |
from selenium.webdriver.common.by import By | |
def click_element(driver, by, value, timeout=10): | |
"""Ожидание элемента и нажатие на него.""" | |
try: | |
element = WebDriverWait(driver, timeout).until( | |
EC.element_to_be_clickable((by, value)) | |
) |
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
import pywifi | |
from pywifi import const, Profile | |
import time | |
def get_wifi_connections(): | |
wifi = pywifi.PyWiFi() | |
interfaces = wifi.interfaces() | |
print("Состояние подключения Wi-Fi адаптеров:") |
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
import time | |
def progress_bar(progress, total, bar_length=40): | |
filled_length = int(bar_length * progress // total) | |
bar = '█' * filled_length + '-' * (bar_length - filled_length) | |
percentage = progress / total * 100 | |
print(f'\rProgress: [{bar}] {percentage:.2f}%', end='', flush=True) | |
def simulate_process(total_time): | |
for t in range(total_time + 1): |
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
import time | |
def progress_bar(progress, total, bar_length=40): | |
filled_length = int(bar_length * progress // total) | |
bar = '█' * filled_length + '-' * (bar_length - filled_length) | |
percentage = progress / total * 100 | |
print(f'Progress: [{bar}] {percentage:.2f}%') | |
def simulate_process(total_time): | |
for t in range(total_time + 1): |
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 bs4 import BeautifulSoup | |
# Открываем HTML-файл | |
with open('file.html', 'r', encoding='utf-8') as file: | |
html_content = file.read() | |
# Создаем объект BeautifulSoup для парсинга | |
soup = BeautifulSoup(html_content, 'html.parser') | |
# Находим все блоки <div> с определенным классом, содержащим имена "alerionn" |
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 bs4 import BeautifulSoup | |
# Открываем HTML-файл | |
with open('file.html', 'r', encoding='utf-8') as file: | |
html_content = file.read() | |
# Создаем объект BeautifulSoup для парсинга | |
soup = BeautifulSoup(html_content, 'html.parser') | |
# Находим все блоки с классом "Friends__item" |
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
import winreg, os, sys | |
import winsound | |
# Путь к исполняемому файлу скрипта | |
script_path = os.path.abspath(__file__) | |
key_path = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run" | |
key_name = "YourScriptName" |
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
import os | |
import time | |
from threading import Thread | |
from opentele.td import TDesktop | |
from opentele.api import UseCurrentSession | |
accounts = os.listdir(os.path.abspath('input/telegram_accounts')) | |
async def telegram_attack(target, time_a, mes): |
NewerOlder