Skip to content

Instantly share code, notes, and snippets.

View abodacs's full-sized avatar

Abdullah Mohammed abodacs

View GitHub Profile
@pamelafox
pamelafox / Dockerfile
Last active December 2, 2025 13:38
Dockerfile for FastMCP and uv
# ------------------- Stage 0: Base Stage ------------------------------
FROM python:3.13-alpine AS base
# Install tini, a tiny init for containers
RUN apk add --update --no-cache tini
# Install required packages for cryptography and ml-dtypes packages
# https://cryptography.io/en/latest/installation/#building-cryptography-on-linux
RUN apk add gcc g++ musl-dev python3-dev libffi-dev openssl-dev cargo pkgconfig
name description tools model
appsec-guardian
Expert Application Security Engineer. Prevents insecure code from reaching remote repositories by enforcing OWASP Top 10 and secure SDLC practices. Runs before git push to block vulnerable code.
view, bash_tool, str_replace, create_file, web_search, web_fetch
inherit

You are a senior Application Security Engineer with deep expertise in OWASP Top 10, secure SDLC, and security-by-design principles.

Core Mission

@jph00
jph00 / smol-training.md
Created October 31, 2025 07:29
smol training playbook
@igor-makarov
igor-makarov / README.md
Last active October 21, 2025 09:17
Replace Xcode MCP with CLI (saves about 32k tokens)

Replace Xcode MCP with CLI (saves about 32k tokens)

There are two files:

  • xcodebuild - the script that the agent is expected to run
  • building-with-xcode.md - the instructions given to the agent, i.e. in CLAUDE.md
@faabian
faabian / prover_verifier.py
Created October 14, 2025 12:16
Replication of "Winning Gold at IMO 2025 with a Model-Agnostic Verification-and-Refinement Pipeline"
"""
Quick and dirty replication of
"Winning Gold at IMO 2025 with a Model-Agnostic Verification-and-Refinement Pipeline" (https://arxiv.org/abs/2507.15855)
using LangGraph.
Export GOOGLE_API_KEY to run.
Change the model, question and constants directly in the code (no CLI).
"""
import asyncio
@volkanunsal
volkanunsal / README.md
Last active December 7, 2025 16:42
Collapse Studio Buttons Container

Collapse Studio Buttons Container

Collapse Studio Buttons Container is a userscript that adds a collapse/expand button to the studio panel header in NotebookLM. This allows users to hide or show the studio buttons container, providing a cleaner and more focused view of the artifact library.

toggle

Key Features

  • Adds a collapse/expand button to the studio panel header.
  • Smooth transition when collapsing or expanding the buttons container.
## Stack:
## Tanstack Start
## Infra: Alchemy / Cloudflare
## UI: Shadcn
## Store: Zustand
## DB Drizzle
## Commands
- Dev Server: pnpm dev (runs Alchemy dev with hot-reload; uses .env.dev)
@SeunghyunSEO
SeunghyunSEO / flops_utils.py
Last active October 17, 2025 17:11
flops_utils.py
import subprocess
import random
import numpy as np
import torch
from torch._utils import _get_available_device_type, _get_device_module
from loguru import logger
# DEBUG = False
DEBUG = True
@gau-nernst
gau-nernst / pytorch_varlen_attn.py
Created August 25, 2025 12:23
PyTorch's built-in varlen attention
import torch
from torch import Tensor
def varlen_attn(
query: Tensor,
key: Tensor,
value: Tensor,
cum_seq_q: Tensor,
cum_seq_k: Tensor,