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
| #!/usr/bin/env python3 | |
| """ | |
| PDF to Markdown Converter | |
| """ | |
| import fitz # PyMuPDF | |
| import re | |
| import os | |
| import sys | |
| from typing import List, Tuple |
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 yt_dlp import YoutubeDL | |
| import time | |
| def get_video_urls(channel_url): | |
| ydl_opts = { | |
| 'extract_flat': True, | |
| 'quiet': True | |
| } | |
| with YoutubeDL(ydl_opts) as ydl: |
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
| /* ---------- Ayarlanabilir parametreler ---------- */ | |
| const MAX_SELECTION = 100; // İşaretlenecek maksimum kutu | |
| const DELAY_MS = 200; // Her kutu tıklaması arasındaki gecikme (ms) | |
| const SELECT_MODE_WAIT = 500; // “Seç” düğmesinden sonra UI’nın açılmasını bekleme (ms) | |
| const DIALOG_TIMEOUT = 5000; // Onay diyaloğunu bekleme üst sınırı (ms) | |
| /* ---------- 0) “Seç” düğmesine tıkla ---------- */ | |
| (function clickSelectButton () { | |
| const selectBtn = [...document.querySelectorAll('div[role="button"]')] | |
| .find(el => el.textContent.trim() === 'Seç' && |
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 requests | |
| import json | |
| import time | |
| from datetime import datetime, timedelta | |
| import argparse | |
| import random | |
| import os | |
| import threading | |
| from dotenv import load_dotenv |
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
| // ==UserScript== | |
| // @name Twitter DM Toplu Temizleyici | |
| // @description Twitter DM kutusunda tüm mesajları otomatik olarak siler (sonsuz kaydırma destekli). | |
| // @match https://x.com/messages* | |
| // @version 1.0.0 | |
| // @grant GM_registerMenuCommand | |
| // ==/UserScript== | |
| (function () { | |
| 'use strict'; |
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 cv2 | |
| import numpy as np | |
| import insightface | |
| from insightface.app import FaceAnalysis | |
| from PIL import Image, ImageDraw, ImageFont | |
| import os | |
| from skimage.metrics import structural_similarity as ssim | |
| def cv2_to_pil(cv2_img): | |
| cv2_img = cv2.cvtColor(cv2_img, cv2.COLOR_BGR2RGB) |
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 smtplib | |
| from email.message import EmailMessage | |
| import time | |
| from twikit import Client | |
| USERNAME = '' #Twitter kullanıcı adınız | |
| EMAIL = '' #Twitter e-posta adresiniz | |
| PASSWORD = '' #Twitter Şifreniz | |
| APP_PASSWORD = '' #https://myaccount.google.com/apppasswords adresinden 16 haneli şifre oluşturun ve buraya ekleyin. |
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 requests | |
| import getpass | |
| import argparse | |
| import threading | |
| import json | |
| import requests | |
| from bs4 import BeautifulSoup | |
| import re | |
| import json | |
| import urllib3 |
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
| var USERS_PER_FILE = 3000; // Dosya başına toplanacak kullanıcı sayısı | |
| var _USERS = []; // Toplanan kullanıcıların saklandığı dizi | |
| var SCROLL_DELAY = 2000; // Sayfa kaydırma arasındaki bekleme süresi (milisaniye) | |
| var WAIT_AFTER_BATCH = 60000; // Her 3000 kullanıcıdan sonra bekleme süresi (milisaniye) | |
| var batchCount = 0; // Toplanan kullanıcı bloklarının sayısı | |
| var collectUsers = function() { | |
| var userContainers = document.querySelectorAll('[data-testid=UserCell]'); | |
| Array.prototype.forEach.call(userContainers, function(userContainer) { | |
| var userName = ""; |
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
| var LANGUAGE = "TR"; //NOTE: change it to use your language! NOT: kullanmadan önce dili değiştirin! | |
| var WORDS = | |
| { | |
| //English language: | |
| //İngilizce: | |
| EN: | |
| { | |
| followsYouText: "Follows you", //Text that informs that follows you. | |
| followingButtonText: "Following", //Text of the "Following" button. | |
| confirmationButtonText: "Unfollow" //Text of the confirmation button. I am not totally sure. |
NewerOlder