Skip to content

Instantly share code, notes, and snippets.

View monarchmaisuriya's full-sized avatar
🎯
Focusing

Monarch Maisuriya monarchmaisuriya

🎯
Focusing
View GitHub Profile
@monarchmaisuriya
monarchmaisuriya / .zshrc
Created August 16, 2025 04:23
Qwen CLI Code Review Hook
# ==============================================
# === Start of Qwen Diff-Based Code Review ===
# ==============================================
# Detailed review prompt (multi-line, neatly formatted)
__qwen_prompt_text=$(
cat <<'EOF'
Thoroughly review the changes, identifying potential issues including edge cases, syntax errors,
logical flaws, unintended side effects, performance bottlenecks, and coding standards violations.
@monarchmaisuriya
monarchmaisuriya / .zshrc
Last active August 13, 2025 10:23
Gemini Based Code Review Hook ( Bash, Zsh)
# ==============================================
# === Start of Gemini Diff-Based Code Review ===
# ==============================================
# Detailed review prompt (multi-line, neatly formatted)
__gemini_prompt_text=$(
cat <<'EOF'
Thoroughly review the changes, identifying potential issues including edge cases, syntax errors,
logical flaws, unintended side effects, performance bottlenecks, and coding standards violations.
Pay special attention to complex logic, input validation, and modifications affecting stability/scalability.
@monarchmaisuriya
monarchmaisuriya / orchestrate.sh
Last active June 25, 2025 08:14
Simple automation script to orchestrate open webui instance
#!/bin/bash
set -e
# Constants
CONTAINER_NAME="openwebui"
DEFAULT_PORT=1337
DEFAULT_MODEL="llama3.1:8b"
IMAGE_NAME="ghcr.io/open-webui/open-webui:main"
@monarchmaisuriya
monarchmaisuriya / index.php
Last active January 30, 2024 11:27
Custom XAMPP Landing Page with useful links
<html>
<head>
<title>XAMPP Home</title>
</head>
<style type="text/css">
body {
background: #fcfcfc;
color: #111;