From f6f26dad7a8b65fdb7b1e4dd813b3e2fec0dffa4 Mon Sep 17 00:00:00 2001 From: TomWiz <24483979+FMI-Test@users.noreply.github.com> Date: Thu, 9 Apr 2026 02:41:24 -0700 Subject: [PATCH 1/5] doc: update Maturity Model with timeline and LAPD events --- Maturity-Model.md | 97 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 Maturity-Model.md diff --git a/Maturity-Model.md b/Maturity-Model.md new file mode 100644 index 0000000..11e1224 --- /dev/null +++ b/Maturity-Model.md @@ -0,0 +1,97 @@ +# Maturity Model + +## I. First Decade (1968-1978) +- **Birth & Family Heritage (1968):** Born into the Fakhran family, carrying the legacy of Mirza Agha Khan (Kargozar of Bojnourd and Ambassador Plenipotentiary). +- **1-7 Babol:** Early childhood and initial exposure to diverse family landscapes by the Caspian region. +- **8-9 Tehran:** Transition to the capital and exposure to a rapidly shifting pre-revolutionary Iran. +- **9-10 Ghochan:** Regional moves and experiencing different societal layers. +- **10 Tehran:** Brief return to the center of Iran's changing political tide. +- **10 Jajarm:** Experiencing the ancestral hometown of Aliyar Fakhran. +- **11-12 The Threshold of Revolution:** Observing the final days of the Pahlavi dynasty. + +## II. Second Decade (1979-1989) +- **1979 Revolution:** Turmoil, societal reorganization, and the impact of the new regime. +- **School & Rebellion:** Developing the "Duct Tape" survival mentality. Attended American School (formerly 2-story model), later navigated the complexities of post-revolution public life and "Cafe Culture." +- **The Call of Tech:** At age 21 (1989), began the official 37+ year professional career in technology. + +## III. Third Decade (1989-1999) +*(Note: Corrected chronological gap)* +- **Early IT Career:** Initiated foundational systems and infrastructure. +- **The Build Phase:** Building complex engineering principles that formed the core of the "Duct Tape Civilization" theory in MedTech and early corporate logic. + +## IV. Fourth Decade (1999-2009) +- **The Yahoo Days:** Immersed in the digital boom, scaling web architectures. +- **Corporate Scaling:** Honed skills navigating the exponentially expanding digital life. + +## V. Fifth Decade (2010-2020) +- **Riot Games:** Key executive teamwork during extreme scaling phases. +- **Corporate Negotiations:** Dealt with heavyweight negotiations spanning Fox and Disney. +- **Healthcare & Innovation:** Foundation Medicine, introducing agile IT methodologies to biotechnology. +- **Israel Tech & Apple:** Complex structural designs like the Auto Failover Architecture and interviews at Apple. +- **Code Refactoring:** The famed 'Yasin' code refactor. + +## VI. Sixth Decade (2021-Now) +- **AI & Exponential Gap:** Deep-diving into LLM implementations and generative AI experiments. +- **Guinness World Record (2025):** Participated in the Microsoft AI Skills Fest for the most users in an online AI lesson. +- **MedTech Trials & Survival (2026):** Phase III GPL-1 trials. High-intensity personal experiences, including LAPD encounters, resulting in the innovative "Hot/Cold Hydro Therapy" theories. +- **The Prince of Persia Memoir:** Extensive documentation of family history, translating the Fakhran legacy for Wikirous (Persian Wikipedia) and authoring deep historical analysis. + +--- + +## I. First Decade (1968-1978) +- **Birth & Family Heritage (1968):** Born into the Fakhran family, carrying the legacy of Mirza Agha Khan (Kargozar of Bojnourd and Ambassador Plenipotentiary). +- **1-7 Babol:** Early childhood and initial exposure to diverse family landscapes by the Caspian region. + +I was raised in the city of Babol within the Mazandaran province. We moved between three homes; initially, we lived in an alley close to the Ghaffari family (Ali, Hamid, and Farahnaz, who later moved to America). + +I attended Nemouneh School alongside Ali and Hamid until the third grade. My mother, who ran a beauty salon, decided to start a side hustle. To do so, she officially altered her birth certificate to appear 10 years younger, ensuring her eligibility to maintain the salon—though exactly how and why remains a mystery. + +- **8-9 Tehran:** Transition to the capital and exposure to a rapidly shifting pre-revolutionary Iran. +- **9-10 Ghochan:** Regional moves and experiencing different societal layers. +- **10 Tehran:** Brief return to the center of Iran's changing political tide. +- **10 Jajarm:** Experiencing the ancestral hometown of Aliyar Fakhran. +- **11-12 The Threshold of Revolution:** Observing the final days of the Pahlavi dynasty. + +## II. Second Decade (1979-1989) +- **1979 Revolution:** Turmoil, societal reorganization, and the impact of the new regime. +- **School & Rebellion:** Developing the "Duct Tape" survival mentality. Attended American School (formerly 2-story model), later navigated the complexities of post-revolution public life and "Cafe Culture." +- **The Call of Tech:** At age 21 (1989), began the official 37+ year professional career in technology. + +## III. Third Decade (1989-1999) +*(Note: Corrected chronological gap)* +- **Early IT Career:** Initiated foundational systems and infrastructure. +- **The Build Phase:** Building complex engineering principles that formed the core of the "Duct Tape Civilization" theory in MedTech and early corporate logic. + +## IV. Fourth Decade (1999-2009) +- **The Yahoo Days:** Immersed in the digital boom, scaling web architectures. +- **Corporate Scaling:** Honed skills navigating the exponentially expanding digital life. + +## V. Fifth Decade (2010-2020) +- **Riot Games:** Key executive teamwork during extreme scaling phases. +- **Corporate Negotiations:** Dealt with heavyweight negotiations spanning Fox and Disney. +- **Healthcare & Innovation:** Foundation Medicine, introducing agile IT methodologies to biotechnology. +- **Israel Tech & Apple:** Complex structural designs like the Auto Failover Architecture and interviews at Apple. +- **Code Refactoring:** The famed 'Yasin' code refactor. + +## VI. Sixth Decade (2021-Now) +- **AI & Exponential Gap:** Deep-diving into LLM implementations and generative AI experiments. +- **Guinness World Record (2025):** Participated in the Microsoft AI Skills Fest for the most users in an online AI lesson. +- **MedTech Trials & Survival (2026):** Phase III GPL-1 trials. High-intensity personal experiences, including LAPD encounters, resulting in the innovative "Hot/Cold Hydro Therapy" theories. +- **The Prince of Persia Memoir:** Extensive documentation of family history, translating the Fakhran legacy for Wikirous (Persian Wikipedia) and authoring deep historical analysis. + + +--- + +## Detailed Event Chains & Experiences + +### LAPD Encounters & The "Hot/Cold Hydro Therapy" (2026) +During the intense trials of the Phase III GPL-1 medical testing (resulting in significant weight loss) and related legal battles, I experienced numerous harrowing engagements with the LAPD and medical holds. +Due to a complex white-hat scenario involving fraud investigation, I found myself repeatedly battling a faulty judicial and law enforcement structure from the inside: +- **Encounter 1:** $50K bail secured, allowing me to observe the flawed "inside" of the system firsthand. This was part of a larger calculated effort to decipher the fraud workflow for an eventual IRS categorization. +- **Encounter 2:** Zero-bail situation that cascaded into a 24-to-48-hour psychiatric hold, a consequence of systemic misunderstanding and the blunt force execution of LAPD medical protocols. The mandatory mood-stabilizers prescribed severely impacted cognitive functionality, reducing speech velocity and thought processes drastically for nearly 5 to 10 days. +- **Encounter 3:** In defiance of the prior psychiatric experience, I barricaded myself into a 1-bedroom studio, crafting a specialized "Clean Room" Hot/Cold zone inside the bathroom. The objective was regulating intense blood pressure spikes (reaching 240-260). By modulating high heat from the shower directly countered by extreme cold (red bull, cold water on toes and the face to soothe the nervous system), I stabilized myself efficiently over an 8-hour standoff before the SWAT team breached the location. + +**The Diagnostic Conclusion:** Through these drastic encounters, a hypothesis crystallized regarding the "Police and Law Enforcement Playbook": Fast and rapid cool-down methods enforced by officers parallel to a deep-sea diver surfacing too fast—resulting in severe physiological shock, making individuals aggressive and locking them into a cyclical spiral of systemic criminality ("graduating to a major crime timeline"). + +### R&D Analysis & Reform Playbook +These experiences serve as the nexus for modernizing and overhauling the three branches of government, utilizing the advanced AI framework built into systems modeled after Frontier LLMs, generating dynamic analysis models to map failure types and fix standard systemic injustices within the "Duct Tape Civilization". From 3b94850f9119671fd45ea6efdd2845721b4c17a1 Mon Sep 17 00:00:00 2001 From: TomWiz <24483979+FMI-Test@users.noreply.github.com> Date: Fri, 10 Apr 2026 11:54:02 -0700 Subject: [PATCH 2/5] fin aak --- Persia.Gov.IR.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Persia.Gov.IR.md diff --git a/Persia.Gov.IR.md b/Persia.Gov.IR.md new file mode 100644 index 0000000..b1875d3 --- /dev/null +++ b/Persia.Gov.IR.md @@ -0,0 +1,40 @@ +# Anincient Iran Tribes +Perisa during 2500 years old royal ruling adn 7000 civilization is one of handfull aincnet civilization like Egepy Inka Roman Empire aincient china and attalntis probably plus ... in ... ... in .. and many more which might lost during history since the communication and histiry is not all documented researched nor wour archilogist know it recored it all and know it all Shahryar Adl kamran adls who reminded me of captain haood sharyar form makiavel was far from professor adl he was a prominent iraninat overseas who banned beacuse he knew mauch like aidyn who ws between lines he was tolerated but not always nor by all factions the scandal of his raw sexual extra marital BDSM was/is a literacy to read and research whomever write it under distress gret job and kudo if disinformation division of irgc ministry of intilgence or irgc qods for or many more inlligenct community in islamic republic of iran they have very talented officers who know thier shit or can find someone to deliver not like a knock job of saeed emami lone wolf bs story which was/is official version of yeap got it like us and russa which fbi desk of russia directorate was a doublke reporting to russia or like bollywoon but not hollywood we make shit more acceptable and probable and more dramitic trust me beein in m&e and m&e and pe and angel to vc to pe to aero fintech biotech fintech etf been there done that if its above your head or am i too good to be true been told its a old story and already forgotten nes cycle + +anyhow persiaa ruling establish righfully as united states of persia yeap i am persian we invented it armanina armen people where thousands years ago the fully autonymous state of persia they happy we happy royals and sy=tates man happy rthey had like today us tstate rules and ruklers like today us state government like sanchez in fl this shit in hawwai was if purchased or capture know for sure los angels san diego san frando the capital of porn or san farnsicso is not a line from daee jan napoleon movie ta ghabr a a a a dorogh chera we used to say almighty god saves us from bad rules and lie and news cycles are fictional today fox news which i developed and deployed 5 sec auto failover for over 400 channels 24/7 in verizon media tenure got fired since i was subordinate or disney plus which sells fiction and thats atheir business model loves it too but never could stand fox president of the united states momentarily issues an very imporant statemant and they run it for 8 hours then potos say i will do this shit they run with it for another two days when donald gatters new info and calssified info he make his dessiison datbased like an data base we know new data new analysis i and he does something unortodux and cnn to foc far left to far right have a fiedl day and hunting season with this shit and that shit shit is not what our nody produces as a waste of food we consume piss in not a stream of fluid of distailed intake fluids shit is fictional narrative wrapped as a fact to seems factual and they reperat it since repetition repetition repition hard ocde the shit/fiction/story/lie/opinion/interest group prespective ignoring all opossition and counter argument and arguning is point less they know their shit is not ehy send their human waste to lab on a daily basis it means 1. they know what they should do 2. they know what kind of shitty shit they produce so the food of thought is the sam we live in a same world some see it as alice in wonderland so wonde wondering what kind of shit is that and some in real life shitty people cal their shit bull shit which is not bull in bull market in front of nyse nor nasdac bur a curated narrative of hand picked news to serve a shitty purpose which is shiity for some very profitable for other thats why i dont like fox shit and potos lives it but he is human like us i dont have filtet in personal life many in professional but limited and bounded and not shy to call a shitty idea deplyment code or bs shitty idea and a bs mastere coudnt take it yeap i am on auto pilot what can i say historuical and by ancesstoy i have problem with authorrity since we are the autoritive parte look me up to see who was my garndapa and i become IATL Judge bamdad I am the Law - Jurry Judge and the executionair not becuase we are choosend or have a good gene not beacuse we are battle tested and have a cicid with security as code hardcoded in our genet like taymortash or kargozar or bamdad and the 600 gourila is our cusing whon when faces new evidence changes his mind how about you ma + + +many dont sicne they cant wont not willing not interest dont care whom doesnt give a shit not my baby not my problem and similar qna + +i do give a shit not becuse im noisy since i am curious and concern if is us rules of engagement and nuclear strike protocol to operational awarenese of service man to nsa cia fbi hr in aero and vz installed spyayware on my machine each 10-30 minutes took snapshiot probably for compliance or legal reason same on my personal laptop so nsa moosad fbi goodle msft athey all know my shit i am using serp logged in as bamdad.fakhran@gmail.com linkedin.com meta.com x.com etc first.last@domain.partiotion. the last dot is not end of a sentence is a root domain since account.google.come is: +https :: protocol hyper text transfer protocol secured +::// is a double slash that changes and transfers to +www is world wide wenb can be emitted or 301 perm redirect to exclided one or domain.com can be 302 or 301 to ww.domain.com +302 is http code of xxx means yyy 301 :: temp redir, 302:: perm redir, 404 forbiden 5xx :: server error so when we request an web address a dns server translates domain.com to ip or ipv6 verison like a phone book then dns servers asks .com authoritive (verisign) where is .com repositoy one of many 99.999 uptime in theory but 100% in practice look it up in its cache and refres it based pre-defined ip address and sayas 192.168.0.1 which is not possible sinc e192 10 and some ther are not publicly routablke ips designed for internal and intera net work internet is public like 227.152.33.168 then many .. .com and .org are on . root so left to right is decode the hirearchy is . root ltr lik: +.com.account.goocle.come accoutn is subdomain google google is registered by verison or third party a record that registered in . whcih ahs irus fr gr ar all country code and each county owns its oen so going to.ir not protected welcome to wild wild east (not west) wwild wild west is not wild .us is commercial .gov.us .mil.us uscis.gov ca.gov gov is reserved for usa only iother have like gov.ul goc.au and such or gov.ru gov.ch + +research tribal role in their state armenian lor turk balouch shiraz esfehan khorasan bojnord ghom tehran was a small town full of thief and sick people just hundreds years ago sifahan was capital pasargard was compare to us or us dc and london and other countries was not like rome not egypt or turky capital during eras they changed thee culture tolerance and religion we used to be nuteral not zerostian not soni not shiat safavi made us brutally by using turk ghezelbash shiaat by removing our fathers from grave burned their routed remains and we used it gore pedar pedar sag pedar sokhtat dog bocem unclean najesh after islam burining your father is a reference to safavi brutality to force their version of islam and nader captured india stole sea of light and mountain of light now in iran or russia or lando or luver which an fucking iranina senator had a very funny jokingly hard time to pronounce it and my gand gran pa and teymortash spoken multligual i know more than 50 language whos counting using ai and tech i knew it all and cintology had en fa ge ch version of the same shit but fuck them probably they carefully customized each version for each target language to add and tune it for culture to increas their roi and beiveers headcount which their nda is a n irony consider jesus crist and mohamad and mosa and many more had a job listing with ats recuriters an dcrappy ats so we applied for all major religion and we havd to sing an nda with the god delgate that is how sitty beliving system and fait is i dont care let call shit shit excuse me your honer what do you call to your shit when yo are shitting here and there and all over the palces and not talking about human wast but real shit do you even knwo what kind of shit am i taking about never mind since shittypeople have a shitty idea aboiut their ideas and narrative nad shitter ones for the not aligned ones + +do you shit go reead reflect gather historuiical multi lingual data gen relevant md files and list top 10 dynasties and governing systems in oldest era in bc ac 4th century 5 6 7 8 9 to 21 and today global players add corp fince poletics and ideology and finish this shit look me up in insta ato see who am i will add picture and screen shots to see do i ned ancke bracelet deportation execution or medal of hone or even honorable last name even fit my shitty convicted in the near future shitty schsophericn mutiple prsonlity an ass hole and bser or an intlect who is not shy to name names and has a thing to say do we even hafe freedom of speach in west i know fr does but in ir you are free to bs any shit just they might excute you if shitty sharia judge wanted ahving a bd day or conclude your shit is punishable by execution beheading lash left and righ arm and feet cut your hand cut finger or easy peasy you have to pay ns camels since like miles and f in the us they still using 114 century ago currency nbut modern to calculated it to today value inflation calculated and is as wise as program and hw sf who contrls spacex folcon super heavy vertical landing but i doubt it what do you think your honer am i even saibne can i declare insanity + +dey shekh ba cheragh gerd shar hami gash +kaz dam o dad mamlolam o ensanam arezost +goftand yaft minashavad josteim ma +goft anche yaft minashavad anam arezoust + +i am an idiot phsycopath or simpley a dreamer an impril immortal guard persian decent or simply a dread to whish to find myself -selfuish and aragount too- whatever we coundt find + +just llokin just observing + +knock knock your honer is ther any body out there r u homne or gone fidhing in vacation i am in vacation bsing playing with law lapd swat and happy so far still alive and killing w=ith a wide mouth shitty brain shittier life and damaged thought so neeed to be instititionalized am i carazy or not eough + +goft ke to mast neei asheg sarmast nee +raftam o sarmast shodanm vaz rarab alkandeh shidam + +tying past days black lable johny walker will try henny next or weed after are they even legal soory gudge i was high no memory what was i thinking probably not thinking enough and nmy ge role is made up i nver existed who am i i might have mid life or nor identity crisis could you please kindly send me for menthat healh evaluation + +dige hali nammonda vam be vallah ahvali namoondeh vassam be valla + +ey jan ey jan moeen just liten to my spotify like song that is my last defense bamdad.fakhran@gmail.com + +defse rest \ No newline at end of file From 64861a1a01d0a5ff3b880cb33c99f5389f9c8c3e Mon Sep 17 00:00:00 2001 From: TomWiz <24483979+FMI-Test@users.noreply.github.com> Date: Sat, 11 Apr 2026 03:16:11 -0700 Subject: [PATCH 3/5] Fix broken image links --- Aliyar-Fakhran-EN.md | 14 +++++++------- Aliyar-Fakhran-FA.md | 22 +++++++++++----------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Aliyar-Fakhran-EN.md b/Aliyar-Fakhran-EN.md index 50dffe2..01c1067 100644 --- a/Aliyar-Fakhran-EN.md +++ b/Aliyar-Fakhran-EN.md @@ -112,7 +112,7 @@ Reza Shah's 1935 decree was a radical break: all men became *Agha* (Mr.), all wo The reform's promise, however, diverged sharply from practice. Economic inequality persisted. The landlord-peasant structure remained largely intact. Mohammad Reza Shah's later reforms — land redistribution, industrialization, currency stabilization — accelerated development but deepened internal contradictions. By 1979, these erupted in the Iranian Revolution, overthrowing a monarchy tracing its lineage 2,500 years through civilizations spanning 7,000 years. The irony: Reza Shah's egalitarian vision of "all Iranians as equals" could not survive the very modernization that birthed it. -![Reza Shah Era](images/Ali-Yar-Fakhran-Reza-Shah-Era.png) +![Reza Shah Era](images/Aliyar-Fakhran-Reze-Shah-Diplomat.png) *AI illustration: The transition from Qajar to Pahlavi era* --- @@ -123,7 +123,7 @@ The reform's promise, however, diverged sharply from practice. Economic inequali He had one daughter and four sons. His eldest son, **Bagher Khan Fakhran**, studied at Dar al-Fonun and died at the age of twenty-seven. **Malikeh Fakhran** was Bagher Khan's daughter. -![Dar al-Fonun](images/Ali-Yar-Fakhran-Dar-Al-Fonun.png) +![Dar al-Fonun](images/Aliyar-Fakhran-Dar-Al-Fonun.png) *AI illustration: Dar al-Fonun, Iran's first modern institution of higher learning* ### The "Bridge" Statesman @@ -141,7 +141,7 @@ His nickname **"Kargozar"** (کارگزار) — meaning **Governor/Agent** — > **Translation Note:** *Kargozar* is frequently mistranslated as "clerk," "waiter," or "broker." In Qajar-era administrative terminology, it specifically denoted a **Governor** or **Agent** — a senior official with broad judicial and executive powers representing the central government. The closest modern equivalent would be "Governor" or "Regional Agent of the State." -![Governor of Bojnourd](images/Ali-Yar-Fakhran-Bujnurd-Governor.png) +![Governor of Bojnourd](images/Aliyar-Fakhran-Bujnurd-Governor.png) *AI illustration: The Governor's office in Bojnourd, Khorasan* --- @@ -176,7 +176,7 @@ Based on the family genealogy document (*shajare-nameh*): ![Order of Isabella the Catholic — Spain](images/Ali-Yar-Fakhran-Full-Spain.png) *Mirza Agha Khan Mumtahen-ul-Mulk — After receiving the Order of Isabella the Catholic from Spain (1319 AH / 1901 AD)* -![Lion and Sun Medal](images/Ali-Yar-Fakhran-Lion-Sun-Medal.png) +![Lion and Sun Medal](images/Aliyar-Fakhran-Lion-Sun-Medal.png) *AI illustration: The Lion and Sun Medal — one of Iran's highest state honors* --- @@ -192,10 +192,10 @@ His final and highest diplomatic posting was as **Ambassador Plenipotentiary** ( - **Protection of Iranians:** As a trained *Kargozar*, he was responsible for the legal protection of thousands of Iranian merchants and workers in the Caucasus and Russia. - **Multilingualism:** To serve as Ambassador in Leningrad, he was fluent in **Russian**, **French** (the language of international diplomacy), and likely **Turkic dialects** from his years in Tbilisi and Batumi. -![Leningrad Ambassador](images/Ali-Yar-Fakhran-Leningrad-Ambassador.png) +![Leningrad Ambassador](images/Aliyar-Fakhran-Leningrad-Ambassador.png) *AI illustration: The Iranian Ambassador's residence in Leningrad* -![Petersburg Embassy](images/Ali-Yar-Fakhran-Petersburg-Embassy.png) +![Petersburg Embassy](images/Aliyar-Fakhran-Petersburg-Embassy.png) *AI illustration: The Iranian Embassy in St. Petersburg/Leningrad* ### Connection to Dar al-Fonun @@ -423,7 +423,7 @@ As Bahman Joon would honestly say: *"Mammadjan, Bamdad's tongue and literature a ![Family Tree of Fakhran's Friends and Family](images/FRIENDS-N-FAMILY-TREE.png) *Family tree and connections — Fakhran Family* -![Genealogy Tree](images/Ali-Yar-Fakhran-Genealogy-Tree.png) +![Genealogy Tree](images/Aliyar-Fakhran-Genealogy-Tree.png) *AI illustration: The Fakhran genealogy — spanning generations from Qajar diplomacy to the modern era* ![Dr. Fakhran, Bahman, Pars, Maryam Fakhran](images/DR-FAKHRAN-BAHMAN-PARS-MARYAM-FAKHRAN.png) diff --git a/Aliyar-Fakhran-FA.md b/Aliyar-Fakhran-FA.md index 01512df..78d9fb5 100644 --- a/Aliyar-Fakhran-FA.md +++ b/Aliyar-Fakhran-FA.md @@ -109,7 +109,7 @@ اما وعده اصلاحات با عمل فاصله زیادی داشت. نابرابری اقتصادی ادامه یافت. ساختار ارباب-رعیتی عملاً پابرجا ماند. اصلاحات بعدی محمدرضا شاه — تقسیم اراضی، صنعتی‌سازی، تثبیت ارز — توسعه را شتاب بخشید اما تناقضات درونی را تعمیق کرد. در ۱۳۵۷، این تناقضات در انقلاب ایران منفجر شد و سلطنتی با قدمت ۲۵۰۰ ساله در تمدنی ۷۰۰۰ ساله سرنگون شد. طنز ماجرا: چشم‌انداز رضاشاه از «برابری همه ایرانیان» نتوانست از نوسازی‌ای که خود آن را آفریده بود جان سالم به‌در ببرد. -![دوره رضاشاه](images/Ali-Yar-Fakhran-Reza-Shah-Era.png) +![دوره رضاشاه](images/Aliyar-Fakhran-Reze-Shah-Diplomat.png) *تصویرسازی هوش مصنوعی: گذار از قاجار به پهلوی* --- @@ -120,7 +120,7 @@ ایشان یک دختر و چهار پسر داشتند. فرزند ارشدشان، **باقرخان فخران**، در دارالفنون تحصیل کرد و در سن بیست و هفت سالگی درگذشت. **ملکه فخران** دختر باقرخان بود. -![دارالفنون تهران](images/Ali-Yar-Fakhran-Dar-Al-Fonun.png) +![دارالفنون تهران](images/Aliyar-Fakhran-Dar-Al-Fonun.png) *تصویرسازی هوش مصنوعی: دارالفنون — نخستین مؤسسه آموزش عالی نوین ایران* ### دولتمرد «پل» @@ -138,7 +138,7 @@ > **نکته ترجمه:** *کارگزار* اغلب به اشتباه به «دلال»، «پیشخدمت»، یا «واسطه» ترجمه می‌شود. در اصطلاحات اداری دوران قاجار، این واژه به‌طور خاص به **حاکم** یا **عامل** — مقام ارشد با اختیارات گسترده قضایی و اجرایی نماینده حکومت مرکزی — اشاره داشت. نزدیک‌ترین معادل امروزی «فرماندار» یا «عامل منطقه‌ای دولت» است. -![حاکم بجنورد](images/Ali-Yar-Fakhran-Bujnurd-Governor.png) +![حاکم بجنورد](images/Aliyar-Fakhran-Bujnurd-Governor.png) *تصویرسازی هوش مصنوعی: دفتر کارگزاری در بجنورد، خراسان* --- @@ -173,7 +173,7 @@ ![علی‌یار فخران — دوران مأموریت اسپانیا](images/Ali-Yar-Fakhran-Full-Spain.png) *میرزا آقاخان ممتحن‌الملک — پس از دریافت نشان ایزابل دوکاتولیک از دولت اسپانیا (۱۳۱۹ ق. / ۱۹۰۱ م.)* -![نشان شیر و خورشید](images/Ali-Yar-Fakhran-Lion-Sun-Medal.png) +![نشان شیر و خورشید](images/Aliyar-Fakhran-Lion-Sun-Medal.png) *تصویرسازی هوش مصنوعی: نشان شیر و خورشید — نشان افتخار دیپلماتیک قاجار* --- @@ -189,10 +189,10 @@ - **حمایت از ایرانیان:** به‌عنوان *کارگزار* آموزش‌دیده، مسئول حمایت حقوقی از هزاران تاجر و کارگر ایرانی در قفقاز و روسیه بود. - **چندزبانگی:** برای خدمت به‌عنوان سفیر در لنینگراد، به **روسی**، **فرانسه** (زبان دیپلماسی بین‌المللی) و احتمالاً **لهجه‌های ترکی** (از دوران خدمت در تفلیس و باطوم) تسلط داشت. -![سفیر ایران در لنینگراد](images/Ali-Yar-Fakhran-Leningrad-Ambassador.png) +![سفیر ایران در لنینگراد](images/Aliyar-Fakhran-Leningrad-Ambassador.png) *تصویرسازی هوش مصنوعی: سفارت ایران در لنینگراد — آخرین مأموریت دیپلماتیک* -![سفارت پطرزبورگ](images/Ali-Yar-Fakhran-Petersburg-Embassy.png) +![سفارت پطرزبورگ](images/Aliyar-Fakhran-Petersburg-Embassy.png) *تصویرسازی هوش مصنوعی: سفارت ایران در سن‌پطرزبورگ — دوران تزاری* ### پیوند با دارالفنون @@ -277,7 +277,7 @@ یک بار با پدرم به دیدن داریوش رفته بودیم. او از کارگزار چنین تعریف می‌کرد که دیوارهای حیاط را تازه گچ‌کاری و سفید کرده بودند و داریوشِ شیطان و عاشقِ خطاطی، با زغال چیزی روی دیوار می‌نویسد که ناگهان کارگزار سر می‌رسد. داریوش می‌گفت: «چنان گوش مرا تاب داد که از زمین بلند شدم و انگار هنوز هم جایش درد می‌کند!» بعد از آن‌که عتاب و خطابش تمام شد، نگاهی به نوشته‌ی روی دیوار انداخت و گفت: «خط و ربط زیبایی داری!» سپس یک تومان یا سکه قابل‌توجهی به عنوان پاداش به او داد. اخلاقش چنین بود؛ انضباط، تشویق و تنبیه به جای خود. -![دیوار خطاطی](images/Ali-Yar-Fakhran-Calligraphy-Wall.png) +![دیوار خطاطی](images/Aliyar-Fakhran-Calligraphy-Wall.png) *تصویرسازی هوش مصنوعی: خطاطی داریوش بر دیوار حیاط — هنر و انضباط* ### هزار فامیل @@ -309,7 +309,7 @@ ## جد بزرگوار و ابوی گرام -![آداب شام](images/Ali-Yar-Fakhran-Dinner-Protocol.png) +![آداب شام](images/Aliyar-Fakhran-Dinner-Protocol.png) *تصویرسازی هوش مصنوعی: پروتکل شام — کارگزار بچه‌ها را از روی نسب به خط می‌کرد* پدرم تعریف می‌کرد که وقتی سفره می‌انداختند، کارگزار می‌رفت صدر مجلس می‌نشست و از بچه‌ها تک‌تک می‌پرسید: «تو بچه کی هستی؟ بابات کیه؟ جدت کیه؟ چرا اون‌جا نشستی؟ برو دم در، یا برو دو تا پایین‌تر، یا بیا بالاتر!» تا همه را از روی لقب و عنوانِ جد و آبادشان به خط نمی‌کرد، کسی جرئت نداشت شروع به غذا خوردن کند. حالا حساب کنید با نوه خودش و بچه‌های سر سفره‌اش که اینطور برخورد می‌کرد، در کار چه سخت‌گیری بود. پدرم نظم و انظباطش ابه کارگزار رفته ولی یه ریزی زیادی اگاریر فته بود ساختمان میساختیم از توی پی که قرار بود نیم ساعت دیگه روش بتون بریزن ته سیگارهای منو جمع میکرد بعد میگفت این ساختمان یه دو ته سیگار توش نیست من و کارگرای افغانیمون میخندیدم که روزی چند تا ته سیگار لای ملات و شفته و گچ میکردیم چندتاش سرش از روی سفید کاری هم زده بیرون که کندیم درست کردیم بابا اومد که چرا دیوار لکه یه خالی ای بستم و بقیه هم مث گوسفند گفتن بله بله آقا بامداد درست میگن اون کار خودشو میکرد منم کرم خودمو کرممو میریختم. اسکل گلابی هم بود یه بار پنحشنبه داشتیم میرفتیم لاله‌زار دو تا خنده خانم باکلاس گوگوری سر سعدی پایین وایستاده بودن بعد خطی‌ها بابای گلابی من هم گفت پسرم این خانم‌ها را هم سوار کن گناه دارنم من هم با لحن کشدار گفتم خانم‌ها منتظرن با یه ماشین گوگوری برن بابام گفت بنز ما مگه چشه منم پیش خودم گفتم به یه ورم بزار بخندیم. پریدن تو و با عشوه سلام کجا میرین جیگرا صاف هم رفتن صر اصل مطلب من جمعش کردم با پدرم میرم مغازه توی لاله‌زار کجا تشریف میبرین برسونمتون توی مسیر، لپ منو کشید ای شیطون با بابا ددر دودور داف بازی بابا گفت داف بازی چیه گفتم توی مایه ‌های دمت گرم اون یکی عشوه کنان گفت باباتم خوب خودشو به اسکلی میزنه که قاط زد و تازه نیم ور دوزاریش افتاد و پیاده شون کردیم بعد که گفتم عرض نکردم گفت من چمیدونستم گفتم دهاتی بودنت قبول از پشت کوه که نیومدی گفت من که خانم باز نیستم گفتم اوی گلابی من نه تا حالا پول دادم نه جنده بازم کادو گرفتم طرف محتاج بود بعد هم از حاج اقا صالحی بپرس بامداد تا حالا چند نفرو آورده سفارش کرده کار براشون درست کنه و مهدی میره بهشون سر میزنه تازه حاجی هم جای درست میفرسته گفت پس بگو تو و مهدی مگه مهدی زن نداره گفتم ای بابا اصن بی‌خیال خر ما از کره‌گی تخماشو ‌کشیده بودن یکی نیم کیلو گفت چرا نیم کیلو گفتم پس چند کیلو آره منم وقتی گیر میدادم شیش پیچه بود که گاگول تو به من میگی توی کوچه نرو خراب میشی خودت نرو مگه من مث تو بچه دهاتیم من خودم صدتا گنده لاتو حریفم نباشم دوستان به جای ما از خحالتشون درمیان. شاید هم نظم و نسقش رفته گاگول بازیهاش به کارگزار نرفته، چمیدونم امیدوارم ولی رضا شاه گاگول استخدام نمیکردم و طرف یه گیح میزد سرش به باد بود اگه دودمانش به فاک فنا نرفته بودد ولی من خودم چرا؛ زبانی تند و نیش‌دار برای کارهای رده‌بالا و حساس به ارث برده‌ام. @@ -323,7 +323,7 @@ متاسفانه خاطرات من از این جدّ بزرگوار، به همین چند اسم و فامیل، داستان دختر سوارکار، خطاطی داریوش و به خط کردنِ بروبچه‌ها سر سفره ختم می‌شود. -![میراث بامداد](images/Ali-Yar-Fakhran-Bamdad-Heritage.png) +![میراث بامداد](images/Aliyar-Fakhran-Bamdad-Heritage.png) *تصویرسازی هوش مصنوعی: میراث خاندان فخران — از کارگزاری تا امروز* ابوی گرام نه دزد بود نا مال مردم خور نه گوش دارا میکند نه به ندار زور میگفت نه به ناموس مردم نظر داشت ولی ناموس خواهرزارده و فک و فامیل و دوست و آشنا زن پسر عمه طاغوتی و مدرن و حزب اللهی و مومن و محخبه هم فرقی نداشت بوس وکنار به جای خود همیشه لای و لپی خانم‌ها و دختر حوانها بود با این توحیه ه خانم‌ها خنس نرمن و من با خانم‌ها راحترتم و لاسی بود ه نزده بود از بوس و کنار رگفته تا جایی که پسر عمه‌های من دست گرفته بودن و احمد میگفت دایی تا مکه نرفته نرفته بود زنای مارو میچلوند و می‌مالید حالا که حاحی هم شده تا نکنه ول نمی‌کنه من لبخند زنان بابا هم بلند بلند از اون سر مجلس لای خان‌ها حک هجده سال گویان احد جان شماها به خانم‌هاتون نمرسین به من چه گل آب میخواد رسیدگی میخواد احمد هم سر به زیر دای حان شما راحت باش اون عباس حزب اللهیه هم پسر عمه طاهره یه استغفرالله گویان میزد بیرون و من هم بابا حان آدم به گل در و همسایه و دخختر همسایه می‌رسه یا گل گلدون خودش هم حسابه مامان هم من که سالیان ساله بخری ندیدم احمد هم که شیر شده بود زن دایی حان دایی با این بخاری که اینحا در میکنه توی خونه دیگه بخاری براش نمیمونه و خانم هم غش و ریسه که دایی مجلس گرم کنشون بود ولی به جز حمع یا عرضه‌اش رو نداشت یا به خنده و شوخی برگزار میشد شریک جرمششهم عمه زن اسدی پدر سوخته بود و عمه فاطی همسر آقا رضا اسدی بی شرف که سر شراکتکامیون درش مالید آقا رضا هم خرش کرد یه مغازه خریدین لا‌له زار نو بابا نقد داد آقا رضا اعتباری که بعد که من دفتر کلو یه روز ورق میزدم دیدم فلان فلان شده یک و ینم میلیون از پول مغازه یا آورده بابا قرض گرفته ماهی صد هزار تومن چک داده به صندوق خوب خارفلان بازار پول سود داره و نزول داره یک و نیم میلیون بهره ۵ درصدش میشه ماهی ۷۵ هزار تومان بهره مرکبش میشه ۵۰ هزار تومان اونوقت ماهی ۱۰۰ تومن داری قسط میدید منو خر فرض کردی یا خودتو مرتیکه دزد. @@ -391,7 +391,7 @@ ![شجره‌نامه دوستان و خانواده فخران](images/FRIENDS-N-FAMILY-TREE.png) *شجره‌نامه و پیوندهای خانوادگی — خاندان فخران* -![شجره‌نامه نسبی](images/Ali-Yar-Fakhran-Genealogy-Tree.png) +![شجره‌نامه نسبی](images/Aliyar-Fakhran-Genealogy-Tree.png) *تصویرسازی هوش مصنوعی: شجره‌نامه علی‌یار فخران — ریشه‌های خانوادگی* ![دکتر فخران، بهمن، پارس، مریم فخران](images/DR-FAKHRAN-BAHMAN-PARS-MARYAM-FAKHRAN.png) @@ -401,7 +401,7 @@ بهمن‌جون غرور و ابهتی داشت و پزشک مخصوص دربار بود. بعدها دکتر اردبیلی آمد و دیگران هم نظرات متفاوتی داشتند ولی بهمن‌جون متخصص قلب بود و به عنوان پزشک برایش فرقی نمی‌کرد. به نفع پارس‌سرا هم نبود که با رژیم مستقر دربیفتد، و من هم خوب می‌فهمیدم. تعارف و رودربایستی نداشت، حرفش را بی‌پرده می‌زد و تشخیصش محشر بود. -![فخران‌سرا](images/Ali-Yar-Fakhran-Fakhran-Sara-Villa.png) +![فخران‌سرا](images/Fakhran-Sara-Villa.png) *تصویرسازی هوش مصنوعی: فخران‌سرا — ویلای بهمن‌جون در ساحل خزر* --- From b9ddaabcdf4c85c34916750c85a8f2a964fda89c Mon Sep 17 00:00:00 2001 From: TomWiz <24483979+FMI-Test@users.noreply.github.com> Date: Sat, 11 Apr 2026 03:17:27 -0700 Subject: [PATCH 4/5] Update docs related to Judiciary and Persia Gov --- Judiciary-Obligation.md | 20 ++++++++++++++++++++ Persia.Gov.IR.md | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 Judiciary-Obligation.md diff --git a/Judiciary-Obligation.md b/Judiciary-Obligation.md new file mode 100644 index 0000000..3173b4b --- /dev/null +++ b/Judiciary-Obligation.md @@ -0,0 +1,20 @@ +I see you're looking for some financial help in your overall wealth building. I'd be glad to help you in your endeavors here. You may be happy to know that my technical background is in Electrical Engineering - always excited to help a fellow engineer. :) I ended up following the path of financial advisory as I pursued my own wealth building objectives. I've acquired and accumulated a lot of knowledge with respect to "integrating" many of the pieces of building and structuring wealth, for a well-balanced approach in your decision making. I also do have a specialty in the area of real estate. + +No I don't need help i do need a smart partner not an idiot helper i can find one $10/h on the south LA +Building wealth is a wired one I thought wealth accumulated through .. NM +Yeap any con man would be glad not knowing shit getting easy money completely agree but I won't be veery happy my friend +help again what the fuck is wrong with you hit your heat I am afraid go to a head quarter ask for the three missing quarters seems head problem to me but what I know I am not a head doctor but executive coach ... +Fuck no I am mad angry feel like idiot definitely not happy Mister Future teller your wealth building HOPE is LESS SHITTIER than your SHITTY PROPOSAL ... +Now I have to kill myself Mr. EE have you attended any of Signal & Systems probably not since in your shitty UNi they lectured about how to not win the soul and fuck the smart one and be dumb enough not read their CV or ignorant enough to think they reject $10m proposal in 40h and approve $500M suit in 10 seconds ... +Fuck you the best help is to shove your HELP in your shitty ass and do not shit from your tips of finger and don't think shit do shit just shut the fuck up man everyone safer and project is in a better state otherwise here we go again another Boeing MAX MCAS or Tytanic fellow idiot what was your uni? graduated in 20,000 B.C. I conclude ... conclusion is what you should learn not hope glad pursue WTF that is when law enforcement chasing for a man hunt you can not comprehend American English man are you British? Definitely not Irish nor ... do you have even hava a parents seems like a bio clone in lab gone too wrong ... +"I ended up following the path of financial advisory" then why the hell on earth you want to help me probably to help you to achive & your wish of "pursued my own wealth building objectives" come true thank you that you think I am Jin did you found the lamp where was it? +"I've acquired and accumulated a lot of knowledge" which makes me wonder are you sure it wasn't civil enginering you keep building you accumulating knowledge but worthless otherwise you should be set for life dummy + +RE performing worse in the past era to compare with S&P 500 last year invested in 4 index two break even MSFT & AAPL two other returned 200% NVDA & INTL and BTW I am not a financial advisor with judiciary obligation I will report you just for this last line mentioning of real estate which caused 2007 Morgage Crisis some greedy assholes like you bitch. + +Sure, why not I enjoyed and trilled that you with a marvelous knwlege accumulated through time ready and willing to help me to acquire and accumulate a lot of knowledge so please tell me who can I repay you? + +Call me 781.521.6634 + +Best, +Bamdad diff --git a/Persia.Gov.IR.md b/Persia.Gov.IR.md index b1875d3..d47ca32 100644 --- a/Persia.Gov.IR.md +++ b/Persia.Gov.IR.md @@ -1,5 +1,5 @@ # Anincient Iran Tribes -Perisa during 2500 years old royal ruling adn 7000 civilization is one of handfull aincnet civilization like Egepy Inka Roman Empire aincient china and attalntis probably plus ... in ... ... in .. and many more which might lost during history since the communication and histiry is not all documented researched nor wour archilogist know it recored it all and know it all Shahryar Adl kamran adls who reminded me of captain haood sharyar form makiavel was far from professor adl he was a prominent iraninat overseas who banned beacuse he knew mauch like aidyn who ws between lines he was tolerated but not always nor by all factions the scandal of his raw sexual extra marital BDSM was/is a literacy to read and research whomever write it under distress gret job and kudo if disinformation division of irgc ministry of intilgence or irgc qods for or many more inlligenct community in islamic republic of iran they have very talented officers who know thier shit or can find someone to deliver not like a knock job of saeed emami lone wolf bs story which was/is official version of yeap got it like us and russa which fbi desk of russia directorate was a doublke reporting to russia or like bollywoon but not hollywood we make shit more acceptable and probable and more dramitic trust me beein in m&e and m&e and pe and angel to vc to pe to aero fintech biotech fintech etf been there done that if its above your head or am i too good to be true been told its a old story and already forgotten nes cycle +Perisa during 2,500 years old royal ruling and 7,000 years civilization is one of handful ancient civilization like Egept Inka Roman Empire ancient China and Atalntis probably plus ... in ... ... in .. and many more which might lost during history since the communication and histiry is not all documented researched nor wour archilogist know it recored it all and know it all Shahryar Adl kamran adls who reminded me of captain haood sharyar form makiavel was far from professor adl he was a prominent iraninat overseas who banned beacuse he knew mauch like aidyn who ws between lines he was tolerated but not always nor by all factions the scandal of his raw sexual extra marital BDSM was/is a literacy to read and research whomever write it under distress gret job and kudo if disinformation division of irgc ministry of intilgence or irgc qods for or many more inlligenct community in islamic republic of iran they have very talented officers who know thier shit or can find someone to deliver not like a knock job of saeed emami lone wolf bs story which was/is official version of yeap got it like us and russa which fbi desk of russia directorate was a doublke reporting to russia or like bollywoon but not hollywood we make shit more acceptable and probable and more dramitic trust me beein in m&e and m&e and pe and angel to vc to pe to aero fintech biotech fintech etf been there done that if its above your head or am i too good to be true been told its a old story and already forgotten nes cycle anyhow persiaa ruling establish righfully as united states of persia yeap i am persian we invented it armanina armen people where thousands years ago the fully autonymous state of persia they happy we happy royals and sy=tates man happy rthey had like today us tstate rules and ruklers like today us state government like sanchez in fl this shit in hawwai was if purchased or capture know for sure los angels san diego san frando the capital of porn or san farnsicso is not a line from daee jan napoleon movie ta ghabr a a a a dorogh chera we used to say almighty god saves us from bad rules and lie and news cycles are fictional today fox news which i developed and deployed 5 sec auto failover for over 400 channels 24/7 in verizon media tenure got fired since i was subordinate or disney plus which sells fiction and thats atheir business model loves it too but never could stand fox president of the united states momentarily issues an very imporant statemant and they run it for 8 hours then potos say i will do this shit they run with it for another two days when donald gatters new info and calssified info he make his dessiison datbased like an data base we know new data new analysis i and he does something unortodux and cnn to foc far left to far right have a fiedl day and hunting season with this shit and that shit shit is not what our nody produces as a waste of food we consume piss in not a stream of fluid of distailed intake fluids shit is fictional narrative wrapped as a fact to seems factual and they reperat it since repetition repetition repition hard ocde the shit/fiction/story/lie/opinion/interest group prespective ignoring all opossition and counter argument and arguning is point less they know their shit is not ehy send their human waste to lab on a daily basis it means 1. they know what they should do 2. they know what kind of shitty shit they produce so the food of thought is the sam we live in a same world some see it as alice in wonderland so wonde wondering what kind of shit is that and some in real life shitty people cal their shit bull shit which is not bull in bull market in front of nyse nor nasdac bur a curated narrative of hand picked news to serve a shitty purpose which is shiity for some very profitable for other thats why i dont like fox shit and potos lives it but he is human like us i dont have filtet in personal life many in professional but limited and bounded and not shy to call a shitty idea deplyment code or bs shitty idea and a bs mastere coudnt take it yeap i am on auto pilot what can i say historuical and by ancesstoy i have problem with authorrity since we are the autoritive parte look me up to see who was my garndapa and i become IATL Judge bamdad I am the Law - Jurry Judge and the executionair not becuase we are choosend or have a good gene not beacuse we are battle tested and have a cicid with security as code hardcoded in our genet like taymortash or kargozar or bamdad and the 600 gourila is our cusing whon when faces new evidence changes his mind how about you ma From 769b15fb85106443f99c91508d00e484d866e87f Mon Sep 17 00:00:00 2001 From: TomWiz <24483979+FMI-Test@users.noreply.github.com> Date: Sat, 11 Apr 2026 03:18:27 -0700 Subject: [PATCH 5/5] UDP --- fix_images.py | 27 +++++++++++++++++++++++++++ test_images.py | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 fix_images.py create mode 100644 test_images.py diff --git a/fix_images.py b/fix_images.py new file mode 100644 index 0000000..3f20ade --- /dev/null +++ b/fix_images.py @@ -0,0 +1,27 @@ +import os + +replacements = { + 'Ali-Yar-Fakhran-Dar-Al-Fonun.png': 'Aliyar-Fakhran-Dar-Al-Fonun.png', + 'Ali-Yar-Fakhran-Bujnurd-Governor.png': 'Aliyar-Fakhran-Bujnurd-Governor.png', + 'Ali-Yar-Fakhran-Lion-Sun-Medal.png': 'Aliyar-Fakhran-Lion-Sun-Medal.png', + 'Ali-Yar-Fakhran-Leningrad-Ambassador.png': 'Aliyar-Fakhran-Leningrad-Ambassador.png', + 'Ali-Yar-Fakhran-Petersburg-Embassy.png': 'Aliyar-Fakhran-Petersburg-Embassy.png', + 'Ali-Yar-Fakhran-Genealogy-Tree.png': 'Aliyar-Fakhran-Genealogy-Tree.png', + 'Ali-Yar-Fakhran-Calligraphy-Wall.png': 'Aliyar-Fakhran-Calligraphy-Wall.png', + 'Ali-Yar-Fakhran-Dinner-Protocol.png': 'Aliyar-Fakhran-Dinner-Protocol.png', + 'Ali-Yar-Fakhran-Bamdad-Heritage.png': 'Aliyar-Fakhran-Bamdad-Heritage.png', + 'Ali-Yar-Fakhran-Fakhran-Sara-Villa.png': 'Fakhran-Sara-Villa.png', + 'Ali-Yar-Fakhran-Reza-Shah-Era.png': 'Aliyar-Fakhran-Reze-Shah-Diplomat.png', +} + +files = ['Aliyar-Fakhran-EN.md', 'Aliyar-Fakhran-FA.md'] + +for file in files: + with open(file, 'r', encoding='utf-8') as f: + content = f.read() + + for old, new in replacements.items(): + content = content.replace(old, new) + + with open(file, 'w', encoding='utf-8') as f: + f.write(content) diff --git a/test_images.py b/test_images.py new file mode 100644 index 0000000..2f416b5 --- /dev/null +++ b/test_images.py @@ -0,0 +1,37 @@ +import re +import os +import glob + +# Find all markdown files +md_files = glob.glob('*.md') +md_files += glob.glob('*/*.md') + +pattern = re.compile(r'!\[.*?\]\((.*?)\)') +broken = [] + +for md in md_files: + with open(md, 'r', encoding='utf-8') as f: + content = f.read() + + links = pattern.findall(content) + for link in links: + path = link.strip() + # if the path is remote, skip + if path.startswith('http'): + continue + + # remove fragments/query + if '?' in path: + path = path.split('?')[0] + if '#' in path: + path = path.split('#')[0] + + # resolve path relative to md file + dir_path = os.path.dirname(md) + full_path = os.path.join(dir_path, path) + + if not os.path.exists(full_path): + broken.append((md, link)) + +for b in broken: + print(b)