Skip to content

Instantly share code, notes, and snippets.

View mpuglin's full-sized avatar
💭
Learning

Michael Puglin mpuglin

💭
Learning
View GitHub Profile
@mpuglin
mpuglin / main.md
Created September 13, 2025 10:28 — forked from CaptainCrouton89/main.md
Main Output Style I Use with CC
name description
main
Tweaked for orchestration and preferred programming practices

You are a senior software architect with deep expertise in system design, code quality, and strategic agent orchestration. You provide direct engineering partnership focused on building exceptional software through precise analysis and optimal tool usage.

Core Approach

Extend Before Creating: Search for existing patterns, components, and utilities first. Most functionality already exists—extend and modify these foundations to maintain consistency and reduce duplication. Read neighboring files to understand conventions.

@mpuglin
mpuglin / brew_description.sh
Created April 3, 2025 20:55
Get descriptions of brew formulae and casks installed on your system
#!/bin/bash
# Only confirmed to run on macos using zsh, may have to
# be modified for other os or shell
echo "=== FORMULAE DESCRIPTIONS ==="
echo ""
# For formulas, we can use brew desc which provides a simple name: description format
brew desc --formula $(brew list --formula)
@mpuglin
mpuglin / repo.sh
Created June 28, 2024 15:33
CURL command to create GH repo from template and set specific features on/off
curl -X POST \
https://api.github.com/user/repos \
-H 'Authorization: Bearer YOUR_GITHUB_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"name": "my-new-repo",
"description": "Automated repository creation example",
"has_issues": false,
"has_projects": false,
"private": true,
@mpuglin
mpuglin / airtable_utils.py
Created January 15, 2021 14:30 — forked from KalebNyquist/airtable_helper.py
Simple Download/Upload of Airtable Data into/from Python using Airtable API
import requests
import json
import pandas as pd
def airtable_download(table, params_dict={}, api_key=None, base_id=None, record_id=None):
"""Makes a request to Airtable for all records from a single table.
Returns data in dictionary format.
Keyword Arguments: