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 | |
| """ | |
| Automatizare descărcare PDF-uri din Arcanum (FIXED VERSION cu SORTARE CRONOLOGICĂ): | |
| - FIXED: Scanează corect toate fișierele existente de pe disk | |
| - FIXED: Păstrează progresul parțial între zile | |
| - FIXED: Procesează și combină corect TOATE PDF-urile pentru fiecare issue | |
| - FIXED: Resume logic corect pentru issue-urile parțiale | |
| - FIXED: Detectează corect prefix-urile pentru fișiere | |
| - FIXED: Verifică corect issue-urile complete pentru skip URLs | |
| - FIXED: Elimină dublurile automat |
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 | |
| """ | |
| Automatizare descărcare PDF-uri din Arcanum (FIXED VERSION cu SORTARE CRONOLOGICĂ): | |
| - FIXED: Scanează corect toate fișierele existente de pe disk | |
| - FIXED: Păstrează progresul parțial între zile | |
| - FIXED: Procesează și combină corect TOATE PDF-urile pentru fiecare issue | |
| - FIXED: Resume logic corect pentru issue-urile parțiale | |
| - FIXED: Detectează corect prefix-urile pentru fișiere | |
| - FIXED: Verifică corect issue-urile complete pentru skip URLs | |
| - FIXED: Elimină dublurile automat |
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 | |
| chcp 65001 >nul | |
| cd /d "%~dp0" | |
| REM Creare fisier log cu timestamp | |
| set LOG_FILE=chrome-headless-log.txt | |
| echo. >> "%LOG_FILE%" | |
| echo ========================================== >> "%LOG_FILE%" | |
| echo LOG START: %DATE% %TIME% >> "%LOG_FILE%" | |
| echo ========================================== >> "%LOG_FILE%" |
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
| # Script pentru a inlocui emoji-urile din SIMPLU.py | |
| # Folosire: python remove_emojis.py | |
| import re | |
| # Dictionarul de inlocuiri emoji -> text | |
| emoji_replacement = { | |
| '📁': '[DIR]', | |
| '📋': '[INFO]', | |
| '✅': '[OK]', |
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 re | |
| # Citeste log-ul | |
| with open('chrome-headless-log.txt', 'r', encoding='utf-8', errors='ignore') as f: | |
| content = f.read() | |
| # Numara upload-urile resite | |
| uploads_success = content.count('Upload LANSAT cu succes') | |
| uploads_failed = content.count('Nu am gasit input-ul pentru fisiere') | |
| tabs_created = content.count('Tab upload #') |
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
| # Scripturi PowerShell Utile pentru Debugging | |
| # Data: 2025-11-24 | |
| # Scop: Analiza log-uri, verificare procese, debugging Chrome headless | |
| ## 1. VERIFICARE PROCESE CHROME | |
| # ================================ | |
| # Lista toate procesele Chrome cu detalii | |
| Get-Process chrome -ErrorAction SilentlyContinue | Select-Object Id, ProcessName, @{Name="Memory(MB)";Expression={[math]::Round($_.WorkingSet64/1MB,2)}} |
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
| # Python Utilities - Scripturi pentru Debugging și Analiză | |
| # Data: 2025-11-24 | |
| """ | |
| Colecție de scripturi Python utile pentru: | |
| - Analiza log-uri | |
| - Procesare text și encoding | |
| - Statistici și raportare | |
| """ |
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 | |
| cd /d "%~dp0" | |
| echo Verificare stare Chrome Debug (port 9222)... | |
| REM Test efectiv dacă portul 9222 răspunde | |
| powershell -Command "$result = Test-NetConnection -ComputerName localhost -Port 9222 -InformationLevel Quiet -WarningAction SilentlyContinue; if ($result) { exit 0 } else { exit 1 }" >nul 2>&1 | |
| if %errorlevel% equ 0 ( | |
| echo [INFO] Chrome Debug este DEJA PORNIT si asculta pe portul 9222. |
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
| Corecturi gramaticale si stilistice pe site-ul https://neculaifantanaru.com | |
| Corectează gramatica, ortografia și punctuația textului dat in limba romana, 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
| #!/usr/bin/env python3 | |
| """ | |
| Automatizare descărcare PDF-uri din Arcanum (VERSIUNE FINALĂ STABILĂ) | |
| - Firefox cu profilul tău real (bookmark-uri, istoric, parole) | |
| - Repară automat skip_urls.json corupt | |
| - Nu mai crapă la '_save_skip_urls' sau pornire Firefox | |
| """ | |
| import time | |
| import os |
NewerOlder