Skip to content

Instantly share code, notes, and snippets.

View sgbaird's full-sized avatar

Sterling G. Baird sgbaird

View GitHub Profile
@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 June 26, 2025 13:55
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": {
"playwright": {
"command": "npx",
"args": [
"@playwright/mcp@latest"
],
"tools": ["*"]
},
"Perplexity": {
@sgbaird
sgbaird / copilot-instructions.md
Last active June 26, 2025 13:54
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 implementing things from scratch
  • Avoid defensive error handling for hypothetical failures
  • Use print statements and logging sparingly, unless asked
  • Avoid light wrappers and custom classes, unless asked
  • Avoid if __name__ == "__main__" patterns in package code
  • Skip unit tests unless explicitly requested
  • Follow patterns in CONTRIBUTING.md when present
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.
@sgbaird
sgbaird / count-lines-of-code.ipynb
Last active August 29, 2023 19:00
Count the number of lines of code using cloc and Google Colab (https://github.com/AlDanial/cloc). This is useful when you surpass the 500 MB limit of https://codetabs.com/count-loc/count-loc-online.html.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.