Skip to content

Instantly share code, notes, and snippets.

View sgbaird's full-sized avatar

Sterling G. Baird sgbaird

View GitHub Profile
@sgbaird
sgbaird / copilot-setup-steps.yml
Last active October 17, 2025 20:38
Minimal setup instructions for GitHub copilot coding agent. Place in .github/workflows/copilot-setup-steps.yml per documentation at https://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/customize-the-agent-environment
name: "Copilot Setup Steps"
on:
workflow_dispatch:
push:
paths: [.github/workflows/copilot-setup-steps.yml]
pull_request:
paths: [.github/workflows/copilot-setup-steps.yml]
jobs:
copilot-setup-steps:
@sgbaird
sgbaird / firewall-list.csv
Created June 26, 2025 13:53
My running list of firewall allows, to be added to COPILOT_AGENT_FIREWALL_ALLOW_LIST as a copilot environment, environment variable (typically I've been assigning a first issue to copilot so it autocreates that environment). See https://docs.github.com/en/copilot/customizing-copilot/customizing-or-disabling-the-firewall-for-copilot-coding-agent
pishop.ca primecables.ca mcmaster.com pypi.org pypi.python.org www.shopperplus.ca www.raspberrypi.com doi.org github.com api.github.com install.python-poetry.org tailscale.com gh.io
@sgbaird
sgbaird / copilot-coding-agent-config.json
Last active October 24, 2025 20:35
My running attempt at creating an MCP config for GitHub Copilot Coding agent (note this is for ones to be adding to settings on a GitHub repo, see `https://github.com/<username>/<repository>/settings/copilot/coding_agent`). See github docs: https://docs.github.com/en/enterprise-cloud@latest/copilot/using-github-copilot/coding-agent/extending-cop…
{
"mcpServers": {
"Perplexity": {
"type": "local",
"command": "npx",
"args": [
"-y",
"server-perplexity-ask"
],
"env": {
@sgbaird
sgbaird / copilot-instructions.md
Last active November 4, 2025 03:10
My attempt at refining a customized .github/copilot-instructions.md and using it in conjunction with GitHub Coding Agent. See https://docs.github.com/en/enterprise-cloud@latest/copilot/using-github-copilot/coding-agent/best-practices-for-using-copilot-to-work-on-tasks for additional context on the intention of this file.

Development Practices

  • Start with minimal, lean implementations focused on proof-of-concept
  • Avoid creating new files until asked
  • Avoid implementing things from scratch
  • Avoid defensive error handling for hypothetical situations For example, rather than using:
    ...
    try:
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sgbaird
sgbaird / ax-mwe-for-sergio-saving.ipynb
Created May 28, 2025 21:00
ax-mwe-for-sergio-saving.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sgbaird
sgbaird / existing-data-sobol.ipynb
Created May 8, 2025 23:35
existing-data-sobol.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sgbaird
sgbaird / hf-crabnet-hyperparameter.ipynb
Last active May 7, 2025 14:45
hf-crabnet-hyperparameter.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sgbaird
sgbaird / ot2-lcm-basic.ipynb
Created May 2, 2025 18:15
ot2-lcm-basic.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sgbaird
sgbaird / hivemq-root-cert.ipynb
Created May 2, 2025 00:50
hivemq-root-cert.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.