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
| # -*- coding: utf-8 -*- | |
| r""" | |
| Script care scaneaza folderul Principal\ro\ si subfolderele DESPRE, Python Files, | |
| si gaseste fisierele HTML care NU sunt referite/linkate in niciun fisier de tip categorii. | |
| """ | |
| import os | |
| import re | |
| # Foldere de scanat |
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
| @echo off | |
| title Firefox simplu - profil Metoda 1 | |
| set "FF_PROFILE=D:\TEST\arcanum_capture\firefox_profile_metoda1" | |
| set "FIREFOX_EXE=C:\Program Files\Mozilla Firefox\firefox.exe" | |
| if not exist "%FIREFOX_EXE%" set "FIREFOX_EXE=C:\Program Files (x86)\Mozilla Firefox\firefox.exe" | |
| if not exist "%FIREFOX_EXE%" set "FIREFOX_EXE=%LOCALAPPDATA%\Mozilla Firefox\firefox.exe" | |
| echo ============================================ |
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
| # -*- coding: utf-8 -*- | |
| """ | |
| DOWNLOAD FULL - Metoda 1 | |
| ======================== | |
| Bazat pe structura din "Claude-FINAL 15 ... Firefox.py", dar SINGURA diferenta | |
| este METODA de preluare a datelor: NU se mai descarca PDF (are limita). In schimb, | |
| pentru fiecare pagina se preia IMAGINEA SURSA din browser (METODA 1 = fetch la | |
| blob-ul <img class="page-canvas">), apoi toate imaginile unui document se pun | |
| intr-un PDF. |
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 | |
| """ | |
| Generic PDF downloader for biblioteca-digitala.ro | |
| Works with any publication page. | |
| Usage: | |
| python download_biblioteca_digitala.py "https://biblioteca-digitala.ro/?pub=7758-revista-romana-de-sociologie" | |
| python download_biblioteca_digitala.py "https://biblioteca-digitala.ro/?pub=6464-studii-si-cercetari-de-chimie" | |
| """ |
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
| # -*- coding: utf-8 -*- | |
| """ | |
| Sterge complet un folder dintr-un repository GitHub. | |
| Flux: | |
| 1. Cere URL-ul repository-ului. | |
| 2. Cere calea relativa a folderului din repository. | |
| 3. Cloneaza repository-ul, ruleaza git rm -r, face commit si push. | |
| Exemplu cale folder: |
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
| # -*- coding: utf-8 -*- | |
| """ | |
| adauga-folder-in-repository.py | |
| Adauga toate fisierele dintr-un folder local intr-un repository de pe GitHub. | |
| Flux: | |
| Fereastra 1 -> intreaba in ce repo de pe GitHub sa adaugi fisierele (URL repo). | |
| Fereastra 2 -> intreaba calea folderului local pe care vrei sa-l copiezi in repo, | |
| cu un checkbox: "Copiaza si subfolderele" (recursiv) sau doar fisierele din folder. |
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 __future__ import annotations | |
| import argparse | |
| import hashlib | |
| import html as html_lib | |
| import json | |
| import os | |
| import re | |
| import shutil | |
| 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
| # -*- coding: utf-8 -*- | |
| """ | |
| adauga-new-repository.py | |
| Creeaza un repository NOU pe GitHub dintr-un folder local si urca toate fisierele. | |
| Varianta SIMPLA - fara token, fara user, fara parola in script. | |
| Foloseste GitHub CLI (gh), care isi gestioneaza singur autentificarea | |
| (te-ai logat o data cu "gh auth login" si gata). |
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
| FINAL Corecturi gramaticale, punctuatie, stilistice si semantic-logice de pe site-ul https://neculaifantanaru.com | |
| Corectează gramatica, ortografia și punctuația textului dat in limba romana. Precizeaza ce anume nu e corect, logic si stilistic in textul dat, conform instrucțiunilor de mai jos: | |
| 1. Respectarea fidelă a textului original: | |
| - Analizează textul pentru a corecta greșelile gramaticale, de ortografie, punctuație și structură. | |
| - Păstrează cât mai mult posibil stilul, tonul și intenția originală a autorului. | |
| 2. Intervenții minime: | |
| - Corectează doar elementele care împiedică claritatea sau respectarea normelor limbii române. |
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
| # -*- coding: utf-8 -*- | |
| """ | |
| adauga-folder-in-repository.py | |
| Adauga toate fisierele dintr-un folder local intr-un repository de pe GitHub. | |
| Flux: | |
| Fereastra 1 -> intreaba in ce repo de pe GitHub sa adaugi fisierele (URL repo). | |
| Fereastra 2 -> intreaba calea folderului local pe care vrei sa-l copiezi in repo, | |
| cu un checkbox: "Copiaza si subfolderele" (recursiv) sau doar fisierele din folder. |
NewerOlder