Skip to content

Instantly share code, notes, and snippets.

View sandalsoft's full-sized avatar
🏖️
Working from the beach

Eric Nelson sandalsoft

🏖️
Working from the beach
View GitHub Profile
@sandalsoft
sandalsoft / api-football.llms.txt
Created July 11, 2025 01:01
API Football docs llms.txt
# https://www.api-football.com/documentation-v3 llms-full.txt
## API-Football Documentation
We use cookies
We use cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.
OKChange my preferences
[![api-football logo](https://www.api-football.com/public/img/home1/hero-banner.png)](https://www.api-football.com/)
@sandalsoft
sandalsoft / fbrapi.oas.yaml
Created June 3, 2025 00:48
FBRAPI OpenAPI
openapi: 3.0.3
info:
title: FBR API
description: |
The FBR API provides developers, statistics enthusiasts, and football (soccer) fans with convenient access to data from fbref.com.
As a premier source of football statistics, fbref.com offers comprehensive information on leagues, teams, and players from around the world.
**Rate Limiting**: Users are limited to one request every 3 seconds to comply with fbref.com scraping restrictions.
**Authentication**: All endpoints require an API key obtained from the `/generate_api_key` endpoint.
@sandalsoft
sandalsoft / fbrapi.llms.txt
Created June 2, 2025 00:53
llms-txt for fbrapi.com
# https://fbrapi.com/documentation llms-full.txt
## FBR API Documentation
## Table of Contents
- [Introduction](https://fbrapi.com/documentation#introduction) \- [Important Note: Scraping Restriction](https://fbrapi.com/documentation#scraping-restriction) -
[About FBR API](https://fbrapi.com/documentation#about) \- [Base URL](https://fbrapi.com/documentation#base-url) -
[Authentication](https://fbrapi.com/documentation#authentication)
- [Usage](https://fbrapi.com/documentation#usage) \- [Supported Endpoints](https://fbrapi.com/documentation#supported-endpoints)
- [All Endpoints](https://fbrapi.com/documentation#all-endpoints) \- [Countries](https://fbrapi.com/documentation#countries) \- [Leagues](https://fbrapi.com/documentation#leagues) \- [League Seasons](https://fbrapi.com/documentation#league-seasons) \- [League Season Details](https://fbrapi.com/documentation#league-season-details) \- [League Standings](https://fbrapi.com/documentation#league-standings) \- [Teams](https://fbrapi.com/documentation#teams
@sandalsoft
sandalsoft / leonardo-api-llms.txt
Created May 20, 2025 12:38
leonardo-api LLMs.txt
# https://docs.leonardo.ai/docs/generate-images-using-leonardo-phoenix-model llms-full.txt
## Generate Images with Leonardo
Follow this recipes to generate images using the Leonardo Phoenix model.
🖼️
Generate Images Using Leonardo Phoenix Model in Ultra Mode
Open Recipe
# https://www.recraft.ai/docs#vectorize-image llms-full.txt
## Vectorize Image Guide
[![](https://cdn.prod.website-files.com/655727fe69827d9a402de12c/66f2c145708321e532690bc1_%5BLogo%20sign%5D.png)](https://www.recraft.ai/)
Features
Use Cases
[Gallery](https://app.recraft.ai/community)
@sandalsoft
sandalsoft / gc.bash
Created May 19, 2025 18:40
Use an LLM to create your commit message based on git diff (uses sigoden/aichat)
function gc() {
# Stage all changes
git add .
CHAR_LIMIT=400
# Get the staged changes using git diff
STAGED_CHANGES=$(PAGER="" git diff --cached)
if [ -z "$STAGED_CHANGES" ]; then
echo "No staged changes found. Please stage your changes first using 'git add'"
return 1
@sandalsoft
sandalsoft / TreasuryDTS-oas3.yaml
Last active March 18, 2025 00:16
Daily Treasury Statement (DTS) OpenAPI v3 Spec
openapi: 3.0.0
info:
title: Fiscal Service API
description: API for accessing fiscal data from the U.S. Treasury, including operating cash balance, deposits and withdrawals, public debt transactions, and more.
version: 1.0.0
servers:
- url: https://api.fiscaldata.treasury.gov
paths:
/services/api/fiscal_service/v1/accounting/dts/operating_cash_balance:
get:
@sandalsoft
sandalsoft / fred_oas.yaml
Last active March 17, 2025 01:35
FRED OAS
openapi: 3.0.0
info:
title: FRED API
description: |
API for accessing economic data from the Federal Reserve Economic Data (FRED)
and Archival Federal Reserve Economic Data (ALFRED) databases, provided by
the Federal Reserve Bank of St. Louis.
version: 1.0.0
servers:
- url: https://api.stlouisfed.org
@sandalsoft
sandalsoft / index.ts
Created December 21, 2023 20:37
Simple check for passwords in db connection strings
import fs from 'fs'
import YAML from 'yaml'
const PasswordPresentRe = /(password=.+)&/;
const HasuraRootPath = `../standard-cloud-demo/metadata`;
const metdataString = fs.readFileSync(`${HasuraRootPath}/databases/databases.yaml`, 'utf8')
const metadata = YAML.parse(metdataString)
console.log()
console.log(`🔍 Checking Hasura Metadata for passwords in connection strings...\n`)