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
| // credit: github.com/motebaya | |
| // tiktok auto collect media id | |
| (async () => { | |
| const SELECTOR = | |
| '[class*="DivVideoFeedV2"] > [class*="DivItemContainerV2"] div[class*="DivWrapper"] > a:not([data-grabbed])'; | |
| let unstop = true; | |
| var pt = []; | |
| var pv = []; | |
| var total = 0; |
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
| // bosss im tired as hell | |
| (async () => { | |
| var t = [...document.querySelectorAll('a[aria-hidden="true"][role="link"]')]; | |
| if (t.length !== 0) { | |
| for (let [xx, x] of t.entries()) { | |
| var tridot = | |
| x.parentElement.parentElement.nextSibling.nextSibling.querySelector( | |
| "i" | |
| ); | |
| if (tridot) { |
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
| (async () => { | |
| await this.callIt({ | |
| type: "ffmpeg", | |
| args: [ | |
| "-y", | |
| "-hwaccel", | |
| "cuda", | |
| "-i", | |
| mediaFile, | |
| "-vf", |
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 TIKOTOK TOK TOK | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2025-06-01 | |
| // @description tiktok content privacy change automation | |
| // @author github.com/motebaya | |
| // @match https://www.tiktok.com/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=tiktok.com | |
| // @grant GM_xmlhttpRequest | |
| // @grant GM_setValue |
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/python3 | |
| # -*- coding: utf-8 -*- | |
| # @gist.github.com/motebaya - 3/9/2025 | |
| # rewrite from TS - https://lovable.dev/projects/8354edf5-ed78-4f83-8860-5ac9d2f067ff | |
| import numpy as np | |
| import os | |
| from PIL import Image | |
| import sys |
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/python3 | |
| import sys | |
| import re | |
| def cv_indent(file: str) -> str: | |
| x = open(file, "r").read().strip().splitlines() | |
| print(f" *!reading: {len(x)} lines") | |
| code = "" | |
| for line in x: |
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/python3 | |
| # @github.com/motebaya - 16/08/2025 | |
| # frames statistic into PNG!!! | |
| import os | |
| from PIL import Image, ImageDraw, ImageFont | |
| def draw_stat(img_path: str, text: str, font: str, font_size: int) -> None: | |
| img = Image.open(img_path).convert("RGBA") | |
| overlay = Image.new( |
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/python | |
| # @github.com/motebaya - 6/4/2025 | |
| import json, re, datetime, sys | |
| if (len(sys.argv) < 2): | |
| print("Usage: fastnote.py <file>") | |
| sys.exit(1) | |
| FILE = sys.argv[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
| #!/usr/bin/python3 | |
| # d: 28/05/2025 12:44:41 | |
| # you need this dawg: https://pypi.org/project/PyMuPDF/ | |
| import re | |
| from datetime import datetime | |
| PDF = "download.pdf" | |
| PWS = "password123" |
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/python | |
| # crop image area with cv2 | |
| # @github.com/motebaya - 7/10/2024 | |
| import cv2 | |
| import os | |
| import logging | |
| logging.basicConfig(level=logging.INFO) | |
| from argparse import ArgumentParser, RawTextHelpFormatter | |
| from colorama.ansi import Fore |
NewerOlder