Skip to content

Instantly share code, notes, and snippets.

View me-suzy's full-sized avatar

Doar EU me-suzy

  • 03:36 (UTC +01:00)
View GitHub Profile
@me-suzy
me-suzy / OCR convert to text API ClaudeAI 4 FINAL.py
Last active February 16, 2026 07:01
OCR convert to text API ClaudeAI 4 FINAL.py
# -*- coding: utf-8 -*-
import cv2
import numpy as np
from pathlib import Path
import sys
import base64
import anthropic
import time
from PIL import Image, ImageDraw, ImageFont
import textwrap
@me-suzy
me-suzy / OCR convert to text API ClaudeAI 3.py
Created February 16, 2026 06:44
OCR convert to text API ClaudeAI 3.py
# -*- coding: utf-8 -*-
import cv2
import numpy as np
from pathlib import Path
import sys
import base64
import anthropic
import time
from PIL import Image, ImageDraw, ImageFont
import textwrap
@me-suzy
me-suzy / OCR convert to text API ClaudeAI 222.py
Last active February 15, 2026 22:42
OCR convert to text API ClaudeAI 222.py
# -*- coding: utf-8 -*-
import cv2
import numpy as np
from pathlib import Path
import sys
import base64
import anthropic
import time
from PIL import Image, ImageDraw, ImageFont
import textwrap
@me-suzy
me-suzy / OCR convert to text API ClaudeAI.py
Created February 15, 2026 22:10
OCR convert to text API ClaudeAI
# -*- coding: utf-8 -*-
import cv2
import numpy as np
from pathlib import Path
import sys
import base64
import anthropic
import time
try:
@me-suzy
me-suzy / 6. compara-html-din-ro-principal-cu-RO-PRINCIPAL-2022.py
Created February 15, 2026 20:03
6. compara-html-din-ro-principal-cu-RO-PRINCIPAL-2022.py
# -*- coding: utf-8 -*-
r"""
Compara fisierele HTML din Principal\ro\ cu Principal 2022\ro\
si afiseaza cele care se gasesc intr-un folder dar nu si in celalalt.
"""
import os
FOLDER_A = r"e:\Carte\BB\17 - Site Leadership\Principal\ro"
FOLDER_B = r"e:\Carte\BB\17 - Site Leadership\Principal 2022\ro"
@me-suzy
me-suzy / 6. compara-html-din-en-principal-cu-EN-PRINCIPAL-2022.py
Created February 15, 2026 20:03
6. compara-html-din-en-principal-cu-EN-PRINCIPAL-2022
# -*- coding: utf-8 -*-
r"""
Compara fisierele HTML din Principal\en\ cu Principal 2022\en\
si afiseaza cele care se gasesc intr-un folder dar nu si in celalalt.
"""
import os
FOLDER_A = r"e:\Carte\BB\17 - Site Leadership\Principal\en"
FOLDER_B = r"e:\Carte\BB\17 - Site Leadership\Principal 2022\en"
@me-suzy
me-suzy / 5. gaseste-html-care-se gasesc-in-categorii-dar-nu-si-in-folder-EN.py
Created February 15, 2026 19:32
5. gaseste-html-care-se gasesc-in-categorii-dar-nu-si-in-folder-EN
# -*- coding: utf-8 -*-
r"""
Script INVERS EN: gaseste link-urile .html care sunt referite in fisierele de tip categorii,
dar NU exista ca fisiere in folderul Principal\en\ (si subfolderele ABOUT, FISIERE PYTHON HTML).
Filtreaza link-urile din FLAGS - pastreaza doar cele cu /en/ (flag_lang_en.jpg).
"""
import os
import re
@me-suzy
me-suzy / 5. gaseste-html-care-se gasesc-in-categorii-dar-nu-si-in-folder-RO.py
Created February 15, 2026 19:27
5. gaseste-html-care-se gasesc-in-categorii-dar-nu-si-in-folder-RO
# -*- coding: utf-8 -*-
r"""
Script INVERS: gaseste link-urile .html care sunt referite in fisierele de tip categorii,
dar NU exista ca fisiere in folderul Principal\ro\ (si subfolderele DESPRE, Python Files).
"""
import os
import re
# Foldere de scanat
@me-suzy
me-suzy / 5fy5.py
Created February 15, 2026 18:40
5fy5.py
import os
import subprocess
import tempfile
import shutil
import sys
# ===== CONFIGURARI =====
media_directory = r"g:\De pus pe FTP 2\masina de spalat"
audio_path = r"" # poti sa scoti melodia, lasi ""
output_path = r"g:\De pus pe FTP 2\masina de spalat\Video_Masina_Spalat.mp4"
@me-suzy
me-suzy / video audio.py
Created February 15, 2026 12:53
video audio.py
import os
import subprocess
import tempfile
import shutil
import sys
# ===== CONFIGURARI =====
media_directory = r"g:\De pus pe FTP 2\masina de spalat"
audio_path = r"" # poti sa scoti melodia, lasi ""
output_path = r"g:\De pus pe FTP 2\masina de spalat\Video_Masina_Spalat.mp4"