Skip to content

Instantly share code, notes, and snippets.

Games to learn BASH

  1. Command Line Murder Mystery: A fun problem-solving game set in your terminal.

  2. Terminus: This online game teaches important shell commands in a fun and interactive way.

  3. Bashcrawl: A text-based dungeon crawl game played entirely in the Bash shell.

  4. Vim Adventures: A game to learn Vim, a text editor found on Unix-like systems.

  5. OverTheWire Bandit: A Capture The Flag type game designed for beginners to learn Bash commands.

@polyfjord
polyfjord / AutoTracker_v1.4.bat
Last active October 20, 2025 04:11
AutoTracker workflow using GLOMAP
:: ================================================================
:: BATCH SCRIPT FOR AUTOMATED PHOTOGRAMMETRY TRACKING WORKFLOW
:: By polyfjord - https://youtube.com/polyfjord
:: GLOMAP mapping (faster), COLMAP for features/matching + TXT export
:: ================================================================
@echo off
setlocal EnableExtensions EnableDelayedExpansion
:: ---------- Resolve top-level folder (one up from this .bat) -----
pushd "%~dp0\.." >nul
@noobnooc
noobnooc / cloudflare-worker-proxy.js
Last active October 20, 2025 04:09
cloudflare-worker-proxy
// Website you intended to retrieve for users.
const upstream = 'api.openai.com'
// Custom pathname for the upstream website.
const upstream_path = '/'
// Website you intended to retrieve for users using mobile devices.
const upstream_mobile = upstream
// Countries and regions where you wish to suspend your service.
@Ruakij
Ruakij / Looking-glass-kvmfr-setup-Arch.md
Last active October 20, 2025 04:08
Looking-glass kvmfr setup Arch

Looking-glass kvmfr setup Arch

More in-depth setup-guide for usage of kvmfr (see https://looking-glass.io/docs/B6/module/)

This setup was done on EndeavourOs (Arch) on Kernel 6.1.12-arch1-1.
QEMU-version 7.2 and libvirt version 9.0.0 .
Running cGroups Policy (if you have AppArmor, some things are different)

Check respective sections in looking-glass docs for other versions (specifcally QEMU <6.2 and libvirt <7.9)

@Dowwie
Dowwie / prd_tod.txt
Created March 13, 2025 09:07
Product requirement document generation using LLM task oriented dialogue
This is an LLM-assisted workflow for creating a product requirement document using LLM assistance for task completion.
It keeps track of inputs for the template and works with the user to acquire them, finally generating a completed PRD
prompt when all slots are addressed.
credit: Ian Nuttall - https://gist.github.com/iannuttall/f3d425ad5610923a32397a687758ebf2
**System-Prompt for Facilitating Chat-Based PRD Creation**
@jeffmaxey
jeffmaxey / espn-api-list.md
Created October 20, 2025 03:56 — forked from nntrn/espn-api-list.md
List of nfl api endpoints from espn

List of NFL API Endpoints

This page has been updated a lot in the past 3 years. Older revisions you might like more than this one:

@nntrn
nntrn / espn-api-list.md
Last active October 20, 2025 03:56
List of nfl api endpoints from espn

List of NFL API Endpoints

This page has been updated a lot in the past 3 years. Older revisions you might like more than this one:

@Klerith
Klerith / pasos-node-ts-jest.md
Created August 19, 2023 18:35
Note + TypeScript + Jest = Testing

Pasos para configurar Jest con TypeScript, en Node

Documentación oficial sobre Jest

  1. Instalaciones de desarrollo (super test es útil para probar Express)
npm install -D jest @types/jest ts-jest supertest
@Manouchehri
Manouchehri / cloudflare.sh
Last active October 20, 2025 03:45
Allow CloudFlare only
# Source:
# https://www.cloudflare.com/ips
# https://support.cloudflare.com/hc/en-us/articles/200169166-How-do-I-whitelist-CloudFlare-s-IP-addresses-in-iptables-
for i in `curl https://www.cloudflare.com/ips-v4`; do iptables -I INPUT -p tcp -m multiport --dports http,https -s $i -j ACCEPT; done
for i in `curl https://www.cloudflare.com/ips-v6`; do ip6tables -I INPUT -p tcp -m multiport --dports http,https -s $i -j ACCEPT; done
# Avoid racking up billing/attacks
# WARNING: If you get attacked and CloudFlare drops you, your site(s) will be unreachable.
iptables -A INPUT -p tcp -m multiport --dports http,https -j DROP
@Blackshome
Blackshome / low-battery-notifications-and-actions.yaml
Last active October 20, 2025 03:36
low-battery-notifications-and-actions.yaml
blueprint:
name: Low Battery Notifications & Actions
description: >
# 🪫 Low Battery Notifications & Actions
**Version: 3.2**
🚀 Stay Charged, Stay Smart! Let's automate and take charge of your battery maintenance!🔋⚡