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
| <?php | |
| // Simple Dreamweaver-like HTML/PHP editor with code + design view | |
| // NOTE: Set your project root folder here: | |
| $ROOT = 'e:/Carte/BB/17 - Site Leadership/'; // schimbă daca vrei alt folder de lucru | |
| mb_internal_encoding('UTF-8'); | |
| function norm_path($p) | |
| { | |
| $p = str_replace(["\\", ".."], ["/", ""], $p); | |
| return ltrim($p, "/"); |
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 limba romana. 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
| <?php | |
| // Simple Dreamweaver-like HTML/PHP editor with code + design view | |
| // NOTE: Set your project root folder here: | |
| $ROOT = 'e:/Carte/BB/17 - Site Leadership/'; // schimbă daca vrei alt folder de lucru | |
| mb_internal_encoding('UTF-8'); | |
| function norm_path($p) | |
| { | |
| $p = str_replace(["\\", ".."], ["/", ""], $p); | |
| return ltrim($p, "/"); |
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 os | |
| import re | |
| import sys | |
| # Asigură afișarea corectă a diacriticelor în consolă (Windows) | |
| try: | |
| sys.stdout.reconfigure(encoding="utf-8", errors="replace") | |
| except Exception: | |
| # Dacă reconfigure nu este disponibil, ignorăm eroarea | |
| pass |
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 os | |
| import re | |
| import sys | |
| # Asigură afișarea fără erori a diacriticelor în consolă (Windows) | |
| try: | |
| sys.stdout.reconfigure(encoding="utf-8", errors="replace") | |
| except Exception: | |
| # Dacă reconfigure nu este disponibil, ignorăm eroarea | |
| pass |
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 os | |
| BASE_DIR = r'e:\Carte\BB\17 - Site Leadership\Principal\ro' | |
| REPLACEMENTS = { | |
| # ă / Ă | |
| 'ă': 'ă', 'ă': 'ă', 'ă': 'ă', | |
| 'Ă': 'Ă', 'Ă': 'Ă', 'Ă': 'Ă', | |
| # â / Â |
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 os | |
| BASE_DIR = r'e:\Carte\BB\17 - Site Leadership\Principal\ro' | |
| REPLACEMENTS = { | |
| # ă / Ă | |
| 'ă': 'ă', 'ă': 'ă', 'ă': 'ă', | |
| 'Ă': 'Ă', 'Ă': 'Ă', 'Ă': 'Ă', | |
| # â / Â |
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 os | |
| import re | |
| BASE_DIR = r'e:\Carte\BB\17 - Site Leadership\Principal\en' | |
| # Blocul dintre <!-- SASA-1 --> și <!-- SASA-2 --> | |
| SASA_BLOCK_RE = re.compile( | |
| r'<!--\s*SASA-1\s*-->(.*?)<!--\s*SASA-2\s*-->', | |
| re.DOTALL | re.IGNORECASE | |
| ) |
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
| <?php | |
| // Simple Dreamweaver-like HTML/PHP editor with code + design view | |
| // NOTE: Set your project root folder here: | |
| $ROOT = 'e:/Carte/BB/17 - Site Leadership/'; // schimbă daca vrei alt folder de lucru | |
| mb_internal_encoding('UTF-8'); | |
| function norm_path($p) | |
| { | |
| $p = str_replace(["\\", ".."], ["/", ""], $p); | |
| return ltrim($p, "/"); |
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 os | |
| RO = r"e:\Carte\BB\17 - Site Leadership\Principal\ro" | |
| EN = r"e:\Carte\BB\17 - Site Leadership\Principal\en" | |
| FILES_RO = [ | |
| "index.html","lideri-si-atitudine.html","leadership-magic.html", | |
| "leadership-de-succes.html","hr-resurse-umane.html","legile-conducerii.html", | |
| "leadership-total.html","leadership-de-durata.html","principiile-conducerii.html", | |
| "leadership-plus.html","calitatile-unui-lider.html","leadership-de-varf.html", |
NewerOlder