Skip to content

Instantly share code, notes, and snippets.

@almahmudbd
almahmudbd / free-ai-api.md
Last active July 15, 2026 21:05
Free Ai Api keys and credits for agentic coding.

Free Ai Api keys for agentic coding.

Usage Tips:

  • Do not subscribe to all services at once, as most have limited validity periods for their credits. We recommend testing them one by one, moving to the next only after your current credits are exhausted.
  • Register, verify your account, and claim your credits. then Follow documentation on each site to configure your coding tools.
  • Keep your API keys secure and do not share them publicly. (save or star this gist for future update)

Top sites in this genre -

1. OpenRouter - They have some Free models, but...

@metrovoc
metrovoc / README.md
Last active July 15, 2026 20:37
macOS Tahoe audio glitch workaround: kill all CoreAudio clients + daemons to restore degraded audio without reboot

macOS Tahoe Audio Glitch: Diagnosis & Workaround

Symptom

On macOS Tahoe (26.x, tested on 26.3 / M3 MacBook Air), system audio gradually degrades over time — volume drops significantly and sound becomes muffled across all outputs (built-in speakers, Bluetooth headphones, etc.) at the same volume setting.

  • Onset is intermittent: anywhere from hours to days after a clean reboot.
  • coreaudiod sometimes shows elevated CPU usage during the degraded state.
  • A full reboot reliably restores normal audio. The issue then eventually recurs.
@meeramnoor16
meeramnoor16 / speed_to_lead.json
Last active July 15, 2026 20:36
Speed to lead for lead qualification and nurture
{
"name": "Dental clinic speed to lead",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "00000000-0000-4000-8000-000000000001",
"options": {}
},
"type": "n8n-nodes-base.webhook",
@tandpfun
tandpfun / SKILL.md
Created July 14, 2026 02:16
Extract Clothing Skill
name extract-clothing-cutouts
description Extract high-quality, deduplicated transparent ecommerce clothing cutouts from a folder of photographs where people wear one or more garments. Use when Codex must find outfit or model photos, identify unique clothing across images, create focused references, reconstruct complete garments with Imagegen, remove a solid chroma background into RGBA PNGs, and output only the finished clothing images into a new folder under the current working directory.

Extract Clothing Cutouts

Turn photographs of worn clothing into source-faithful standalone catalog PNGs. Treat each result as a reconstruction from visible evidence, not literal segmentation whenever the wearer or another layer occludes part of the garment.

Start by asking for two paths

Set up these as real Codex lifecycle hooks by following the official documentation:
https://learn.chatgpt.com/docs/hooks
Important: use ~/.codex/hooks.json and a PreToolUse command hook. Do not implement this only as a ~/.codex/rules/*.rules execution-policy file.
First inspect any existing hooks and preserve them. Then:
1. Create or merge ~/.codex/hooks.json with a PreToolUse matcher for Bash.
2. Create ~/.codex/hooks/destructive_commands.py.
3. The script must read the hook JSON payload from stdin and inspect tool_input.command.
blueprint:
name: "IKEA BILRESA - Light Controller (v1.3)"
description: >
Light control for IKEA BILRESA (Matter). Supports dynamic scrolling, scene cycling, and multi-click actions for up to three channels.
domain: automation
input:
remote_device:
name: "Remote Control"
description: "The IKEA BILRESA scroll wheel (Matter) used as the trigger."
selector:
@davidondrej
davidondrej / hermes-browser-harness-hostinger-setup.sh
Last active July 15, 2026 18:49
all commands for Hermes Agent + Browser Harness setup
# =============================================
# Hermes Agent + Browser Harness on Hostinger VPS
# Full setup — copy and paste line by line
# =============================================
# 1. Install Hermes Agent (Nous Research)
# Docs: https://hermes-agent.nousresearch.com/docs/getting-started/installation/
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
# 2. Reload shell so `hermes` command works
@Shennob
Shennob / BadExample.cs
Last active July 15, 2026 18:45
Проведите рефакторинг кода, исправьте все ошибки в именовании и форматировании так, чтобы не изменить принцип работы кода. Учтите, что ошибки допущены не только в именовании и форматировании, но и в нарушении общепринятых стандартов и неоптимальной реализации некоторых механик. После рефакторинга должны получиться краткие и оптимизированные классы.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GoPlaces : MonoBehaviour
{
public float _float;
@Kartones
Kartones / postgres-cheatsheet.md
Last active July 15, 2026 18:38
PostgreSQL command line cheatsheet

PSQL

Magic words:

psql -U postgres

Some interesting flags (to see all, use -h or --help depending on your psql version):

  • -E: will describe the underlaying queries of the \ commands (cool for learning!)
  • -l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)
@nskforward
nskforward / mikrotik-vless.md
Last active July 15, 2026 18:28
Настройка VPN-туннеля VLESS на роутере MikroTik

Настройка VPN (VLESS + Reality) на роутере Mikrotik

Обновление от 08.01.2026

Инструкция предполагает, что ваш роутер сброшен до заводских настроек.

Инструкция проверена на RouterOS версии 7.20

Проверка поддержки контейнеров