Skip to content

Instantly share code, notes, and snippets.

GitHub Search Syntax for Finding API Keys/Secrets/Tokens

As a security professional, it is important to conduct a thorough reconnaissance. With the increasing use of APIs nowadays, it has become paramount to keep access tokens and other API-related secrets secure in order to prevent leaks. However, despite technological advances, human error remains a factor, and many developers still unknowingly hardcode their API secrets into source code and commit them to public repositories. GitHub, being a widely popular platform for public code repositories, may inadvertently host such leaked secrets. To help identify these vulnerabilities, I have created a comprehensive search list using powerful search syntax that enables the search of thousands of leaked keys and secrets in a single search.

Search Syntax:

(path:*.{File_extension1} OR path:*.{File_extension-N}) AND ({Keyname1} OR {Keyname-N}) AND (({Signature/pattern1} OR {Signature/pattern-N}) AND ({PlatformTag1} OR {PlatformTag-N}))

Examples:

**1.

@nprasad2077
nprasad2077 / tmux-user-guide.md
Created October 22, 2026 19:14
Tmux User Guide

tmux — The User's Guide

A comprehensive, hands-on guide to tmux 3.x — written against tmux 3.7, and tailored to a macOS (iTerm2) setup.

Note on this guide: examples use tmux's default prefix ⌃b (Ctrl-b). Part 10 walks through a working macOS configuration that changes the prefix to ⌃a — wherever a key table in this guide is affected by that config, it's flagged with a † footnote. Adapt everything to taste.


Table of Contents

@JeodC
JeodC / portmaster-sparse-checkout-guide.md
Last active October 22, 2026 19:15
PortMaster-New: Using sparse checkout

PortMaster: Using sparse checkout

Sparse checkout is a useful Git feature that lets you only download and work with specific parts of a repository. The PortMaster-New repository is massive — over 50GB in size. Since you're most likely not going to be modifying multiple ports, there's no need to download the entire thing. Use sparse checkout to only grab what you need.

Getting started: Git

Since you’ll be working in the terminal, you'll need Git installed. Download and install it, either using sudo apt install git or downloading Git for Windows depending on your platform. If you use GitHub Desktop, you may already have Git installed. You can check if it’s installed by running git --version in your terminal.

Sparse checkout

If you haven't done so, fork the repository at https://github.com/PortsMaster/PortMaster-New. You can do this in a web browser. In your computer's terminal, clone it: `git clone --filter=blob:none --depth 1 --no-checkout https://github.com/USERNAME/PortMaster-New PortMaster-New

@jorgeadev
jorgeadev / workflows-codeql.yml
Created April 11, 2026 04:31
CodeQL Scanner
name: "CodeQL Scanner"
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
schedule:
- cron: "0 0 * * 0"
@jorgeadev
jorgeadev / git.md
Created April 7, 2026 15:07
Git Commands

Configuración Básica

Configurar Nombre que salen en los commits

	git config --global user.name "dasdo"

Configurar Email

	git config --global user.email dasdo1@gmail.com
@jorgeadev
jorgeadev / notes.md
Last active October 22, 2026 19:17
Gist to save my notes

Delete git branches

  1. Delete remote branch
git push origin --delete breanch-name
  1. Delete local branch
git branch -d branch-name
@jorgeadev
jorgeadev / codeql-config.yml
Created April 11, 2026 04:32
Codeql Config
name: "Custom CodeQL Configuration"
# Explicitly ignore directories to drastically speed up the scan and prevent noisy results.
paths-ignore:
- "node_modules"
- ".next"
- "dist"
- "build"
- "coverage"
- "public"
@jorgeadev
jorgeadev / readme-generator.md
Created April 11, 2026 05:50
README.md Generator

README Improvement Prompt Collection

🚀 Balanced Version Refactor and redesign this README into a visually stunning, professional, and modern GitHub README. Use the latest Markdown features and best practices to improve: Structure and readability Visual hierarchy (headings, sections, spacing) Developer experience Enhance it with: Shields.io badges (build, license, version, etc.)

@jorgeadev
jorgeadev / image-generation-prompt.md
Created August 9, 2026 07:51
Image Generation Prompt

Create a highly cinematic, photorealistic romantic scene featuring a young adult couple together on a secluded beach during the transition from vivid sunset into deep blue hour, approximately 90% nighttime and 10% remaining sunset.

SCENE AND ENVIRONMENT: A beautiful, quiet, expansive beach stretches toward the horizon. The ocean is calm with small, natural waves gently reaching the shoreline. The wet sand in the foreground is highly reflective, creating subtle mirror-like reflections of the couple, ocean, and colorful sky. The beach feels peaceful, intimate, private, and untouched, with no crowds, buildings, resorts, roads, or urban elements.

The sun has already disappeared below the horizon. Only a narrow but extremely vivid band of remaining light is visible along the distant horizon. The sky transitions dramatically from fiery orange, coral, crimson, and magenta near the horizon into saturated pink, violet, indigo, cobalt blue, and finally deep midnight blue toward the top of the frame.

The ocean is pre

@jorgeadev
jorgeadev / google-flow-downloader.js
Created August 10, 2026 08:01
Download Images Google Flow
(async () => {
"use strict";
const COUNT = 153;
const NEXT_IMAGE_DELAY = 2500;
const sleep = (ms) =>
new Promise((resolve) => setTimeout(resolve, ms));
const normalizeText = (text) =>