Skip to content

Instantly share code, notes, and snippets.

@RazhanHameed
RazhanHameed / cbz_gist_report.md
Created February 8, 2026 17:24
Carbamazepine Green Chemistry Redesign Report — 27 structural modifications with reversion risk analysis

Carbamazepine Green Chemistry Redesign Report

Generated: 2026-02-08 (revised) Pipeline: Automated Green Chemistry Redesign Agent v1.0 Revision: Includes reversion risk analysis and corrected rankings


1. Executive Summary

@RazhanHameed
RazhanHameed / RAST_SPELLCHECK_REPORT.md
Created January 9, 2026 15:42
Mass testing rast.krd Spell Checker
@RazhanHameed
RazhanHameed / rudaw.py
Last active June 27, 2024 20:49
A minimal script to scrape rudaw.net
"""
This script can scrape rudaw.net in two stages
1. `python rudaw.py links` collect links for each category
2. `python rudaw.py content` collect content for each link and writes it to rudaw.csv
"""
import sys
import os
import csv
@RazhanHameed
RazhanHameed / resolve_ae.py
Last active September 9, 2023 07:24
A Python function to correct the misspelling of the AE character (ە) in Kurdish text.
import re
def resolve_ae(text):
"""
This function takes a text input in Central Kurdish (Sorani) script and performs a series of character replacements
to standardize variations in the script. Specifically, it addresses cases where the character 'ە' (Arabic letter
AE) may be used in different contexts.
"""
# First replace all occurrences of 'ه' with 'ە'
text = re.sub("ه", "ە", text)
@RazhanHameed
RazhanHameed / kurdfonts_downloader.py
Created February 20, 2023 22:25
A script that downloads all the fonts on kurdfonts.com
import requests
from bs4 import BeautifulSoup
import time
url = 'https://www.kurdfonts.com/browse/categories'
response = requests.get(url)
soup = BeautifulSoup(response.content, 'html.parser')