Skip to content

Instantly share code, notes, and snippets.

View irajnajam63's full-sized avatar

Iraj Najam irajnajam63

  • California
View GitHub Profile
@irajnajam63
irajnajam63 / swe_agent.py
Created July 2, 2025 18:45
Python SWE-agent using Claude Code SDK that automatically identifies bugs, suggests fixes, reviews PRs, and manages dependency updates efficiently.
import os
import json
from claude_code_sdk import ClaudeClient
from github import Github, PullRequestReviewComment
from typing import List, Dict
class SWEAgent:
def __init__(self, claude_api_key: str, github_token: str):
self.claude = ClaudeClient(api_key=claude_api_key)
self.github = Github(github_token)
@irajnajam63
irajnajam63 / optimize_reporting_sql_powerbi_project.sql
Created July 1, 2025 19:36
Optimized SQL Server architecture, migrated Excel-based reports, and developed scalable, interactive Power BI dashboards with improved data accuracy and performance.
-- OptimizeReporting.sql
-- Schema and performance improvements + view creation for Power BI dashboards
-- Step 1: Improve query performance through indexed views
CREATE VIEW dbo.vw_OrderSummary
WITH SCHEMABINDING
AS
SELECT
o.OrderID,
o.CustomerID,
@irajnajam63
irajnajam63 / api.py
Created June 17, 2025 18:47
Local or remote access to SNOMED CT/GO in OWL/OBO format, Genomic data (e.g., TCGA) in TSV or CSV format, Apache NiFi is running with an input port via a public REST API (e.g., ListenHTTP or Site-to-Site).
import os
import json
import requests
import pandas as pd
from owlready2 import get_ontology
# Configuration
NIFI_API_URL = "http://localhost:8080/nifi-api"
NIFI_ENDPOINT = "http://localhost:8081/input" # Replace with your NiFi ListenHTTP endpoint
HEADERS = {'Content-Type': 'application/json'}
@irajnajam63
irajnajam63 / api.py
Created June 9, 2025 03:26
custom Warehouse Control System (WCS) that integrates Blue Yonder WMS with a pick-to-light system in an e-commerce fulfillment center
import time
import json
import requests
import socket
from threading import Thread
# Configuration for WMS and Pick-to-Light system
WMS_API_ENDPOINT = "https://blueyonder.example.com/api/orders"
PICK_TO_LIGHT_HOST = "192.168.1.50"
PICK_TO_LIGHT_PORT = 5000