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 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) |
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
-- 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, |
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 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'} |
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 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 |