GeezerVison is showing gist.github.com โ sametcn99โs gists
Instantly share code, notes, and snippets.
sametcn99
/ traycer-agent-selection-guide.md
Last active
September 5, 2026 19:12
Strict agent and model selection policy for Traycer, requiring explicit user choice for every task and keeping fast mode disabled unless explicitly requested.
Agent & Subagent Selection Guide
Never use, launch, or delegate work to a sub-agent unless the user explicitly requests sub-agent usage for the current task.
Do not decide on your own that a task would benefit from sub-agents, regardless of its size, complexity, duration, or parallelizability.
If the user does not mention sub-agents, perform the task normally without them.
sametcn99
/ README.md
Last active
June 7, 2026 21:56
A userscript that automatically hides viewed job postings in LinkedIn Jobs.
LinkedIn Hide Viewed Jobs
Hide or highlight viewed job postings on LinkedIn Jobs with a privacy-first userscript built for Tampermonkey and Violentmonkey โ or install as a standalone browser extension for Chrome and Firefox.
This project focuses on three things: stable LinkedIn SPA behavior, high-confidence multilingual viewed/applied detection, and safer scrolling with guard and cooldown protections.
|
<# |
|
GitHub Repo TUI Cloner (PowerShell) |
|
|
|
What this script does: |
|
- Fetches your owned repositories from the GitHub API using a token. |
|
- Shows an interactive terminal UI so you can pick exactly which repos to clone. |
|
- Clones only selected repositories into a destination folder. |
|
|
|
Authentication: |
|
- Preferred: set `$env:GITHUB_TOKEN` in your shell. |
sametcn99
/ Dockerfile
Created
December 25, 2025 13:21
Docker configuration files to run PayloadCMS using the Bun runtime and PostgreSQL database.
|
# To use this Dockerfile, you have to set `output: 'standalone'` in your next.config.js file. |
|
|
|
FROM oven/bun:alpine AS base |
|
WORKDIR /app |
|
|
|
# Install dependencies only when needed |
|
FROM base AS deps |
|
RUN apk add --no-cache libc6-compat |
|
WORKDIR /app |
sametcn99
/ insta-public-archiver.py
Created
December 23, 2025 23:10
A Python script designed to download all media (photos and videos) from public Instagram profiles without requiring a login.
|
import instaloader |
|
import time |
|
import random |
|
import sys |
|
import os |
|
|
|
def download_posts_anonymous(username): |
|
""" |
|
Downloads posts from a specified profile anonymously. |
|
It creates a dedicated sub-folder for EACH post to ensure |
sametcn99
/ migrate.sh
Last active
October 23, 2025 23:12
A fully automated Bash script to migrate from ESLint + Prettier to Biome. It initializes Biome, migrates ESLint and Prettier configurations, removes old config files, and updates package.json scripts. Designed for Bun environments with full Next.js ESLint compatibility.
|
#!/usr/bin/env bash |
|
# |
|
# migrate-to-biome.sh |
|
# --------------------------------------------------------------------------------------------------- |
|
# ๐ง Purpose: |
|
# Fully automate the migration from ESLint + Prettier โ Biome using Bun. |
|
# |
|
# ๐ง What it does: |
|
# 1. Initializes Biome (if missing) |
|
# 2. Migrates ESLint & Prettier configurations safely (handles Next.js) |
sametcn99
/ theme.ts
Created
October 22, 2025 15:26
shadcn theme configuration for mui
|
import { createTheme } from "@mui/material"; |
|
|
|
// Single, app-wide dark theme styled to resemble shadcn's default dark theme. |
|
// Key choices (mapped from shadcn tokens โ MUI): |
|
// - background.default: zinc-950 (#09090B) |
|
// - background.paper: same base, minimal elevation look |
|
// - text.primary: zinc-200 (#E4E4E7), text.secondary: zinc-400 (#A1A1AA) |
|
// - divider/border: zinc-800 (#27272A) |
|
// - primary: near-white (#FAFAFA) with dark contrast (shadcn primary for dark) |
|
// - secondary: neutral surface (#27272A) |
sametcn99
/ biome.json
Created
October 19, 2025 21:56
A clean and minimal Biome configuration for Next.js applications. Features tab indentation, double quotes for JavaScript strings, recommended linting rules, and automatic import organization. Includes Git integration and processes all file types for comprehensive code quality checks.
|
{ |
|
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json", |
|
"vcs": { |
|
"enabled": true, |
|
"clientKind": "git", |
|
"useIgnoreFile": true |
|
}, |
|
"files": { |
|
"ignoreUnknown": false |
|
}, |
Deploying Calibre-Web on Coolify with Docker Compose
This guide walks you through setting up and running on using . It focuses on building a stable, persistent deployment with proper permissions and fully working upload functionality.
Step 1 โ Preparing the Docker Compose File
The first step is to prepare a reliable Docker Compose configuration. This defines the container, environment variables, and how data will be stored persistently.
|
/** |
|
* SQL Query Safety Checker |
|
* Provides comprehensive security analysis for SQL queries including |
|
* dangerous operations, injection patterns, and administrative commands |
|
*/ |
|
|
|
export enum SecurityLevel { |
|
SAFE = 'safe', |
|
LOW_RISK = 'low_risk', |
|
MEDIUM_RISK = 'medium_risk', |
|